diff --git a/.gitattributes b/.gitattributes index 983e93ef..26df6721 100644 --- a/.gitattributes +++ b/.gitattributes @@ -2,3 +2,4 @@ *.cs text diff=csharp *.rs text diff=rust +*.toml text diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 7ff27621..a855d02e 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,6 +4,10 @@ updates: directory: "/" schedule: interval: "weekly" + - package-ecosystem: "nuget" + directory: "/" + schedule: + interval: "weekly" - package-ecosystem: "github-actions" directory: "." schedule: diff --git a/.github/workflows/ci-net.yml b/.github/workflows/ci-net.yml new file mode 100644 index 00000000..2dd61066 --- /dev/null +++ b/.github/workflows/ci-net.yml @@ -0,0 +1,40 @@ +name: CI (.Net) + +on: + push: + branches: + - master + paths: + - '.github/workflows/ci-net.yml' + - 'net/**' + - 'Sales.Net.sln' + + pull_request: + paths: + - '.github/workflows/ci-net.yml' + - 'net/**' + - 'Sales.Net.sln' + +jobs: + check: + runs-on: ubuntu-latest + defaults: + run: + shell: bash + + steps: + - name: Check Out Source + uses: actions/checkout@v4 + + - name: Set Up .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 8.0.x + + - name: Restore Solution + run: >- + dotnet restore + + - name: Build Solution + run: >- + dotnet build --no-restore diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e45f1c27..6f121d8b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,13 +3,25 @@ name: CI (Rust) on: push: branches: [master] - paths-ignore: - - 'net/**' - - 'Sails.Net.sln' + paths: + - '.cargo/**' + - '.github/workflows/ci.yml' + - 'examples/**' + - 'rs/**' + - 'templates/**' + - 'Cargo.lock' + - 'Cargo.toml' + - 'rust-toolchain.toml' pull_request: - paths-ignore: - - 'net/**' - - 'Sails.Net.sln' + paths: + - '.cargo/**' + - '.github/workflows/ci.yml' + - 'examples/**' + - 'rs/**' + - 'templates/**' + - 'Cargo.lock' + - 'Cargo.toml' + - 'rust-toolchain.toml' env: BINARYEN_VERSION: version_111 diff --git a/Cargo.lock b/Cargo.lock index 4fda1ad5..caa86f2c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -179,9 +179,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.89" +version = "1.0.90" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86fdf8605db99b54d3cd748a44c6d04df638eb5dafb219b135d0149bd0db01f6" +checksum = "37bf3594c4c988a53154954629820791dde498571819ae4ca50ca811e060cc95" [[package]] name = "anymap2" @@ -377,7 +377,7 @@ checksum = "721cae7de5c34fbb2acd27e21e6d2cf7b886dce0c27388d46c4e6c47ea4318dd" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -886,9 +886,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.19" +version = "4.5.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7be5744db7978a28d9df86a214130d106a89ce49644cbc4e3f0c22c3fba30615" +checksum = "b97f376d85a664d5837dbae44bf546e6477a679ff6610010f17276f686d867e8" dependencies = [ "clap_builder", "clap_derive", @@ -896,9 +896,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.19" +version = "4.5.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5fbc17d3ef8278f55b282b2a2e75ae6f6c7d4bb70ed3d0382375104bfafdb4b" +checksum = "19bc80abd44e4bed93ca373a0704ccbd1b710dc5749406201bb018272808dc54" dependencies = [ "anstream", "anstyle", @@ -916,7 +916,7 @@ dependencies = [ "heck", "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -957,7 +957,7 @@ dependencies = [ "proc-macro-error2", "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -1381,7 +1381,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -1438,7 +1438,7 @@ dependencies = [ "proc-macro2", "quote", "strsim 0.11.1", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -1460,7 +1460,7 @@ checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806" dependencies = [ "darling_core 0.20.10", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -1564,7 +1564,7 @@ checksum = "62d671cc41a825ebabc75757b62d3d168c577f9149b2d49ece1dad1f72119d25" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -1577,7 +1577,7 @@ dependencies = [ "proc-macro2", "quote", "rustc_version", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -1886,7 +1886,7 @@ checksum = "a1ab991c1362ac86c61ab6f556cff143daa22e5a15e4e189df818b2fd19fe65b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -1907,7 +1907,7 @@ dependencies = [ "darling 0.20.10", "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -2023,7 +2023,7 @@ dependencies = [ "prettyplease", "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -2216,7 +2216,7 @@ dependencies = [ "proc-macro-warning", "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -2229,7 +2229,7 @@ dependencies = [ "proc-macro-crate 1.3.1", "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -2240,7 +2240,7 @@ checksum = "0c3562da4b7b8e24189036c58d459b260e10c8b7af2dd180b7869ae29bb66277" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -2362,7 +2362,7 @@ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -2483,7 +2483,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2b6c7b3dc1307f835f34a958a85e38733dea9ac38c1c7eaf91bf4191c246604e" dependencies = [ "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -2801,7 +2801,7 @@ checksum = "553630feadf7b76442b0849fd25fdf89b860d933623aec9693fed19af0400c78" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -3213,7 +3213,7 @@ dependencies = [ "proc-macro-crate 1.3.1", "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -3297,7 +3297,7 @@ checksum = "6a607026ef46bf04c1a5aa997a50f5e389a062af59ad20caf16d4afa470cede4" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -3329,7 +3329,7 @@ dependencies = [ "gprimitives", "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -4462,7 +4462,7 @@ checksum = "3b51f1d220e3fa869e24cfd75915efe3164bd09bb11b3165db3f37f57bf673e3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -4516,7 +4516,7 @@ dependencies = [ "proc-macro2", "quote", "regex-syntax 0.6.29", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -4564,7 +4564,7 @@ dependencies = [ "macro_magic_core", "macro_magic_macros", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -4578,7 +4578,7 @@ dependencies = [ "macro_magic_core_macros", "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -4589,7 +4589,7 @@ checksum = "d710e1214dffbab3b5dacb21475dde7d6ed84c69ff722b3a47a782668d44fbac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -4600,7 +4600,7 @@ checksum = "b8fb85ec1620619edf2984a7693497d4ec88a9665d8b87e942856884c92dbf2a" dependencies = [ "macro_magic_core", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -4771,7 +4771,7 @@ dependencies = [ "cfg-if", "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -4963,7 +4963,7 @@ checksum = "96667db765a921f7b295ffee8b60472b686a51d4f21c2ee4ffdb94c7013b65a6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -5238,7 +5238,7 @@ dependencies = [ "pest_meta", "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -5288,7 +5288,7 @@ checksum = "a4502d8515ca9f32f1fb543d987f63d95a14934883db45bdb48060b6b69257f8" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -5411,12 +5411,12 @@ dependencies = [ [[package]] name = "prettyplease" -version = "0.2.22" +version = "0.2.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "479cf940fbbb3426c32c5d5176f62ad57549a0bb84773423ba8be9d089f5faba" +checksum = "910d41a655dac3b764f1ade94821093d3610248694320cd072303a8eedcf221d" dependencies = [ "proc-macro2", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -5494,7 +5494,7 @@ dependencies = [ "proc-macro-error-attr2", "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -5505,14 +5505,14 @@ checksum = "3d1eaa7fa0aa1929ffdf7eeb6eac234dde6268914a14ad44d23521ab6a9b258e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] name = "proc-macro2" -version = "1.0.87" +version = "1.0.88" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3e4daa0dcf6feba26f985457cdf104d4b4256fc5a09547140f3631bb076b19a" +checksum = "7c3a7fc5db1e57d5a779a352c8cdb57b29aa4c40cc69c3a68a7fedc815fbf2f9" dependencies = [ "unicode-ident", ] @@ -5721,7 +5721,7 @@ checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -5856,7 +5856,7 @@ checksum = "a5a11a05ee1ce44058fa3d5961d05194fdbe3ad6b40f904af764d81b86450e6b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -6241,7 +6241,7 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -6256,7 +6256,7 @@ dependencies = [ "gprimitives", "gstd", "gtest", - "hashbrown 0.14.5", + "hashbrown 0.15.0", "hex", "mockall", "parity-scale-codec", @@ -6399,7 +6399,7 @@ dependencies = [ "proc-macro2", "quote", "scale-info", - "syn 2.0.79", + "syn 2.0.82", "thiserror", ] @@ -6620,7 +6620,7 @@ checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -7014,7 +7014,7 @@ dependencies = [ "proc-macro-crate 1.3.1", "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -7114,7 +7114,7 @@ checksum = "8dc707d9f5bf155d584900783e328cb3dc79c950f898a18a8f24066f41f040a5" dependencies = [ "quote", "sp-core-hashing", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -7139,7 +7139,7 @@ checksum = "f12dae7cf6c1e825d13ffd4ce16bd9309db7c539929d0302b4443ed451a9f4e5" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -7283,7 +7283,7 @@ dependencies = [ "proc-macro-crate 1.3.1", "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -7426,7 +7426,7 @@ dependencies = [ "parity-scale-codec", "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -7615,7 +7615,7 @@ dependencies = [ "scale-info", "scale-typegen", "subxt-metadata", - "syn 2.0.79", + "syn 2.0.82", "thiserror", "tokio", ] @@ -7676,7 +7676,7 @@ dependencies = [ "quote", "scale-typegen", "subxt-codegen", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -7705,9 +7705,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.79" +version = "2.0.82" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89132cd0bf050864e1d38dc3bbc07a0eb8e7530af26344d3d2bbbef83499f590" +checksum = "83540f837a8afc019423a8edb95b52a8effe46957ee402287f4292fae35be021" dependencies = [ "proc-macro2", "quote", @@ -7726,6 +7726,12 @@ version = "0.12.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" +[[package]] +name = "target-triple" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42a4d50cdb458045afc8131fd91b64904da29548bcb63c7236e0844936c13078" + [[package]] name = "tempfile" version = "3.10.1" @@ -7807,7 +7813,7 @@ checksum = "08904e7672f5eb876eaaf87e0ce17857500934f4981c4a0ab2b4aa98baac7fc3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -7942,7 +7948,7 @@ checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -8095,7 +8101,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -8181,14 +8187,15 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "trybuild" -version = "1.0.99" +version = "1.0.101" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "207aa50d36c4be8d8c6ea829478be44a372c6a77669937bb39c698e52f1491e8" +checksum = "8dcd332a5496c026f1e14b7f3d2b7bd98e509660c04239c58b0ba38a12daded4" dependencies = [ "glob 0.3.1", "serde", "serde_derive", "serde_json", + "target-triple", "termcolor", "toml", ] @@ -8428,7 +8435,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", "wasm-bindgen-shared", ] @@ -8450,7 +8457,7 @@ checksum = "afc340c74d9005395cf9dd098506f7f44e38f2b4a21c6aaacf9a105ea5e1e836" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -8935,7 +8942,7 @@ version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.52.0", ] [[package]] @@ -9279,7 +9286,7 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] [[package]] @@ -9299,5 +9306,5 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.79", + "syn 2.0.82", ] diff --git a/Cargo.toml b/Cargo.toml index 29213611..8789d8b8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -58,7 +58,7 @@ futures = { version = "0.3", default-features = false } genco = "0.17" git-download = "0.1" handlebars = "4.4" -hashbrown = "0.14" +hashbrown = "0.15" hex = { version = "0.4", default-features = false } insta = "1.40" itertools = "0.13" diff --git a/Sails.Net.sln b/Sails.Net.sln index b0b65f41..c6855a0b 100644 --- a/Sails.Net.sln +++ b/Sails.Net.sln @@ -3,7 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.11.35327.3 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sails.Net", "net\src\Sails.Net\Sails.Net.csproj", "{92AA0FB6-FBEB-4AB1-9541-034C3A267B5E}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Sails.Net", "net\src\Sails.Net\Sails.Net.csproj", "{92AA0FB6-FBEB-4AB1-9541-034C3A267B5E}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Substrate.Gear.Api", "net\src\Substrate.Gear.Api\Substrate.Gear.Api.csproj", "{DAAAEB57-08B5-434E-8339-113F9335571F}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -15,6 +17,10 @@ Global {92AA0FB6-FBEB-4AB1-9541-034C3A267B5E}.Debug|Any CPU.Build.0 = Debug|Any CPU {92AA0FB6-FBEB-4AB1-9541-034C3A267B5E}.Release|Any CPU.ActiveCfg = Release|Any CPU {92AA0FB6-FBEB-4AB1-9541-034C3A267B5E}.Release|Any CPU.Build.0 = Release|Any CPU + {DAAAEB57-08B5-434E-8339-113F9335571F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DAAAEB57-08B5-434E-8339-113F9335571F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DAAAEB57-08B5-434E-8339-113F9335571F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DAAAEB57-08B5-434E-8339-113F9335571F}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/net/src/.substrate/metadata.json b/net/src/.substrate/metadata.json new file mode 100644 index 00000000..117c7ec2 --- /dev/null +++ b/net/src/.substrate/metadata.json @@ -0,0 +1,34313 @@ +{ + "Origin": "", + "Magic": "0x6D657461", + "Version": 14, + "NodeMetadata": { + "Types": { + "0": { + "TypeFields": [ + { + "TypeName": "[u8; 32]", + "TypeId": 1 + } + ], + "Path": [ + "sp_core", + "crypto", + "AccountId32" + ], + "TypeDef": "Composite" + }, + "1": { + "Length": 32, + "TypeId": 2, + "TypeDef": "Array" + }, + "2": { + "Primitive": "U8", + "TypeDef": "Primitive" + }, + "3": { + "TypeFields": [ + { + "Name": "nonce", + "TypeName": "Nonce", + "TypeId": 4 + }, + { + "Name": "consumers", + "TypeName": "RefCount", + "TypeId": 4 + }, + { + "Name": "providers", + "TypeName": "RefCount", + "TypeId": 4 + }, + { + "Name": "sufficients", + "TypeName": "RefCount", + "TypeId": 4 + }, + { + "Name": "data", + "TypeName": "AccountData", + "TypeId": 5 + } + ], + "Path": [ + "frame_system", + "AccountInfo" + ], + "TypeParams": [ + { + "Name": "Nonce", + "TypeId": 4 + }, + { + "Name": "AccountData", + "TypeId": 5 + } + ], + "TypeDef": "Composite" + }, + "4": { + "Primitive": "U32", + "TypeDef": "Primitive" + }, + "5": { + "TypeFields": [ + { + "Name": "free", + "TypeName": "Balance", + "TypeId": 6 + }, + { + "Name": "reserved", + "TypeName": "Balance", + "TypeId": 6 + }, + { + "Name": "frozen", + "TypeName": "Balance", + "TypeId": 6 + }, + { + "Name": "flags", + "TypeName": "ExtraFlags", + "TypeId": 7 + } + ], + "Path": [ + "pallet_balances", + "types", + "AccountData" + ], + "TypeParams": [ + { + "Name": "Balance", + "TypeId": 6 + } + ], + "TypeDef": "Composite" + }, + "6": { + "Primitive": "U128", + "TypeDef": "Primitive" + }, + "7": { + "TypeFields": [ + { + "TypeName": "u128", + "TypeId": 6 + } + ], + "Path": [ + "pallet_balances", + "types", + "ExtraFlags" + ], + "TypeDef": "Composite" + }, + "8": { + "TypeFields": [ + { + "Name": "normal", + "TypeName": "T", + "TypeId": 9 + }, + { + "Name": "operational", + "TypeName": "T", + "TypeId": 9 + }, + { + "Name": "mandatory", + "TypeName": "T", + "TypeId": 9 + } + ], + "Path": [ + "frame_support", + "dispatch", + "PerDispatchClass" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 9 + } + ], + "TypeDef": "Composite" + }, + "9": { + "TypeFields": [ + { + "Name": "ref_time", + "TypeName": "u64", + "TypeId": 10 + }, + { + "Name": "proof_size", + "TypeName": "u64", + "TypeId": 10 + } + ], + "Path": [ + "sp_weights", + "weight_v2", + "Weight" + ], + "TypeDef": "Composite" + }, + "10": { + "TypeId": 11, + "TypeDef": "Compact" + }, + "11": { + "Primitive": "U64", + "TypeDef": "Primitive" + }, + "12": { + "TypeFields": [ + { + "TypeName": "[u8; 32]", + "TypeId": 1 + } + ], + "Path": [ + "primitive_types", + "H256" + ], + "TypeDef": "Composite" + }, + "13": { + "TypeId": 2, + "TypeDef": "Sequence" + }, + "14": { + "TypeFields": [ + { + "Name": "logs", + "TypeName": "Vec", + "TypeId": 15 + } + ], + "Path": [ + "sp_runtime", + "generic", + "digest", + "Digest" + ], + "TypeDef": "Composite" + }, + "15": { + "TypeId": 16, + "TypeDef": "Sequence" + }, + "16": { + "Variants": [ + { + "Name": "PreRuntime", + "TypeFields": [ + { + "TypeName": "ConsensusEngineId", + "TypeId": 17 + }, + { + "TypeName": "Vec", + "TypeId": 13 + } + ], + "Index": 6 + }, + { + "Name": "Consensus", + "TypeFields": [ + { + "TypeName": "ConsensusEngineId", + "TypeId": 17 + }, + { + "TypeName": "Vec", + "TypeId": 13 + } + ], + "Index": 4 + }, + { + "Name": "Seal", + "TypeFields": [ + { + "TypeName": "ConsensusEngineId", + "TypeId": 17 + }, + { + "TypeName": "Vec", + "TypeId": 13 + } + ], + "Index": 5 + }, + { + "Name": "Other", + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 13 + } + ], + "Index": 0 + }, + { + "Name": "RuntimeEnvironmentUpdated", + "TypeFields": null, + "Index": 8 + } + ], + "Path": [ + "sp_runtime", + "generic", + "digest", + "DigestItem" + ], + "TypeDef": "Variant" + }, + "17": { + "Length": 4, + "TypeId": 2, + "TypeDef": "Array" + }, + "18": { + "TypeId": 19, + "TypeDef": "Sequence" + }, + "19": { + "TypeFields": [ + { + "Name": "phase", + "TypeName": "Phase", + "TypeId": 335 + }, + { + "Name": "event", + "TypeName": "E", + "TypeId": 20 + }, + { + "Name": "topics", + "TypeName": "Vec", + "TypeId": 139 + } + ], + "Path": [ + "frame_system", + "EventRecord" + ], + "TypeParams": [ + { + "Name": "E", + "TypeId": 20 + }, + { + "Name": "T", + "TypeId": 12 + } + ], + "TypeDef": "Composite" + }, + "20": { + "Variants": [ + { + "Name": "System", + "TypeFields": [ + { + "TypeName": "frame_system::Event", + "TypeId": 21 + } + ], + "Index": 0 + }, + { + "Name": "Grandpa", + "TypeFields": [ + { + "TypeName": "pallet_grandpa::Event", + "TypeId": 30 + } + ], + "Index": 4 + }, + { + "Name": "Balances", + "TypeFields": [ + { + "TypeName": "pallet_balances::Event", + "TypeId": 35 + } + ], + "Index": 5 + }, + { + "Name": "Vesting", + "TypeFields": [ + { + "TypeName": "pallet_vesting::Event", + "TypeId": 37 + } + ], + "Index": 10 + }, + { + "Name": "TransactionPayment", + "TypeFields": [ + { + "TypeName": "pallet_transaction_payment::Event", + "TypeId": 38 + } + ], + "Index": 6 + }, + { + "Name": "BagsList", + "TypeFields": [ + { + "TypeName": "pallet_bags_list::Event", + "TypeId": 39 + } + ], + "Index": 11 + }, + { + "Name": "ImOnline", + "TypeFields": [ + { + "TypeName": "pallet_im_online::Event", + "TypeId": 40 + } + ], + "Index": 12 + }, + { + "Name": "Staking", + "TypeFields": [ + { + "TypeName": "pallet_staking::Event", + "TypeId": 49 + } + ], + "Index": 13 + }, + { + "Name": "Session", + "TypeFields": [ + { + "TypeName": "pallet_session::Event", + "TypeId": 56 + } + ], + "Index": 7 + }, + { + "Name": "Treasury", + "TypeFields": [ + { + "TypeName": "pallet_treasury::Event", + "TypeId": 57 + } + ], + "Index": 14 + }, + { + "Name": "Utility", + "TypeFields": [ + { + "TypeName": "pallet_utility::Event", + "TypeId": 59 + } + ], + "Index": 8 + }, + { + "Name": "ConvictionVoting", + "TypeFields": [ + { + "TypeName": "pallet_conviction_voting::Event", + "TypeId": 61 + } + ], + "Index": 16 + }, + { + "Name": "Referenda", + "TypeFields": [ + { + "TypeName": "pallet_referenda::Event", + "TypeId": 62 + } + ], + "Index": 17 + }, + { + "Name": "FellowshipCollective", + "TypeFields": [ + { + "TypeName": "pallet_ranked_collective::Event", + "TypeId": 280 + } + ], + "Index": 18 + }, + { + "Name": "FellowshipReferenda", + "TypeFields": [ + { + "TypeName": "pallet_referenda::Event", + "TypeId": 283 + } + ], + "Index": 19 + }, + { + "Name": "Whitelist", + "TypeFields": [ + { + "TypeName": "pallet_whitelist::Event", + "TypeId": 284 + } + ], + "Index": 21 + }, + { + "Name": "Scheduler", + "TypeFields": [ + { + "TypeName": "pallet_scheduler::Event", + "TypeId": 289 + } + ], + "Index": 22 + }, + { + "Name": "Preimage", + "TypeFields": [ + { + "TypeName": "pallet_preimage::Event", + "TypeId": 291 + } + ], + "Index": 23 + }, + { + "Name": "Identity", + "TypeFields": [ + { + "TypeName": "pallet_identity::Event", + "TypeId": 292 + } + ], + "Index": 24 + }, + { + "Name": "Proxy", + "TypeFields": [ + { + "TypeName": "pallet_proxy::Event", + "TypeId": 293 + } + ], + "Index": 25 + }, + { + "Name": "Multisig", + "TypeFields": [ + { + "TypeName": "pallet_multisig::Event", + "TypeId": 294 + } + ], + "Index": 26 + }, + { + "Name": "ElectionProviderMultiPhase", + "TypeFields": [ + { + "TypeName": "pallet_election_provider_multi_phase::Event", + "TypeId": 295 + } + ], + "Index": 27 + }, + { + "Name": "Offences", + "TypeFields": [ + { + "TypeName": "pallet_offences::Event", + "TypeId": 299 + } + ], + "Index": 28 + }, + { + "Name": "Bounties", + "TypeFields": [ + { + "TypeName": "pallet_bounties::Event", + "TypeId": 300 + } + ], + "Index": 29 + }, + { + "Name": "ChildBounties", + "TypeFields": [ + { + "TypeName": "pallet_child_bounties::Event", + "TypeId": 301 + } + ], + "Index": 30 + }, + { + "Name": "NominationPools", + "TypeFields": [ + { + "TypeName": "pallet_nomination_pools::Event", + "TypeId": 302 + } + ], + "Index": 31 + }, + { + "Name": "Gear", + "TypeFields": [ + { + "TypeName": "pallet_gear::Event", + "TypeId": 303 + } + ], + "Index": 104 + }, + { + "Name": "StakingRewards", + "TypeFields": [ + { + "TypeName": "pallet_gear_staking_rewards::Event", + "TypeId": 333 + } + ], + "Index": 106 + }, + { + "Name": "GearVoucher", + "TypeFields": [ + { + "TypeName": "pallet_gear_voucher::Event", + "TypeId": 334 + } + ], + "Index": 107 + } + ], + "Path": [ + "vara_runtime", + "RuntimeEvent" + ], + "TypeDef": "Variant" + }, + "21": { + "Variants": [ + { + "Name": "ExtrinsicSuccess", + "TypeFields": [ + { + "Name": "dispatch_info", + "TypeName": "DispatchInfo", + "TypeId": 22 + } + ], + "Index": 0, + "Docs": [ + "An extrinsic completed successfully." + ] + }, + { + "Name": "ExtrinsicFailed", + "TypeFields": [ + { + "Name": "dispatch_error", + "TypeName": "DispatchError", + "TypeId": 25 + }, + { + "Name": "dispatch_info", + "TypeName": "DispatchInfo", + "TypeId": 22 + } + ], + "Index": 1, + "Docs": [ + "An extrinsic failed." + ] + }, + { + "Name": "CodeUpdated", + "TypeFields": null, + "Index": 2, + "Docs": [ + "`:code` was updated." + ] + }, + { + "Name": "NewAccount", + "TypeFields": [ + { + "Name": "account", + "TypeName": "T::AccountId", + "TypeId": 0 + } + ], + "Index": 3, + "Docs": [ + "A new account was created." + ] + }, + { + "Name": "KilledAccount", + "TypeFields": [ + { + "Name": "account", + "TypeName": "T::AccountId", + "TypeId": 0 + } + ], + "Index": 4, + "Docs": [ + "An account was reaped." + ] + }, + { + "Name": "Remarked", + "TypeFields": [ + { + "Name": "sender", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "hash", + "TypeName": "T::Hash", + "TypeId": 12 + } + ], + "Index": 5, + "Docs": [ + "On on-chain remark happened." + ] + } + ], + "Path": [ + "frame_system", + "pallet", + "Event" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Event for the System pallet." + ] + }, + "22": { + "TypeFields": [ + { + "Name": "weight", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "class", + "TypeName": "DispatchClass", + "TypeId": 23 + }, + { + "Name": "pays_fee", + "TypeName": "Pays", + "TypeId": 24 + } + ], + "Path": [ + "frame_support", + "dispatch", + "DispatchInfo" + ], + "TypeDef": "Composite" + }, + "23": { + "Variants": [ + { + "Name": "Normal", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Operational", + "TypeFields": null, + "Index": 1 + }, + { + "Name": "Mandatory", + "TypeFields": null, + "Index": 2 + } + ], + "Path": [ + "frame_support", + "dispatch", + "DispatchClass" + ], + "TypeDef": "Variant" + }, + "24": { + "Variants": [ + { + "Name": "Yes", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "No", + "TypeFields": null, + "Index": 1 + } + ], + "Path": [ + "frame_support", + "dispatch", + "Pays" + ], + "TypeDef": "Variant" + }, + "25": { + "Variants": [ + { + "Name": "Other", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "CannotLookup", + "TypeFields": null, + "Index": 1 + }, + { + "Name": "BadOrigin", + "TypeFields": null, + "Index": 2 + }, + { + "Name": "Module", + "TypeFields": [ + { + "TypeName": "ModuleError", + "TypeId": 26 + } + ], + "Index": 3 + }, + { + "Name": "ConsumerRemaining", + "TypeFields": null, + "Index": 4 + }, + { + "Name": "NoProviders", + "TypeFields": null, + "Index": 5 + }, + { + "Name": "TooManyConsumers", + "TypeFields": null, + "Index": 6 + }, + { + "Name": "Token", + "TypeFields": [ + { + "TypeName": "TokenError", + "TypeId": 27 + } + ], + "Index": 7 + }, + { + "Name": "Arithmetic", + "TypeFields": [ + { + "TypeName": "ArithmeticError", + "TypeId": 28 + } + ], + "Index": 8 + }, + { + "Name": "Transactional", + "TypeFields": [ + { + "TypeName": "TransactionalError", + "TypeId": 29 + } + ], + "Index": 9 + }, + { + "Name": "Exhausted", + "TypeFields": null, + "Index": 10 + }, + { + "Name": "Corruption", + "TypeFields": null, + "Index": 11 + }, + { + "Name": "Unavailable", + "TypeFields": null, + "Index": 12 + }, + { + "Name": "RootNotAllowed", + "TypeFields": null, + "Index": 13 + } + ], + "Path": [ + "sp_runtime", + "DispatchError" + ], + "TypeDef": "Variant" + }, + "26": { + "TypeFields": [ + { + "Name": "index", + "TypeName": "u8", + "TypeId": 2 + }, + { + "Name": "error", + "TypeName": "[u8; MAX_MODULE_ERROR_ENCODED_SIZE]", + "TypeId": 17 + } + ], + "Path": [ + "sp_runtime", + "ModuleError" + ], + "TypeDef": "Composite" + }, + "27": { + "Variants": [ + { + "Name": "FundsUnavailable", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "OnlyProvider", + "TypeFields": null, + "Index": 1 + }, + { + "Name": "BelowMinimum", + "TypeFields": null, + "Index": 2 + }, + { + "Name": "CannotCreate", + "TypeFields": null, + "Index": 3 + }, + { + "Name": "UnknownAsset", + "TypeFields": null, + "Index": 4 + }, + { + "Name": "Frozen", + "TypeFields": null, + "Index": 5 + }, + { + "Name": "Unsupported", + "TypeFields": null, + "Index": 6 + }, + { + "Name": "CannotCreateHold", + "TypeFields": null, + "Index": 7 + }, + { + "Name": "NotExpendable", + "TypeFields": null, + "Index": 8 + }, + { + "Name": "Blocked", + "TypeFields": null, + "Index": 9 + } + ], + "Path": [ + "sp_runtime", + "TokenError" + ], + "TypeDef": "Variant" + }, + "28": { + "Variants": [ + { + "Name": "Underflow", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Overflow", + "TypeFields": null, + "Index": 1 + }, + { + "Name": "DivisionByZero", + "TypeFields": null, + "Index": 2 + } + ], + "Path": [ + "sp_arithmetic", + "ArithmeticError" + ], + "TypeDef": "Variant" + }, + "29": { + "Variants": [ + { + "Name": "LimitReached", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "NoLayer", + "TypeFields": null, + "Index": 1 + } + ], + "Path": [ + "sp_runtime", + "TransactionalError" + ], + "TypeDef": "Variant" + }, + "30": { + "Variants": [ + { + "Name": "NewAuthorities", + "TypeFields": [ + { + "Name": "authority_set", + "TypeName": "AuthorityList", + "TypeId": 31 + } + ], + "Index": 0, + "Docs": [ + "New authority set has been applied." + ] + }, + { + "Name": "Paused", + "TypeFields": null, + "Index": 1, + "Docs": [ + "Current authority set has been paused." + ] + }, + { + "Name": "Resumed", + "TypeFields": null, + "Index": 2, + "Docs": [ + "Current authority set has been resumed." + ] + } + ], + "Path": [ + "pallet_grandpa", + "pallet", + "Event" + ], + "TypeDef": "Variant", + "Docs": [ + "The `Event` enum of this pallet" + ] + }, + "31": { + "TypeId": 32, + "TypeDef": "Sequence" + }, + "32": { + "TypeIds": [ + 33, + 11 + ], + "TypeDef": "Tuple" + }, + "33": { + "TypeFields": [ + { + "TypeName": "ed25519::Public", + "TypeId": 34 + } + ], + "Path": [ + "sp_consensus_grandpa", + "app", + "Public" + ], + "TypeDef": "Composite" + }, + "34": { + "TypeFields": [ + { + "TypeName": "[u8; 32]", + "TypeId": 1 + } + ], + "Path": [ + "sp_core", + "ed25519", + "Public" + ], + "TypeDef": "Composite" + }, + "35": { + "Variants": [ + { + "Name": "Endowed", + "TypeFields": [ + { + "Name": "account", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "free_balance", + "TypeName": "T::Balance", + "TypeId": 6 + } + ], + "Index": 0, + "Docs": [ + "An account was created with some free balance." + ] + }, + { + "Name": "DustLost", + "TypeFields": [ + { + "Name": "account", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "amount", + "TypeName": "T::Balance", + "TypeId": 6 + } + ], + "Index": 1, + "Docs": [ + "An account was removed whose balance was non-zero but below ExistentialDeposit,", + "resulting in an outright loss." + ] + }, + { + "Name": "Transfer", + "TypeFields": [ + { + "Name": "from", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "to", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "amount", + "TypeName": "T::Balance", + "TypeId": 6 + } + ], + "Index": 2, + "Docs": [ + "Transfer succeeded." + ] + }, + { + "Name": "BalanceSet", + "TypeFields": [ + { + "Name": "who", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "free", + "TypeName": "T::Balance", + "TypeId": 6 + } + ], + "Index": 3, + "Docs": [ + "A balance was set by root." + ] + }, + { + "Name": "Reserved", + "TypeFields": [ + { + "Name": "who", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "amount", + "TypeName": "T::Balance", + "TypeId": 6 + } + ], + "Index": 4, + "Docs": [ + "Some balance was reserved (moved from free to reserved)." + ] + }, + { + "Name": "Unreserved", + "TypeFields": [ + { + "Name": "who", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "amount", + "TypeName": "T::Balance", + "TypeId": 6 + } + ], + "Index": 5, + "Docs": [ + "Some balance was unreserved (moved from reserved to free)." + ] + }, + { + "Name": "ReserveRepatriated", + "TypeFields": [ + { + "Name": "from", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "to", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "amount", + "TypeName": "T::Balance", + "TypeId": 6 + }, + { + "Name": "destination_status", + "TypeName": "Status", + "TypeId": 36 + } + ], + "Index": 6, + "Docs": [ + "Some balance was moved from the reserve of the first account to the second account.", + "Final argument indicates the destination balance type." + ] + }, + { + "Name": "Deposit", + "TypeFields": [ + { + "Name": "who", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "amount", + "TypeName": "T::Balance", + "TypeId": 6 + } + ], + "Index": 7, + "Docs": [ + "Some amount was deposited (e.g. for transaction fees)." + ] + }, + { + "Name": "Withdraw", + "TypeFields": [ + { + "Name": "who", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "amount", + "TypeName": "T::Balance", + "TypeId": 6 + } + ], + "Index": 8, + "Docs": [ + "Some amount was withdrawn from the account (e.g. for transaction fees)." + ] + }, + { + "Name": "Slashed", + "TypeFields": [ + { + "Name": "who", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "amount", + "TypeName": "T::Balance", + "TypeId": 6 + } + ], + "Index": 9, + "Docs": [ + "Some amount was removed from the account (e.g. for misbehavior)." + ] + }, + { + "Name": "Minted", + "TypeFields": [ + { + "Name": "who", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "amount", + "TypeName": "T::Balance", + "TypeId": 6 + } + ], + "Index": 10, + "Docs": [ + "Some amount was minted into an account." + ] + }, + { + "Name": "Burned", + "TypeFields": [ + { + "Name": "who", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "amount", + "TypeName": "T::Balance", + "TypeId": 6 + } + ], + "Index": 11, + "Docs": [ + "Some amount was burned from an account." + ] + }, + { + "Name": "Suspended", + "TypeFields": [ + { + "Name": "who", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "amount", + "TypeName": "T::Balance", + "TypeId": 6 + } + ], + "Index": 12, + "Docs": [ + "Some amount was suspended from an account (it can be restored later)." + ] + }, + { + "Name": "Restored", + "TypeFields": [ + { + "Name": "who", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "amount", + "TypeName": "T::Balance", + "TypeId": 6 + } + ], + "Index": 13, + "Docs": [ + "Some amount was restored into an account." + ] + }, + { + "Name": "Upgraded", + "TypeFields": [ + { + "Name": "who", + "TypeName": "T::AccountId", + "TypeId": 0 + } + ], + "Index": 14, + "Docs": [ + "An account was upgraded." + ] + }, + { + "Name": "Issued", + "TypeFields": [ + { + "Name": "amount", + "TypeName": "T::Balance", + "TypeId": 6 + } + ], + "Index": 15, + "Docs": [ + "Total issuance was increased by `amount`, creating a credit to be balanced." + ] + }, + { + "Name": "Rescinded", + "TypeFields": [ + { + "Name": "amount", + "TypeName": "T::Balance", + "TypeId": 6 + } + ], + "Index": 16, + "Docs": [ + "Total issuance was decreased by `amount`, creating a debt to be balanced." + ] + }, + { + "Name": "Locked", + "TypeFields": [ + { + "Name": "who", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "amount", + "TypeName": "T::Balance", + "TypeId": 6 + } + ], + "Index": 17, + "Docs": [ + "Some balance was locked." + ] + }, + { + "Name": "Unlocked", + "TypeFields": [ + { + "Name": "who", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "amount", + "TypeName": "T::Balance", + "TypeId": 6 + } + ], + "Index": 18, + "Docs": [ + "Some balance was unlocked." + ] + }, + { + "Name": "Frozen", + "TypeFields": [ + { + "Name": "who", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "amount", + "TypeName": "T::Balance", + "TypeId": 6 + } + ], + "Index": 19, + "Docs": [ + "Some balance was frozen." + ] + }, + { + "Name": "Thawed", + "TypeFields": [ + { + "Name": "who", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "amount", + "TypeName": "T::Balance", + "TypeId": 6 + } + ], + "Index": 20, + "Docs": [ + "Some balance was thawed." + ] + } + ], + "Path": [ + "pallet_balances", + "pallet", + "Event" + ], + "TypeParams": [ + { + "Name": "T" + }, + { + "Name": "I" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Event` enum of this pallet" + ] + }, + "36": { + "Variants": [ + { + "Name": "Free", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Reserved", + "TypeFields": null, + "Index": 1 + } + ], + "Path": [ + "frame_support", + "traits", + "tokens", + "misc", + "BalanceStatus" + ], + "TypeDef": "Variant" + }, + "37": { + "Variants": [ + { + "Name": "VestingUpdated", + "TypeFields": [ + { + "Name": "account", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "unvested", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 0, + "Docs": [ + "The amount vested has been updated. This could indicate a change in funds available.", + "The balance given is the amount which is left unvested (and thus locked)." + ] + }, + { + "Name": "VestingCompleted", + "TypeFields": [ + { + "Name": "account", + "TypeName": "T::AccountId", + "TypeId": 0 + } + ], + "Index": 1, + "Docs": [ + "An \\[account\\] has become fully vested." + ] + } + ], + "Path": [ + "pallet_vesting", + "pallet", + "Event" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Event` enum of this pallet" + ] + }, + "38": { + "Variants": [ + { + "Name": "TransactionFeePaid", + "TypeFields": [ + { + "Name": "who", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "actual_fee", + "TypeName": "BalanceOf", + "TypeId": 6 + }, + { + "Name": "tip", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 0, + "Docs": [ + "A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,", + "has been paid by `who`." + ] + } + ], + "Path": [ + "pallet_transaction_payment", + "pallet", + "Event" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Event` enum of this pallet" + ] + }, + "39": { + "Variants": [ + { + "Name": "Rebagged", + "TypeFields": [ + { + "Name": "who", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "from", + "TypeName": "T::Score", + "TypeId": 11 + }, + { + "Name": "to", + "TypeName": "T::Score", + "TypeId": 11 + } + ], + "Index": 0, + "Docs": [ + "Moved an account from one bag to another." + ] + }, + { + "Name": "ScoreUpdated", + "TypeFields": [ + { + "Name": "who", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "new_score", + "TypeName": "T::Score", + "TypeId": 11 + } + ], + "Index": 1, + "Docs": [ + "Updated the score of some account to the given amount." + ] + } + ], + "Path": [ + "pallet_bags_list", + "pallet", + "Event" + ], + "TypeParams": [ + { + "Name": "T" + }, + { + "Name": "I" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Event` enum of this pallet" + ] + }, + "40": { + "Variants": [ + { + "Name": "HeartbeatReceived", + "TypeFields": [ + { + "Name": "authority_id", + "TypeName": "T::AuthorityId", + "TypeId": 41 + } + ], + "Index": 0, + "Docs": [ + "A new heartbeat was received from `AuthorityId`." + ] + }, + { + "Name": "AllGood", + "TypeFields": null, + "Index": 1, + "Docs": [ + "At the end of the session, no offence was committed." + ] + }, + { + "Name": "SomeOffline", + "TypeFields": [ + { + "Name": "offline", + "TypeName": "Vec>", + "TypeId": 43 + } + ], + "Index": 2, + "Docs": [ + "At the end of the session, at least one validator was found to be offline." + ] + } + ], + "Path": [ + "pallet_im_online", + "pallet", + "Event" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Event` enum of this pallet" + ] + }, + "41": { + "TypeFields": [ + { + "TypeName": "sr25519::Public", + "TypeId": 42 + } + ], + "Path": [ + "pallet_im_online", + "sr25519", + "app_sr25519", + "Public" + ], + "TypeDef": "Composite" + }, + "42": { + "TypeFields": [ + { + "TypeName": "[u8; 32]", + "TypeId": 1 + } + ], + "Path": [ + "sp_core", + "sr25519", + "Public" + ], + "TypeDef": "Composite" + }, + "43": { + "TypeId": 44, + "TypeDef": "Sequence" + }, + "44": { + "TypeIds": [ + 0, + 45 + ], + "TypeDef": "Tuple" + }, + "45": { + "TypeFields": [ + { + "Name": "total", + "TypeName": "Balance", + "TypeId": 46 + }, + { + "Name": "own", + "TypeName": "Balance", + "TypeId": 46 + }, + { + "Name": "others", + "TypeName": "Vec>", + "TypeId": 47 + } + ], + "Path": [ + "sp_staking", + "Exposure" + ], + "TypeParams": [ + { + "Name": "AccountId", + "TypeId": 0 + }, + { + "Name": "Balance", + "TypeId": 6 + } + ], + "TypeDef": "Composite" + }, + "46": { + "TypeId": 6, + "TypeDef": "Compact" + }, + "47": { + "TypeId": 48, + "TypeDef": "Sequence" + }, + "48": { + "TypeFields": [ + { + "Name": "who", + "TypeName": "AccountId", + "TypeId": 0 + }, + { + "Name": "value", + "TypeName": "Balance", + "TypeId": 46 + } + ], + "Path": [ + "sp_staking", + "IndividualExposure" + ], + "TypeParams": [ + { + "Name": "AccountId", + "TypeId": 0 + }, + { + "Name": "Balance", + "TypeId": 6 + } + ], + "TypeDef": "Composite" + }, + "49": { + "Variants": [ + { + "Name": "EraPaid", + "TypeFields": [ + { + "Name": "era_index", + "TypeName": "EraIndex", + "TypeId": 4 + }, + { + "Name": "validator_payout", + "TypeName": "BalanceOf", + "TypeId": 6 + }, + { + "Name": "remainder", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 0, + "Docs": [ + "The era payout has been set; the first balance is the validator-payout; the second is", + "the remainder from the maximum amount of reward." + ] + }, + { + "Name": "Rewarded", + "TypeFields": [ + { + "Name": "stash", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "dest", + "TypeName": "RewardDestination", + "TypeId": 50 + }, + { + "Name": "amount", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 1, + "Docs": [ + "The nominator has been rewarded by this amount to this destination." + ] + }, + { + "Name": "Slashed", + "TypeFields": [ + { + "Name": "staker", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "amount", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 2, + "Docs": [ + "A staker (validator or nominator) has been slashed by the given amount." + ] + }, + { + "Name": "SlashReported", + "TypeFields": [ + { + "Name": "validator", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "fraction", + "TypeName": "Perbill", + "TypeId": 51 + }, + { + "Name": "slash_era", + "TypeName": "EraIndex", + "TypeId": 4 + } + ], + "Index": 3, + "Docs": [ + "A slash for the given validator, for the given percentage of their stake, at the given", + "era as been reported." + ] + }, + { + "Name": "OldSlashingReportDiscarded", + "TypeFields": [ + { + "Name": "session_index", + "TypeName": "SessionIndex", + "TypeId": 4 + } + ], + "Index": 4, + "Docs": [ + "An old slashing report from a prior era was discarded because it could", + "not be processed." + ] + }, + { + "Name": "StakersElected", + "TypeFields": null, + "Index": 5, + "Docs": [ + "A new set of stakers was elected." + ] + }, + { + "Name": "Bonded", + "TypeFields": [ + { + "Name": "stash", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "amount", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 6, + "Docs": [ + "An account has bonded this amount. \\[stash, amount\\]", + "", + "NOTE: This event is only emitted when funds are bonded via a dispatchable. Notably,", + "it will not be emitted for staking rewards when they are added to stake." + ] + }, + { + "Name": "Unbonded", + "TypeFields": [ + { + "Name": "stash", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "amount", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 7, + "Docs": [ + "An account has unbonded this amount." + ] + }, + { + "Name": "Withdrawn", + "TypeFields": [ + { + "Name": "stash", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "amount", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 8, + "Docs": [ + "An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`", + "from the unlocking queue." + ] + }, + { + "Name": "Kicked", + "TypeFields": [ + { + "Name": "nominator", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "stash", + "TypeName": "T::AccountId", + "TypeId": 0 + } + ], + "Index": 9, + "Docs": [ + "A nominator has been kicked from a validator." + ] + }, + { + "Name": "StakingElectionFailed", + "TypeFields": null, + "Index": 10, + "Docs": [ + "The election failed. No new era is planned." + ] + }, + { + "Name": "Chilled", + "TypeFields": [ + { + "Name": "stash", + "TypeName": "T::AccountId", + "TypeId": 0 + } + ], + "Index": 11, + "Docs": [ + "An account has stopped participating as either a validator or nominator." + ] + }, + { + "Name": "PayoutStarted", + "TypeFields": [ + { + "Name": "era_index", + "TypeName": "EraIndex", + "TypeId": 4 + }, + { + "Name": "validator_stash", + "TypeName": "T::AccountId", + "TypeId": 0 + } + ], + "Index": 12, + "Docs": [ + "The stakers' rewards are getting paid." + ] + }, + { + "Name": "ValidatorPrefsSet", + "TypeFields": [ + { + "Name": "stash", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "prefs", + "TypeName": "ValidatorPrefs", + "TypeId": 52 + } + ], + "Index": 13, + "Docs": [ + "A validator has set their preferences." + ] + }, + { + "Name": "SnapshotVotersSizeExceeded", + "TypeFields": [ + { + "Name": "size", + "TypeName": "u32", + "TypeId": 4 + } + ], + "Index": 14, + "Docs": [ + "Voters size limit reached." + ] + }, + { + "Name": "SnapshotTargetsSizeExceeded", + "TypeFields": [ + { + "Name": "size", + "TypeName": "u32", + "TypeId": 4 + } + ], + "Index": 15, + "Docs": [ + "Targets size limit reached." + ] + }, + { + "Name": "ForceEra", + "TypeFields": [ + { + "Name": "mode", + "TypeName": "Forcing", + "TypeId": 55 + } + ], + "Index": 16, + "Docs": [ + "A new force era mode was set." + ] + } + ], + "Path": [ + "pallet_staking", + "pallet", + "pallet", + "Event" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Event` enum of this pallet" + ] + }, + "50": { + "Variants": [ + { + "Name": "Staked", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Stash", + "TypeFields": null, + "Index": 1 + }, + { + "Name": "Controller", + "TypeFields": null, + "Index": 2 + }, + { + "Name": "Account", + "TypeFields": [ + { + "TypeName": "AccountId", + "TypeId": 0 + } + ], + "Index": 3 + }, + { + "Name": "None", + "TypeFields": null, + "Index": 4 + } + ], + "Path": [ + "pallet_staking", + "RewardDestination" + ], + "TypeParams": [ + { + "Name": "AccountId", + "TypeId": 0 + } + ], + "TypeDef": "Variant" + }, + "51": { + "TypeFields": [ + { + "TypeName": "u32", + "TypeId": 4 + } + ], + "Path": [ + "sp_arithmetic", + "per_things", + "Perbill" + ], + "TypeDef": "Composite" + }, + "52": { + "TypeFields": [ + { + "Name": "commission", + "TypeName": "Perbill", + "TypeId": 53 + }, + { + "Name": "blocked", + "TypeName": "bool", + "TypeId": 54 + } + ], + "Path": [ + "pallet_staking", + "ValidatorPrefs" + ], + "TypeDef": "Composite" + }, + "53": { + "TypeId": 51, + "TypeDef": "Compact" + }, + "54": { + "Primitive": "Bool", + "TypeDef": "Primitive" + }, + "55": { + "Variants": [ + { + "Name": "NotForcing", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "ForceNew", + "TypeFields": null, + "Index": 1 + }, + { + "Name": "ForceNone", + "TypeFields": null, + "Index": 2 + }, + { + "Name": "ForceAlways", + "TypeFields": null, + "Index": 3 + } + ], + "Path": [ + "pallet_staking", + "Forcing" + ], + "TypeDef": "Variant" + }, + "56": { + "Variants": [ + { + "Name": "NewSession", + "TypeFields": [ + { + "Name": "session_index", + "TypeName": "SessionIndex", + "TypeId": 4 + } + ], + "Index": 0, + "Docs": [ + "New session has happened. Note that the argument is the session index, not the", + "block number as the type might suggest." + ] + } + ], + "Path": [ + "pallet_session", + "pallet", + "Event" + ], + "TypeDef": "Variant", + "Docs": [ + "The `Event` enum of this pallet" + ] + }, + "57": { + "Variants": [ + { + "Name": "Proposed", + "TypeFields": [ + { + "Name": "proposal_index", + "TypeName": "ProposalIndex", + "TypeId": 4 + } + ], + "Index": 0, + "Docs": [ + "New proposal." + ] + }, + { + "Name": "Spending", + "TypeFields": [ + { + "Name": "budget_remaining", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 1, + "Docs": [ + "We have ended a spend period and will now allocate funds." + ] + }, + { + "Name": "Awarded", + "TypeFields": [ + { + "Name": "proposal_index", + "TypeName": "ProposalIndex", + "TypeId": 4 + }, + { + "Name": "award", + "TypeName": "BalanceOf", + "TypeId": 6 + }, + { + "Name": "account", + "TypeName": "T::AccountId", + "TypeId": 0 + } + ], + "Index": 2, + "Docs": [ + "Some funds have been allocated." + ] + }, + { + "Name": "Rejected", + "TypeFields": [ + { + "Name": "proposal_index", + "TypeName": "ProposalIndex", + "TypeId": 4 + }, + { + "Name": "slashed", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 3, + "Docs": [ + "A proposal was rejected; funds were slashed." + ] + }, + { + "Name": "Burnt", + "TypeFields": [ + { + "Name": "burnt_funds", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 4, + "Docs": [ + "Some of our funds have been burnt." + ] + }, + { + "Name": "Rollover", + "TypeFields": [ + { + "Name": "rollover_balance", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 5, + "Docs": [ + "Spending has finished; this is the amount that rolls over until next spend." + ] + }, + { + "Name": "Deposit", + "TypeFields": [ + { + "Name": "value", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 6, + "Docs": [ + "Some funds have been deposited." + ] + }, + { + "Name": "SpendApproved", + "TypeFields": [ + { + "Name": "proposal_index", + "TypeName": "ProposalIndex", + "TypeId": 4 + }, + { + "Name": "amount", + "TypeName": "BalanceOf", + "TypeId": 6 + }, + { + "Name": "beneficiary", + "TypeName": "T::AccountId", + "TypeId": 0 + } + ], + "Index": 7, + "Docs": [ + "A new spend proposal has been approved." + ] + }, + { + "Name": "UpdatedInactive", + "TypeFields": [ + { + "Name": "reactivated", + "TypeName": "BalanceOf", + "TypeId": 6 + }, + { + "Name": "deactivated", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 8, + "Docs": [ + "The inactive funds of the pallet have been updated." + ] + }, + { + "Name": "AssetSpendApproved", + "TypeFields": [ + { + "Name": "index", + "TypeName": "SpendIndex", + "TypeId": 4 + }, + { + "Name": "asset_kind", + "TypeName": "T::AssetKind", + "TypeId": 58 + }, + { + "Name": "amount", + "TypeName": "AssetBalanceOf", + "TypeId": 6 + }, + { + "Name": "beneficiary", + "TypeName": "T::Beneficiary", + "TypeId": 0 + }, + { + "Name": "valid_from", + "TypeName": "BlockNumberFor", + "TypeId": 4 + }, + { + "Name": "expire_at", + "TypeName": "BlockNumberFor", + "TypeId": 4 + } + ], + "Index": 9, + "Docs": [ + "A new asset spend proposal has been approved." + ] + }, + { + "Name": "AssetSpendVoided", + "TypeFields": [ + { + "Name": "index", + "TypeName": "SpendIndex", + "TypeId": 4 + } + ], + "Index": 10, + "Docs": [ + "An approved spend was voided." + ] + }, + { + "Name": "Paid", + "TypeFields": [ + { + "Name": "index", + "TypeName": "SpendIndex", + "TypeId": 4 + }, + { + "Name": "payment_id", + "TypeName": "::Id", + "TypeId": 58 + } + ], + "Index": 11, + "Docs": [ + "A payment happened." + ] + }, + { + "Name": "PaymentFailed", + "TypeFields": [ + { + "Name": "index", + "TypeName": "SpendIndex", + "TypeId": 4 + }, + { + "Name": "payment_id", + "TypeName": "::Id", + "TypeId": 58 + } + ], + "Index": 12, + "Docs": [ + "A payment failed and can be retried." + ] + }, + { + "Name": "SpendProcessed", + "TypeFields": [ + { + "Name": "index", + "TypeName": "SpendIndex", + "TypeId": 4 + } + ], + "Index": 13, + "Docs": [ + "A spend was processed and removed from the storage. It might have been successfully", + "paid or it may have expired." + ] + } + ], + "Path": [ + "pallet_treasury", + "pallet", + "Event" + ], + "TypeParams": [ + { + "Name": "T" + }, + { + "Name": "I" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Event` enum of this pallet" + ] + }, + "58": { + "TypeIds": [], + "TypeDef": "Tuple" + }, + "59": { + "Variants": [ + { + "Name": "BatchInterrupted", + "TypeFields": [ + { + "Name": "index", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "error", + "TypeName": "DispatchError", + "TypeId": 25 + } + ], + "Index": 0, + "Docs": [ + "Batch of dispatches did not complete fully. Index of first failing dispatch given, as", + "well as the error." + ] + }, + { + "Name": "BatchCompleted", + "TypeFields": null, + "Index": 1, + "Docs": [ + "Batch of dispatches completed fully with no error." + ] + }, + { + "Name": "BatchCompletedWithErrors", + "TypeFields": null, + "Index": 2, + "Docs": [ + "Batch of dispatches completed but has errors." + ] + }, + { + "Name": "ItemCompleted", + "TypeFields": null, + "Index": 3, + "Docs": [ + "A single item within a Batch of dispatches has completed with no error." + ] + }, + { + "Name": "ItemFailed", + "TypeFields": [ + { + "Name": "error", + "TypeName": "DispatchError", + "TypeId": 25 + } + ], + "Index": 4, + "Docs": [ + "A single item within a Batch of dispatches has completed with error." + ] + }, + { + "Name": "DispatchedAs", + "TypeFields": [ + { + "Name": "result", + "TypeName": "DispatchResult", + "TypeId": 60 + } + ], + "Index": 5, + "Docs": [ + "A call was dispatched." + ] + } + ], + "Path": [ + "pallet_utility", + "pallet", + "Event" + ], + "TypeDef": "Variant", + "Docs": [ + "The `Event` enum of this pallet" + ] + }, + "60": { + "Variants": [ + { + "Name": "Ok", + "TypeFields": [ + { + "TypeId": 58 + } + ], + "Index": 0 + }, + { + "Name": "Err", + "TypeFields": [ + { + "TypeId": 25 + } + ], + "Index": 1 + } + ], + "Path": [ + "Result" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 58 + }, + { + "Name": "E", + "TypeId": 25 + } + ], + "TypeDef": "Variant" + }, + "61": { + "Variants": [ + { + "Name": "Delegated", + "TypeFields": [ + { + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "TypeName": "T::AccountId", + "TypeId": 0 + } + ], + "Index": 0, + "Docs": [ + "An account has delegated their vote to another account. \\[who, target\\]" + ] + }, + { + "Name": "Undelegated", + "TypeFields": [ + { + "TypeName": "T::AccountId", + "TypeId": 0 + } + ], + "Index": 1, + "Docs": [ + "An \\[account\\] has cancelled a previous delegation operation." + ] + } + ], + "Path": [ + "pallet_conviction_voting", + "pallet", + "Event" + ], + "TypeParams": [ + { + "Name": "T" + }, + { + "Name": "I" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Event` enum of this pallet" + ] + }, + "62": { + "Variants": [ + { + "Name": "Submitted", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4, + "Docs": [ + "Index of the referendum." + ] + }, + { + "Name": "track", + "TypeName": "TrackIdOf", + "TypeId": 63, + "Docs": [ + "The track (and by extension proposal dispatch origin) of this referendum." + ] + }, + { + "Name": "proposal", + "TypeName": "BoundedCallOf", + "TypeId": 64, + "Docs": [ + "The proposal for the referendum." + ] + } + ], + "Index": 0, + "Docs": [ + "A referendum has been submitted." + ] + }, + { + "Name": "DecisionDepositPlaced", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4, + "Docs": [ + "Index of the referendum." + ] + }, + { + "Name": "who", + "TypeName": "T::AccountId", + "TypeId": 0, + "Docs": [ + "The account who placed the deposit." + ] + }, + { + "Name": "amount", + "TypeName": "BalanceOf", + "TypeId": 6, + "Docs": [ + "The amount placed by the account." + ] + } + ], + "Index": 1, + "Docs": [ + "The decision deposit has been placed." + ] + }, + { + "Name": "DecisionDepositRefunded", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4, + "Docs": [ + "Index of the referendum." + ] + }, + { + "Name": "who", + "TypeName": "T::AccountId", + "TypeId": 0, + "Docs": [ + "The account who placed the deposit." + ] + }, + { + "Name": "amount", + "TypeName": "BalanceOf", + "TypeId": 6, + "Docs": [ + "The amount placed by the account." + ] + } + ], + "Index": 2, + "Docs": [ + "The decision deposit has been refunded." + ] + }, + { + "Name": "DepositSlashed", + "TypeFields": [ + { + "Name": "who", + "TypeName": "T::AccountId", + "TypeId": 0, + "Docs": [ + "The account who placed the deposit." + ] + }, + { + "Name": "amount", + "TypeName": "BalanceOf", + "TypeId": 6, + "Docs": [ + "The amount placed by the account." + ] + } + ], + "Index": 3, + "Docs": [ + "A deposit has been slashed." + ] + }, + { + "Name": "DecisionStarted", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4, + "Docs": [ + "Index of the referendum." + ] + }, + { + "Name": "track", + "TypeName": "TrackIdOf", + "TypeId": 63, + "Docs": [ + "The track (and by extension proposal dispatch origin) of this referendum." + ] + }, + { + "Name": "proposal", + "TypeName": "BoundedCallOf", + "TypeId": 64, + "Docs": [ + "The proposal for the referendum." + ] + }, + { + "Name": "tally", + "TypeName": "T::Tally", + "TypeId": 279, + "Docs": [ + "The current tally of votes in this referendum." + ] + } + ], + "Index": 4, + "Docs": [ + "A referendum has moved into the deciding phase." + ] + }, + { + "Name": "ConfirmStarted", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4, + "Docs": [ + "Index of the referendum." + ] + } + ], + "Index": 5 + }, + { + "Name": "ConfirmAborted", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4, + "Docs": [ + "Index of the referendum." + ] + } + ], + "Index": 6 + }, + { + "Name": "Confirmed", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4, + "Docs": [ + "Index of the referendum." + ] + }, + { + "Name": "tally", + "TypeName": "T::Tally", + "TypeId": 279, + "Docs": [ + "The final tally of votes in this referendum." + ] + } + ], + "Index": 7, + "Docs": [ + "A referendum has ended its confirmation phase and is ready for approval." + ] + }, + { + "Name": "Approved", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4, + "Docs": [ + "Index of the referendum." + ] + } + ], + "Index": 8, + "Docs": [ + "A referendum has been approved and its proposal has been scheduled." + ] + }, + { + "Name": "Rejected", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4, + "Docs": [ + "Index of the referendum." + ] + }, + { + "Name": "tally", + "TypeName": "T::Tally", + "TypeId": 279, + "Docs": [ + "The final tally of votes in this referendum." + ] + } + ], + "Index": 9, + "Docs": [ + "A proposal has been rejected by referendum." + ] + }, + { + "Name": "TimedOut", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4, + "Docs": [ + "Index of the referendum." + ] + }, + { + "Name": "tally", + "TypeName": "T::Tally", + "TypeId": 279, + "Docs": [ + "The final tally of votes in this referendum." + ] + } + ], + "Index": 10, + "Docs": [ + "A referendum has been timed out without being decided." + ] + }, + { + "Name": "Cancelled", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4, + "Docs": [ + "Index of the referendum." + ] + }, + { + "Name": "tally", + "TypeName": "T::Tally", + "TypeId": 279, + "Docs": [ + "The final tally of votes in this referendum." + ] + } + ], + "Index": 11, + "Docs": [ + "A referendum has been cancelled." + ] + }, + { + "Name": "Killed", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4, + "Docs": [ + "Index of the referendum." + ] + }, + { + "Name": "tally", + "TypeName": "T::Tally", + "TypeId": 279, + "Docs": [ + "The final tally of votes in this referendum." + ] + } + ], + "Index": 12, + "Docs": [ + "A referendum has been killed." + ] + }, + { + "Name": "SubmissionDepositRefunded", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4, + "Docs": [ + "Index of the referendum." + ] + }, + { + "Name": "who", + "TypeName": "T::AccountId", + "TypeId": 0, + "Docs": [ + "The account who placed the deposit." + ] + }, + { + "Name": "amount", + "TypeName": "BalanceOf", + "TypeId": 6, + "Docs": [ + "The amount placed by the account." + ] + } + ], + "Index": 13, + "Docs": [ + "The submission deposit has been refunded." + ] + }, + { + "Name": "MetadataSet", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4, + "Docs": [ + "Index of the referendum." + ] + }, + { + "Name": "hash", + "TypeName": "T::Hash", + "TypeId": 12, + "Docs": [ + "Preimage hash." + ] + } + ], + "Index": 14, + "Docs": [ + "Metadata for a referendum has been set." + ] + }, + { + "Name": "MetadataCleared", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4, + "Docs": [ + "Index of the referendum." + ] + }, + { + "Name": "hash", + "TypeName": "T::Hash", + "TypeId": 12, + "Docs": [ + "Preimage hash." + ] + } + ], + "Index": 15, + "Docs": [ + "Metadata for a referendum has been cleared." + ] + } + ], + "Path": [ + "pallet_referenda", + "pallet", + "Event" + ], + "TypeParams": [ + { + "Name": "T" + }, + { + "Name": "I" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Event` enum of this pallet" + ] + }, + "63": { + "Primitive": "U16", + "TypeDef": "Primitive" + }, + "64": { + "Variants": [ + { + "Name": "Legacy", + "TypeFields": [ + { + "Name": "hash", + "TypeName": "H::Output", + "TypeId": 12 + } + ], + "Index": 0 + }, + { + "Name": "Inline", + "TypeFields": [ + { + "TypeName": "BoundedInline", + "TypeId": 278 + } + ], + "Index": 1 + }, + { + "Name": "Lookup", + "TypeFields": [ + { + "Name": "hash", + "TypeName": "H::Output", + "TypeId": 12 + }, + { + "Name": "len", + "TypeName": "u32", + "TypeId": 4 + } + ], + "Index": 2 + } + ], + "Path": [ + "frame_support", + "traits", + "preimages", + "Bounded" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 65 + }, + { + "Name": "H", + "TypeId": 277 + } + ], + "TypeDef": "Variant" + }, + "65": { + "Variants": [ + { + "Name": "System", + "TypeFields": [ + { + "TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor", + "TypeId": 66 + } + ], + "Index": 0 + }, + { + "Name": "Timestamp", + "TypeFields": [ + { + "TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor", + "TypeId": 70 + } + ], + "Index": 1 + }, + { + "Name": "Babe", + "TypeFields": [ + { + "TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor", + "TypeId": 71 + } + ], + "Index": 3 + }, + { + "Name": "Grandpa", + "TypeFields": [ + { + "TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor", + "TypeId": 81 + } + ], + "Index": 4 + }, + { + "Name": "Balances", + "TypeFields": [ + { + "TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor", + "TypeId": 93 + } + ], + "Index": 5 + }, + { + "Name": "Vesting", + "TypeFields": [ + { + "TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor", + "TypeId": 98 + } + ], + "Index": 10 + }, + { + "Name": "BagsList", + "TypeFields": [ + { + "TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor", + "TypeId": 100 + } + ], + "Index": 11 + }, + { + "Name": "ImOnline", + "TypeFields": [ + { + "TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor", + "TypeId": 101 + } + ], + "Index": 12 + }, + { + "Name": "Staking", + "TypeFields": [ + { + "TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor", + "TypeId": 105 + } + ], + "Index": 13 + }, + { + "Name": "Session", + "TypeFields": [ + { + "TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor", + "TypeId": 113 + } + ], + "Index": 7 + }, + { + "Name": "Treasury", + "TypeFields": [ + { + "TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor", + "TypeId": 116 + } + ], + "Index": 14 + }, + { + "Name": "Utility", + "TypeFields": [ + { + "TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor", + "TypeId": 118 + } + ], + "Index": 8 + }, + { + "Name": "ConvictionVoting", + "TypeFields": [ + { + "TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor", + "TypeId": 124 + } + ], + "Index": 16 + }, + { + "Name": "Referenda", + "TypeFields": [ + { + "TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor", + "TypeId": 129 + } + ], + "Index": 17 + }, + { + "Name": "FellowshipCollective", + "TypeFields": [ + { + "TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor", + "TypeId": 132 + } + ], + "Index": 18 + }, + { + "Name": "FellowshipReferenda", + "TypeFields": [ + { + "TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor", + "TypeId": 133 + } + ], + "Index": 19 + }, + { + "Name": "Whitelist", + "TypeFields": [ + { + "TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor", + "TypeId": 134 + } + ], + "Index": 21 + }, + { + "Name": "Scheduler", + "TypeFields": [ + { + "TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor", + "TypeId": 135 + } + ], + "Index": 22 + }, + { + "Name": "Preimage", + "TypeFields": [ + { + "TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor", + "TypeId": 138 + } + ], + "Index": 23 + }, + { + "Name": "Identity", + "TypeFields": [ + { + "TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor", + "TypeId": 140 + } + ], + "Index": 24 + }, + { + "Name": "Proxy", + "TypeFields": [ + { + "TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor", + "TypeId": 180 + } + ], + "Index": 25 + }, + { + "Name": "Multisig", + "TypeFields": [ + { + "TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor", + "TypeId": 183 + } + ], + "Index": 26 + }, + { + "Name": "ElectionProviderMultiPhase", + "TypeFields": [ + { + "TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor", + "TypeId": 186 + } + ], + "Index": 27 + }, + { + "Name": "Bounties", + "TypeFields": [ + { + "TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor", + "TypeId": 247 + } + ], + "Index": 29 + }, + { + "Name": "ChildBounties", + "TypeFields": [ + { + "TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor", + "TypeId": 248 + } + ], + "Index": 30 + }, + { + "Name": "NominationPools", + "TypeFields": [ + { + "TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor", + "TypeId": 249 + } + ], + "Index": 31 + }, + { + "Name": "Gear", + "TypeFields": [ + { + "TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor", + "TypeId": 260 + } + ], + "Index": 104 + }, + { + "Name": "StakingRewards", + "TypeFields": [ + { + "TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor", + "TypeId": 266 + } + ], + "Index": 106 + }, + { + "Name": "GearVoucher", + "TypeFields": [ + { + "TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::dispatch\n::CallableCallFor", + "TypeId": 267 + } + ], + "Index": 107 + } + ], + "Path": [ + "vara_runtime", + "RuntimeCall" + ], + "TypeDef": "Variant" + }, + "66": { + "Variants": [ + { + "Name": "remark", + "TypeFields": [ + { + "Name": "remark", + "TypeName": "Vec", + "TypeId": 13 + } + ], + "Index": 0, + "Docs": [ + "See [`Pallet::remark`]." + ] + }, + { + "Name": "set_heap_pages", + "TypeFields": [ + { + "Name": "pages", + "TypeName": "u64", + "TypeId": 11 + } + ], + "Index": 1, + "Docs": [ + "See [`Pallet::set_heap_pages`]." + ] + }, + { + "Name": "set_code", + "TypeFields": [ + { + "Name": "code", + "TypeName": "Vec", + "TypeId": 13 + } + ], + "Index": 2, + "Docs": [ + "See [`Pallet::set_code`]." + ] + }, + { + "Name": "set_code_without_checks", + "TypeFields": [ + { + "Name": "code", + "TypeName": "Vec", + "TypeId": 13 + } + ], + "Index": 3, + "Docs": [ + "See [`Pallet::set_code_without_checks`]." + ] + }, + { + "Name": "set_storage", + "TypeFields": [ + { + "Name": "items", + "TypeName": "Vec", + "TypeId": 67 + } + ], + "Index": 4, + "Docs": [ + "See [`Pallet::set_storage`]." + ] + }, + { + "Name": "kill_storage", + "TypeFields": [ + { + "Name": "keys", + "TypeName": "Vec", + "TypeId": 69 + } + ], + "Index": 5, + "Docs": [ + "See [`Pallet::kill_storage`]." + ] + }, + { + "Name": "kill_prefix", + "TypeFields": [ + { + "Name": "prefix", + "TypeName": "Key", + "TypeId": 13 + }, + { + "Name": "subkeys", + "TypeName": "u32", + "TypeId": 4 + } + ], + "Index": 6, + "Docs": [ + "See [`Pallet::kill_prefix`]." + ] + }, + { + "Name": "remark_with_event", + "TypeFields": [ + { + "Name": "remark", + "TypeName": "Vec", + "TypeId": 13 + } + ], + "Index": 7, + "Docs": [ + "See [`Pallet::remark_with_event`]." + ] + } + ], + "Path": [ + "frame_system", + "pallet", + "Call" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Contains a variant per dispatchable extrinsic that this pallet has." + ] + }, + "67": { + "TypeId": 68, + "TypeDef": "Sequence" + }, + "68": { + "TypeIds": [ + 13, + 13 + ], + "TypeDef": "Tuple" + }, + "69": { + "TypeId": 13, + "TypeDef": "Sequence" + }, + "70": { + "Variants": [ + { + "Name": "set", + "TypeFields": [ + { + "Name": "now", + "TypeName": "T::Moment", + "TypeId": 10 + } + ], + "Index": 0, + "Docs": [ + "See [`Pallet::set`]." + ] + } + ], + "Path": [ + "pallet_timestamp", + "pallet", + "Call" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Contains a variant per dispatchable extrinsic that this pallet has." + ] + }, + "71": { + "Variants": [ + { + "Name": "report_equivocation", + "TypeFields": [ + { + "Name": "equivocation_proof", + "TypeName": "Box>>", + "TypeId": 72 + }, + { + "Name": "key_owner_proof", + "TypeName": "T::KeyOwnerProof", + "TypeId": 77 + } + ], + "Index": 0, + "Docs": [ + "See [`Pallet::report_equivocation`]." + ] + }, + { + "Name": "report_equivocation_unsigned", + "TypeFields": [ + { + "Name": "equivocation_proof", + "TypeName": "Box>>", + "TypeId": 72 + }, + { + "Name": "key_owner_proof", + "TypeName": "T::KeyOwnerProof", + "TypeId": 77 + } + ], + "Index": 1, + "Docs": [ + "See [`Pallet::report_equivocation_unsigned`]." + ] + }, + { + "Name": "plan_config_change", + "TypeFields": [ + { + "Name": "config", + "TypeName": "NextConfigDescriptor", + "TypeId": 78 + } + ], + "Index": 2, + "Docs": [ + "See [`Pallet::plan_config_change`]." + ] + } + ], + "Path": [ + "pallet_babe", + "pallet", + "Call" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Contains a variant per dispatchable extrinsic that this pallet has." + ] + }, + "72": { + "TypeFields": [ + { + "Name": "offender", + "TypeName": "Id", + "TypeId": 75 + }, + { + "Name": "slot", + "TypeName": "Slot", + "TypeId": 76 + }, + { + "Name": "first_header", + "TypeName": "Header", + "TypeId": 73 + }, + { + "Name": "second_header", + "TypeName": "Header", + "TypeId": 73 + } + ], + "Path": [ + "sp_consensus_slots", + "EquivocationProof" + ], + "TypeParams": [ + { + "Name": "Header", + "TypeId": 73 + }, + { + "Name": "Id", + "TypeId": 75 + } + ], + "TypeDef": "Composite" + }, + "73": { + "TypeFields": [ + { + "Name": "parent_hash", + "TypeName": "Hash::Output", + "TypeId": 12 + }, + { + "Name": "number", + "TypeName": "Number", + "TypeId": 74 + }, + { + "Name": "state_root", + "TypeName": "Hash::Output", + "TypeId": 12 + }, + { + "Name": "extrinsics_root", + "TypeName": "Hash::Output", + "TypeId": 12 + }, + { + "Name": "digest", + "TypeName": "Digest", + "TypeId": 14 + } + ], + "Path": [ + "sp_runtime", + "generic", + "header", + "Header" + ], + "TypeParams": [ + { + "Name": "Number", + "TypeId": 4 + }, + { + "Name": "Hash" + } + ], + "TypeDef": "Composite" + }, + "74": { + "TypeId": 4, + "TypeDef": "Compact" + }, + "75": { + "TypeFields": [ + { + "TypeName": "sr25519::Public", + "TypeId": 42 + } + ], + "Path": [ + "sp_consensus_babe", + "app", + "Public" + ], + "TypeDef": "Composite" + }, + "76": { + "TypeFields": [ + { + "TypeName": "u64", + "TypeId": 11 + } + ], + "Path": [ + "sp_consensus_slots", + "Slot" + ], + "TypeDef": "Composite" + }, + "77": { + "TypeFields": [ + { + "Name": "session", + "TypeName": "SessionIndex", + "TypeId": 4 + }, + { + "Name": "trie_nodes", + "TypeName": "Vec>", + "TypeId": 69 + }, + { + "Name": "validator_count", + "TypeName": "ValidatorCount", + "TypeId": 4 + } + ], + "Path": [ + "sp_session", + "MembershipProof" + ], + "TypeDef": "Composite" + }, + "78": { + "Variants": [ + { + "Name": "V1", + "TypeFields": [ + { + "Name": "c", + "TypeName": "(u64, u64)", + "TypeId": 79 + }, + { + "Name": "allowed_slots", + "TypeName": "AllowedSlots", + "TypeId": 80 + } + ], + "Index": 1 + } + ], + "Path": [ + "sp_consensus_babe", + "digests", + "NextConfigDescriptor" + ], + "TypeDef": "Variant" + }, + "79": { + "TypeIds": [ + 11, + 11 + ], + "TypeDef": "Tuple" + }, + "80": { + "Variants": [ + { + "Name": "PrimarySlots", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "PrimaryAndSecondaryPlainSlots", + "TypeFields": null, + "Index": 1 + }, + { + "Name": "PrimaryAndSecondaryVRFSlots", + "TypeFields": null, + "Index": 2 + } + ], + "Path": [ + "sp_consensus_babe", + "AllowedSlots" + ], + "TypeDef": "Variant" + }, + "81": { + "Variants": [ + { + "Name": "report_equivocation", + "TypeFields": [ + { + "Name": "equivocation_proof", + "TypeName": "Box>>", + "TypeId": 82 + }, + { + "Name": "key_owner_proof", + "TypeName": "T::KeyOwnerProof", + "TypeId": 77 + } + ], + "Index": 0, + "Docs": [ + "See [`Pallet::report_equivocation`]." + ] + }, + { + "Name": "report_equivocation_unsigned", + "TypeFields": [ + { + "Name": "equivocation_proof", + "TypeName": "Box>>", + "TypeId": 82 + }, + { + "Name": "key_owner_proof", + "TypeName": "T::KeyOwnerProof", + "TypeId": 77 + } + ], + "Index": 1, + "Docs": [ + "See [`Pallet::report_equivocation_unsigned`]." + ] + }, + { + "Name": "note_stalled", + "TypeFields": [ + { + "Name": "delay", + "TypeName": "BlockNumberFor", + "TypeId": 4 + }, + { + "Name": "best_finalized_block_number", + "TypeName": "BlockNumberFor", + "TypeId": 4 + } + ], + "Index": 2, + "Docs": [ + "See [`Pallet::note_stalled`]." + ] + } + ], + "Path": [ + "pallet_grandpa", + "pallet", + "Call" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Contains a variant per dispatchable extrinsic that this pallet has." + ] + }, + "82": { + "TypeFields": [ + { + "Name": "set_id", + "TypeName": "SetId", + "TypeId": 11 + }, + { + "Name": "equivocation", + "TypeName": "Equivocation", + "TypeId": 83 + } + ], + "Path": [ + "sp_consensus_grandpa", + "EquivocationProof" + ], + "TypeParams": [ + { + "Name": "H", + "TypeId": 12 + }, + { + "Name": "N", + "TypeId": 4 + } + ], + "TypeDef": "Composite" + }, + "83": { + "Variants": [ + { + "Name": "Prevote", + "TypeFields": [ + { + "TypeName": "grandpa::Equivocation,\nAuthoritySignature>", + "TypeId": 84 + } + ], + "Index": 0 + }, + { + "Name": "Precommit", + "TypeFields": [ + { + "TypeName": "grandpa::Equivocation,\nAuthoritySignature>", + "TypeId": 90 + } + ], + "Index": 1 + } + ], + "Path": [ + "sp_consensus_grandpa", + "Equivocation" + ], + "TypeParams": [ + { + "Name": "H", + "TypeId": 12 + }, + { + "Name": "N", + "TypeId": 4 + } + ], + "TypeDef": "Variant" + }, + "84": { + "TypeFields": [ + { + "Name": "round_number", + "TypeName": "u64", + "TypeId": 11 + }, + { + "Name": "identity", + "TypeName": "Id", + "TypeId": 33 + }, + { + "Name": "first", + "TypeName": "(V, S)", + "TypeId": 89 + }, + { + "Name": "second", + "TypeName": "(V, S)", + "TypeId": 89 + } + ], + "Path": [ + "finality_grandpa", + "Equivocation" + ], + "TypeParams": [ + { + "Name": "Id", + "TypeId": 33 + }, + { + "Name": "V", + "TypeId": 85 + }, + { + "Name": "S", + "TypeId": 86 + } + ], + "TypeDef": "Composite" + }, + "85": { + "TypeFields": [ + { + "Name": "target_hash", + "TypeName": "H", + "TypeId": 12 + }, + { + "Name": "target_number", + "TypeName": "N", + "TypeId": 4 + } + ], + "Path": [ + "finality_grandpa", + "Prevote" + ], + "TypeParams": [ + { + "Name": "H", + "TypeId": 12 + }, + { + "Name": "N", + "TypeId": 4 + } + ], + "TypeDef": "Composite" + }, + "86": { + "TypeFields": [ + { + "TypeName": "ed25519::Signature", + "TypeId": 87 + } + ], + "Path": [ + "sp_consensus_grandpa", + "app", + "Signature" + ], + "TypeDef": "Composite" + }, + "87": { + "TypeFields": [ + { + "TypeName": "[u8; 64]", + "TypeId": 88 + } + ], + "Path": [ + "sp_core", + "ed25519", + "Signature" + ], + "TypeDef": "Composite" + }, + "88": { + "Length": 64, + "TypeId": 2, + "TypeDef": "Array" + }, + "89": { + "TypeIds": [ + 85, + 86 + ], + "TypeDef": "Tuple" + }, + "90": { + "TypeFields": [ + { + "Name": "round_number", + "TypeName": "u64", + "TypeId": 11 + }, + { + "Name": "identity", + "TypeName": "Id", + "TypeId": 33 + }, + { + "Name": "first", + "TypeName": "(V, S)", + "TypeId": 92 + }, + { + "Name": "second", + "TypeName": "(V, S)", + "TypeId": 92 + } + ], + "Path": [ + "finality_grandpa", + "Equivocation" + ], + "TypeParams": [ + { + "Name": "Id", + "TypeId": 33 + }, + { + "Name": "V", + "TypeId": 91 + }, + { + "Name": "S", + "TypeId": 86 + } + ], + "TypeDef": "Composite" + }, + "91": { + "TypeFields": [ + { + "Name": "target_hash", + "TypeName": "H", + "TypeId": 12 + }, + { + "Name": "target_number", + "TypeName": "N", + "TypeId": 4 + } + ], + "Path": [ + "finality_grandpa", + "Precommit" + ], + "TypeParams": [ + { + "Name": "H", + "TypeId": 12 + }, + { + "Name": "N", + "TypeId": 4 + } + ], + "TypeDef": "Composite" + }, + "92": { + "TypeIds": [ + 91, + 86 + ], + "TypeDef": "Tuple" + }, + "93": { + "Variants": [ + { + "Name": "transfer_allow_death", + "TypeFields": [ + { + "Name": "dest", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "value", + "TypeName": "T::Balance", + "TypeId": 46 + } + ], + "Index": 0, + "Docs": [ + "See [`Pallet::transfer_allow_death`]." + ] + }, + { + "Name": "force_transfer", + "TypeFields": [ + { + "Name": "source", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "dest", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "value", + "TypeName": "T::Balance", + "TypeId": 46 + } + ], + "Index": 2, + "Docs": [ + "See [`Pallet::force_transfer`]." + ] + }, + { + "Name": "transfer_keep_alive", + "TypeFields": [ + { + "Name": "dest", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "value", + "TypeName": "T::Balance", + "TypeId": 46 + } + ], + "Index": 3, + "Docs": [ + "See [`Pallet::transfer_keep_alive`]." + ] + }, + { + "Name": "transfer_all", + "TypeFields": [ + { + "Name": "dest", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "keep_alive", + "TypeName": "bool", + "TypeId": 54 + } + ], + "Index": 4, + "Docs": [ + "See [`Pallet::transfer_all`]." + ] + }, + { + "Name": "force_unreserve", + "TypeFields": [ + { + "Name": "who", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "amount", + "TypeName": "T::Balance", + "TypeId": 6 + } + ], + "Index": 5, + "Docs": [ + "See [`Pallet::force_unreserve`]." + ] + }, + { + "Name": "upgrade_accounts", + "TypeFields": [ + { + "Name": "who", + "TypeName": "Vec", + "TypeId": 97 + } + ], + "Index": 6, + "Docs": [ + "See [`Pallet::upgrade_accounts`]." + ] + }, + { + "Name": "force_set_balance", + "TypeFields": [ + { + "Name": "who", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "new_free", + "TypeName": "T::Balance", + "TypeId": 46 + } + ], + "Index": 8, + "Docs": [ + "See [`Pallet::force_set_balance`]." + ] + } + ], + "Path": [ + "pallet_balances", + "pallet", + "Call" + ], + "TypeParams": [ + { + "Name": "T" + }, + { + "Name": "I" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Contains a variant per dispatchable extrinsic that this pallet has." + ] + }, + "94": { + "Variants": [ + { + "Name": "Id", + "TypeFields": [ + { + "TypeName": "AccountId", + "TypeId": 0 + } + ], + "Index": 0 + }, + { + "Name": "Index", + "TypeFields": [ + { + "TypeName": "AccountIndex", + "TypeId": 95 + } + ], + "Index": 1 + }, + { + "Name": "Raw", + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 13 + } + ], + "Index": 2 + }, + { + "Name": "Address32", + "TypeFields": [ + { + "TypeName": "[u8; 32]", + "TypeId": 1 + } + ], + "Index": 3 + }, + { + "Name": "Address20", + "TypeFields": [ + { + "TypeName": "[u8; 20]", + "TypeId": 96 + } + ], + "Index": 4 + } + ], + "Path": [ + "sp_runtime", + "multiaddress", + "MultiAddress" + ], + "TypeParams": [ + { + "Name": "AccountId", + "TypeId": 0 + }, + { + "Name": "AccountIndex", + "TypeId": 58 + } + ], + "TypeDef": "Variant" + }, + "95": { + "TypeId": 58, + "TypeDef": "Compact" + }, + "96": { + "Length": 20, + "TypeId": 2, + "TypeDef": "Array" + }, + "97": { + "TypeId": 0, + "TypeDef": "Sequence" + }, + "98": { + "Variants": [ + { + "Name": "vest", + "TypeFields": null, + "Index": 0, + "Docs": [ + "See [`Pallet::vest`]." + ] + }, + { + "Name": "vest_other", + "TypeFields": [ + { + "Name": "target", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + } + ], + "Index": 1, + "Docs": [ + "See [`Pallet::vest_other`]." + ] + }, + { + "Name": "vested_transfer", + "TypeFields": [ + { + "Name": "target", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "schedule", + "TypeName": "VestingInfo, BlockNumberFor>", + "TypeId": 99 + } + ], + "Index": 2, + "Docs": [ + "See [`Pallet::vested_transfer`]." + ] + }, + { + "Name": "force_vested_transfer", + "TypeFields": [ + { + "Name": "source", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "target", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "schedule", + "TypeName": "VestingInfo, BlockNumberFor>", + "TypeId": 99 + } + ], + "Index": 3, + "Docs": [ + "See [`Pallet::force_vested_transfer`]." + ] + }, + { + "Name": "merge_schedules", + "TypeFields": [ + { + "Name": "schedule1_index", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "schedule2_index", + "TypeName": "u32", + "TypeId": 4 + } + ], + "Index": 4, + "Docs": [ + "See [`Pallet::merge_schedules`]." + ] + }, + { + "Name": "force_remove_vesting_schedule", + "TypeFields": [ + { + "Name": "target", + "TypeName": "::Source", + "TypeId": 94 + }, + { + "Name": "schedule_index", + "TypeName": "u32", + "TypeId": 4 + } + ], + "Index": 5, + "Docs": [ + "See [`Pallet::force_remove_vesting_schedule`]." + ] + } + ], + "Path": [ + "pallet_vesting", + "pallet", + "Call" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Contains a variant per dispatchable extrinsic that this pallet has." + ] + }, + "99": { + "TypeFields": [ + { + "Name": "locked", + "TypeName": "Balance", + "TypeId": 6 + }, + { + "Name": "per_block", + "TypeName": "Balance", + "TypeId": 6 + }, + { + "Name": "starting_block", + "TypeName": "BlockNumber", + "TypeId": 4 + } + ], + "Path": [ + "pallet_vesting", + "vesting_info", + "VestingInfo" + ], + "TypeParams": [ + { + "Name": "Balance", + "TypeId": 6 + }, + { + "Name": "BlockNumber", + "TypeId": 4 + } + ], + "TypeDef": "Composite" + }, + "100": { + "Variants": [ + { + "Name": "rebag", + "TypeFields": [ + { + "Name": "dislocated", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + } + ], + "Index": 0, + "Docs": [ + "See [`Pallet::rebag`]." + ] + }, + { + "Name": "put_in_front_of", + "TypeFields": [ + { + "Name": "lighter", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + } + ], + "Index": 1, + "Docs": [ + "See [`Pallet::put_in_front_of`]." + ] + }, + { + "Name": "put_in_front_of_other", + "TypeFields": [ + { + "Name": "heavier", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "lighter", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + } + ], + "Index": 2, + "Docs": [ + "See [`Pallet::put_in_front_of_other`]." + ] + } + ], + "Path": [ + "pallet_bags_list", + "pallet", + "Call" + ], + "TypeParams": [ + { + "Name": "T" + }, + { + "Name": "I" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Contains a variant per dispatchable extrinsic that this pallet has." + ] + }, + "101": { + "Variants": [ + { + "Name": "heartbeat", + "TypeFields": [ + { + "Name": "heartbeat", + "TypeName": "Heartbeat>", + "TypeId": 102 + }, + { + "Name": "signature", + "TypeName": "::Signature", + "TypeId": 103 + } + ], + "Index": 0, + "Docs": [ + "See [`Pallet::heartbeat`]." + ] + } + ], + "Path": [ + "pallet_im_online", + "pallet", + "Call" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Contains a variant per dispatchable extrinsic that this pallet has." + ] + }, + "102": { + "TypeFields": [ + { + "Name": "block_number", + "TypeName": "BlockNumber", + "TypeId": 4 + }, + { + "Name": "session_index", + "TypeName": "SessionIndex", + "TypeId": 4 + }, + { + "Name": "authority_index", + "TypeName": "AuthIndex", + "TypeId": 4 + }, + { + "Name": "validators_len", + "TypeName": "u32", + "TypeId": 4 + } + ], + "Path": [ + "pallet_im_online", + "Heartbeat" + ], + "TypeParams": [ + { + "Name": "BlockNumber", + "TypeId": 4 + } + ], + "TypeDef": "Composite" + }, + "103": { + "TypeFields": [ + { + "TypeName": "sr25519::Signature", + "TypeId": 104 + } + ], + "Path": [ + "pallet_im_online", + "sr25519", + "app_sr25519", + "Signature" + ], + "TypeDef": "Composite" + }, + "104": { + "TypeFields": [ + { + "TypeName": "[u8; 64]", + "TypeId": 88 + } + ], + "Path": [ + "sp_core", + "sr25519", + "Signature" + ], + "TypeDef": "Composite" + }, + "105": { + "Variants": [ + { + "Name": "bond", + "TypeFields": [ + { + "Name": "value", + "TypeName": "BalanceOf", + "TypeId": 46 + }, + { + "Name": "payee", + "TypeName": "RewardDestination", + "TypeId": 50 + } + ], + "Index": 0, + "Docs": [ + "See [`Pallet::bond`]." + ] + }, + { + "Name": "bond_extra", + "TypeFields": [ + { + "Name": "max_additional", + "TypeName": "BalanceOf", + "TypeId": 46 + } + ], + "Index": 1, + "Docs": [ + "See [`Pallet::bond_extra`]." + ] + }, + { + "Name": "unbond", + "TypeFields": [ + { + "Name": "value", + "TypeName": "BalanceOf", + "TypeId": 46 + } + ], + "Index": 2, + "Docs": [ + "See [`Pallet::unbond`]." + ] + }, + { + "Name": "withdraw_unbonded", + "TypeFields": [ + { + "Name": "num_slashing_spans", + "TypeName": "u32", + "TypeId": 4 + } + ], + "Index": 3, + "Docs": [ + "See [`Pallet::withdraw_unbonded`]." + ] + }, + { + "Name": "validate", + "TypeFields": [ + { + "Name": "prefs", + "TypeName": "ValidatorPrefs", + "TypeId": 52 + } + ], + "Index": 4, + "Docs": [ + "See [`Pallet::validate`]." + ] + }, + { + "Name": "nominate", + "TypeFields": [ + { + "Name": "targets", + "TypeName": "Vec>", + "TypeId": 106 + } + ], + "Index": 5, + "Docs": [ + "See [`Pallet::nominate`]." + ] + }, + { + "Name": "chill", + "TypeFields": null, + "Index": 6, + "Docs": [ + "See [`Pallet::chill`]." + ] + }, + { + "Name": "set_payee", + "TypeFields": [ + { + "Name": "payee", + "TypeName": "RewardDestination", + "TypeId": 50 + } + ], + "Index": 7, + "Docs": [ + "See [`Pallet::set_payee`]." + ] + }, + { + "Name": "set_controller", + "TypeFields": null, + "Index": 8, + "Docs": [ + "See [`Pallet::set_controller`]." + ] + }, + { + "Name": "set_validator_count", + "TypeFields": [ + { + "Name": "new", + "TypeName": "u32", + "TypeId": 74 + } + ], + "Index": 9, + "Docs": [ + "See [`Pallet::set_validator_count`]." + ] + }, + { + "Name": "increase_validator_count", + "TypeFields": [ + { + "Name": "additional", + "TypeName": "u32", + "TypeId": 74 + } + ], + "Index": 10, + "Docs": [ + "See [`Pallet::increase_validator_count`]." + ] + }, + { + "Name": "scale_validator_count", + "TypeFields": [ + { + "Name": "factor", + "TypeName": "Percent", + "TypeId": 107 + } + ], + "Index": 11, + "Docs": [ + "See [`Pallet::scale_validator_count`]." + ] + }, + { + "Name": "force_no_eras", + "TypeFields": null, + "Index": 12, + "Docs": [ + "See [`Pallet::force_no_eras`]." + ] + }, + { + "Name": "force_new_era", + "TypeFields": null, + "Index": 13, + "Docs": [ + "See [`Pallet::force_new_era`]." + ] + }, + { + "Name": "set_invulnerables", + "TypeFields": [ + { + "Name": "invulnerables", + "TypeName": "Vec", + "TypeId": 97 + } + ], + "Index": 14, + "Docs": [ + "See [`Pallet::set_invulnerables`]." + ] + }, + { + "Name": "force_unstake", + "TypeFields": [ + { + "Name": "stash", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "num_slashing_spans", + "TypeName": "u32", + "TypeId": 4 + } + ], + "Index": 15, + "Docs": [ + "See [`Pallet::force_unstake`]." + ] + }, + { + "Name": "force_new_era_always", + "TypeFields": null, + "Index": 16, + "Docs": [ + "See [`Pallet::force_new_era_always`]." + ] + }, + { + "Name": "cancel_deferred_slash", + "TypeFields": [ + { + "Name": "era", + "TypeName": "EraIndex", + "TypeId": 4 + }, + { + "Name": "slash_indices", + "TypeName": "Vec", + "TypeId": 108 + } + ], + "Index": 17, + "Docs": [ + "See [`Pallet::cancel_deferred_slash`]." + ] + }, + { + "Name": "payout_stakers", + "TypeFields": [ + { + "Name": "validator_stash", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "era", + "TypeName": "EraIndex", + "TypeId": 4 + } + ], + "Index": 18, + "Docs": [ + "See [`Pallet::payout_stakers`]." + ] + }, + { + "Name": "rebond", + "TypeFields": [ + { + "Name": "value", + "TypeName": "BalanceOf", + "TypeId": 46 + } + ], + "Index": 19, + "Docs": [ + "See [`Pallet::rebond`]." + ] + }, + { + "Name": "reap_stash", + "TypeFields": [ + { + "Name": "stash", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "num_slashing_spans", + "TypeName": "u32", + "TypeId": 4 + } + ], + "Index": 20, + "Docs": [ + "See [`Pallet::reap_stash`]." + ] + }, + { + "Name": "kick", + "TypeFields": [ + { + "Name": "who", + "TypeName": "Vec>", + "TypeId": 106 + } + ], + "Index": 21, + "Docs": [ + "See [`Pallet::kick`]." + ] + }, + { + "Name": "set_staking_configs", + "TypeFields": [ + { + "Name": "min_nominator_bond", + "TypeName": "ConfigOp>", + "TypeId": 109 + }, + { + "Name": "min_validator_bond", + "TypeName": "ConfigOp>", + "TypeId": 109 + }, + { + "Name": "max_nominator_count", + "TypeName": "ConfigOp", + "TypeId": 110 + }, + { + "Name": "max_validator_count", + "TypeName": "ConfigOp", + "TypeId": 110 + }, + { + "Name": "chill_threshold", + "TypeName": "ConfigOp", + "TypeId": 111 + }, + { + "Name": "min_commission", + "TypeName": "ConfigOp", + "TypeId": 112 + } + ], + "Index": 22, + "Docs": [ + "See [`Pallet::set_staking_configs`]." + ] + }, + { + "Name": "chill_other", + "TypeFields": [ + { + "Name": "controller", + "TypeName": "T::AccountId", + "TypeId": 0 + } + ], + "Index": 23, + "Docs": [ + "See [`Pallet::chill_other`]." + ] + }, + { + "Name": "force_apply_min_commission", + "TypeFields": [ + { + "Name": "validator_stash", + "TypeName": "T::AccountId", + "TypeId": 0 + } + ], + "Index": 24, + "Docs": [ + "See [`Pallet::force_apply_min_commission`]." + ] + }, + { + "Name": "set_min_commission", + "TypeFields": [ + { + "Name": "new", + "TypeName": "Perbill", + "TypeId": 51 + } + ], + "Index": 25, + "Docs": [ + "See [`Pallet::set_min_commission`]." + ] + }, + { + "Name": "payout_stakers_by_page", + "TypeFields": [ + { + "Name": "validator_stash", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "era", + "TypeName": "EraIndex", + "TypeId": 4 + }, + { + "Name": "page", + "TypeName": "Page", + "TypeId": 4 + } + ], + "Index": 26, + "Docs": [ + "See [`Pallet::payout_stakers_by_page`]." + ] + } + ], + "Path": [ + "pallet_staking", + "pallet", + "pallet", + "Call" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Contains a variant per dispatchable extrinsic that this pallet has." + ] + }, + "106": { + "TypeId": 94, + "TypeDef": "Sequence" + }, + "107": { + "TypeFields": [ + { + "TypeName": "u8", + "TypeId": 2 + } + ], + "Path": [ + "sp_arithmetic", + "per_things", + "Percent" + ], + "TypeDef": "Composite" + }, + "108": { + "TypeId": 4, + "TypeDef": "Sequence" + }, + "109": { + "Variants": [ + { + "Name": "Noop", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Set", + "TypeFields": [ + { + "TypeName": "T", + "TypeId": 6 + } + ], + "Index": 1 + }, + { + "Name": "Remove", + "TypeFields": null, + "Index": 2 + } + ], + "Path": [ + "pallet_staking", + "pallet", + "pallet", + "ConfigOp" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 6 + } + ], + "TypeDef": "Variant" + }, + "110": { + "Variants": [ + { + "Name": "Noop", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Set", + "TypeFields": [ + { + "TypeName": "T", + "TypeId": 4 + } + ], + "Index": 1 + }, + { + "Name": "Remove", + "TypeFields": null, + "Index": 2 + } + ], + "Path": [ + "pallet_staking", + "pallet", + "pallet", + "ConfigOp" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 4 + } + ], + "TypeDef": "Variant" + }, + "111": { + "Variants": [ + { + "Name": "Noop", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Set", + "TypeFields": [ + { + "TypeName": "T", + "TypeId": 107 + } + ], + "Index": 1 + }, + { + "Name": "Remove", + "TypeFields": null, + "Index": 2 + } + ], + "Path": [ + "pallet_staking", + "pallet", + "pallet", + "ConfigOp" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 107 + } + ], + "TypeDef": "Variant" + }, + "112": { + "Variants": [ + { + "Name": "Noop", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Set", + "TypeFields": [ + { + "TypeName": "T", + "TypeId": 51 + } + ], + "Index": 1 + }, + { + "Name": "Remove", + "TypeFields": null, + "Index": 2 + } + ], + "Path": [ + "pallet_staking", + "pallet", + "pallet", + "ConfigOp" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 51 + } + ], + "TypeDef": "Variant" + }, + "113": { + "Variants": [ + { + "Name": "set_keys", + "TypeFields": [ + { + "Name": "keys", + "TypeName": "T::Keys", + "TypeId": 114 + }, + { + "Name": "proof", + "TypeName": "Vec", + "TypeId": 13 + } + ], + "Index": 0, + "Docs": [ + "See [`Pallet::set_keys`]." + ] + }, + { + "Name": "purge_keys", + "TypeFields": null, + "Index": 1, + "Docs": [ + "See [`Pallet::purge_keys`]." + ] + } + ], + "Path": [ + "pallet_session", + "pallet", + "Call" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Contains a variant per dispatchable extrinsic that this pallet has." + ] + }, + "114": { + "TypeFields": [ + { + "Name": "babe", + "TypeName": "::Public", + "TypeId": 75 + }, + { + "Name": "grandpa", + "TypeName": "::Public", + "TypeId": 33 + }, + { + "Name": "im_online", + "TypeName": "::Public", + "TypeId": 41 + }, + { + "Name": "authority_discovery", + "TypeName": "::Public", + "TypeId": 115 + } + ], + "Path": [ + "vara_runtime", + "SessionKeys" + ], + "TypeDef": "Composite" + }, + "115": { + "TypeFields": [ + { + "TypeName": "sr25519::Public", + "TypeId": 42 + } + ], + "Path": [ + "sp_authority_discovery", + "app", + "Public" + ], + "TypeDef": "Composite" + }, + "116": { + "Variants": [ + { + "Name": "propose_spend", + "TypeFields": [ + { + "Name": "value", + "TypeName": "BalanceOf", + "TypeId": 46 + }, + { + "Name": "beneficiary", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + } + ], + "Index": 0, + "Docs": [ + "See [`Pallet::propose_spend`]." + ] + }, + { + "Name": "reject_proposal", + "TypeFields": [ + { + "Name": "proposal_id", + "TypeName": "ProposalIndex", + "TypeId": 74 + } + ], + "Index": 1, + "Docs": [ + "See [`Pallet::reject_proposal`]." + ] + }, + { + "Name": "approve_proposal", + "TypeFields": [ + { + "Name": "proposal_id", + "TypeName": "ProposalIndex", + "TypeId": 74 + } + ], + "Index": 2, + "Docs": [ + "See [`Pallet::approve_proposal`]." + ] + }, + { + "Name": "spend_local", + "TypeFields": [ + { + "Name": "amount", + "TypeName": "BalanceOf", + "TypeId": 46 + }, + { + "Name": "beneficiary", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + } + ], + "Index": 3, + "Docs": [ + "See [`Pallet::spend_local`]." + ] + }, + { + "Name": "remove_approval", + "TypeFields": [ + { + "Name": "proposal_id", + "TypeName": "ProposalIndex", + "TypeId": 74 + } + ], + "Index": 4, + "Docs": [ + "See [`Pallet::remove_approval`]." + ] + }, + { + "Name": "spend", + "TypeFields": [ + { + "Name": "asset_kind", + "TypeName": "Box", + "TypeId": 58 + }, + { + "Name": "amount", + "TypeName": "AssetBalanceOf", + "TypeId": 46 + }, + { + "Name": "beneficiary", + "TypeName": "Box>", + "TypeId": 0 + }, + { + "Name": "valid_from", + "TypeName": "Option>", + "TypeId": 117 + } + ], + "Index": 5, + "Docs": [ + "See [`Pallet::spend`]." + ] + }, + { + "Name": "payout", + "TypeFields": [ + { + "Name": "index", + "TypeName": "SpendIndex", + "TypeId": 4 + } + ], + "Index": 6, + "Docs": [ + "See [`Pallet::payout`]." + ] + }, + { + "Name": "check_status", + "TypeFields": [ + { + "Name": "index", + "TypeName": "SpendIndex", + "TypeId": 4 + } + ], + "Index": 7, + "Docs": [ + "See [`Pallet::check_status`]." + ] + }, + { + "Name": "void_spend", + "TypeFields": [ + { + "Name": "index", + "TypeName": "SpendIndex", + "TypeId": 4 + } + ], + "Index": 8, + "Docs": [ + "See [`Pallet::void_spend`]." + ] + } + ], + "Path": [ + "pallet_treasury", + "pallet", + "Call" + ], + "TypeParams": [ + { + "Name": "T" + }, + { + "Name": "I" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Contains a variant per dispatchable extrinsic that this pallet has." + ] + }, + "117": { + "Variants": [ + { + "Name": "None", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Some", + "TypeFields": [ + { + "TypeId": 4 + } + ], + "Index": 1 + } + ], + "Path": [ + "Option" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 4 + } + ], + "TypeDef": "Variant" + }, + "118": { + "Variants": [ + { + "Name": "batch", + "TypeFields": [ + { + "Name": "calls", + "TypeName": "Vec<::RuntimeCall>", + "TypeId": 119 + } + ], + "Index": 0, + "Docs": [ + "See [`Pallet::batch`]." + ] + }, + { + "Name": "as_derivative", + "TypeFields": [ + { + "Name": "index", + "TypeName": "u16", + "TypeId": 63 + }, + { + "Name": "call", + "TypeName": "Box<::RuntimeCall>", + "TypeId": 65 + } + ], + "Index": 1, + "Docs": [ + "See [`Pallet::as_derivative`]." + ] + }, + { + "Name": "batch_all", + "TypeFields": [ + { + "Name": "calls", + "TypeName": "Vec<::RuntimeCall>", + "TypeId": 119 + } + ], + "Index": 2, + "Docs": [ + "See [`Pallet::batch_all`]." + ] + }, + { + "Name": "dispatch_as", + "TypeFields": [ + { + "Name": "as_origin", + "TypeName": "Box", + "TypeId": 120 + }, + { + "Name": "call", + "TypeName": "Box<::RuntimeCall>", + "TypeId": 65 + } + ], + "Index": 3, + "Docs": [ + "See [`Pallet::dispatch_as`]." + ] + }, + { + "Name": "force_batch", + "TypeFields": [ + { + "Name": "calls", + "TypeName": "Vec<::RuntimeCall>", + "TypeId": 119 + } + ], + "Index": 4, + "Docs": [ + "See [`Pallet::force_batch`]." + ] + }, + { + "Name": "with_weight", + "TypeFields": [ + { + "Name": "call", + "TypeName": "Box<::RuntimeCall>", + "TypeId": 65 + }, + { + "Name": "weight", + "TypeName": "Weight", + "TypeId": 9 + } + ], + "Index": 5, + "Docs": [ + "See [`Pallet::with_weight`]." + ] + } + ], + "Path": [ + "pallet_utility", + "pallet", + "Call" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Contains a variant per dispatchable extrinsic that this pallet has." + ] + }, + "119": { + "TypeId": 65, + "TypeDef": "Sequence" + }, + "120": { + "Variants": [ + { + "Name": "system", + "TypeFields": [ + { + "TypeName": "frame_system::Origin", + "TypeId": 121 + } + ], + "Index": 0 + }, + { + "Name": "Origins", + "TypeFields": [ + { + "TypeName": "pallet_custom_origins::Origin", + "TypeId": 122 + } + ], + "Index": 20 + }, + { + "Name": "Void", + "TypeFields": [ + { + "TypeName": "self::sp_api_hidden_includes_construct_runtime::hidden_include::\n__private::Void", + "TypeId": 123 + } + ], + "Index": 2 + } + ], + "Path": [ + "vara_runtime", + "OriginCaller" + ], + "TypeDef": "Variant" + }, + "121": { + "Variants": [ + { + "Name": "Root", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Signed", + "TypeFields": [ + { + "TypeName": "AccountId", + "TypeId": 0 + } + ], + "Index": 1 + }, + { + "Name": "None", + "TypeFields": null, + "Index": 2 + } + ], + "Path": [ + "frame_support", + "dispatch", + "RawOrigin" + ], + "TypeParams": [ + { + "Name": "AccountId", + "TypeId": 0 + } + ], + "TypeDef": "Variant" + }, + "122": { + "Variants": [ + { + "Name": "StakingAdmin", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Treasurer", + "TypeFields": null, + "Index": 1 + }, + { + "Name": "FellowshipAdmin", + "TypeFields": null, + "Index": 2 + }, + { + "Name": "GeneralAdmin", + "TypeFields": null, + "Index": 3 + }, + { + "Name": "ReferendumCanceller", + "TypeFields": null, + "Index": 4 + }, + { + "Name": "ReferendumKiller", + "TypeFields": null, + "Index": 5 + }, + { + "Name": "SmallTipper", + "TypeFields": null, + "Index": 6 + }, + { + "Name": "BigTipper", + "TypeFields": null, + "Index": 7 + }, + { + "Name": "SmallSpender", + "TypeFields": null, + "Index": 8 + }, + { + "Name": "MediumSpender", + "TypeFields": null, + "Index": 9 + }, + { + "Name": "BigSpender", + "TypeFields": null, + "Index": 10 + }, + { + "Name": "WhitelistedCaller", + "TypeFields": null, + "Index": 11 + }, + { + "Name": "FellowshipInitiates", + "TypeFields": null, + "Index": 12 + }, + { + "Name": "Fellows", + "TypeFields": null, + "Index": 13 + }, + { + "Name": "FellowshipExperts", + "TypeFields": null, + "Index": 14 + }, + { + "Name": "FellowshipMasters", + "TypeFields": null, + "Index": 15 + }, + { + "Name": "Fellowship1Dan", + "TypeFields": null, + "Index": 16 + }, + { + "Name": "Fellowship2Dan", + "TypeFields": null, + "Index": 17 + }, + { + "Name": "Fellowship3Dan", + "TypeFields": null, + "Index": 18 + }, + { + "Name": "Fellowship4Dan", + "TypeFields": null, + "Index": 19 + }, + { + "Name": "Fellowship5Dan", + "TypeFields": null, + "Index": 20 + }, + { + "Name": "Fellowship6Dan", + "TypeFields": null, + "Index": 21 + }, + { + "Name": "Fellowship7Dan", + "TypeFields": null, + "Index": 22 + }, + { + "Name": "Fellowship8Dan", + "TypeFields": null, + "Index": 23 + }, + { + "Name": "Fellowship9Dan", + "TypeFields": null, + "Index": 24 + } + ], + "Path": [ + "vara_runtime", + "governance", + "origins", + "pallet_custom_origins", + "Origin" + ], + "TypeDef": "Variant" + }, + "123": { + "Variants": null, + "Path": [ + "sp_core", + "Void" + ], + "TypeDef": "Variant" + }, + "124": { + "Variants": [ + { + "Name": "vote", + "TypeFields": [ + { + "Name": "poll_index", + "TypeName": "PollIndexOf", + "TypeId": 74 + }, + { + "Name": "vote", + "TypeName": "AccountVote>", + "TypeId": 125 + } + ], + "Index": 0, + "Docs": [ + "See [`Pallet::vote`]." + ] + }, + { + "Name": "delegate", + "TypeFields": [ + { + "Name": "class", + "TypeName": "ClassOf", + "TypeId": 63 + }, + { + "Name": "to", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "conviction", + "TypeName": "Conviction", + "TypeId": 127 + }, + { + "Name": "balance", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 1, + "Docs": [ + "See [`Pallet::delegate`]." + ] + }, + { + "Name": "undelegate", + "TypeFields": [ + { + "Name": "class", + "TypeName": "ClassOf", + "TypeId": 63 + } + ], + "Index": 2, + "Docs": [ + "See [`Pallet::undelegate`]." + ] + }, + { + "Name": "unlock", + "TypeFields": [ + { + "Name": "class", + "TypeName": "ClassOf", + "TypeId": 63 + }, + { + "Name": "target", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + } + ], + "Index": 3, + "Docs": [ + "See [`Pallet::unlock`]." + ] + }, + { + "Name": "remove_vote", + "TypeFields": [ + { + "Name": "class", + "TypeName": "Option>", + "TypeId": 128 + }, + { + "Name": "index", + "TypeName": "PollIndexOf", + "TypeId": 4 + } + ], + "Index": 4, + "Docs": [ + "See [`Pallet::remove_vote`]." + ] + }, + { + "Name": "remove_other_vote", + "TypeFields": [ + { + "Name": "target", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "class", + "TypeName": "ClassOf", + "TypeId": 63 + }, + { + "Name": "index", + "TypeName": "PollIndexOf", + "TypeId": 4 + } + ], + "Index": 5, + "Docs": [ + "See [`Pallet::remove_other_vote`]." + ] + } + ], + "Path": [ + "pallet_conviction_voting", + "pallet", + "Call" + ], + "TypeParams": [ + { + "Name": "T" + }, + { + "Name": "I" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Contains a variant per dispatchable extrinsic that this pallet has." + ] + }, + "125": { + "Variants": [ + { + "Name": "Standard", + "TypeFields": [ + { + "Name": "vote", + "TypeName": "Vote", + "TypeId": 126 + }, + { + "Name": "balance", + "TypeName": "Balance", + "TypeId": 6 + } + ], + "Index": 0 + }, + { + "Name": "Split", + "TypeFields": [ + { + "Name": "aye", + "TypeName": "Balance", + "TypeId": 6 + }, + { + "Name": "nay", + "TypeName": "Balance", + "TypeId": 6 + } + ], + "Index": 1 + }, + { + "Name": "SplitAbstain", + "TypeFields": [ + { + "Name": "aye", + "TypeName": "Balance", + "TypeId": 6 + }, + { + "Name": "nay", + "TypeName": "Balance", + "TypeId": 6 + }, + { + "Name": "abstain", + "TypeName": "Balance", + "TypeId": 6 + } + ], + "Index": 2 + } + ], + "Path": [ + "pallet_conviction_voting", + "vote", + "AccountVote" + ], + "TypeParams": [ + { + "Name": "Balance", + "TypeId": 6 + } + ], + "TypeDef": "Variant" + }, + "126": { + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Path": [ + "pallet_conviction_voting", + "vote", + "Vote" + ], + "TypeDef": "Composite" + }, + "127": { + "Variants": [ + { + "Name": "None", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Locked1x", + "TypeFields": null, + "Index": 1 + }, + { + "Name": "Locked2x", + "TypeFields": null, + "Index": 2 + }, + { + "Name": "Locked3x", + "TypeFields": null, + "Index": 3 + }, + { + "Name": "Locked4x", + "TypeFields": null, + "Index": 4 + }, + { + "Name": "Locked5x", + "TypeFields": null, + "Index": 5 + }, + { + "Name": "Locked6x", + "TypeFields": null, + "Index": 6 + } + ], + "Path": [ + "pallet_conviction_voting", + "conviction", + "Conviction" + ], + "TypeDef": "Variant" + }, + "128": { + "Variants": [ + { + "Name": "None", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Some", + "TypeFields": [ + { + "TypeId": 63 + } + ], + "Index": 1 + } + ], + "Path": [ + "Option" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 63 + } + ], + "TypeDef": "Variant" + }, + "129": { + "Variants": [ + { + "Name": "submit", + "TypeFields": [ + { + "Name": "proposal_origin", + "TypeName": "Box>", + "TypeId": 120 + }, + { + "Name": "proposal", + "TypeName": "BoundedCallOf", + "TypeId": 64 + }, + { + "Name": "enactment_moment", + "TypeName": "DispatchTime>", + "TypeId": 130 + } + ], + "Index": 0, + "Docs": [ + "See [`Pallet::submit`]." + ] + }, + { + "Name": "place_decision_deposit", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4 + } + ], + "Index": 1, + "Docs": [ + "See [`Pallet::place_decision_deposit`]." + ] + }, + { + "Name": "refund_decision_deposit", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4 + } + ], + "Index": 2, + "Docs": [ + "See [`Pallet::refund_decision_deposit`]." + ] + }, + { + "Name": "cancel", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4 + } + ], + "Index": 3, + "Docs": [ + "See [`Pallet::cancel`]." + ] + }, + { + "Name": "kill", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4 + } + ], + "Index": 4, + "Docs": [ + "See [`Pallet::kill`]." + ] + }, + { + "Name": "nudge_referendum", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4 + } + ], + "Index": 5, + "Docs": [ + "See [`Pallet::nudge_referendum`]." + ] + }, + { + "Name": "one_fewer_deciding", + "TypeFields": [ + { + "Name": "track", + "TypeName": "TrackIdOf", + "TypeId": 63 + } + ], + "Index": 6, + "Docs": [ + "See [`Pallet::one_fewer_deciding`]." + ] + }, + { + "Name": "refund_submission_deposit", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4 + } + ], + "Index": 7, + "Docs": [ + "See [`Pallet::refund_submission_deposit`]." + ] + }, + { + "Name": "set_metadata", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4 + }, + { + "Name": "maybe_hash", + "TypeName": "Option", + "TypeId": 131 + } + ], + "Index": 8, + "Docs": [ + "See [`Pallet::set_metadata`]." + ] + } + ], + "Path": [ + "pallet_referenda", + "pallet", + "Call" + ], + "TypeParams": [ + { + "Name": "T" + }, + { + "Name": "I" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Contains a variant per dispatchable extrinsic that this pallet has." + ] + }, + "130": { + "Variants": [ + { + "Name": "At", + "TypeFields": [ + { + "TypeName": "BlockNumber", + "TypeId": 4 + } + ], + "Index": 0 + }, + { + "Name": "After", + "TypeFields": [ + { + "TypeName": "BlockNumber", + "TypeId": 4 + } + ], + "Index": 1 + } + ], + "Path": [ + "frame_support", + "traits", + "schedule", + "DispatchTime" + ], + "TypeParams": [ + { + "Name": "BlockNumber", + "TypeId": 4 + } + ], + "TypeDef": "Variant" + }, + "131": { + "Variants": [ + { + "Name": "None", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Some", + "TypeFields": [ + { + "TypeId": 12 + } + ], + "Index": 1 + } + ], + "Path": [ + "Option" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 12 + } + ], + "TypeDef": "Variant" + }, + "132": { + "Variants": [ + { + "Name": "add_member", + "TypeFields": [ + { + "Name": "who", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + } + ], + "Index": 0, + "Docs": [ + "See [`Pallet::add_member`]." + ] + }, + { + "Name": "promote_member", + "TypeFields": [ + { + "Name": "who", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + } + ], + "Index": 1, + "Docs": [ + "See [`Pallet::promote_member`]." + ] + }, + { + "Name": "demote_member", + "TypeFields": [ + { + "Name": "who", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + } + ], + "Index": 2, + "Docs": [ + "See [`Pallet::demote_member`]." + ] + }, + { + "Name": "remove_member", + "TypeFields": [ + { + "Name": "who", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "min_rank", + "TypeName": "Rank", + "TypeId": 63 + } + ], + "Index": 3, + "Docs": [ + "See [`Pallet::remove_member`]." + ] + }, + { + "Name": "vote", + "TypeFields": [ + { + "Name": "poll", + "TypeName": "PollIndexOf", + "TypeId": 4 + }, + { + "Name": "aye", + "TypeName": "bool", + "TypeId": 54 + } + ], + "Index": 4, + "Docs": [ + "See [`Pallet::vote`]." + ] + }, + { + "Name": "cleanup_poll", + "TypeFields": [ + { + "Name": "poll_index", + "TypeName": "PollIndexOf", + "TypeId": 4 + }, + { + "Name": "max", + "TypeName": "u32", + "TypeId": 4 + } + ], + "Index": 5, + "Docs": [ + "See [`Pallet::cleanup_poll`]." + ] + } + ], + "Path": [ + "pallet_ranked_collective", + "pallet", + "Call" + ], + "TypeParams": [ + { + "Name": "T" + }, + { + "Name": "I" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Contains a variant per dispatchable extrinsic that this pallet has." + ] + }, + "133": { + "Variants": [ + { + "Name": "submit", + "TypeFields": [ + { + "Name": "proposal_origin", + "TypeName": "Box>", + "TypeId": 120 + }, + { + "Name": "proposal", + "TypeName": "BoundedCallOf", + "TypeId": 64 + }, + { + "Name": "enactment_moment", + "TypeName": "DispatchTime>", + "TypeId": 130 + } + ], + "Index": 0, + "Docs": [ + "See [`Pallet::submit`]." + ] + }, + { + "Name": "place_decision_deposit", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4 + } + ], + "Index": 1, + "Docs": [ + "See [`Pallet::place_decision_deposit`]." + ] + }, + { + "Name": "refund_decision_deposit", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4 + } + ], + "Index": 2, + "Docs": [ + "See [`Pallet::refund_decision_deposit`]." + ] + }, + { + "Name": "cancel", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4 + } + ], + "Index": 3, + "Docs": [ + "See [`Pallet::cancel`]." + ] + }, + { + "Name": "kill", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4 + } + ], + "Index": 4, + "Docs": [ + "See [`Pallet::kill`]." + ] + }, + { + "Name": "nudge_referendum", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4 + } + ], + "Index": 5, + "Docs": [ + "See [`Pallet::nudge_referendum`]." + ] + }, + { + "Name": "one_fewer_deciding", + "TypeFields": [ + { + "Name": "track", + "TypeName": "TrackIdOf", + "TypeId": 63 + } + ], + "Index": 6, + "Docs": [ + "See [`Pallet::one_fewer_deciding`]." + ] + }, + { + "Name": "refund_submission_deposit", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4 + } + ], + "Index": 7, + "Docs": [ + "See [`Pallet::refund_submission_deposit`]." + ] + }, + { + "Name": "set_metadata", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4 + }, + { + "Name": "maybe_hash", + "TypeName": "Option", + "TypeId": 131 + } + ], + "Index": 8, + "Docs": [ + "See [`Pallet::set_metadata`]." + ] + } + ], + "Path": [ + "pallet_referenda", + "pallet", + "Call" + ], + "TypeParams": [ + { + "Name": "T" + }, + { + "Name": "I" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Contains a variant per dispatchable extrinsic that this pallet has." + ] + }, + "134": { + "Variants": [ + { + "Name": "whitelist_call", + "TypeFields": [ + { + "Name": "call_hash", + "TypeName": "T::Hash", + "TypeId": 12 + } + ], + "Index": 0, + "Docs": [ + "See [`Pallet::whitelist_call`]." + ] + }, + { + "Name": "remove_whitelisted_call", + "TypeFields": [ + { + "Name": "call_hash", + "TypeName": "T::Hash", + "TypeId": 12 + } + ], + "Index": 1, + "Docs": [ + "See [`Pallet::remove_whitelisted_call`]." + ] + }, + { + "Name": "dispatch_whitelisted_call", + "TypeFields": [ + { + "Name": "call_hash", + "TypeName": "T::Hash", + "TypeId": 12 + }, + { + "Name": "call_encoded_len", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "call_weight_witness", + "TypeName": "Weight", + "TypeId": 9 + } + ], + "Index": 2, + "Docs": [ + "See [`Pallet::dispatch_whitelisted_call`]." + ] + }, + { + "Name": "dispatch_whitelisted_call_with_preimage", + "TypeFields": [ + { + "Name": "call", + "TypeName": "Box<::RuntimeCall>", + "TypeId": 65 + } + ], + "Index": 3, + "Docs": [ + "See [`Pallet::dispatch_whitelisted_call_with_preimage`]." + ] + } + ], + "Path": [ + "pallet_whitelist", + "pallet", + "Call" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Contains a variant per dispatchable extrinsic that this pallet has." + ] + }, + "135": { + "Variants": [ + { + "Name": "schedule", + "TypeFields": [ + { + "Name": "when", + "TypeName": "BlockNumberFor", + "TypeId": 4 + }, + { + "Name": "maybe_periodic", + "TypeName": "Option>>", + "TypeId": 136 + }, + { + "Name": "priority", + "TypeName": "schedule::Priority", + "TypeId": 2 + }, + { + "Name": "call", + "TypeName": "Box<::RuntimeCall>", + "TypeId": 65 + } + ], + "Index": 0, + "Docs": [ + "See [`Pallet::schedule`]." + ] + }, + { + "Name": "cancel", + "TypeFields": [ + { + "Name": "when", + "TypeName": "BlockNumberFor", + "TypeId": 4 + }, + { + "Name": "index", + "TypeName": "u32", + "TypeId": 4 + } + ], + "Index": 1, + "Docs": [ + "See [`Pallet::cancel`]." + ] + }, + { + "Name": "schedule_named", + "TypeFields": [ + { + "Name": "id", + "TypeName": "TaskName", + "TypeId": 1 + }, + { + "Name": "when", + "TypeName": "BlockNumberFor", + "TypeId": 4 + }, + { + "Name": "maybe_periodic", + "TypeName": "Option>>", + "TypeId": 136 + }, + { + "Name": "priority", + "TypeName": "schedule::Priority", + "TypeId": 2 + }, + { + "Name": "call", + "TypeName": "Box<::RuntimeCall>", + "TypeId": 65 + } + ], + "Index": 2, + "Docs": [ + "See [`Pallet::schedule_named`]." + ] + }, + { + "Name": "cancel_named", + "TypeFields": [ + { + "Name": "id", + "TypeName": "TaskName", + "TypeId": 1 + } + ], + "Index": 3, + "Docs": [ + "See [`Pallet::cancel_named`]." + ] + }, + { + "Name": "schedule_after", + "TypeFields": [ + { + "Name": "after", + "TypeName": "BlockNumberFor", + "TypeId": 4 + }, + { + "Name": "maybe_periodic", + "TypeName": "Option>>", + "TypeId": 136 + }, + { + "Name": "priority", + "TypeName": "schedule::Priority", + "TypeId": 2 + }, + { + "Name": "call", + "TypeName": "Box<::RuntimeCall>", + "TypeId": 65 + } + ], + "Index": 4, + "Docs": [ + "See [`Pallet::schedule_after`]." + ] + }, + { + "Name": "schedule_named_after", + "TypeFields": [ + { + "Name": "id", + "TypeName": "TaskName", + "TypeId": 1 + }, + { + "Name": "after", + "TypeName": "BlockNumberFor", + "TypeId": 4 + }, + { + "Name": "maybe_periodic", + "TypeName": "Option>>", + "TypeId": 136 + }, + { + "Name": "priority", + "TypeName": "schedule::Priority", + "TypeId": 2 + }, + { + "Name": "call", + "TypeName": "Box<::RuntimeCall>", + "TypeId": 65 + } + ], + "Index": 5, + "Docs": [ + "See [`Pallet::schedule_named_after`]." + ] + } + ], + "Path": [ + "pallet_scheduler", + "pallet", + "Call" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Contains a variant per dispatchable extrinsic that this pallet has." + ] + }, + "136": { + "Variants": [ + { + "Name": "None", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Some", + "TypeFields": [ + { + "TypeId": 137 + } + ], + "Index": 1 + } + ], + "Path": [ + "Option" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 137 + } + ], + "TypeDef": "Variant" + }, + "137": { + "TypeIds": [ + 4, + 4 + ], + "TypeDef": "Tuple" + }, + "138": { + "Variants": [ + { + "Name": "note_preimage", + "TypeFields": [ + { + "Name": "bytes", + "TypeName": "Vec", + "TypeId": 13 + } + ], + "Index": 0, + "Docs": [ + "See [`Pallet::note_preimage`]." + ] + }, + { + "Name": "unnote_preimage", + "TypeFields": [ + { + "Name": "hash", + "TypeName": "T::Hash", + "TypeId": 12 + } + ], + "Index": 1, + "Docs": [ + "See [`Pallet::unnote_preimage`]." + ] + }, + { + "Name": "request_preimage", + "TypeFields": [ + { + "Name": "hash", + "TypeName": "T::Hash", + "TypeId": 12 + } + ], + "Index": 2, + "Docs": [ + "See [`Pallet::request_preimage`]." + ] + }, + { + "Name": "unrequest_preimage", + "TypeFields": [ + { + "Name": "hash", + "TypeName": "T::Hash", + "TypeId": 12 + } + ], + "Index": 3, + "Docs": [ + "See [`Pallet::unrequest_preimage`]." + ] + }, + { + "Name": "ensure_updated", + "TypeFields": [ + { + "Name": "hashes", + "TypeName": "Vec", + "TypeId": 139 + } + ], + "Index": 4, + "Docs": [ + "See [`Pallet::ensure_updated`]." + ] + } + ], + "Path": [ + "pallet_preimage", + "pallet", + "Call" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Contains a variant per dispatchable extrinsic that this pallet has." + ] + }, + "139": { + "TypeId": 12, + "TypeDef": "Sequence" + }, + "140": { + "Variants": [ + { + "Name": "add_registrar", + "TypeFields": [ + { + "Name": "account", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + } + ], + "Index": 0, + "Docs": [ + "See [`Pallet::add_registrar`]." + ] + }, + { + "Name": "set_identity", + "TypeFields": [ + { + "Name": "info", + "TypeName": "Box", + "TypeId": 141 + } + ], + "Index": 1, + "Docs": [ + "See [`Pallet::set_identity`]." + ] + }, + { + "Name": "set_subs", + "TypeFields": [ + { + "Name": "subs", + "TypeName": "Vec<(T::AccountId, Data)>", + "TypeId": 177 + } + ], + "Index": 2, + "Docs": [ + "See [`Pallet::set_subs`]." + ] + }, + { + "Name": "clear_identity", + "TypeFields": null, + "Index": 3, + "Docs": [ + "See [`Pallet::clear_identity`]." + ] + }, + { + "Name": "request_judgement", + "TypeFields": [ + { + "Name": "reg_index", + "TypeName": "RegistrarIndex", + "TypeId": 74 + }, + { + "Name": "max_fee", + "TypeName": "BalanceOf", + "TypeId": 46 + } + ], + "Index": 4, + "Docs": [ + "See [`Pallet::request_judgement`]." + ] + }, + { + "Name": "cancel_request", + "TypeFields": [ + { + "Name": "reg_index", + "TypeName": "RegistrarIndex", + "TypeId": 4 + } + ], + "Index": 5, + "Docs": [ + "See [`Pallet::cancel_request`]." + ] + }, + { + "Name": "set_fee", + "TypeFields": [ + { + "Name": "index", + "TypeName": "RegistrarIndex", + "TypeId": 74 + }, + { + "Name": "fee", + "TypeName": "BalanceOf", + "TypeId": 46 + } + ], + "Index": 6, + "Docs": [ + "See [`Pallet::set_fee`]." + ] + }, + { + "Name": "set_account_id", + "TypeFields": [ + { + "Name": "index", + "TypeName": "RegistrarIndex", + "TypeId": 74 + }, + { + "Name": "new", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + } + ], + "Index": 7, + "Docs": [ + "See [`Pallet::set_account_id`]." + ] + }, + { + "Name": "set_fields", + "TypeFields": [ + { + "Name": "index", + "TypeName": "RegistrarIndex", + "TypeId": 74 + }, + { + "Name": "fields", + "TypeName": "::\nFieldsIdentifier", + "TypeId": 11 + } + ], + "Index": 8, + "Docs": [ + "See [`Pallet::set_fields`]." + ] + }, + { + "Name": "provide_judgement", + "TypeFields": [ + { + "Name": "reg_index", + "TypeName": "RegistrarIndex", + "TypeId": 74 + }, + { + "Name": "target", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "judgement", + "TypeName": "Judgement>", + "TypeId": 179 + }, + { + "Name": "identity", + "TypeName": "T::Hash", + "TypeId": 12 + } + ], + "Index": 9, + "Docs": [ + "See [`Pallet::provide_judgement`]." + ] + }, + { + "Name": "kill_identity", + "TypeFields": [ + { + "Name": "target", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + } + ], + "Index": 10, + "Docs": [ + "See [`Pallet::kill_identity`]." + ] + }, + { + "Name": "add_sub", + "TypeFields": [ + { + "Name": "sub", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "data", + "TypeName": "Data", + "TypeId": 144 + } + ], + "Index": 11, + "Docs": [ + "See [`Pallet::add_sub`]." + ] + }, + { + "Name": "rename_sub", + "TypeFields": [ + { + "Name": "sub", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "data", + "TypeName": "Data", + "TypeId": 144 + } + ], + "Index": 12, + "Docs": [ + "See [`Pallet::rename_sub`]." + ] + }, + { + "Name": "remove_sub", + "TypeFields": [ + { + "Name": "sub", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + } + ], + "Index": 13, + "Docs": [ + "See [`Pallet::remove_sub`]." + ] + }, + { + "Name": "quit_sub", + "TypeFields": null, + "Index": 14, + "Docs": [ + "See [`Pallet::quit_sub`]." + ] + } + ], + "Path": [ + "pallet_identity", + "pallet", + "Call" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Identity pallet declaration." + ] + }, + "141": { + "TypeFields": [ + { + "Name": "additional", + "TypeName": "BoundedVec<(Data, Data), FieldLimit>", + "TypeId": 142 + }, + { + "Name": "display", + "TypeName": "Data", + "TypeId": 144 + }, + { + "Name": "legal", + "TypeName": "Data", + "TypeId": 144 + }, + { + "Name": "web", + "TypeName": "Data", + "TypeId": 144 + }, + { + "Name": "riot", + "TypeName": "Data", + "TypeId": 144 + }, + { + "Name": "email", + "TypeName": "Data", + "TypeId": 144 + }, + { + "Name": "pgp_fingerprint", + "TypeName": "Option<[u8; 20]>", + "TypeId": 176 + }, + { + "Name": "image", + "TypeName": "Data", + "TypeId": 144 + }, + { + "Name": "twitter", + "TypeName": "Data", + "TypeId": 144 + } + ], + "Path": [ + "pallet_identity", + "legacy", + "IdentityInfo" + ], + "TypeParams": [ + { + "Name": "FieldLimit" + } + ], + "TypeDef": "Composite" + }, + "142": { + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 175 + } + ], + "Path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 143 + }, + { + "Name": "S" + } + ], + "TypeDef": "Composite" + }, + "143": { + "TypeIds": [ + 144, + 144 + ], + "TypeDef": "Tuple" + }, + "144": { + "Variants": [ + { + "Name": "None", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Raw0", + "TypeFields": [ + { + "TypeId": 145 + } + ], + "Index": 1 + }, + { + "Name": "Raw1", + "TypeFields": [ + { + "TypeId": 146 + } + ], + "Index": 2 + }, + { + "Name": "Raw2", + "TypeFields": [ + { + "TypeId": 147 + } + ], + "Index": 3 + }, + { + "Name": "Raw3", + "TypeFields": [ + { + "TypeId": 148 + } + ], + "Index": 4 + }, + { + "Name": "Raw4", + "TypeFields": [ + { + "TypeId": 17 + } + ], + "Index": 5 + }, + { + "Name": "Raw5", + "TypeFields": [ + { + "TypeId": 149 + } + ], + "Index": 6 + }, + { + "Name": "Raw6", + "TypeFields": [ + { + "TypeId": 150 + } + ], + "Index": 7 + }, + { + "Name": "Raw7", + "TypeFields": [ + { + "TypeId": 151 + } + ], + "Index": 8 + }, + { + "Name": "Raw8", + "TypeFields": [ + { + "TypeId": 152 + } + ], + "Index": 9 + }, + { + "Name": "Raw9", + "TypeFields": [ + { + "TypeId": 153 + } + ], + "Index": 10 + }, + { + "Name": "Raw10", + "TypeFields": [ + { + "TypeId": 154 + } + ], + "Index": 11 + }, + { + "Name": "Raw11", + "TypeFields": [ + { + "TypeId": 155 + } + ], + "Index": 12 + }, + { + "Name": "Raw12", + "TypeFields": [ + { + "TypeId": 156 + } + ], + "Index": 13 + }, + { + "Name": "Raw13", + "TypeFields": [ + { + "TypeId": 157 + } + ], + "Index": 14 + }, + { + "Name": "Raw14", + "TypeFields": [ + { + "TypeId": 158 + } + ], + "Index": 15 + }, + { + "Name": "Raw15", + "TypeFields": [ + { + "TypeId": 159 + } + ], + "Index": 16 + }, + { + "Name": "Raw16", + "TypeFields": [ + { + "TypeId": 160 + } + ], + "Index": 17 + }, + { + "Name": "Raw17", + "TypeFields": [ + { + "TypeId": 161 + } + ], + "Index": 18 + }, + { + "Name": "Raw18", + "TypeFields": [ + { + "TypeId": 162 + } + ], + "Index": 19 + }, + { + "Name": "Raw19", + "TypeFields": [ + { + "TypeId": 163 + } + ], + "Index": 20 + }, + { + "Name": "Raw20", + "TypeFields": [ + { + "TypeId": 96 + } + ], + "Index": 21 + }, + { + "Name": "Raw21", + "TypeFields": [ + { + "TypeId": 164 + } + ], + "Index": 22 + }, + { + "Name": "Raw22", + "TypeFields": [ + { + "TypeId": 165 + } + ], + "Index": 23 + }, + { + "Name": "Raw23", + "TypeFields": [ + { + "TypeId": 166 + } + ], + "Index": 24 + }, + { + "Name": "Raw24", + "TypeFields": [ + { + "TypeId": 167 + } + ], + "Index": 25 + }, + { + "Name": "Raw25", + "TypeFields": [ + { + "TypeId": 168 + } + ], + "Index": 26 + }, + { + "Name": "Raw26", + "TypeFields": [ + { + "TypeId": 169 + } + ], + "Index": 27 + }, + { + "Name": "Raw27", + "TypeFields": [ + { + "TypeId": 170 + } + ], + "Index": 28 + }, + { + "Name": "Raw28", + "TypeFields": [ + { + "TypeId": 171 + } + ], + "Index": 29 + }, + { + "Name": "Raw29", + "TypeFields": [ + { + "TypeId": 172 + } + ], + "Index": 30 + }, + { + "Name": "Raw30", + "TypeFields": [ + { + "TypeId": 173 + } + ], + "Index": 31 + }, + { + "Name": "Raw31", + "TypeFields": [ + { + "TypeId": 174 + } + ], + "Index": 32 + }, + { + "Name": "Raw32", + "TypeFields": [ + { + "TypeId": 1 + } + ], + "Index": 33 + }, + { + "Name": "BlakeTwo256", + "TypeFields": [ + { + "TypeId": 1 + } + ], + "Index": 34 + }, + { + "Name": "Sha256", + "TypeFields": [ + { + "TypeId": 1 + } + ], + "Index": 35 + }, + { + "Name": "Keccak256", + "TypeFields": [ + { + "TypeId": 1 + } + ], + "Index": 36 + }, + { + "Name": "ShaThree256", + "TypeFields": [ + { + "TypeId": 1 + } + ], + "Index": 37 + } + ], + "Path": [ + "pallet_identity", + "types", + "Data" + ], + "TypeDef": "Variant" + }, + "145": { + "Length": 0, + "TypeId": 2, + "TypeDef": "Array" + }, + "146": { + "Length": 1, + "TypeId": 2, + "TypeDef": "Array" + }, + "147": { + "Length": 2, + "TypeId": 2, + "TypeDef": "Array" + }, + "148": { + "Length": 3, + "TypeId": 2, + "TypeDef": "Array" + }, + "149": { + "Length": 5, + "TypeId": 2, + "TypeDef": "Array" + }, + "150": { + "Length": 6, + "TypeId": 2, + "TypeDef": "Array" + }, + "151": { + "Length": 7, + "TypeId": 2, + "TypeDef": "Array" + }, + "152": { + "Length": 8, + "TypeId": 2, + "TypeDef": "Array" + }, + "153": { + "Length": 9, + "TypeId": 2, + "TypeDef": "Array" + }, + "154": { + "Length": 10, + "TypeId": 2, + "TypeDef": "Array" + }, + "155": { + "Length": 11, + "TypeId": 2, + "TypeDef": "Array" + }, + "156": { + "Length": 12, + "TypeId": 2, + "TypeDef": "Array" + }, + "157": { + "Length": 13, + "TypeId": 2, + "TypeDef": "Array" + }, + "158": { + "Length": 14, + "TypeId": 2, + "TypeDef": "Array" + }, + "159": { + "Length": 15, + "TypeId": 2, + "TypeDef": "Array" + }, + "160": { + "Length": 16, + "TypeId": 2, + "TypeDef": "Array" + }, + "161": { + "Length": 17, + "TypeId": 2, + "TypeDef": "Array" + }, + "162": { + "Length": 18, + "TypeId": 2, + "TypeDef": "Array" + }, + "163": { + "Length": 19, + "TypeId": 2, + "TypeDef": "Array" + }, + "164": { + "Length": 21, + "TypeId": 2, + "TypeDef": "Array" + }, + "165": { + "Length": 22, + "TypeId": 2, + "TypeDef": "Array" + }, + "166": { + "Length": 23, + "TypeId": 2, + "TypeDef": "Array" + }, + "167": { + "Length": 24, + "TypeId": 2, + "TypeDef": "Array" + }, + "168": { + "Length": 25, + "TypeId": 2, + "TypeDef": "Array" + }, + "169": { + "Length": 26, + "TypeId": 2, + "TypeDef": "Array" + }, + "170": { + "Length": 27, + "TypeId": 2, + "TypeDef": "Array" + }, + "171": { + "Length": 28, + "TypeId": 2, + "TypeDef": "Array" + }, + "172": { + "Length": 29, + "TypeId": 2, + "TypeDef": "Array" + }, + "173": { + "Length": 30, + "TypeId": 2, + "TypeDef": "Array" + }, + "174": { + "Length": 31, + "TypeId": 2, + "TypeDef": "Array" + }, + "175": { + "TypeId": 143, + "TypeDef": "Sequence" + }, + "176": { + "Variants": [ + { + "Name": "None", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Some", + "TypeFields": [ + { + "TypeId": 96 + } + ], + "Index": 1 + } + ], + "Path": [ + "Option" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 96 + } + ], + "TypeDef": "Variant" + }, + "177": { + "TypeId": 178, + "TypeDef": "Sequence" + }, + "178": { + "TypeIds": [ + 0, + 144 + ], + "TypeDef": "Tuple" + }, + "179": { + "Variants": [ + { + "Name": "Unknown", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "FeePaid", + "TypeFields": [ + { + "TypeName": "Balance", + "TypeId": 6 + } + ], + "Index": 1 + }, + { + "Name": "Reasonable", + "TypeFields": null, + "Index": 2 + }, + { + "Name": "KnownGood", + "TypeFields": null, + "Index": 3 + }, + { + "Name": "OutOfDate", + "TypeFields": null, + "Index": 4 + }, + { + "Name": "LowQuality", + "TypeFields": null, + "Index": 5 + }, + { + "Name": "Erroneous", + "TypeFields": null, + "Index": 6 + } + ], + "Path": [ + "pallet_identity", + "types", + "Judgement" + ], + "TypeParams": [ + { + "Name": "Balance", + "TypeId": 6 + } + ], + "TypeDef": "Variant" + }, + "180": { + "Variants": [ + { + "Name": "proxy", + "TypeFields": [ + { + "Name": "real", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "force_proxy_type", + "TypeName": "Option", + "TypeId": 181 + }, + { + "Name": "call", + "TypeName": "Box<::RuntimeCall>", + "TypeId": 65 + } + ], + "Index": 0, + "Docs": [ + "See [`Pallet::proxy`]." + ] + }, + { + "Name": "add_proxy", + "TypeFields": [ + { + "Name": "delegate", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "proxy_type", + "TypeName": "T::ProxyType", + "TypeId": 182 + }, + { + "Name": "delay", + "TypeName": "BlockNumberFor", + "TypeId": 4 + } + ], + "Index": 1, + "Docs": [ + "See [`Pallet::add_proxy`]." + ] + }, + { + "Name": "remove_proxy", + "TypeFields": [ + { + "Name": "delegate", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "proxy_type", + "TypeName": "T::ProxyType", + "TypeId": 182 + }, + { + "Name": "delay", + "TypeName": "BlockNumberFor", + "TypeId": 4 + } + ], + "Index": 2, + "Docs": [ + "See [`Pallet::remove_proxy`]." + ] + }, + { + "Name": "remove_proxies", + "TypeFields": null, + "Index": 3, + "Docs": [ + "See [`Pallet::remove_proxies`]." + ] + }, + { + "Name": "create_pure", + "TypeFields": [ + { + "Name": "proxy_type", + "TypeName": "T::ProxyType", + "TypeId": 182 + }, + { + "Name": "delay", + "TypeName": "BlockNumberFor", + "TypeId": 4 + }, + { + "Name": "index", + "TypeName": "u16", + "TypeId": 63 + } + ], + "Index": 4, + "Docs": [ + "See [`Pallet::create_pure`]." + ] + }, + { + "Name": "kill_pure", + "TypeFields": [ + { + "Name": "spawner", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "proxy_type", + "TypeName": "T::ProxyType", + "TypeId": 182 + }, + { + "Name": "index", + "TypeName": "u16", + "TypeId": 63 + }, + { + "Name": "height", + "TypeName": "BlockNumberFor", + "TypeId": 74 + }, + { + "Name": "ext_index", + "TypeName": "u32", + "TypeId": 74 + } + ], + "Index": 5, + "Docs": [ + "See [`Pallet::kill_pure`]." + ] + }, + { + "Name": "announce", + "TypeFields": [ + { + "Name": "real", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "call_hash", + "TypeName": "CallHashOf", + "TypeId": 12 + } + ], + "Index": 6, + "Docs": [ + "See [`Pallet::announce`]." + ] + }, + { + "Name": "remove_announcement", + "TypeFields": [ + { + "Name": "real", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "call_hash", + "TypeName": "CallHashOf", + "TypeId": 12 + } + ], + "Index": 7, + "Docs": [ + "See [`Pallet::remove_announcement`]." + ] + }, + { + "Name": "reject_announcement", + "TypeFields": [ + { + "Name": "delegate", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "call_hash", + "TypeName": "CallHashOf", + "TypeId": 12 + } + ], + "Index": 8, + "Docs": [ + "See [`Pallet::reject_announcement`]." + ] + }, + { + "Name": "proxy_announced", + "TypeFields": [ + { + "Name": "delegate", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "real", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "force_proxy_type", + "TypeName": "Option", + "TypeId": 181 + }, + { + "Name": "call", + "TypeName": "Box<::RuntimeCall>", + "TypeId": 65 + } + ], + "Index": 9, + "Docs": [ + "See [`Pallet::proxy_announced`]." + ] + } + ], + "Path": [ + "pallet_proxy", + "pallet", + "Call" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Contains a variant per dispatchable extrinsic that this pallet has." + ] + }, + "181": { + "Variants": [ + { + "Name": "None", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Some", + "TypeFields": [ + { + "TypeId": 182 + } + ], + "Index": 1 + } + ], + "Path": [ + "Option" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 182 + } + ], + "TypeDef": "Variant" + }, + "182": { + "Variants": [ + { + "Name": "Any", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "NonTransfer", + "TypeFields": null, + "Index": 1 + }, + { + "Name": "Governance", + "TypeFields": null, + "Index": 2 + }, + { + "Name": "Staking", + "TypeFields": null, + "Index": 3 + }, + { + "Name": "IdentityJudgement", + "TypeFields": null, + "Index": 4 + }, + { + "Name": "CancelProxy", + "TypeFields": null, + "Index": 5 + } + ], + "Path": [ + "vara_runtime", + "ProxyType" + ], + "TypeDef": "Variant" + }, + "183": { + "Variants": [ + { + "Name": "as_multi_threshold_1", + "TypeFields": [ + { + "Name": "other_signatories", + "TypeName": "Vec", + "TypeId": 97 + }, + { + "Name": "call", + "TypeName": "Box<::RuntimeCall>", + "TypeId": 65 + } + ], + "Index": 0, + "Docs": [ + "See [`Pallet::as_multi_threshold_1`]." + ] + }, + { + "Name": "as_multi", + "TypeFields": [ + { + "Name": "threshold", + "TypeName": "u16", + "TypeId": 63 + }, + { + "Name": "other_signatories", + "TypeName": "Vec", + "TypeId": 97 + }, + { + "Name": "maybe_timepoint", + "TypeName": "Option>>", + "TypeId": 184 + }, + { + "Name": "call", + "TypeName": "Box<::RuntimeCall>", + "TypeId": 65 + }, + { + "Name": "max_weight", + "TypeName": "Weight", + "TypeId": 9 + } + ], + "Index": 1, + "Docs": [ + "See [`Pallet::as_multi`]." + ] + }, + { + "Name": "approve_as_multi", + "TypeFields": [ + { + "Name": "threshold", + "TypeName": "u16", + "TypeId": 63 + }, + { + "Name": "other_signatories", + "TypeName": "Vec", + "TypeId": 97 + }, + { + "Name": "maybe_timepoint", + "TypeName": "Option>>", + "TypeId": 184 + }, + { + "Name": "call_hash", + "TypeName": "[u8; 32]", + "TypeId": 1 + }, + { + "Name": "max_weight", + "TypeName": "Weight", + "TypeId": 9 + } + ], + "Index": 2, + "Docs": [ + "See [`Pallet::approve_as_multi`]." + ] + }, + { + "Name": "cancel_as_multi", + "TypeFields": [ + { + "Name": "threshold", + "TypeName": "u16", + "TypeId": 63 + }, + { + "Name": "other_signatories", + "TypeName": "Vec", + "TypeId": 97 + }, + { + "Name": "timepoint", + "TypeName": "Timepoint>", + "TypeId": 185 + }, + { + "Name": "call_hash", + "TypeName": "[u8; 32]", + "TypeId": 1 + } + ], + "Index": 3, + "Docs": [ + "See [`Pallet::cancel_as_multi`]." + ] + } + ], + "Path": [ + "pallet_multisig", + "pallet", + "Call" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Contains a variant per dispatchable extrinsic that this pallet has." + ] + }, + "184": { + "Variants": [ + { + "Name": "None", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Some", + "TypeFields": [ + { + "TypeId": 185 + } + ], + "Index": 1 + } + ], + "Path": [ + "Option" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 185 + } + ], + "TypeDef": "Variant" + }, + "185": { + "TypeFields": [ + { + "Name": "height", + "TypeName": "BlockNumber", + "TypeId": 4 + }, + { + "Name": "index", + "TypeName": "u32", + "TypeId": 4 + } + ], + "Path": [ + "pallet_multisig", + "Timepoint" + ], + "TypeParams": [ + { + "Name": "BlockNumber", + "TypeId": 4 + } + ], + "TypeDef": "Composite" + }, + "186": { + "Variants": [ + { + "Name": "submit_unsigned", + "TypeFields": [ + { + "Name": "raw_solution", + "TypeName": "Box>>", + "TypeId": 187 + }, + { + "Name": "witness", + "TypeName": "SolutionOrSnapshotSize", + "TypeId": 240 + } + ], + "Index": 0, + "Docs": [ + "See [`Pallet::submit_unsigned`]." + ] + }, + { + "Name": "set_minimum_untrusted_score", + "TypeFields": [ + { + "Name": "maybe_next_score", + "TypeName": "Option", + "TypeId": 241 + } + ], + "Index": 1, + "Docs": [ + "See [`Pallet::set_minimum_untrusted_score`]." + ] + }, + { + "Name": "set_emergency_election_result", + "TypeFields": [ + { + "Name": "supports", + "TypeName": "Supports", + "TypeId": 242 + } + ], + "Index": 2, + "Docs": [ + "See [`Pallet::set_emergency_election_result`]." + ] + }, + { + "Name": "submit", + "TypeFields": [ + { + "Name": "raw_solution", + "TypeName": "Box>>", + "TypeId": 187 + } + ], + "Index": 3, + "Docs": [ + "See [`Pallet::submit`]." + ] + }, + { + "Name": "governance_fallback", + "TypeFields": [ + { + "Name": "maybe_max_voters", + "TypeName": "Option", + "TypeId": 117 + }, + { + "Name": "maybe_max_targets", + "TypeName": "Option", + "TypeId": 117 + } + ], + "Index": 4, + "Docs": [ + "See [`Pallet::governance_fallback`]." + ] + } + ], + "Path": [ + "pallet_election_provider_multi_phase", + "pallet", + "Call" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Contains a variant per dispatchable extrinsic that this pallet has." + ] + }, + "187": { + "TypeFields": [ + { + "Name": "solution", + "TypeName": "S", + "TypeId": 188 + }, + { + "Name": "score", + "TypeName": "ElectionScore", + "TypeId": 239 + }, + { + "Name": "round", + "TypeName": "u32", + "TypeId": 4 + } + ], + "Path": [ + "pallet_election_provider_multi_phase", + "RawSolution" + ], + "TypeParams": [ + { + "Name": "S", + "TypeId": 188 + } + ], + "TypeDef": "Composite" + }, + "188": { + "TypeFields": [ + { + "Name": "votes1", + "TypeId": 189 + }, + { + "Name": "votes2", + "TypeId": 192 + }, + { + "Name": "votes3", + "TypeId": 197 + }, + { + "Name": "votes4", + "TypeId": 200 + }, + { + "Name": "votes5", + "TypeId": 203 + }, + { + "Name": "votes6", + "TypeId": 206 + }, + { + "Name": "votes7", + "TypeId": 209 + }, + { + "Name": "votes8", + "TypeId": 212 + }, + { + "Name": "votes9", + "TypeId": 215 + }, + { + "Name": "votes10", + "TypeId": 218 + }, + { + "Name": "votes11", + "TypeId": 221 + }, + { + "Name": "votes12", + "TypeId": 224 + }, + { + "Name": "votes13", + "TypeId": 227 + }, + { + "Name": "votes14", + "TypeId": 230 + }, + { + "Name": "votes15", + "TypeId": 233 + }, + { + "Name": "votes16", + "TypeId": 236 + } + ], + "Path": [ + "vara_runtime", + "NposSolution16" + ], + "TypeDef": "Composite" + }, + "189": { + "TypeId": 190, + "TypeDef": "Sequence" + }, + "190": { + "TypeIds": [ + 74, + 191 + ], + "TypeDef": "Tuple" + }, + "191": { + "TypeId": 63, + "TypeDef": "Compact" + }, + "192": { + "TypeId": 193, + "TypeDef": "Sequence" + }, + "193": { + "TypeIds": [ + 74, + 194, + 191 + ], + "TypeDef": "Tuple" + }, + "194": { + "TypeIds": [ + 191, + 195 + ], + "TypeDef": "Tuple" + }, + "195": { + "TypeId": 196, + "TypeDef": "Compact" + }, + "196": { + "TypeFields": [ + { + "TypeName": "u16", + "TypeId": 63 + } + ], + "Path": [ + "sp_arithmetic", + "per_things", + "PerU16" + ], + "TypeDef": "Composite" + }, + "197": { + "TypeId": 198, + "TypeDef": "Sequence" + }, + "198": { + "TypeIds": [ + 74, + 199, + 191 + ], + "TypeDef": "Tuple" + }, + "199": { + "Length": 2, + "TypeId": 194, + "TypeDef": "Array" + }, + "200": { + "TypeId": 201, + "TypeDef": "Sequence" + }, + "201": { + "TypeIds": [ + 74, + 202, + 191 + ], + "TypeDef": "Tuple" + }, + "202": { + "Length": 3, + "TypeId": 194, + "TypeDef": "Array" + }, + "203": { + "TypeId": 204, + "TypeDef": "Sequence" + }, + "204": { + "TypeIds": [ + 74, + 205, + 191 + ], + "TypeDef": "Tuple" + }, + "205": { + "Length": 4, + "TypeId": 194, + "TypeDef": "Array" + }, + "206": { + "TypeId": 207, + "TypeDef": "Sequence" + }, + "207": { + "TypeIds": [ + 74, + 208, + 191 + ], + "TypeDef": "Tuple" + }, + "208": { + "Length": 5, + "TypeId": 194, + "TypeDef": "Array" + }, + "209": { + "TypeId": 210, + "TypeDef": "Sequence" + }, + "210": { + "TypeIds": [ + 74, + 211, + 191 + ], + "TypeDef": "Tuple" + }, + "211": { + "Length": 6, + "TypeId": 194, + "TypeDef": "Array" + }, + "212": { + "TypeId": 213, + "TypeDef": "Sequence" + }, + "213": { + "TypeIds": [ + 74, + 214, + 191 + ], + "TypeDef": "Tuple" + }, + "214": { + "Length": 7, + "TypeId": 194, + "TypeDef": "Array" + }, + "215": { + "TypeId": 216, + "TypeDef": "Sequence" + }, + "216": { + "TypeIds": [ + 74, + 217, + 191 + ], + "TypeDef": "Tuple" + }, + "217": { + "Length": 8, + "TypeId": 194, + "TypeDef": "Array" + }, + "218": { + "TypeId": 219, + "TypeDef": "Sequence" + }, + "219": { + "TypeIds": [ + 74, + 220, + 191 + ], + "TypeDef": "Tuple" + }, + "220": { + "Length": 9, + "TypeId": 194, + "TypeDef": "Array" + }, + "221": { + "TypeId": 222, + "TypeDef": "Sequence" + }, + "222": { + "TypeIds": [ + 74, + 223, + 191 + ], + "TypeDef": "Tuple" + }, + "223": { + "Length": 10, + "TypeId": 194, + "TypeDef": "Array" + }, + "224": { + "TypeId": 225, + "TypeDef": "Sequence" + }, + "225": { + "TypeIds": [ + 74, + 226, + 191 + ], + "TypeDef": "Tuple" + }, + "226": { + "Length": 11, + "TypeId": 194, + "TypeDef": "Array" + }, + "227": { + "TypeId": 228, + "TypeDef": "Sequence" + }, + "228": { + "TypeIds": [ + 74, + 229, + 191 + ], + "TypeDef": "Tuple" + }, + "229": { + "Length": 12, + "TypeId": 194, + "TypeDef": "Array" + }, + "230": { + "TypeId": 231, + "TypeDef": "Sequence" + }, + "231": { + "TypeIds": [ + 74, + 232, + 191 + ], + "TypeDef": "Tuple" + }, + "232": { + "Length": 13, + "TypeId": 194, + "TypeDef": "Array" + }, + "233": { + "TypeId": 234, + "TypeDef": "Sequence" + }, + "234": { + "TypeIds": [ + 74, + 235, + 191 + ], + "TypeDef": "Tuple" + }, + "235": { + "Length": 14, + "TypeId": 194, + "TypeDef": "Array" + }, + "236": { + "TypeId": 237, + "TypeDef": "Sequence" + }, + "237": { + "TypeIds": [ + 74, + 238, + 191 + ], + "TypeDef": "Tuple" + }, + "238": { + "Length": 15, + "TypeId": 194, + "TypeDef": "Array" + }, + "239": { + "TypeFields": [ + { + "Name": "minimal_stake", + "TypeName": "ExtendedBalance", + "TypeId": 6 + }, + { + "Name": "sum_stake", + "TypeName": "ExtendedBalance", + "TypeId": 6 + }, + { + "Name": "sum_stake_squared", + "TypeName": "ExtendedBalance", + "TypeId": 6 + } + ], + "Path": [ + "sp_npos_elections", + "ElectionScore" + ], + "TypeDef": "Composite" + }, + "240": { + "TypeFields": [ + { + "Name": "voters", + "TypeName": "u32", + "TypeId": 74 + }, + { + "Name": "targets", + "TypeName": "u32", + "TypeId": 74 + } + ], + "Path": [ + "pallet_election_provider_multi_phase", + "SolutionOrSnapshotSize" + ], + "TypeDef": "Composite" + }, + "241": { + "Variants": [ + { + "Name": "None", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Some", + "TypeFields": [ + { + "TypeId": 239 + } + ], + "Index": 1 + } + ], + "Path": [ + "Option" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 239 + } + ], + "TypeDef": "Variant" + }, + "242": { + "TypeId": 243, + "TypeDef": "Sequence" + }, + "243": { + "TypeIds": [ + 0, + 244 + ], + "TypeDef": "Tuple" + }, + "244": { + "TypeFields": [ + { + "Name": "total", + "TypeName": "ExtendedBalance", + "TypeId": 6 + }, + { + "Name": "voters", + "TypeName": "Vec<(AccountId, ExtendedBalance)>", + "TypeId": 245 + } + ], + "Path": [ + "sp_npos_elections", + "Support" + ], + "TypeParams": [ + { + "Name": "AccountId", + "TypeId": 0 + } + ], + "TypeDef": "Composite" + }, + "245": { + "TypeId": 246, + "TypeDef": "Sequence" + }, + "246": { + "TypeIds": [ + 0, + 6 + ], + "TypeDef": "Tuple" + }, + "247": { + "Variants": [ + { + "Name": "propose_bounty", + "TypeFields": [ + { + "Name": "value", + "TypeName": "BalanceOf", + "TypeId": 46 + }, + { + "Name": "description", + "TypeName": "Vec", + "TypeId": 13 + } + ], + "Index": 0, + "Docs": [ + "See [`Pallet::propose_bounty`]." + ] + }, + { + "Name": "approve_bounty", + "TypeFields": [ + { + "Name": "bounty_id", + "TypeName": "BountyIndex", + "TypeId": 74 + } + ], + "Index": 1, + "Docs": [ + "See [`Pallet::approve_bounty`]." + ] + }, + { + "Name": "propose_curator", + "TypeFields": [ + { + "Name": "bounty_id", + "TypeName": "BountyIndex", + "TypeId": 74 + }, + { + "Name": "curator", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "fee", + "TypeName": "BalanceOf", + "TypeId": 46 + } + ], + "Index": 2, + "Docs": [ + "See [`Pallet::propose_curator`]." + ] + }, + { + "Name": "unassign_curator", + "TypeFields": [ + { + "Name": "bounty_id", + "TypeName": "BountyIndex", + "TypeId": 74 + } + ], + "Index": 3, + "Docs": [ + "See [`Pallet::unassign_curator`]." + ] + }, + { + "Name": "accept_curator", + "TypeFields": [ + { + "Name": "bounty_id", + "TypeName": "BountyIndex", + "TypeId": 74 + } + ], + "Index": 4, + "Docs": [ + "See [`Pallet::accept_curator`]." + ] + }, + { + "Name": "award_bounty", + "TypeFields": [ + { + "Name": "bounty_id", + "TypeName": "BountyIndex", + "TypeId": 74 + }, + { + "Name": "beneficiary", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + } + ], + "Index": 5, + "Docs": [ + "See [`Pallet::award_bounty`]." + ] + }, + { + "Name": "claim_bounty", + "TypeFields": [ + { + "Name": "bounty_id", + "TypeName": "BountyIndex", + "TypeId": 74 + } + ], + "Index": 6, + "Docs": [ + "See [`Pallet::claim_bounty`]." + ] + }, + { + "Name": "close_bounty", + "TypeFields": [ + { + "Name": "bounty_id", + "TypeName": "BountyIndex", + "TypeId": 74 + } + ], + "Index": 7, + "Docs": [ + "See [`Pallet::close_bounty`]." + ] + }, + { + "Name": "extend_bounty_expiry", + "TypeFields": [ + { + "Name": "bounty_id", + "TypeName": "BountyIndex", + "TypeId": 74 + }, + { + "Name": "remark", + "TypeName": "Vec", + "TypeId": 13 + } + ], + "Index": 8, + "Docs": [ + "See [`Pallet::extend_bounty_expiry`]." + ] + } + ], + "Path": [ + "pallet_bounties", + "pallet", + "Call" + ], + "TypeParams": [ + { + "Name": "T" + }, + { + "Name": "I" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Contains a variant per dispatchable extrinsic that this pallet has." + ] + }, + "248": { + "Variants": [ + { + "Name": "add_child_bounty", + "TypeFields": [ + { + "Name": "parent_bounty_id", + "TypeName": "BountyIndex", + "TypeId": 74 + }, + { + "Name": "value", + "TypeName": "BalanceOf", + "TypeId": 46 + }, + { + "Name": "description", + "TypeName": "Vec", + "TypeId": 13 + } + ], + "Index": 0, + "Docs": [ + "See [`Pallet::add_child_bounty`]." + ] + }, + { + "Name": "propose_curator", + "TypeFields": [ + { + "Name": "parent_bounty_id", + "TypeName": "BountyIndex", + "TypeId": 74 + }, + { + "Name": "child_bounty_id", + "TypeName": "BountyIndex", + "TypeId": 74 + }, + { + "Name": "curator", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "fee", + "TypeName": "BalanceOf", + "TypeId": 46 + } + ], + "Index": 1, + "Docs": [ + "See [`Pallet::propose_curator`]." + ] + }, + { + "Name": "accept_curator", + "TypeFields": [ + { + "Name": "parent_bounty_id", + "TypeName": "BountyIndex", + "TypeId": 74 + }, + { + "Name": "child_bounty_id", + "TypeName": "BountyIndex", + "TypeId": 74 + } + ], + "Index": 2, + "Docs": [ + "See [`Pallet::accept_curator`]." + ] + }, + { + "Name": "unassign_curator", + "TypeFields": [ + { + "Name": "parent_bounty_id", + "TypeName": "BountyIndex", + "TypeId": 74 + }, + { + "Name": "child_bounty_id", + "TypeName": "BountyIndex", + "TypeId": 74 + } + ], + "Index": 3, + "Docs": [ + "See [`Pallet::unassign_curator`]." + ] + }, + { + "Name": "award_child_bounty", + "TypeFields": [ + { + "Name": "parent_bounty_id", + "TypeName": "BountyIndex", + "TypeId": 74 + }, + { + "Name": "child_bounty_id", + "TypeName": "BountyIndex", + "TypeId": 74 + }, + { + "Name": "beneficiary", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + } + ], + "Index": 4, + "Docs": [ + "See [`Pallet::award_child_bounty`]." + ] + }, + { + "Name": "claim_child_bounty", + "TypeFields": [ + { + "Name": "parent_bounty_id", + "TypeName": "BountyIndex", + "TypeId": 74 + }, + { + "Name": "child_bounty_id", + "TypeName": "BountyIndex", + "TypeId": 74 + } + ], + "Index": 5, + "Docs": [ + "See [`Pallet::claim_child_bounty`]." + ] + }, + { + "Name": "close_child_bounty", + "TypeFields": [ + { + "Name": "parent_bounty_id", + "TypeName": "BountyIndex", + "TypeId": 74 + }, + { + "Name": "child_bounty_id", + "TypeName": "BountyIndex", + "TypeId": 74 + } + ], + "Index": 6, + "Docs": [ + "See [`Pallet::close_child_bounty`]." + ] + } + ], + "Path": [ + "pallet_child_bounties", + "pallet", + "Call" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Contains a variant per dispatchable extrinsic that this pallet has." + ] + }, + "249": { + "Variants": [ + { + "Name": "join", + "TypeFields": [ + { + "Name": "amount", + "TypeName": "BalanceOf", + "TypeId": 46 + }, + { + "Name": "pool_id", + "TypeName": "PoolId", + "TypeId": 4 + } + ], + "Index": 0, + "Docs": [ + "See [`Pallet::join`]." + ] + }, + { + "Name": "bond_extra", + "TypeFields": [ + { + "Name": "extra", + "TypeName": "BondExtra>", + "TypeId": 250 + } + ], + "Index": 1, + "Docs": [ + "See [`Pallet::bond_extra`]." + ] + }, + { + "Name": "claim_payout", + "TypeFields": null, + "Index": 2, + "Docs": [ + "See [`Pallet::claim_payout`]." + ] + }, + { + "Name": "unbond", + "TypeFields": [ + { + "Name": "member_account", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "unbonding_points", + "TypeName": "BalanceOf", + "TypeId": 46 + } + ], + "Index": 3, + "Docs": [ + "See [`Pallet::unbond`]." + ] + }, + { + "Name": "pool_withdraw_unbonded", + "TypeFields": [ + { + "Name": "pool_id", + "TypeName": "PoolId", + "TypeId": 4 + }, + { + "Name": "num_slashing_spans", + "TypeName": "u32", + "TypeId": 4 + } + ], + "Index": 4, + "Docs": [ + "See [`Pallet::pool_withdraw_unbonded`]." + ] + }, + { + "Name": "withdraw_unbonded", + "TypeFields": [ + { + "Name": "member_account", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "num_slashing_spans", + "TypeName": "u32", + "TypeId": 4 + } + ], + "Index": 5, + "Docs": [ + "See [`Pallet::withdraw_unbonded`]." + ] + }, + { + "Name": "create", + "TypeFields": [ + { + "Name": "amount", + "TypeName": "BalanceOf", + "TypeId": 46 + }, + { + "Name": "root", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "nominator", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "bouncer", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + } + ], + "Index": 6, + "Docs": [ + "See [`Pallet::create`]." + ] + }, + { + "Name": "create_with_pool_id", + "TypeFields": [ + { + "Name": "amount", + "TypeName": "BalanceOf", + "TypeId": 46 + }, + { + "Name": "root", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "nominator", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "bouncer", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "pool_id", + "TypeName": "PoolId", + "TypeId": 4 + } + ], + "Index": 7, + "Docs": [ + "See [`Pallet::create_with_pool_id`]." + ] + }, + { + "Name": "nominate", + "TypeFields": [ + { + "Name": "pool_id", + "TypeName": "PoolId", + "TypeId": 4 + }, + { + "Name": "validators", + "TypeName": "Vec", + "TypeId": 97 + } + ], + "Index": 8, + "Docs": [ + "See [`Pallet::nominate`]." + ] + }, + { + "Name": "set_state", + "TypeFields": [ + { + "Name": "pool_id", + "TypeName": "PoolId", + "TypeId": 4 + }, + { + "Name": "state", + "TypeName": "PoolState", + "TypeId": 251 + } + ], + "Index": 9, + "Docs": [ + "See [`Pallet::set_state`]." + ] + }, + { + "Name": "set_metadata", + "TypeFields": [ + { + "Name": "pool_id", + "TypeName": "PoolId", + "TypeId": 4 + }, + { + "Name": "metadata", + "TypeName": "Vec", + "TypeId": 13 + } + ], + "Index": 10, + "Docs": [ + "See [`Pallet::set_metadata`]." + ] + }, + { + "Name": "set_configs", + "TypeFields": [ + { + "Name": "min_join_bond", + "TypeName": "ConfigOp>", + "TypeId": 252 + }, + { + "Name": "min_create_bond", + "TypeName": "ConfigOp>", + "TypeId": 252 + }, + { + "Name": "max_pools", + "TypeName": "ConfigOp", + "TypeId": 253 + }, + { + "Name": "max_members", + "TypeName": "ConfigOp", + "TypeId": 253 + }, + { + "Name": "max_members_per_pool", + "TypeName": "ConfigOp", + "TypeId": 253 + }, + { + "Name": "global_max_commission", + "TypeName": "ConfigOp", + "TypeId": 254 + } + ], + "Index": 11, + "Docs": [ + "See [`Pallet::set_configs`]." + ] + }, + { + "Name": "update_roles", + "TypeFields": [ + { + "Name": "pool_id", + "TypeName": "PoolId", + "TypeId": 4 + }, + { + "Name": "new_root", + "TypeName": "ConfigOp", + "TypeId": 255 + }, + { + "Name": "new_nominator", + "TypeName": "ConfigOp", + "TypeId": 255 + }, + { + "Name": "new_bouncer", + "TypeName": "ConfigOp", + "TypeId": 255 + } + ], + "Index": 12, + "Docs": [ + "See [`Pallet::update_roles`]." + ] + }, + { + "Name": "chill", + "TypeFields": [ + { + "Name": "pool_id", + "TypeName": "PoolId", + "TypeId": 4 + } + ], + "Index": 13, + "Docs": [ + "See [`Pallet::chill`]." + ] + }, + { + "Name": "bond_extra_other", + "TypeFields": [ + { + "Name": "member", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "extra", + "TypeName": "BondExtra>", + "TypeId": 250 + } + ], + "Index": 14, + "Docs": [ + "See [`Pallet::bond_extra_other`]." + ] + }, + { + "Name": "set_claim_permission", + "TypeFields": [ + { + "Name": "permission", + "TypeName": "ClaimPermission", + "TypeId": 256 + } + ], + "Index": 15, + "Docs": [ + "See [`Pallet::set_claim_permission`]." + ] + }, + { + "Name": "claim_payout_other", + "TypeFields": [ + { + "Name": "other", + "TypeName": "T::AccountId", + "TypeId": 0 + } + ], + "Index": 16, + "Docs": [ + "See [`Pallet::claim_payout_other`]." + ] + }, + { + "Name": "set_commission", + "TypeFields": [ + { + "Name": "pool_id", + "TypeName": "PoolId", + "TypeId": 4 + }, + { + "Name": "new_commission", + "TypeName": "Option<(Perbill, T::AccountId)>", + "TypeId": 257 + } + ], + "Index": 17, + "Docs": [ + "See [`Pallet::set_commission`]." + ] + }, + { + "Name": "set_commission_max", + "TypeFields": [ + { + "Name": "pool_id", + "TypeName": "PoolId", + "TypeId": 4 + }, + { + "Name": "max_commission", + "TypeName": "Perbill", + "TypeId": 51 + } + ], + "Index": 18, + "Docs": [ + "See [`Pallet::set_commission_max`]." + ] + }, + { + "Name": "set_commission_change_rate", + "TypeFields": [ + { + "Name": "pool_id", + "TypeName": "PoolId", + "TypeId": 4 + }, + { + "Name": "change_rate", + "TypeName": "CommissionChangeRate>", + "TypeId": 259 + } + ], + "Index": 19, + "Docs": [ + "See [`Pallet::set_commission_change_rate`]." + ] + }, + { + "Name": "claim_commission", + "TypeFields": [ + { + "Name": "pool_id", + "TypeName": "PoolId", + "TypeId": 4 + } + ], + "Index": 20, + "Docs": [ + "See [`Pallet::claim_commission`]." + ] + }, + { + "Name": "adjust_pool_deposit", + "TypeFields": [ + { + "Name": "pool_id", + "TypeName": "PoolId", + "TypeId": 4 + } + ], + "Index": 21, + "Docs": [ + "See [`Pallet::adjust_pool_deposit`]." + ] + } + ], + "Path": [ + "pallet_nomination_pools", + "pallet", + "Call" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Contains a variant per dispatchable extrinsic that this pallet has." + ] + }, + "250": { + "Variants": [ + { + "Name": "FreeBalance", + "TypeFields": [ + { + "TypeName": "Balance", + "TypeId": 6 + } + ], + "Index": 0 + }, + { + "Name": "Rewards", + "TypeFields": null, + "Index": 1 + } + ], + "Path": [ + "pallet_nomination_pools", + "BondExtra" + ], + "TypeParams": [ + { + "Name": "Balance", + "TypeId": 6 + } + ], + "TypeDef": "Variant" + }, + "251": { + "Variants": [ + { + "Name": "Open", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Blocked", + "TypeFields": null, + "Index": 1 + }, + { + "Name": "Destroying", + "TypeFields": null, + "Index": 2 + } + ], + "Path": [ + "pallet_nomination_pools", + "PoolState" + ], + "TypeDef": "Variant" + }, + "252": { + "Variants": [ + { + "Name": "Noop", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Set", + "TypeFields": [ + { + "TypeName": "T", + "TypeId": 6 + } + ], + "Index": 1 + }, + { + "Name": "Remove", + "TypeFields": null, + "Index": 2 + } + ], + "Path": [ + "pallet_nomination_pools", + "ConfigOp" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 6 + } + ], + "TypeDef": "Variant" + }, + "253": { + "Variants": [ + { + "Name": "Noop", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Set", + "TypeFields": [ + { + "TypeName": "T", + "TypeId": 4 + } + ], + "Index": 1 + }, + { + "Name": "Remove", + "TypeFields": null, + "Index": 2 + } + ], + "Path": [ + "pallet_nomination_pools", + "ConfigOp" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 4 + } + ], + "TypeDef": "Variant" + }, + "254": { + "Variants": [ + { + "Name": "Noop", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Set", + "TypeFields": [ + { + "TypeName": "T", + "TypeId": 51 + } + ], + "Index": 1 + }, + { + "Name": "Remove", + "TypeFields": null, + "Index": 2 + } + ], + "Path": [ + "pallet_nomination_pools", + "ConfigOp" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 51 + } + ], + "TypeDef": "Variant" + }, + "255": { + "Variants": [ + { + "Name": "Noop", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Set", + "TypeFields": [ + { + "TypeName": "T", + "TypeId": 0 + } + ], + "Index": 1 + }, + { + "Name": "Remove", + "TypeFields": null, + "Index": 2 + } + ], + "Path": [ + "pallet_nomination_pools", + "ConfigOp" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 0 + } + ], + "TypeDef": "Variant" + }, + "256": { + "Variants": [ + { + "Name": "Permissioned", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "PermissionlessCompound", + "TypeFields": null, + "Index": 1 + }, + { + "Name": "PermissionlessWithdraw", + "TypeFields": null, + "Index": 2 + }, + { + "Name": "PermissionlessAll", + "TypeFields": null, + "Index": 3 + } + ], + "Path": [ + "pallet_nomination_pools", + "ClaimPermission" + ], + "TypeDef": "Variant" + }, + "257": { + "Variants": [ + { + "Name": "None", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Some", + "TypeFields": [ + { + "TypeId": 258 + } + ], + "Index": 1 + } + ], + "Path": [ + "Option" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 258 + } + ], + "TypeDef": "Variant" + }, + "258": { + "TypeIds": [ + 51, + 0 + ], + "TypeDef": "Tuple" + }, + "259": { + "TypeFields": [ + { + "Name": "max_increase", + "TypeName": "Perbill", + "TypeId": 51 + }, + { + "Name": "min_delay", + "TypeName": "BlockNumber", + "TypeId": 4 + } + ], + "Path": [ + "pallet_nomination_pools", + "CommissionChangeRate" + ], + "TypeParams": [ + { + "Name": "BlockNumber", + "TypeId": 4 + } + ], + "TypeDef": "Composite" + }, + "260": { + "Variants": [ + { + "Name": "upload_code", + "TypeFields": [ + { + "Name": "code", + "TypeName": "Vec", + "TypeId": 13 + } + ], + "Index": 0, + "Docs": [ + "See [`Pallet::upload_code`]." + ] + }, + { + "Name": "upload_program", + "TypeFields": [ + { + "Name": "code", + "TypeName": "Vec", + "TypeId": 13 + }, + { + "Name": "salt", + "TypeName": "Vec", + "TypeId": 13 + }, + { + "Name": "init_payload", + "TypeName": "Vec", + "TypeId": 13 + }, + { + "Name": "gas_limit", + "TypeName": "u64", + "TypeId": 11 + }, + { + "Name": "value", + "TypeName": "BalanceOf", + "TypeId": 6 + }, + { + "Name": "keep_alive", + "TypeName": "bool", + "TypeId": 54 + } + ], + "Index": 1, + "Docs": [ + "See [`Pallet::upload_program`]." + ] + }, + { + "Name": "create_program", + "TypeFields": [ + { + "Name": "code_id", + "TypeName": "CodeId", + "TypeId": 261 + }, + { + "Name": "salt", + "TypeName": "Vec", + "TypeId": 13 + }, + { + "Name": "init_payload", + "TypeName": "Vec", + "TypeId": 13 + }, + { + "Name": "gas_limit", + "TypeName": "u64", + "TypeId": 11 + }, + { + "Name": "value", + "TypeName": "BalanceOf", + "TypeId": 6 + }, + { + "Name": "keep_alive", + "TypeName": "bool", + "TypeId": 54 + } + ], + "Index": 2, + "Docs": [ + "See [`Pallet::create_program`]." + ] + }, + { + "Name": "send_message", + "TypeFields": [ + { + "Name": "destination", + "TypeName": "ProgramId", + "TypeId": 262 + }, + { + "Name": "payload", + "TypeName": "Vec", + "TypeId": 13 + }, + { + "Name": "gas_limit", + "TypeName": "u64", + "TypeId": 11 + }, + { + "Name": "value", + "TypeName": "BalanceOf", + "TypeId": 6 + }, + { + "Name": "keep_alive", + "TypeName": "bool", + "TypeId": 54 + } + ], + "Index": 3, + "Docs": [ + "See [`Pallet::send_message`]." + ] + }, + { + "Name": "send_reply", + "TypeFields": [ + { + "Name": "reply_to_id", + "TypeName": "MessageId", + "TypeId": 263 + }, + { + "Name": "payload", + "TypeName": "Vec", + "TypeId": 13 + }, + { + "Name": "gas_limit", + "TypeName": "u64", + "TypeId": 11 + }, + { + "Name": "value", + "TypeName": "BalanceOf", + "TypeId": 6 + }, + { + "Name": "keep_alive", + "TypeName": "bool", + "TypeId": 54 + } + ], + "Index": 4, + "Docs": [ + "See [`Pallet::send_reply`]." + ] + }, + { + "Name": "claim_value", + "TypeFields": [ + { + "Name": "message_id", + "TypeName": "MessageId", + "TypeId": 263 + } + ], + "Index": 5, + "Docs": [ + "See [`Pallet::claim_value`]." + ] + }, + { + "Name": "run", + "TypeFields": [ + { + "Name": "max_gas", + "TypeName": "Option>", + "TypeId": 264 + } + ], + "Index": 6, + "Docs": [ + "See [`Pallet::run`]." + ] + }, + { + "Name": "set_execute_inherent", + "TypeFields": [ + { + "Name": "value", + "TypeName": "bool", + "TypeId": 54 + } + ], + "Index": 7, + "Docs": [ + "See [`Pallet::set_execute_inherent`]." + ] + }, + { + "Name": "claim_value_to_inheritor", + "TypeFields": [ + { + "Name": "program_id", + "TypeName": "ProgramId", + "TypeId": 262 + }, + { + "Name": "depth", + "TypeName": "NonZeroU32", + "TypeId": 265 + } + ], + "Index": 8, + "Docs": [ + "See [`Pallet::claim_value_to_inheritor`]." + ] + } + ], + "Path": [ + "pallet_gear", + "pallet", + "Call" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Contains a variant per dispatchable extrinsic that this pallet has." + ] + }, + "261": { + "TypeFields": [ + { + "TypeName": "[u8; 32]", + "TypeId": 1 + } + ], + "Path": [ + "gprimitives", + "CodeId" + ], + "TypeDef": "Composite" + }, + "262": { + "TypeFields": [ + { + "TypeName": "[u8; 32]", + "TypeId": 1 + } + ], + "Path": [ + "gprimitives", + "ActorId" + ], + "TypeDef": "Composite" + }, + "263": { + "TypeFields": [ + { + "TypeName": "[u8; 32]", + "TypeId": 1 + } + ], + "Path": [ + "gprimitives", + "MessageId" + ], + "TypeDef": "Composite" + }, + "264": { + "Variants": [ + { + "Name": "None", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Some", + "TypeFields": [ + { + "TypeId": 11 + } + ], + "Index": 1 + } + ], + "Path": [ + "Option" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 11 + } + ], + "TypeDef": "Variant" + }, + "265": { + "TypeFields": [ + { + "TypeId": 4 + } + ], + "Path": [ + "NonZeroU32" + ], + "TypeDef": "Composite" + }, + "266": { + "Variants": [ + { + "Name": "refill", + "TypeFields": [ + { + "Name": "value", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 0, + "Docs": [ + "See [`Pallet::refill`]." + ] + }, + { + "Name": "force_refill", + "TypeFields": [ + { + "Name": "from", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "value", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 1, + "Docs": [ + "See [`Pallet::force_refill`]." + ] + }, + { + "Name": "withdraw", + "TypeFields": [ + { + "Name": "to", + "TypeName": "AccountIdLookupOf", + "TypeId": 94 + }, + { + "Name": "value", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 2, + "Docs": [ + "See [`Pallet::withdraw`]." + ] + }, + { + "Name": "align_supply", + "TypeFields": [ + { + "Name": "target", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 3, + "Docs": [ + "See [`Pallet::align_supply`]." + ] + } + ], + "Path": [ + "pallet_gear_staking_rewards", + "pallet", + "Call" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Contains a variant per dispatchable extrinsic that this pallet has." + ] + }, + "267": { + "Variants": [ + { + "Name": "issue", + "TypeFields": [ + { + "Name": "spender", + "TypeName": "AccountIdOf", + "TypeId": 0 + }, + { + "Name": "balance", + "TypeName": "BalanceOf", + "TypeId": 6 + }, + { + "Name": "programs", + "TypeName": "Option>", + "TypeId": 268 + }, + { + "Name": "code_uploading", + "TypeName": "bool", + "TypeId": 54 + }, + { + "Name": "duration", + "TypeName": "BlockNumberFor", + "TypeId": 4 + } + ], + "Index": 0, + "Docs": [ + "See [`Pallet::issue`]." + ] + }, + { + "Name": "call", + "TypeFields": [ + { + "Name": "voucher_id", + "TypeName": "VoucherId", + "TypeId": 271 + }, + { + "Name": "call", + "TypeName": "PrepaidCall>", + "TypeId": 272 + } + ], + "Index": 1, + "Docs": [ + "See [`Pallet::call`]." + ] + }, + { + "Name": "revoke", + "TypeFields": [ + { + "Name": "spender", + "TypeName": "AccountIdOf", + "TypeId": 0 + }, + { + "Name": "voucher_id", + "TypeName": "VoucherId", + "TypeId": 271 + } + ], + "Index": 2, + "Docs": [ + "See [`Pallet::revoke`]." + ] + }, + { + "Name": "update", + "TypeFields": [ + { + "Name": "spender", + "TypeName": "AccountIdOf", + "TypeId": 0 + }, + { + "Name": "voucher_id", + "TypeName": "VoucherId", + "TypeId": 271 + }, + { + "Name": "move_ownership", + "TypeName": "Option>", + "TypeId": 273 + }, + { + "Name": "balance_top_up", + "TypeName": "Option>", + "TypeId": 274 + }, + { + "Name": "append_programs", + "TypeName": "Option>>", + "TypeId": 275 + }, + { + "Name": "code_uploading", + "TypeName": "Option", + "TypeId": 276 + }, + { + "Name": "prolong_duration", + "TypeName": "Option>", + "TypeId": 117 + } + ], + "Index": 3, + "Docs": [ + "See [`Pallet::update`]." + ] + }, + { + "Name": "decline", + "TypeFields": [ + { + "Name": "voucher_id", + "TypeName": "VoucherId", + "TypeId": 271 + } + ], + "Index": 4, + "Docs": [ + "See [`Pallet::decline`]." + ] + } + ], + "Path": [ + "pallet_gear_voucher", + "pallet", + "Call" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Contains a variant per dispatchable extrinsic that this pallet has." + ] + }, + "268": { + "Variants": [ + { + "Name": "None", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Some", + "TypeFields": [ + { + "TypeId": 269 + } + ], + "Index": 1 + } + ], + "Path": [ + "Option" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 269 + } + ], + "TypeDef": "Variant" + }, + "269": { + "TypeFields": [ + { + "TypeId": 270 + } + ], + "Path": [ + "BTreeSet" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 262 + } + ], + "TypeDef": "Composite" + }, + "270": { + "TypeId": 262, + "TypeDef": "Sequence" + }, + "271": { + "TypeFields": [ + { + "TypeName": "[u8; 32]", + "TypeId": 1 + } + ], + "Path": [ + "pallet_gear_voucher", + "internal", + "VoucherId" + ], + "TypeDef": "Composite" + }, + "272": { + "Variants": [ + { + "Name": "SendMessage", + "TypeFields": [ + { + "Name": "destination", + "TypeName": "ProgramId", + "TypeId": 262 + }, + { + "Name": "payload", + "TypeName": "Vec", + "TypeId": 13 + }, + { + "Name": "gas_limit", + "TypeName": "u64", + "TypeId": 11 + }, + { + "Name": "value", + "TypeName": "Balance", + "TypeId": 6 + }, + { + "Name": "keep_alive", + "TypeName": "bool", + "TypeId": 54 + } + ], + "Index": 0 + }, + { + "Name": "SendReply", + "TypeFields": [ + { + "Name": "reply_to_id", + "TypeName": "MessageId", + "TypeId": 263 + }, + { + "Name": "payload", + "TypeName": "Vec", + "TypeId": 13 + }, + { + "Name": "gas_limit", + "TypeName": "u64", + "TypeId": 11 + }, + { + "Name": "value", + "TypeName": "Balance", + "TypeId": 6 + }, + { + "Name": "keep_alive", + "TypeName": "bool", + "TypeId": 54 + } + ], + "Index": 1 + }, + { + "Name": "UploadCode", + "TypeFields": [ + { + "Name": "code", + "TypeName": "Vec", + "TypeId": 13 + } + ], + "Index": 2 + }, + { + "Name": "DeclineVoucher", + "TypeFields": null, + "Index": 3 + } + ], + "Path": [ + "pallet_gear_voucher", + "internal", + "PrepaidCall" + ], + "TypeParams": [ + { + "Name": "Balance", + "TypeId": 6 + } + ], + "TypeDef": "Variant" + }, + "273": { + "Variants": [ + { + "Name": "None", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Some", + "TypeFields": [ + { + "TypeId": 0 + } + ], + "Index": 1 + } + ], + "Path": [ + "Option" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 0 + } + ], + "TypeDef": "Variant" + }, + "274": { + "Variants": [ + { + "Name": "None", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Some", + "TypeFields": [ + { + "TypeId": 6 + } + ], + "Index": 1 + } + ], + "Path": [ + "Option" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 6 + } + ], + "TypeDef": "Variant" + }, + "275": { + "Variants": [ + { + "Name": "None", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Some", + "TypeFields": [ + { + "TypeId": 268 + } + ], + "Index": 1 + } + ], + "Path": [ + "Option" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 268 + } + ], + "TypeDef": "Variant" + }, + "276": { + "Variants": [ + { + "Name": "None", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Some", + "TypeFields": [ + { + "TypeId": 54 + } + ], + "Index": 1 + } + ], + "Path": [ + "Option" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 54 + } + ], + "TypeDef": "Variant" + }, + "277": { + "Path": [ + "sp_runtime", + "traits", + "BlakeTwo256" + ], + "TypeDef": "Composite" + }, + "278": { + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 13 + } + ], + "Path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 2 + }, + { + "Name": "S" + } + ], + "TypeDef": "Composite" + }, + "279": { + "TypeFields": [ + { + "Name": "ayes", + "TypeName": "Votes", + "TypeId": 6 + }, + { + "Name": "nays", + "TypeName": "Votes", + "TypeId": 6 + }, + { + "Name": "support", + "TypeName": "Votes", + "TypeId": 6 + } + ], + "Path": [ + "pallet_conviction_voting", + "types", + "Tally" + ], + "TypeParams": [ + { + "Name": "Votes", + "TypeId": 6 + }, + { + "Name": "Total" + } + ], + "TypeDef": "Composite" + }, + "280": { + "Variants": [ + { + "Name": "MemberAdded", + "TypeFields": [ + { + "Name": "who", + "TypeName": "T::AccountId", + "TypeId": 0 + } + ], + "Index": 0, + "Docs": [ + "A member `who` has been added." + ] + }, + { + "Name": "RankChanged", + "TypeFields": [ + { + "Name": "who", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "rank", + "TypeName": "Rank", + "TypeId": 63 + } + ], + "Index": 1, + "Docs": [ + "The member `who`se rank has been changed to the given `rank`." + ] + }, + { + "Name": "MemberRemoved", + "TypeFields": [ + { + "Name": "who", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "rank", + "TypeName": "Rank", + "TypeId": 63 + } + ], + "Index": 2, + "Docs": [ + "The member `who` of given `rank` has been removed from the collective." + ] + }, + { + "Name": "Voted", + "TypeFields": [ + { + "Name": "who", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "poll", + "TypeName": "PollIndexOf", + "TypeId": 4 + }, + { + "Name": "vote", + "TypeName": "VoteRecord", + "TypeId": 281 + }, + { + "Name": "tally", + "TypeName": "TallyOf", + "TypeId": 282 + } + ], + "Index": 3, + "Docs": [ + "The member `who` has voted for the `poll` with the given `vote` leading to an updated", + "`tally`." + ] + } + ], + "Path": [ + "pallet_ranked_collective", + "pallet", + "Event" + ], + "TypeParams": [ + { + "Name": "T" + }, + { + "Name": "I" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Event` enum of this pallet" + ] + }, + "281": { + "Variants": [ + { + "Name": "Aye", + "TypeFields": [ + { + "TypeName": "Votes", + "TypeId": 4 + } + ], + "Index": 0 + }, + { + "Name": "Nay", + "TypeFields": [ + { + "TypeName": "Votes", + "TypeId": 4 + } + ], + "Index": 1 + } + ], + "Path": [ + "pallet_ranked_collective", + "VoteRecord" + ], + "TypeDef": "Variant" + }, + "282": { + "TypeFields": [ + { + "Name": "bare_ayes", + "TypeName": "MemberIndex", + "TypeId": 4 + }, + { + "Name": "ayes", + "TypeName": "Votes", + "TypeId": 4 + }, + { + "Name": "nays", + "TypeName": "Votes", + "TypeId": 4 + } + ], + "Path": [ + "pallet_ranked_collective", + "Tally" + ], + "TypeParams": [ + { + "Name": "T" + }, + { + "Name": "I" + }, + { + "Name": "M" + } + ], + "TypeDef": "Composite" + }, + "283": { + "Variants": [ + { + "Name": "Submitted", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4, + "Docs": [ + "Index of the referendum." + ] + }, + { + "Name": "track", + "TypeName": "TrackIdOf", + "TypeId": 63, + "Docs": [ + "The track (and by extension proposal dispatch origin) of this referendum." + ] + }, + { + "Name": "proposal", + "TypeName": "BoundedCallOf", + "TypeId": 64, + "Docs": [ + "The proposal for the referendum." + ] + } + ], + "Index": 0, + "Docs": [ + "A referendum has been submitted." + ] + }, + { + "Name": "DecisionDepositPlaced", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4, + "Docs": [ + "Index of the referendum." + ] + }, + { + "Name": "who", + "TypeName": "T::AccountId", + "TypeId": 0, + "Docs": [ + "The account who placed the deposit." + ] + }, + { + "Name": "amount", + "TypeName": "BalanceOf", + "TypeId": 6, + "Docs": [ + "The amount placed by the account." + ] + } + ], + "Index": 1, + "Docs": [ + "The decision deposit has been placed." + ] + }, + { + "Name": "DecisionDepositRefunded", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4, + "Docs": [ + "Index of the referendum." + ] + }, + { + "Name": "who", + "TypeName": "T::AccountId", + "TypeId": 0, + "Docs": [ + "The account who placed the deposit." + ] + }, + { + "Name": "amount", + "TypeName": "BalanceOf", + "TypeId": 6, + "Docs": [ + "The amount placed by the account." + ] + } + ], + "Index": 2, + "Docs": [ + "The decision deposit has been refunded." + ] + }, + { + "Name": "DepositSlashed", + "TypeFields": [ + { + "Name": "who", + "TypeName": "T::AccountId", + "TypeId": 0, + "Docs": [ + "The account who placed the deposit." + ] + }, + { + "Name": "amount", + "TypeName": "BalanceOf", + "TypeId": 6, + "Docs": [ + "The amount placed by the account." + ] + } + ], + "Index": 3, + "Docs": [ + "A deposit has been slashed." + ] + }, + { + "Name": "DecisionStarted", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4, + "Docs": [ + "Index of the referendum." + ] + }, + { + "Name": "track", + "TypeName": "TrackIdOf", + "TypeId": 63, + "Docs": [ + "The track (and by extension proposal dispatch origin) of this referendum." + ] + }, + { + "Name": "proposal", + "TypeName": "BoundedCallOf", + "TypeId": 64, + "Docs": [ + "The proposal for the referendum." + ] + }, + { + "Name": "tally", + "TypeName": "T::Tally", + "TypeId": 282, + "Docs": [ + "The current tally of votes in this referendum." + ] + } + ], + "Index": 4, + "Docs": [ + "A referendum has moved into the deciding phase." + ] + }, + { + "Name": "ConfirmStarted", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4, + "Docs": [ + "Index of the referendum." + ] + } + ], + "Index": 5 + }, + { + "Name": "ConfirmAborted", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4, + "Docs": [ + "Index of the referendum." + ] + } + ], + "Index": 6 + }, + { + "Name": "Confirmed", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4, + "Docs": [ + "Index of the referendum." + ] + }, + { + "Name": "tally", + "TypeName": "T::Tally", + "TypeId": 282, + "Docs": [ + "The final tally of votes in this referendum." + ] + } + ], + "Index": 7, + "Docs": [ + "A referendum has ended its confirmation phase and is ready for approval." + ] + }, + { + "Name": "Approved", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4, + "Docs": [ + "Index of the referendum." + ] + } + ], + "Index": 8, + "Docs": [ + "A referendum has been approved and its proposal has been scheduled." + ] + }, + { + "Name": "Rejected", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4, + "Docs": [ + "Index of the referendum." + ] + }, + { + "Name": "tally", + "TypeName": "T::Tally", + "TypeId": 282, + "Docs": [ + "The final tally of votes in this referendum." + ] + } + ], + "Index": 9, + "Docs": [ + "A proposal has been rejected by referendum." + ] + }, + { + "Name": "TimedOut", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4, + "Docs": [ + "Index of the referendum." + ] + }, + { + "Name": "tally", + "TypeName": "T::Tally", + "TypeId": 282, + "Docs": [ + "The final tally of votes in this referendum." + ] + } + ], + "Index": 10, + "Docs": [ + "A referendum has been timed out without being decided." + ] + }, + { + "Name": "Cancelled", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4, + "Docs": [ + "Index of the referendum." + ] + }, + { + "Name": "tally", + "TypeName": "T::Tally", + "TypeId": 282, + "Docs": [ + "The final tally of votes in this referendum." + ] + } + ], + "Index": 11, + "Docs": [ + "A referendum has been cancelled." + ] + }, + { + "Name": "Killed", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4, + "Docs": [ + "Index of the referendum." + ] + }, + { + "Name": "tally", + "TypeName": "T::Tally", + "TypeId": 282, + "Docs": [ + "The final tally of votes in this referendum." + ] + } + ], + "Index": 12, + "Docs": [ + "A referendum has been killed." + ] + }, + { + "Name": "SubmissionDepositRefunded", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4, + "Docs": [ + "Index of the referendum." + ] + }, + { + "Name": "who", + "TypeName": "T::AccountId", + "TypeId": 0, + "Docs": [ + "The account who placed the deposit." + ] + }, + { + "Name": "amount", + "TypeName": "BalanceOf", + "TypeId": 6, + "Docs": [ + "The amount placed by the account." + ] + } + ], + "Index": 13, + "Docs": [ + "The submission deposit has been refunded." + ] + }, + { + "Name": "MetadataSet", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4, + "Docs": [ + "Index of the referendum." + ] + }, + { + "Name": "hash", + "TypeName": "T::Hash", + "TypeId": 12, + "Docs": [ + "Preimage hash." + ] + } + ], + "Index": 14, + "Docs": [ + "Metadata for a referendum has been set." + ] + }, + { + "Name": "MetadataCleared", + "TypeFields": [ + { + "Name": "index", + "TypeName": "ReferendumIndex", + "TypeId": 4, + "Docs": [ + "Index of the referendum." + ] + }, + { + "Name": "hash", + "TypeName": "T::Hash", + "TypeId": 12, + "Docs": [ + "Preimage hash." + ] + } + ], + "Index": 15, + "Docs": [ + "Metadata for a referendum has been cleared." + ] + } + ], + "Path": [ + "pallet_referenda", + "pallet", + "Event" + ], + "TypeParams": [ + { + "Name": "T" + }, + { + "Name": "I" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Event` enum of this pallet" + ] + }, + "284": { + "Variants": [ + { + "Name": "CallWhitelisted", + "TypeFields": [ + { + "Name": "call_hash", + "TypeName": "T::Hash", + "TypeId": 12 + } + ], + "Index": 0 + }, + { + "Name": "WhitelistedCallRemoved", + "TypeFields": [ + { + "Name": "call_hash", + "TypeName": "T::Hash", + "TypeId": 12 + } + ], + "Index": 1 + }, + { + "Name": "WhitelistedCallDispatched", + "TypeFields": [ + { + "Name": "call_hash", + "TypeName": "T::Hash", + "TypeId": 12 + }, + { + "Name": "result", + "TypeName": "DispatchResultWithPostInfo", + "TypeId": 285 + } + ], + "Index": 2 + } + ], + "Path": [ + "pallet_whitelist", + "pallet", + "Event" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Event` enum of this pallet" + ] + }, + "285": { + "Variants": [ + { + "Name": "Ok", + "TypeFields": [ + { + "TypeId": 286 + } + ], + "Index": 0 + }, + { + "Name": "Err", + "TypeFields": [ + { + "TypeId": 288 + } + ], + "Index": 1 + } + ], + "Path": [ + "Result" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 286 + }, + { + "Name": "E", + "TypeId": 288 + } + ], + "TypeDef": "Variant" + }, + "286": { + "TypeFields": [ + { + "Name": "actual_weight", + "TypeName": "Option", + "TypeId": 287 + }, + { + "Name": "pays_fee", + "TypeName": "Pays", + "TypeId": 24 + } + ], + "Path": [ + "frame_support", + "dispatch", + "PostDispatchInfo" + ], + "TypeDef": "Composite" + }, + "287": { + "Variants": [ + { + "Name": "None", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Some", + "TypeFields": [ + { + "TypeId": 9 + } + ], + "Index": 1 + } + ], + "Path": [ + "Option" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 9 + } + ], + "TypeDef": "Variant" + }, + "288": { + "TypeFields": [ + { + "Name": "post_info", + "TypeName": "Info", + "TypeId": 286 + }, + { + "Name": "error", + "TypeName": "DispatchError", + "TypeId": 25 + } + ], + "Path": [ + "sp_runtime", + "DispatchErrorWithPostInfo" + ], + "TypeParams": [ + { + "Name": "Info", + "TypeId": 286 + } + ], + "TypeDef": "Composite" + }, + "289": { + "Variants": [ + { + "Name": "Scheduled", + "TypeFields": [ + { + "Name": "when", + "TypeName": "BlockNumberFor", + "TypeId": 4 + }, + { + "Name": "index", + "TypeName": "u32", + "TypeId": 4 + } + ], + "Index": 0, + "Docs": [ + "Scheduled some task." + ] + }, + { + "Name": "Canceled", + "TypeFields": [ + { + "Name": "when", + "TypeName": "BlockNumberFor", + "TypeId": 4 + }, + { + "Name": "index", + "TypeName": "u32", + "TypeId": 4 + } + ], + "Index": 1, + "Docs": [ + "Canceled some task." + ] + }, + { + "Name": "Dispatched", + "TypeFields": [ + { + "Name": "task", + "TypeName": "TaskAddress>", + "TypeId": 137 + }, + { + "Name": "id", + "TypeName": "Option", + "TypeId": 290 + }, + { + "Name": "result", + "TypeName": "DispatchResult", + "TypeId": 60 + } + ], + "Index": 2, + "Docs": [ + "Dispatched some task." + ] + }, + { + "Name": "CallUnavailable", + "TypeFields": [ + { + "Name": "task", + "TypeName": "TaskAddress>", + "TypeId": 137 + }, + { + "Name": "id", + "TypeName": "Option", + "TypeId": 290 + } + ], + "Index": 3, + "Docs": [ + "The call for the provided hash was not found so the task has been aborted." + ] + }, + { + "Name": "PeriodicFailed", + "TypeFields": [ + { + "Name": "task", + "TypeName": "TaskAddress>", + "TypeId": 137 + }, + { + "Name": "id", + "TypeName": "Option", + "TypeId": 290 + } + ], + "Index": 4, + "Docs": [ + "The given task was unable to be renewed since the agenda is full at that block." + ] + }, + { + "Name": "PermanentlyOverweight", + "TypeFields": [ + { + "Name": "task", + "TypeName": "TaskAddress>", + "TypeId": 137 + }, + { + "Name": "id", + "TypeName": "Option", + "TypeId": 290 + } + ], + "Index": 5, + "Docs": [ + "The given task can never be executed since it is overweight." + ] + } + ], + "Path": [ + "pallet_scheduler", + "pallet", + "Event" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Events type." + ] + }, + "290": { + "Variants": [ + { + "Name": "None", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Some", + "TypeFields": [ + { + "TypeId": 1 + } + ], + "Index": 1 + } + ], + "Path": [ + "Option" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 1 + } + ], + "TypeDef": "Variant" + }, + "291": { + "Variants": [ + { + "Name": "Noted", + "TypeFields": [ + { + "Name": "hash", + "TypeName": "T::Hash", + "TypeId": 12 + } + ], + "Index": 0, + "Docs": [ + "A preimage has been noted." + ] + }, + { + "Name": "Requested", + "TypeFields": [ + { + "Name": "hash", + "TypeName": "T::Hash", + "TypeId": 12 + } + ], + "Index": 1, + "Docs": [ + "A preimage has been requested." + ] + }, + { + "Name": "Cleared", + "TypeFields": [ + { + "Name": "hash", + "TypeName": "T::Hash", + "TypeId": 12 + } + ], + "Index": 2, + "Docs": [ + "A preimage has ben cleared." + ] + } + ], + "Path": [ + "pallet_preimage", + "pallet", + "Event" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Event` enum of this pallet" + ] + }, + "292": { + "Variants": [ + { + "Name": "IdentitySet", + "TypeFields": [ + { + "Name": "who", + "TypeName": "T::AccountId", + "TypeId": 0 + } + ], + "Index": 0, + "Docs": [ + "A name was set or reset (which will remove all judgements)." + ] + }, + { + "Name": "IdentityCleared", + "TypeFields": [ + { + "Name": "who", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "deposit", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 1, + "Docs": [ + "A name was cleared, and the given balance returned." + ] + }, + { + "Name": "IdentityKilled", + "TypeFields": [ + { + "Name": "who", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "deposit", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 2, + "Docs": [ + "A name was removed and the given balance slashed." + ] + }, + { + "Name": "JudgementRequested", + "TypeFields": [ + { + "Name": "who", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "registrar_index", + "TypeName": "RegistrarIndex", + "TypeId": 4 + } + ], + "Index": 3, + "Docs": [ + "A judgement was asked from a registrar." + ] + }, + { + "Name": "JudgementUnrequested", + "TypeFields": [ + { + "Name": "who", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "registrar_index", + "TypeName": "RegistrarIndex", + "TypeId": 4 + } + ], + "Index": 4, + "Docs": [ + "A judgement request was retracted." + ] + }, + { + "Name": "JudgementGiven", + "TypeFields": [ + { + "Name": "target", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "registrar_index", + "TypeName": "RegistrarIndex", + "TypeId": 4 + } + ], + "Index": 5, + "Docs": [ + "A judgement was given by a registrar." + ] + }, + { + "Name": "RegistrarAdded", + "TypeFields": [ + { + "Name": "registrar_index", + "TypeName": "RegistrarIndex", + "TypeId": 4 + } + ], + "Index": 6, + "Docs": [ + "A registrar was added." + ] + }, + { + "Name": "SubIdentityAdded", + "TypeFields": [ + { + "Name": "sub", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "main", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "deposit", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 7, + "Docs": [ + "A sub-identity was added to an identity and the deposit paid." + ] + }, + { + "Name": "SubIdentityRemoved", + "TypeFields": [ + { + "Name": "sub", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "main", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "deposit", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 8, + "Docs": [ + "A sub-identity was removed from an identity and the deposit freed." + ] + }, + { + "Name": "SubIdentityRevoked", + "TypeFields": [ + { + "Name": "sub", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "main", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "deposit", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 9, + "Docs": [ + "A sub-identity was cleared, and the given deposit repatriated from the", + "main identity account to the sub-identity account." + ] + } + ], + "Path": [ + "pallet_identity", + "pallet", + "Event" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Event` enum of this pallet" + ] + }, + "293": { + "Variants": [ + { + "Name": "ProxyExecuted", + "TypeFields": [ + { + "Name": "result", + "TypeName": "DispatchResult", + "TypeId": 60 + } + ], + "Index": 0, + "Docs": [ + "A proxy was executed correctly, with the given." + ] + }, + { + "Name": "PureCreated", + "TypeFields": [ + { + "Name": "pure", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "who", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "proxy_type", + "TypeName": "T::ProxyType", + "TypeId": 182 + }, + { + "Name": "disambiguation_index", + "TypeName": "u16", + "TypeId": 63 + } + ], + "Index": 1, + "Docs": [ + "A pure account has been created by new proxy with given", + "disambiguation index and proxy type." + ] + }, + { + "Name": "Announced", + "TypeFields": [ + { + "Name": "real", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "proxy", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "call_hash", + "TypeName": "CallHashOf", + "TypeId": 12 + } + ], + "Index": 2, + "Docs": [ + "An announcement was placed to make a call in the future." + ] + }, + { + "Name": "ProxyAdded", + "TypeFields": [ + { + "Name": "delegator", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "delegatee", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "proxy_type", + "TypeName": "T::ProxyType", + "TypeId": 182 + }, + { + "Name": "delay", + "TypeName": "BlockNumberFor", + "TypeId": 4 + } + ], + "Index": 3, + "Docs": [ + "A proxy was added." + ] + }, + { + "Name": "ProxyRemoved", + "TypeFields": [ + { + "Name": "delegator", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "delegatee", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "proxy_type", + "TypeName": "T::ProxyType", + "TypeId": 182 + }, + { + "Name": "delay", + "TypeName": "BlockNumberFor", + "TypeId": 4 + } + ], + "Index": 4, + "Docs": [ + "A proxy was removed." + ] + } + ], + "Path": [ + "pallet_proxy", + "pallet", + "Event" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Event` enum of this pallet" + ] + }, + "294": { + "Variants": [ + { + "Name": "NewMultisig", + "TypeFields": [ + { + "Name": "approving", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "multisig", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "call_hash", + "TypeName": "CallHash", + "TypeId": 1 + } + ], + "Index": 0, + "Docs": [ + "A new multisig operation has begun." + ] + }, + { + "Name": "MultisigApproval", + "TypeFields": [ + { + "Name": "approving", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "timepoint", + "TypeName": "Timepoint>", + "TypeId": 185 + }, + { + "Name": "multisig", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "call_hash", + "TypeName": "CallHash", + "TypeId": 1 + } + ], + "Index": 1, + "Docs": [ + "A multisig operation has been approved by someone." + ] + }, + { + "Name": "MultisigExecuted", + "TypeFields": [ + { + "Name": "approving", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "timepoint", + "TypeName": "Timepoint>", + "TypeId": 185 + }, + { + "Name": "multisig", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "call_hash", + "TypeName": "CallHash", + "TypeId": 1 + }, + { + "Name": "result", + "TypeName": "DispatchResult", + "TypeId": 60 + } + ], + "Index": 2, + "Docs": [ + "A multisig operation has been executed." + ] + }, + { + "Name": "MultisigCancelled", + "TypeFields": [ + { + "Name": "cancelling", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "timepoint", + "TypeName": "Timepoint>", + "TypeId": 185 + }, + { + "Name": "multisig", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "call_hash", + "TypeName": "CallHash", + "TypeId": 1 + } + ], + "Index": 3, + "Docs": [ + "A multisig operation has been cancelled." + ] + } + ], + "Path": [ + "pallet_multisig", + "pallet", + "Event" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Event` enum of this pallet" + ] + }, + "295": { + "Variants": [ + { + "Name": "SolutionStored", + "TypeFields": [ + { + "Name": "compute", + "TypeName": "ElectionCompute", + "TypeId": 296 + }, + { + "Name": "origin", + "TypeName": "Option", + "TypeId": 273 + }, + { + "Name": "prev_ejected", + "TypeName": "bool", + "TypeId": 54 + } + ], + "Index": 0, + "Docs": [ + "A solution was stored with the given compute.", + "", + "The `origin` indicates the origin of the solution. If `origin` is `Some(AccountId)`,", + "the stored solution was submited in the signed phase by a miner with the `AccountId`.", + "Otherwise, the solution was stored either during the unsigned phase or by", + "`T::ForceOrigin`. The `bool` is `true` when a previous solution was ejected to make", + "room for this one." + ] + }, + { + "Name": "ElectionFinalized", + "TypeFields": [ + { + "Name": "compute", + "TypeName": "ElectionCompute", + "TypeId": 296 + }, + { + "Name": "score", + "TypeName": "ElectionScore", + "TypeId": 239 + } + ], + "Index": 1, + "Docs": [ + "The election has been finalized, with the given computation and score." + ] + }, + { + "Name": "ElectionFailed", + "TypeFields": null, + "Index": 2, + "Docs": [ + "An election failed.", + "", + "Not much can be said about which computes failed in the process." + ] + }, + { + "Name": "Rewarded", + "TypeFields": [ + { + "Name": "account", + "TypeName": "::AccountId", + "TypeId": 0 + }, + { + "Name": "value", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 3, + "Docs": [ + "An account has been rewarded for their signed submission being finalized." + ] + }, + { + "Name": "Slashed", + "TypeFields": [ + { + "Name": "account", + "TypeName": "::AccountId", + "TypeId": 0 + }, + { + "Name": "value", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 4, + "Docs": [ + "An account has been slashed for submitting an invalid signed submission." + ] + }, + { + "Name": "PhaseTransitioned", + "TypeFields": [ + { + "Name": "from", + "TypeName": "Phase>", + "TypeId": 297 + }, + { + "Name": "to", + "TypeName": "Phase>", + "TypeId": 297 + }, + { + "Name": "round", + "TypeName": "u32", + "TypeId": 4 + } + ], + "Index": 5, + "Docs": [ + "There was a phase transition in a given round." + ] + } + ], + "Path": [ + "pallet_election_provider_multi_phase", + "pallet", + "Event" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Event` enum of this pallet" + ] + }, + "296": { + "Variants": [ + { + "Name": "OnChain", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Signed", + "TypeFields": null, + "Index": 1 + }, + { + "Name": "Unsigned", + "TypeFields": null, + "Index": 2 + }, + { + "Name": "Fallback", + "TypeFields": null, + "Index": 3 + }, + { + "Name": "Emergency", + "TypeFields": null, + "Index": 4 + } + ], + "Path": [ + "pallet_election_provider_multi_phase", + "ElectionCompute" + ], + "TypeDef": "Variant" + }, + "297": { + "Variants": [ + { + "Name": "Off", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Signed", + "TypeFields": null, + "Index": 1 + }, + { + "Name": "Unsigned", + "TypeFields": [ + { + "TypeName": "(bool, Bn)", + "TypeId": 298 + } + ], + "Index": 2 + }, + { + "Name": "Emergency", + "TypeFields": null, + "Index": 3 + } + ], + "Path": [ + "pallet_election_provider_multi_phase", + "Phase" + ], + "TypeParams": [ + { + "Name": "Bn", + "TypeId": 4 + } + ], + "TypeDef": "Variant" + }, + "298": { + "TypeIds": [ + 54, + 4 + ], + "TypeDef": "Tuple" + }, + "299": { + "Variants": [ + { + "Name": "Offence", + "TypeFields": [ + { + "Name": "kind", + "TypeName": "Kind", + "TypeId": 160 + }, + { + "Name": "timeslot", + "TypeName": "OpaqueTimeSlot", + "TypeId": 13 + } + ], + "Index": 0, + "Docs": [ + "There is an offence reported of the given `kind` happened at the `session_index` and", + "(kind-specific) time slot. This event is not deposited for duplicate slashes.", + "\\[kind, timeslot\\]." + ] + } + ], + "Path": [ + "pallet_offences", + "pallet", + "Event" + ], + "TypeDef": "Variant", + "Docs": [ + "Events type." + ] + }, + "300": { + "Variants": [ + { + "Name": "BountyProposed", + "TypeFields": [ + { + "Name": "index", + "TypeName": "BountyIndex", + "TypeId": 4 + } + ], + "Index": 0, + "Docs": [ + "New bounty proposal." + ] + }, + { + "Name": "BountyRejected", + "TypeFields": [ + { + "Name": "index", + "TypeName": "BountyIndex", + "TypeId": 4 + }, + { + "Name": "bond", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 1, + "Docs": [ + "A bounty proposal was rejected; funds were slashed." + ] + }, + { + "Name": "BountyBecameActive", + "TypeFields": [ + { + "Name": "index", + "TypeName": "BountyIndex", + "TypeId": 4 + } + ], + "Index": 2, + "Docs": [ + "A bounty proposal is funded and became active." + ] + }, + { + "Name": "BountyAwarded", + "TypeFields": [ + { + "Name": "index", + "TypeName": "BountyIndex", + "TypeId": 4 + }, + { + "Name": "beneficiary", + "TypeName": "T::AccountId", + "TypeId": 0 + } + ], + "Index": 3, + "Docs": [ + "A bounty is awarded to a beneficiary." + ] + }, + { + "Name": "BountyClaimed", + "TypeFields": [ + { + "Name": "index", + "TypeName": "BountyIndex", + "TypeId": 4 + }, + { + "Name": "payout", + "TypeName": "BalanceOf", + "TypeId": 6 + }, + { + "Name": "beneficiary", + "TypeName": "T::AccountId", + "TypeId": 0 + } + ], + "Index": 4, + "Docs": [ + "A bounty is claimed by beneficiary." + ] + }, + { + "Name": "BountyCanceled", + "TypeFields": [ + { + "Name": "index", + "TypeName": "BountyIndex", + "TypeId": 4 + } + ], + "Index": 5, + "Docs": [ + "A bounty is cancelled." + ] + }, + { + "Name": "BountyExtended", + "TypeFields": [ + { + "Name": "index", + "TypeName": "BountyIndex", + "TypeId": 4 + } + ], + "Index": 6, + "Docs": [ + "A bounty expiry is extended." + ] + }, + { + "Name": "BountyApproved", + "TypeFields": [ + { + "Name": "index", + "TypeName": "BountyIndex", + "TypeId": 4 + } + ], + "Index": 7, + "Docs": [ + "A bounty is approved." + ] + }, + { + "Name": "CuratorProposed", + "TypeFields": [ + { + "Name": "bounty_id", + "TypeName": "BountyIndex", + "TypeId": 4 + }, + { + "Name": "curator", + "TypeName": "T::AccountId", + "TypeId": 0 + } + ], + "Index": 8, + "Docs": [ + "A bounty curator is proposed." + ] + }, + { + "Name": "CuratorUnassigned", + "TypeFields": [ + { + "Name": "bounty_id", + "TypeName": "BountyIndex", + "TypeId": 4 + } + ], + "Index": 9, + "Docs": [ + "A bounty curator is unassigned." + ] + }, + { + "Name": "CuratorAccepted", + "TypeFields": [ + { + "Name": "bounty_id", + "TypeName": "BountyIndex", + "TypeId": 4 + }, + { + "Name": "curator", + "TypeName": "T::AccountId", + "TypeId": 0 + } + ], + "Index": 10, + "Docs": [ + "A bounty curator is accepted." + ] + } + ], + "Path": [ + "pallet_bounties", + "pallet", + "Event" + ], + "TypeParams": [ + { + "Name": "T" + }, + { + "Name": "I" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Event` enum of this pallet" + ] + }, + "301": { + "Variants": [ + { + "Name": "Added", + "TypeFields": [ + { + "Name": "index", + "TypeName": "BountyIndex", + "TypeId": 4 + }, + { + "Name": "child_index", + "TypeName": "BountyIndex", + "TypeId": 4 + } + ], + "Index": 0, + "Docs": [ + "A child-bounty is added." + ] + }, + { + "Name": "Awarded", + "TypeFields": [ + { + "Name": "index", + "TypeName": "BountyIndex", + "TypeId": 4 + }, + { + "Name": "child_index", + "TypeName": "BountyIndex", + "TypeId": 4 + }, + { + "Name": "beneficiary", + "TypeName": "T::AccountId", + "TypeId": 0 + } + ], + "Index": 1, + "Docs": [ + "A child-bounty is awarded to a beneficiary." + ] + }, + { + "Name": "Claimed", + "TypeFields": [ + { + "Name": "index", + "TypeName": "BountyIndex", + "TypeId": 4 + }, + { + "Name": "child_index", + "TypeName": "BountyIndex", + "TypeId": 4 + }, + { + "Name": "payout", + "TypeName": "BalanceOf", + "TypeId": 6 + }, + { + "Name": "beneficiary", + "TypeName": "T::AccountId", + "TypeId": 0 + } + ], + "Index": 2, + "Docs": [ + "A child-bounty is claimed by beneficiary." + ] + }, + { + "Name": "Canceled", + "TypeFields": [ + { + "Name": "index", + "TypeName": "BountyIndex", + "TypeId": 4 + }, + { + "Name": "child_index", + "TypeName": "BountyIndex", + "TypeId": 4 + } + ], + "Index": 3, + "Docs": [ + "A child-bounty is cancelled." + ] + } + ], + "Path": [ + "pallet_child_bounties", + "pallet", + "Event" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Event` enum of this pallet" + ] + }, + "302": { + "Variants": [ + { + "Name": "Created", + "TypeFields": [ + { + "Name": "depositor", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "pool_id", + "TypeName": "PoolId", + "TypeId": 4 + } + ], + "Index": 0, + "Docs": [ + "A pool has been created." + ] + }, + { + "Name": "Bonded", + "TypeFields": [ + { + "Name": "member", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "pool_id", + "TypeName": "PoolId", + "TypeId": 4 + }, + { + "Name": "bonded", + "TypeName": "BalanceOf", + "TypeId": 6 + }, + { + "Name": "joined", + "TypeName": "bool", + "TypeId": 54 + } + ], + "Index": 1, + "Docs": [ + "A member has became bonded in a pool." + ] + }, + { + "Name": "PaidOut", + "TypeFields": [ + { + "Name": "member", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "pool_id", + "TypeName": "PoolId", + "TypeId": 4 + }, + { + "Name": "payout", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 2, + "Docs": [ + "A payout has been made to a member." + ] + }, + { + "Name": "Unbonded", + "TypeFields": [ + { + "Name": "member", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "pool_id", + "TypeName": "PoolId", + "TypeId": 4 + }, + { + "Name": "balance", + "TypeName": "BalanceOf", + "TypeId": 6 + }, + { + "Name": "points", + "TypeName": "BalanceOf", + "TypeId": 6 + }, + { + "Name": "era", + "TypeName": "EraIndex", + "TypeId": 4 + } + ], + "Index": 3, + "Docs": [ + "A member has unbonded from their pool.", + "", + "- `balance` is the corresponding balance of the number of points that has been", + " requested to be unbonded (the argument of the `unbond` transaction) from the bonded", + " pool.", + "- `points` is the number of points that are issued as a result of `balance` being", + "dissolved into the corresponding unbonding pool.", + "- `era` is the era in which the balance will be unbonded.", + "In the absence of slashing, these values will match. In the presence of slashing, the", + "number of points that are issued in the unbonding pool will be less than the amount", + "requested to be unbonded." + ] + }, + { + "Name": "Withdrawn", + "TypeFields": [ + { + "Name": "member", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "pool_id", + "TypeName": "PoolId", + "TypeId": 4 + }, + { + "Name": "balance", + "TypeName": "BalanceOf", + "TypeId": 6 + }, + { + "Name": "points", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 4, + "Docs": [ + "A member has withdrawn from their pool.", + "", + "The given number of `points` have been dissolved in return of `balance`.", + "", + "Similar to `Unbonded` event, in the absence of slashing, the ratio of point to balance", + "will be 1." + ] + }, + { + "Name": "Destroyed", + "TypeFields": [ + { + "Name": "pool_id", + "TypeName": "PoolId", + "TypeId": 4 + } + ], + "Index": 5, + "Docs": [ + "A pool has been destroyed." + ] + }, + { + "Name": "StateChanged", + "TypeFields": [ + { + "Name": "pool_id", + "TypeName": "PoolId", + "TypeId": 4 + }, + { + "Name": "new_state", + "TypeName": "PoolState", + "TypeId": 251 + } + ], + "Index": 6, + "Docs": [ + "The state of a pool has changed" + ] + }, + { + "Name": "MemberRemoved", + "TypeFields": [ + { + "Name": "pool_id", + "TypeName": "PoolId", + "TypeId": 4 + }, + { + "Name": "member", + "TypeName": "T::AccountId", + "TypeId": 0 + } + ], + "Index": 7, + "Docs": [ + "A member has been removed from a pool.", + "", + "The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked)." + ] + }, + { + "Name": "RolesUpdated", + "TypeFields": [ + { + "Name": "root", + "TypeName": "Option", + "TypeId": 273 + }, + { + "Name": "bouncer", + "TypeName": "Option", + "TypeId": 273 + }, + { + "Name": "nominator", + "TypeName": "Option", + "TypeId": 273 + } + ], + "Index": 8, + "Docs": [ + "The roles of a pool have been updated to the given new roles. Note that the depositor", + "can never change." + ] + }, + { + "Name": "PoolSlashed", + "TypeFields": [ + { + "Name": "pool_id", + "TypeName": "PoolId", + "TypeId": 4 + }, + { + "Name": "balance", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 9, + "Docs": [ + "The active balance of pool `pool_id` has been slashed to `balance`." + ] + }, + { + "Name": "UnbondingPoolSlashed", + "TypeFields": [ + { + "Name": "pool_id", + "TypeName": "PoolId", + "TypeId": 4 + }, + { + "Name": "era", + "TypeName": "EraIndex", + "TypeId": 4 + }, + { + "Name": "balance", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 10, + "Docs": [ + "The unbond pool at `era` of pool `pool_id` has been slashed to `balance`." + ] + }, + { + "Name": "PoolCommissionUpdated", + "TypeFields": [ + { + "Name": "pool_id", + "TypeName": "PoolId", + "TypeId": 4 + }, + { + "Name": "current", + "TypeName": "Option<(Perbill, T::AccountId)>", + "TypeId": 257 + } + ], + "Index": 11, + "Docs": [ + "A pool's commission setting has been changed." + ] + }, + { + "Name": "PoolMaxCommissionUpdated", + "TypeFields": [ + { + "Name": "pool_id", + "TypeName": "PoolId", + "TypeId": 4 + }, + { + "Name": "max_commission", + "TypeName": "Perbill", + "TypeId": 51 + } + ], + "Index": 12, + "Docs": [ + "A pool's maximum commission setting has been changed." + ] + }, + { + "Name": "PoolCommissionChangeRateUpdated", + "TypeFields": [ + { + "Name": "pool_id", + "TypeName": "PoolId", + "TypeId": 4 + }, + { + "Name": "change_rate", + "TypeName": "CommissionChangeRate>", + "TypeId": 259 + } + ], + "Index": 13, + "Docs": [ + "A pool's commission `change_rate` has been changed." + ] + }, + { + "Name": "PoolCommissionClaimed", + "TypeFields": [ + { + "Name": "pool_id", + "TypeName": "PoolId", + "TypeId": 4 + }, + { + "Name": "commission", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 14, + "Docs": [ + "Pool commission has been claimed." + ] + }, + { + "Name": "MinBalanceDeficitAdjusted", + "TypeFields": [ + { + "Name": "pool_id", + "TypeName": "PoolId", + "TypeId": 4 + }, + { + "Name": "amount", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 15, + "Docs": [ + "Topped up deficit in frozen ED of the reward pool." + ] + }, + { + "Name": "MinBalanceExcessAdjusted", + "TypeFields": [ + { + "Name": "pool_id", + "TypeName": "PoolId", + "TypeId": 4 + }, + { + "Name": "amount", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 16, + "Docs": [ + "Claimed excess frozen ED of af the reward pool." + ] + } + ], + "Path": [ + "pallet_nomination_pools", + "pallet", + "Event" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Events of this pallet." + ] + }, + "303": { + "Variants": [ + { + "Name": "MessageQueued", + "TypeFields": [ + { + "Name": "id", + "TypeName": "MessageId", + "TypeId": 263, + "Docs": [ + "Generated id of the message." + ] + }, + { + "Name": "source", + "TypeName": "T::AccountId", + "TypeId": 0, + "Docs": [ + "Account id of the source of the message." + ] + }, + { + "Name": "destination", + "TypeName": "ProgramId", + "TypeId": 262, + "Docs": [ + "Program id, who is the message's destination." + ] + }, + { + "Name": "entry", + "TypeName": "MessageEntry", + "TypeId": 304, + "Docs": [ + "Entry point for processing of the message.", + "On the sending stage, the processing function", + "of the program is always known." + ] + } + ], + "Index": 0, + "Docs": [ + "User sends message to program, which was successfully", + "added to the Gear message queue." + ] + }, + { + "Name": "UserMessageSent", + "TypeFields": [ + { + "Name": "message", + "TypeName": "UserMessage", + "TypeId": 305, + "Docs": [ + "Message sent." + ] + }, + { + "Name": "expiration", + "TypeName": "Option>", + "TypeId": 117, + "Docs": [ + "Block number of expiration from `Mailbox`.", + "", + "Equals `Some(_)` with block number when message", + "will be removed from `Mailbox` due to some", + "reasons (see #642, #646 and #1010).", + "", + "Equals `None` if message wasn't inserted to", + "`Mailbox` and appears as only `Event`." + ] + } + ], + "Index": 1, + "Docs": [ + "Somebody sent a message to the user." + ] + }, + { + "Name": "UserMessageRead", + "TypeFields": [ + { + "Name": "id", + "TypeName": "MessageId", + "TypeId": 263, + "Docs": [ + "Id of the message read." + ] + }, + { + "Name": "reason", + "TypeName": "UserMessageReadReason", + "TypeId": 315, + "Docs": [ + "The reason for the reading (removal from `Mailbox`).", + "", + "NOTE: See more docs about reasons at `gear_common::event`." + ] + } + ], + "Index": 2, + "Docs": [ + "Message marked as \"read\" and removes it from `Mailbox`.", + "This event only affects messages that were", + "already inserted in `Mailbox`." + ] + }, + { + "Name": "MessagesDispatched", + "TypeFields": [ + { + "Name": "total", + "TypeName": "MessengerCapacityOf", + "TypeId": 4, + "Docs": [ + "Total amount of messages removed from message queue." + ] + }, + { + "Name": "statuses", + "TypeName": "BTreeMap", + "TypeId": 318, + "Docs": [ + "Execution statuses of the messages, which were already known", + "by `Event::MessageQueued` (sent from user to program)." + ] + }, + { + "Name": "state_changes", + "TypeName": "BTreeSet", + "TypeId": 269, + "Docs": [ + "Ids of programs, which state changed during queue processing." + ] + } + ], + "Index": 3, + "Docs": [ + "The result of processing the messages within the block." + ] + }, + { + "Name": "MessageWaited", + "TypeFields": [ + { + "Name": "id", + "TypeName": "MessageId", + "TypeId": 263, + "Docs": [ + "Id of the message waited." + ] + }, + { + "Name": "origin", + "TypeName": "Option>", + "TypeId": 322, + "Docs": [ + "Origin message id, which started messaging chain with programs,", + "where currently waited message was created.", + "", + "Used to identify by the user that this message associated", + "with him and the concrete initial message." + ] + }, + { + "Name": "reason", + "TypeName": "MessageWaitedReason", + "TypeId": 325, + "Docs": [ + "The reason of the waiting (addition to `Waitlist`).", + "", + "NOTE: See more docs about reasons at `gear_common::event`." + ] + }, + { + "Name": "expiration", + "TypeName": "BlockNumberFor", + "TypeId": 4, + "Docs": [ + "Block number of expiration from `Waitlist`.", + "", + "Equals block number when message will be removed from `Waitlist`", + "due to some reasons (see #642, #646 and #1010)." + ] + } + ], + "Index": 4, + "Docs": [ + "Messages execution delayed (waited) and successfully", + "added to gear waitlist." + ] + }, + { + "Name": "MessageWoken", + "TypeFields": [ + { + "Name": "id", + "TypeName": "MessageId", + "TypeId": 263, + "Docs": [ + "Id of the message woken." + ] + }, + { + "Name": "reason", + "TypeName": "MessageWokenReason", + "TypeId": 328, + "Docs": [ + "The reason of the waking (removal from `Waitlist`).", + "", + "NOTE: See more docs about reasons at `gear_common::event`." + ] + } + ], + "Index": 5, + "Docs": [ + "Message is ready to continue its execution", + "and was removed from `Waitlist`." + ] + }, + { + "Name": "CodeChanged", + "TypeFields": [ + { + "Name": "id", + "TypeName": "CodeId", + "TypeId": 261, + "Docs": [ + "Id of the code affected." + ] + }, + { + "Name": "change", + "TypeName": "CodeChangeKind>", + "TypeId": 331, + "Docs": [ + "Change applied on code with current id.", + "", + "NOTE: See more docs about change kinds at `gear_common::event`." + ] + } + ], + "Index": 6, + "Docs": [ + "Any data related to program codes changed." + ] + }, + { + "Name": "ProgramChanged", + "TypeFields": [ + { + "Name": "id", + "TypeName": "ProgramId", + "TypeId": 262, + "Docs": [ + "Id of the program affected." + ] + }, + { + "Name": "change", + "TypeName": "ProgramChangeKind>", + "TypeId": 332, + "Docs": [ + "Change applied on program with current id.", + "", + "NOTE: See more docs about change kinds at `gear_common::event`." + ] + } + ], + "Index": 7, + "Docs": [ + "Any data related to programs changed." + ] + }, + { + "Name": "QueueNotProcessed", + "TypeFields": null, + "Index": 8, + "Docs": [ + "The pseudo-inherent extrinsic that runs queue processing rolled back or not executed." + ] + } + ], + "Path": [ + "pallet_gear", + "pallet", + "Event" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Event` enum of this pallet" + ] + }, + "304": { + "Variants": [ + { + "Name": "Init", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Handle", + "TypeFields": null, + "Index": 1 + }, + { + "Name": "Reply", + "TypeFields": [ + { + "TypeName": "MessageId", + "TypeId": 263 + } + ], + "Index": 2 + }, + { + "Name": "Signal", + "TypeFields": null, + "Index": 3 + } + ], + "Path": [ + "gear_common", + "event", + "MessageEntry" + ], + "TypeDef": "Variant" + }, + "305": { + "TypeFields": [ + { + "Name": "id", + "TypeName": "MessageId", + "TypeId": 263 + }, + { + "Name": "source", + "TypeName": "ProgramId", + "TypeId": 262 + }, + { + "Name": "destination", + "TypeName": "ProgramId", + "TypeId": 262 + }, + { + "Name": "payload", + "TypeName": "Payload", + "TypeId": 306 + }, + { + "Name": "value", + "TypeName": "Value", + "TypeId": 46 + }, + { + "Name": "details", + "TypeName": "Option", + "TypeId": 308 + } + ], + "Path": [ + "gear_core", + "message", + "user", + "UserMessage" + ], + "TypeDef": "Composite" + }, + "306": { + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 13 + } + ], + "Path": [ + "gear_core", + "buffer", + "LimitedVec" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 2 + }, + { + "Name": "E", + "TypeId": 307 + } + ], + "TypeDef": "Composite" + }, + "307": { + "Path": [ + "gear_core", + "message", + "PayloadSizeError" + ], + "TypeDef": "Composite" + }, + "308": { + "Variants": [ + { + "Name": "None", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Some", + "TypeFields": [ + { + "TypeId": 309 + } + ], + "Index": 1 + } + ], + "Path": [ + "Option" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 309 + } + ], + "TypeDef": "Variant" + }, + "309": { + "TypeFields": [ + { + "Name": "to", + "TypeName": "MessageId", + "TypeId": 263 + }, + { + "Name": "code", + "TypeName": "ReplyCode", + "TypeId": 310 + } + ], + "Path": [ + "gear_core", + "message", + "common", + "ReplyDetails" + ], + "TypeDef": "Composite" + }, + "310": { + "Variants": [ + { + "Name": "Success", + "TypeFields": [ + { + "TypeName": "SuccessReplyReason", + "TypeId": 311 + } + ], + "Index": 0 + }, + { + "Name": "Error", + "TypeFields": [ + { + "TypeName": "ErrorReplyReason", + "TypeId": 312 + } + ], + "Index": 1 + }, + { + "Name": "Unsupported", + "TypeFields": null, + "Index": 255 + } + ], + "Path": [ + "gear_core_errors", + "simple", + "ReplyCode" + ], + "TypeDef": "Variant" + }, + "311": { + "Variants": [ + { + "Name": "Auto", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Manual", + "TypeFields": null, + "Index": 1 + }, + { + "Name": "Unsupported", + "TypeFields": null, + "Index": 255 + } + ], + "Path": [ + "gear_core_errors", + "simple", + "SuccessReplyReason" + ], + "TypeDef": "Variant" + }, + "312": { + "Variants": [ + { + "Name": "Execution", + "TypeFields": [ + { + "TypeName": "SimpleExecutionError", + "TypeId": 313 + } + ], + "Index": 0 + }, + { + "Name": "FailedToCreateProgram", + "TypeFields": [ + { + "TypeName": "SimpleProgramCreationError", + "TypeId": 314 + } + ], + "Index": 1 + }, + { + "Name": "InactiveActor", + "TypeFields": null, + "Index": 2 + }, + { + "Name": "RemovedFromWaitlist", + "TypeFields": null, + "Index": 3 + }, + { + "Name": "ReinstrumentationFailure", + "TypeFields": null, + "Index": 4 + }, + { + "Name": "Unsupported", + "TypeFields": null, + "Index": 255 + } + ], + "Path": [ + "gear_core_errors", + "simple", + "ErrorReplyReason" + ], + "TypeDef": "Variant" + }, + "313": { + "Variants": [ + { + "Name": "RanOutOfGas", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "MemoryOverflow", + "TypeFields": null, + "Index": 1 + }, + { + "Name": "BackendError", + "TypeFields": null, + "Index": 2 + }, + { + "Name": "UserspacePanic", + "TypeFields": null, + "Index": 3 + }, + { + "Name": "UnreachableInstruction", + "TypeFields": null, + "Index": 4 + }, + { + "Name": "StackLimitExceeded", + "TypeFields": null, + "Index": 5 + }, + { + "Name": "Unsupported", + "TypeFields": null, + "Index": 255 + } + ], + "Path": [ + "gear_core_errors", + "simple", + "SimpleExecutionError" + ], + "TypeDef": "Variant" + }, + "314": { + "Variants": [ + { + "Name": "CodeNotExists", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Unsupported", + "TypeFields": null, + "Index": 255 + } + ], + "Path": [ + "gear_core_errors", + "simple", + "SimpleProgramCreationError" + ], + "TypeDef": "Variant" + }, + "315": { + "Variants": [ + { + "Name": "Runtime", + "TypeFields": [ + { + "TypeName": "R", + "TypeId": 316 + } + ], + "Index": 0 + }, + { + "Name": "System", + "TypeFields": [ + { + "TypeName": "S", + "TypeId": 317 + } + ], + "Index": 1 + } + ], + "Path": [ + "gear_common", + "event", + "Reason" + ], + "TypeParams": [ + { + "Name": "R", + "TypeId": 316 + }, + { + "Name": "S", + "TypeId": 317 + } + ], + "TypeDef": "Variant" + }, + "316": { + "Variants": [ + { + "Name": "MessageReplied", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "MessageClaimed", + "TypeFields": null, + "Index": 1 + } + ], + "Path": [ + "gear_common", + "event", + "UserMessageReadRuntimeReason" + ], + "TypeDef": "Variant" + }, + "317": { + "Variants": [ + { + "Name": "OutOfRent", + "TypeFields": null, + "Index": 0 + } + ], + "Path": [ + "gear_common", + "event", + "UserMessageReadSystemReason" + ], + "TypeDef": "Variant" + }, + "318": { + "TypeFields": [ + { + "TypeId": 320 + } + ], + "Path": [ + "BTreeMap" + ], + "TypeParams": [ + { + "Name": "K", + "TypeId": 263 + }, + { + "Name": "V", + "TypeId": 319 + } + ], + "TypeDef": "Composite" + }, + "319": { + "Variants": [ + { + "Name": "Success", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Failed", + "TypeFields": null, + "Index": 1 + }, + { + "Name": "NotExecuted", + "TypeFields": null, + "Index": 2 + } + ], + "Path": [ + "gear_common", + "event", + "DispatchStatus" + ], + "TypeDef": "Variant" + }, + "320": { + "TypeId": 321, + "TypeDef": "Sequence" + }, + "321": { + "TypeIds": [ + 263, + 319 + ], + "TypeDef": "Tuple" + }, + "322": { + "Variants": [ + { + "Name": "None", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Some", + "TypeFields": [ + { + "TypeId": 323 + } + ], + "Index": 1 + } + ], + "Path": [ + "Option" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 323 + } + ], + "TypeDef": "Variant" + }, + "323": { + "Variants": [ + { + "Name": "Node", + "TypeFields": [ + { + "TypeName": "T", + "TypeId": 263 + } + ], + "Index": 0 + }, + { + "Name": "Reservation", + "TypeFields": [ + { + "TypeName": "U", + "TypeId": 324 + } + ], + "Index": 1 + } + ], + "Path": [ + "gear_common", + "gas_provider", + "node", + "GasNodeId" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 263 + }, + { + "Name": "U", + "TypeId": 324 + } + ], + "TypeDef": "Variant" + }, + "324": { + "TypeFields": [ + { + "TypeName": "[u8; 32]", + "TypeId": 1 + } + ], + "Path": [ + "gprimitives", + "ReservationId" + ], + "TypeDef": "Composite" + }, + "325": { + "Variants": [ + { + "Name": "Runtime", + "TypeFields": [ + { + "TypeName": "R", + "TypeId": 326 + } + ], + "Index": 0 + }, + { + "Name": "System", + "TypeFields": [ + { + "TypeName": "S", + "TypeId": 327 + } + ], + "Index": 1 + } + ], + "Path": [ + "gear_common", + "event", + "Reason" + ], + "TypeParams": [ + { + "Name": "R", + "TypeId": 326 + }, + { + "Name": "S", + "TypeId": 327 + } + ], + "TypeDef": "Variant" + }, + "326": { + "Variants": [ + { + "Name": "WaitCalled", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "WaitForCalled", + "TypeFields": null, + "Index": 1 + }, + { + "Name": "WaitUpToCalled", + "TypeFields": null, + "Index": 2 + }, + { + "Name": "WaitUpToCalledFull", + "TypeFields": null, + "Index": 3 + } + ], + "Path": [ + "gear_common", + "event", + "MessageWaitedRuntimeReason" + ], + "TypeDef": "Variant" + }, + "327": { + "Variants": null, + "Path": [ + "gear_common", + "event", + "MessageWaitedSystemReason" + ], + "TypeDef": "Variant" + }, + "328": { + "Variants": [ + { + "Name": "Runtime", + "TypeFields": [ + { + "TypeName": "R", + "TypeId": 329 + } + ], + "Index": 0 + }, + { + "Name": "System", + "TypeFields": [ + { + "TypeName": "S", + "TypeId": 330 + } + ], + "Index": 1 + } + ], + "Path": [ + "gear_common", + "event", + "Reason" + ], + "TypeParams": [ + { + "Name": "R", + "TypeId": 329 + }, + { + "Name": "S", + "TypeId": 330 + } + ], + "TypeDef": "Variant" + }, + "329": { + "Variants": [ + { + "Name": "WakeCalled", + "TypeFields": null, + "Index": 0 + } + ], + "Path": [ + "gear_common", + "event", + "MessageWokenRuntimeReason" + ], + "TypeDef": "Variant" + }, + "330": { + "Variants": [ + { + "Name": "ProgramGotInitialized", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "TimeoutHasCome", + "TypeFields": null, + "Index": 1 + }, + { + "Name": "OutOfRent", + "TypeFields": null, + "Index": 2 + } + ], + "Path": [ + "gear_common", + "event", + "MessageWokenSystemReason" + ], + "TypeDef": "Variant" + }, + "331": { + "Variants": [ + { + "Name": "Active", + "TypeFields": [ + { + "Name": "expiration", + "TypeName": "Option", + "TypeId": 117 + } + ], + "Index": 0 + }, + { + "Name": "Inactive", + "TypeFields": null, + "Index": 1 + }, + { + "Name": "Reinstrumented", + "TypeFields": null, + "Index": 2 + } + ], + "Path": [ + "gear_common", + "event", + "CodeChangeKind" + ], + "TypeParams": [ + { + "Name": "BlockNumber", + "TypeId": 4 + } + ], + "TypeDef": "Variant" + }, + "332": { + "Variants": [ + { + "Name": "Active", + "TypeFields": [ + { + "Name": "expiration", + "TypeName": "BlockNumber", + "TypeId": 4 + } + ], + "Index": 0 + }, + { + "Name": "Inactive", + "TypeFields": null, + "Index": 1 + }, + { + "Name": "Paused", + "TypeFields": null, + "Index": 2 + }, + { + "Name": "Terminated", + "TypeFields": null, + "Index": 3 + }, + { + "Name": "ExpirationChanged", + "TypeFields": [ + { + "Name": "expiration", + "TypeName": "BlockNumber", + "TypeId": 4 + } + ], + "Index": 4 + }, + { + "Name": "ProgramSet", + "TypeFields": [ + { + "Name": "expiration", + "TypeName": "BlockNumber", + "TypeId": 4 + } + ], + "Index": 5 + } + ], + "Path": [ + "gear_common", + "event", + "ProgramChangeKind" + ], + "TypeParams": [ + { + "Name": "BlockNumber", + "TypeId": 4 + } + ], + "TypeDef": "Variant" + }, + "333": { + "Variants": [ + { + "Name": "Deposited", + "TypeFields": [ + { + "Name": "amount", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 0, + "Docs": [ + "Deposited to the pool." + ] + }, + { + "Name": "Withdrawn", + "TypeFields": [ + { + "Name": "amount", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 1, + "Docs": [ + "Transferred from the pool to an external account." + ] + }, + { + "Name": "Burned", + "TypeFields": [ + { + "Name": "amount", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 2, + "Docs": [ + "Burned from the pool." + ] + }, + { + "Name": "Minted", + "TypeFields": [ + { + "Name": "amount", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Index": 3, + "Docs": [ + "Minted to the pool." + ] + } + ], + "Path": [ + "pallet_gear_staking_rewards", + "pallet", + "Event" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Event` enum of this pallet" + ] + }, + "334": { + "Variants": [ + { + "Name": "VoucherIssued", + "TypeFields": [ + { + "Name": "owner", + "TypeName": "AccountIdOf", + "TypeId": 0, + "Docs": [ + "Account id of owner and manager of the voucher." + ] + }, + { + "Name": "spender", + "TypeName": "AccountIdOf", + "TypeId": 0, + "Docs": [ + "Account id of user eligible to use the voucher." + ] + }, + { + "Name": "voucher_id", + "TypeName": "VoucherId", + "TypeId": 271, + "Docs": [ + "Voucher identifier." + ] + } + ], + "Index": 0, + "Docs": [ + "Voucher has been issued." + ] + }, + { + "Name": "VoucherRevoked", + "TypeFields": [ + { + "Name": "spender", + "TypeName": "AccountIdOf", + "TypeId": 0, + "Docs": [ + "Account id of the user whose voucher was revoked." + ] + }, + { + "Name": "voucher_id", + "TypeName": "VoucherId", + "TypeId": 271, + "Docs": [ + "Voucher identifier." + ] + } + ], + "Index": 1, + "Docs": [ + "Voucher has been revoked by owner.", + "", + "NOTE: currently means only \"refunded\"." + ] + }, + { + "Name": "VoucherUpdated", + "TypeFields": [ + { + "Name": "spender", + "TypeName": "AccountIdOf", + "TypeId": 0, + "Docs": [ + "Account id of user whose voucher was updated." + ] + }, + { + "Name": "voucher_id", + "TypeName": "VoucherId", + "TypeId": 271, + "Docs": [ + "Voucher identifier." + ] + }, + { + "Name": "new_owner", + "TypeName": "Option>", + "TypeId": 273, + "Docs": [ + "Optional field defining was the owner changed during update." + ] + } + ], + "Index": 2, + "Docs": [ + "Voucher has been updated." + ] + }, + { + "Name": "VoucherDeclined", + "TypeFields": [ + { + "Name": "spender", + "TypeName": "AccountIdOf", + "TypeId": 0, + "Docs": [ + "Account id of user who declined its own voucher." + ] + }, + { + "Name": "voucher_id", + "TypeName": "VoucherId", + "TypeId": 271, + "Docs": [ + "Voucher identifier." + ] + } + ], + "Index": 3, + "Docs": [ + "Voucher has been declined (set to expired state)." + ] + } + ], + "Path": [ + "pallet_gear_voucher", + "pallet", + "Event" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Pallet Gear Voucher event." + ] + }, + "335": { + "Variants": [ + { + "Name": "ApplyExtrinsic", + "TypeFields": [ + { + "TypeName": "u32", + "TypeId": 4 + } + ], + "Index": 0 + }, + { + "Name": "Finalization", + "TypeFields": null, + "Index": 1 + }, + { + "Name": "Initialization", + "TypeFields": null, + "Index": 2 + } + ], + "Path": [ + "frame_system", + "Phase" + ], + "TypeDef": "Variant" + }, + "336": { + "TypeId": 137, + "TypeDef": "Sequence" + }, + "337": { + "TypeFields": [ + { + "Name": "spec_version", + "TypeName": "codec::Compact", + "TypeId": 74 + }, + { + "Name": "spec_name", + "TypeName": "sp_runtime::RuntimeString", + "TypeId": 338 + } + ], + "Path": [ + "frame_system", + "LastRuntimeUpgradeInfo" + ], + "TypeDef": "Composite" + }, + "338": { + "Primitive": "Str", + "TypeDef": "Primitive" + }, + "339": { + "TypeFields": [ + { + "Name": "base_block", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "max_block", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "per_class", + "TypeName": "PerDispatchClass", + "TypeId": 340 + } + ], + "Path": [ + "frame_system", + "limits", + "BlockWeights" + ], + "TypeDef": "Composite" + }, + "340": { + "TypeFields": [ + { + "Name": "normal", + "TypeName": "T", + "TypeId": 341 + }, + { + "Name": "operational", + "TypeName": "T", + "TypeId": 341 + }, + { + "Name": "mandatory", + "TypeName": "T", + "TypeId": 341 + } + ], + "Path": [ + "frame_support", + "dispatch", + "PerDispatchClass" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 341 + } + ], + "TypeDef": "Composite" + }, + "341": { + "TypeFields": [ + { + "Name": "base_extrinsic", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "max_extrinsic", + "TypeName": "Option", + "TypeId": 287 + }, + { + "Name": "max_total", + "TypeName": "Option", + "TypeId": 287 + }, + { + "Name": "reserved", + "TypeName": "Option", + "TypeId": 287 + } + ], + "Path": [ + "frame_system", + "limits", + "WeightsPerClass" + ], + "TypeDef": "Composite" + }, + "342": { + "TypeFields": [ + { + "Name": "max", + "TypeName": "PerDispatchClass", + "TypeId": 343 + } + ], + "Path": [ + "frame_system", + "limits", + "BlockLength" + ], + "TypeDef": "Composite" + }, + "343": { + "TypeFields": [ + { + "Name": "normal", + "TypeName": "T", + "TypeId": 4 + }, + { + "Name": "operational", + "TypeName": "T", + "TypeId": 4 + }, + { + "Name": "mandatory", + "TypeName": "T", + "TypeId": 4 + } + ], + "Path": [ + "frame_support", + "dispatch", + "PerDispatchClass" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 4 + } + ], + "TypeDef": "Composite" + }, + "344": { + "TypeFields": [ + { + "Name": "read", + "TypeName": "u64", + "TypeId": 11 + }, + { + "Name": "write", + "TypeName": "u64", + "TypeId": 11 + } + ], + "Path": [ + "sp_weights", + "RuntimeDbWeight" + ], + "TypeDef": "Composite" + }, + "345": { + "TypeFields": [ + { + "Name": "spec_name", + "TypeName": "RuntimeString", + "TypeId": 338 + }, + { + "Name": "impl_name", + "TypeName": "RuntimeString", + "TypeId": 338 + }, + { + "Name": "authoring_version", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "spec_version", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "impl_version", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "apis", + "TypeName": "ApisVec", + "TypeId": 346 + }, + { + "Name": "transaction_version", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "state_version", + "TypeName": "u8", + "TypeId": 2 + } + ], + "Path": [ + "sp_version", + "RuntimeVersion" + ], + "TypeDef": "Composite" + }, + "346": { + "TypeFields": [ + { + "TypeId": 347 + } + ], + "Path": [ + "Cow" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 347 + } + ], + "TypeDef": "Composite" + }, + "347": { + "TypeId": 348, + "TypeDef": "Sequence" + }, + "348": { + "TypeIds": [ + 152, + 4 + ], + "TypeDef": "Tuple" + }, + "349": { + "Variants": [ + { + "Name": "InvalidSpecName", + "TypeFields": null, + "Index": 0, + "Docs": [ + "The name of specification does not match between the current runtime", + "and the new runtime." + ] + }, + { + "Name": "SpecVersionNeedsToIncrease", + "TypeFields": null, + "Index": 1, + "Docs": [ + "The specification version is not allowed to decrease between the current runtime", + "and the new runtime." + ] + }, + { + "Name": "FailedToExtractRuntimeVersion", + "TypeFields": null, + "Index": 2, + "Docs": [ + "Failed to extract the runtime version from the new runtime.", + "", + "Either calling `Core_version` or decoding `RuntimeVersion` failed." + ] + }, + { + "Name": "NonDefaultComposite", + "TypeFields": null, + "Index": 3, + "Docs": [ + "Suicide called when the account has non-default composite data." + ] + }, + { + "Name": "NonZeroRefCount", + "TypeFields": null, + "Index": 4, + "Docs": [ + "There is a non-zero reference count preventing the account from being purged." + ] + }, + { + "Name": "CallFiltered", + "TypeFields": null, + "Index": 5, + "Docs": [ + "The origin filter prevent the call to be dispatched." + ] + } + ], + "Path": [ + "frame_system", + "pallet", + "Error" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Error for the System pallet" + ] + }, + "350": { + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 351 + } + ], + "Path": [ + "bounded_collections", + "weak_bounded_vec", + "WeakBoundedVec" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 115 + }, + { + "Name": "S" + } + ], + "TypeDef": "Composite" + }, + "351": { + "TypeId": 115, + "TypeDef": "Sequence" + }, + "352": { + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 354 + } + ], + "Path": [ + "bounded_collections", + "weak_bounded_vec", + "WeakBoundedVec" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 353 + }, + { + "Name": "S" + } + ], + "TypeDef": "Composite" + }, + "353": { + "TypeIds": [ + 75, + 11 + ], + "TypeDef": "Tuple" + }, + "354": { + "TypeId": 353, + "TypeDef": "Sequence" + }, + "355": { + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 356 + } + ], + "Path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 1 + }, + { + "Name": "S" + } + ], + "TypeDef": "Composite" + }, + "356": { + "TypeId": 1, + "TypeDef": "Sequence" + }, + "357": { + "Variants": [ + { + "Name": "None", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Some", + "TypeFields": [ + { + "TypeId": 358 + } + ], + "Index": 1 + } + ], + "Path": [ + "Option" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 358 + } + ], + "TypeDef": "Variant" + }, + "358": { + "Variants": [ + { + "Name": "Primary", + "TypeFields": [ + { + "TypeName": "PrimaryPreDigest", + "TypeId": 359 + } + ], + "Index": 1 + }, + { + "Name": "SecondaryPlain", + "TypeFields": [ + { + "TypeName": "SecondaryPlainPreDigest", + "TypeId": 361 + } + ], + "Index": 2 + }, + { + "Name": "SecondaryVRF", + "TypeFields": [ + { + "TypeName": "SecondaryVRFPreDigest", + "TypeId": 362 + } + ], + "Index": 3 + } + ], + "Path": [ + "sp_consensus_babe", + "digests", + "PreDigest" + ], + "TypeDef": "Variant" + }, + "359": { + "TypeFields": [ + { + "Name": "authority_index", + "TypeName": "super::AuthorityIndex", + "TypeId": 4 + }, + { + "Name": "slot", + "TypeName": "Slot", + "TypeId": 76 + }, + { + "Name": "vrf_signature", + "TypeName": "VrfSignature", + "TypeId": 360 + } + ], + "Path": [ + "sp_consensus_babe", + "digests", + "PrimaryPreDigest" + ], + "TypeDef": "Composite" + }, + "360": { + "TypeFields": [ + { + "Name": "output", + "TypeName": "VrfOutput", + "TypeId": 1 + }, + { + "Name": "proof", + "TypeName": "VrfProof", + "TypeId": 88 + } + ], + "Path": [ + "sp_core", + "sr25519", + "vrf", + "VrfSignature" + ], + "TypeDef": "Composite" + }, + "361": { + "TypeFields": [ + { + "Name": "authority_index", + "TypeName": "super::AuthorityIndex", + "TypeId": 4 + }, + { + "Name": "slot", + "TypeName": "Slot", + "TypeId": 76 + } + ], + "Path": [ + "sp_consensus_babe", + "digests", + "SecondaryPlainPreDigest" + ], + "TypeDef": "Composite" + }, + "362": { + "TypeFields": [ + { + "Name": "authority_index", + "TypeName": "super::AuthorityIndex", + "TypeId": 4 + }, + { + "Name": "slot", + "TypeName": "Slot", + "TypeId": 76 + }, + { + "Name": "vrf_signature", + "TypeName": "VrfSignature", + "TypeId": 360 + } + ], + "Path": [ + "sp_consensus_babe", + "digests", + "SecondaryVRFPreDigest" + ], + "TypeDef": "Composite" + }, + "363": { + "TypeFields": [ + { + "Name": "c", + "TypeName": "(u64, u64)", + "TypeId": 79 + }, + { + "Name": "allowed_slots", + "TypeName": "AllowedSlots", + "TypeId": 80 + } + ], + "Path": [ + "sp_consensus_babe", + "BabeEpochConfiguration" + ], + "TypeDef": "Composite" + }, + "364": { + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 366 + } + ], + "Path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 365 + }, + { + "Name": "S" + } + ], + "TypeDef": "Composite" + }, + "365": { + "TypeIds": [ + 11, + 4 + ], + "TypeDef": "Tuple" + }, + "366": { + "TypeId": 365, + "TypeDef": "Sequence" + }, + "367": { + "Variants": [ + { + "Name": "InvalidEquivocationProof", + "TypeFields": null, + "Index": 0, + "Docs": [ + "An equivocation proof provided as part of an equivocation report is invalid." + ] + }, + { + "Name": "InvalidKeyOwnershipProof", + "TypeFields": null, + "Index": 1, + "Docs": [ + "A key ownership proof provided as part of an equivocation report is invalid." + ] + }, + { + "Name": "DuplicateOffenceReport", + "TypeFields": null, + "Index": 2, + "Docs": [ + "A given equivocation report is valid but already previously reported." + ] + }, + { + "Name": "InvalidConfiguration", + "TypeFields": null, + "Index": 3, + "Docs": [ + "Submitted configuration is invalid." + ] + } + ], + "Path": [ + "pallet_babe", + "pallet", + "Error" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Error` enum of this pallet." + ] + }, + "368": { + "Variants": [ + { + "Name": "Live", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "PendingPause", + "TypeFields": [ + { + "Name": "scheduled_at", + "TypeName": "N", + "TypeId": 4 + }, + { + "Name": "delay", + "TypeName": "N", + "TypeId": 4 + } + ], + "Index": 1 + }, + { + "Name": "Paused", + "TypeFields": null, + "Index": 2 + }, + { + "Name": "PendingResume", + "TypeFields": [ + { + "Name": "scheduled_at", + "TypeName": "N", + "TypeId": 4 + }, + { + "Name": "delay", + "TypeName": "N", + "TypeId": 4 + } + ], + "Index": 3 + } + ], + "Path": [ + "pallet_grandpa", + "StoredState" + ], + "TypeParams": [ + { + "Name": "N", + "TypeId": 4 + } + ], + "TypeDef": "Variant" + }, + "369": { + "TypeFields": [ + { + "Name": "scheduled_at", + "TypeName": "N", + "TypeId": 4 + }, + { + "Name": "delay", + "TypeName": "N", + "TypeId": 4 + }, + { + "Name": "next_authorities", + "TypeName": "BoundedAuthorityList", + "TypeId": 370 + }, + { + "Name": "forced", + "TypeName": "Option", + "TypeId": 117 + } + ], + "Path": [ + "pallet_grandpa", + "StoredPendingChange" + ], + "TypeParams": [ + { + "Name": "N", + "TypeId": 4 + }, + { + "Name": "Limit" + } + ], + "TypeDef": "Composite" + }, + "370": { + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 31 + } + ], + "Path": [ + "bounded_collections", + "weak_bounded_vec", + "WeakBoundedVec" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 32 + }, + { + "Name": "S" + } + ], + "TypeDef": "Composite" + }, + "371": { + "Variants": [ + { + "Name": "PauseFailed", + "TypeFields": null, + "Index": 0, + "Docs": [ + "Attempt to signal GRANDPA pause when the authority set isn't live", + "(either paused or already pending pause)." + ] + }, + { + "Name": "ResumeFailed", + "TypeFields": null, + "Index": 1, + "Docs": [ + "Attempt to signal GRANDPA resume when the authority set isn't paused", + "(either live or already pending resume)." + ] + }, + { + "Name": "ChangePending", + "TypeFields": null, + "Index": 2, + "Docs": [ + "Attempt to signal GRANDPA change with one already pending." + ] + }, + { + "Name": "TooSoon", + "TypeFields": null, + "Index": 3, + "Docs": [ + "Cannot signal forced change so soon after last." + ] + }, + { + "Name": "InvalidKeyOwnershipProof", + "TypeFields": null, + "Index": 4, + "Docs": [ + "A key ownership proof provided as part of an equivocation report is invalid." + ] + }, + { + "Name": "InvalidEquivocationProof", + "TypeFields": null, + "Index": 5, + "Docs": [ + "An equivocation proof provided as part of an equivocation report is invalid." + ] + }, + { + "Name": "DuplicateOffenceReport", + "TypeFields": null, + "Index": 6, + "Docs": [ + "A given equivocation report is valid but already previously reported." + ] + } + ], + "Path": [ + "pallet_grandpa", + "pallet", + "Error" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Error` enum of this pallet." + ] + }, + "372": { + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 375 + } + ], + "Path": [ + "bounded_collections", + "weak_bounded_vec", + "WeakBoundedVec" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 373 + }, + { + "Name": "S" + } + ], + "TypeDef": "Composite" + }, + "373": { + "TypeFields": [ + { + "Name": "id", + "TypeName": "LockIdentifier", + "TypeId": 152 + }, + { + "Name": "amount", + "TypeName": "Balance", + "TypeId": 6 + }, + { + "Name": "reasons", + "TypeName": "Reasons", + "TypeId": 374 + } + ], + "Path": [ + "pallet_balances", + "types", + "BalanceLock" + ], + "TypeParams": [ + { + "Name": "Balance", + "TypeId": 6 + } + ], + "TypeDef": "Composite" + }, + "374": { + "Variants": [ + { + "Name": "Fee", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Misc", + "TypeFields": null, + "Index": 1 + }, + { + "Name": "All", + "TypeFields": null, + "Index": 2 + } + ], + "Path": [ + "pallet_balances", + "types", + "Reasons" + ], + "TypeDef": "Variant" + }, + "375": { + "TypeId": 373, + "TypeDef": "Sequence" + }, + "376": { + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 378 + } + ], + "Path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 377 + }, + { + "Name": "S" + } + ], + "TypeDef": "Composite" + }, + "377": { + "TypeFields": [ + { + "Name": "id", + "TypeName": "ReserveIdentifier", + "TypeId": 152 + }, + { + "Name": "amount", + "TypeName": "Balance", + "TypeId": 6 + } + ], + "Path": [ + "pallet_balances", + "types", + "ReserveData" + ], + "TypeParams": [ + { + "Name": "ReserveIdentifier", + "TypeId": 152 + }, + { + "Name": "Balance", + "TypeId": 6 + } + ], + "TypeDef": "Composite" + }, + "378": { + "TypeId": 377, + "TypeDef": "Sequence" + }, + "379": { + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 383 + } + ], + "Path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 380 + }, + { + "Name": "S" + } + ], + "TypeDef": "Composite" + }, + "380": { + "TypeFields": [ + { + "Name": "id", + "TypeName": "Id", + "TypeId": 381 + }, + { + "Name": "amount", + "TypeName": "Balance", + "TypeId": 6 + } + ], + "Path": [ + "pallet_balances", + "types", + "IdAmount" + ], + "TypeParams": [ + { + "Name": "Id", + "TypeId": 381 + }, + { + "Name": "Balance", + "TypeId": 6 + } + ], + "TypeDef": "Composite" + }, + "381": { + "Variants": [ + { + "Name": "Preimage", + "TypeFields": [ + { + "TypeName": "pallet_preimage::HoldReason", + "TypeId": 382 + } + ], + "Index": 23 + } + ], + "Path": [ + "vara_runtime", + "RuntimeHoldReason" + ], + "TypeDef": "Variant" + }, + "382": { + "Variants": [ + { + "Name": "Preimage", + "TypeFields": null, + "Index": 0 + } + ], + "Path": [ + "pallet_preimage", + "pallet", + "HoldReason" + ], + "TypeDef": "Variant" + }, + "383": { + "TypeId": 380, + "TypeDef": "Sequence" + }, + "384": { + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 388 + } + ], + "Path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 385 + }, + { + "Name": "S" + } + ], + "TypeDef": "Composite" + }, + "385": { + "TypeFields": [ + { + "Name": "id", + "TypeName": "Id", + "TypeId": 386 + }, + { + "Name": "amount", + "TypeName": "Balance", + "TypeId": 6 + } + ], + "Path": [ + "pallet_balances", + "types", + "IdAmount" + ], + "TypeParams": [ + { + "Name": "Id", + "TypeId": 386 + }, + { + "Name": "Balance", + "TypeId": 6 + } + ], + "TypeDef": "Composite" + }, + "386": { + "Variants": [ + { + "Name": "NominationPools", + "TypeFields": [ + { + "TypeName": "pallet_nomination_pools::FreezeReason", + "TypeId": 387 + } + ], + "Index": 31 + } + ], + "Path": [ + "vara_runtime", + "RuntimeFreezeReason" + ], + "TypeDef": "Variant" + }, + "387": { + "Variants": [ + { + "Name": "PoolMinBalance", + "TypeFields": null, + "Index": 0 + } + ], + "Path": [ + "pallet_nomination_pools", + "pallet", + "FreezeReason" + ], + "TypeDef": "Variant" + }, + "388": { + "TypeId": 385, + "TypeDef": "Sequence" + }, + "389": { + "Variants": [ + { + "Name": "VestingBalance", + "TypeFields": null, + "Index": 0, + "Docs": [ + "Vesting balance too high to send value." + ] + }, + { + "Name": "LiquidityRestrictions", + "TypeFields": null, + "Index": 1, + "Docs": [ + "Account liquidity restrictions prevent withdrawal." + ] + }, + { + "Name": "InsufficientBalance", + "TypeFields": null, + "Index": 2, + "Docs": [ + "Balance too low to send value." + ] + }, + { + "Name": "ExistentialDeposit", + "TypeFields": null, + "Index": 3, + "Docs": [ + "Value too low to create account due to existential deposit." + ] + }, + { + "Name": "Expendability", + "TypeFields": null, + "Index": 4, + "Docs": [ + "Transfer/payment would kill account." + ] + }, + { + "Name": "ExistingVestingSchedule", + "TypeFields": null, + "Index": 5, + "Docs": [ + "A vesting schedule already exists for this account." + ] + }, + { + "Name": "DeadAccount", + "TypeFields": null, + "Index": 6, + "Docs": [ + "Beneficiary account must pre-exist." + ] + }, + { + "Name": "TooManyReserves", + "TypeFields": null, + "Index": 7, + "Docs": [ + "Number of named reserves exceed `MaxReserves`." + ] + }, + { + "Name": "TooManyHolds", + "TypeFields": null, + "Index": 8, + "Docs": [ + "Number of holds exceed `MaxHolds`." + ] + }, + { + "Name": "TooManyFreezes", + "TypeFields": null, + "Index": 9, + "Docs": [ + "Number of freezes exceed `MaxFreezes`." + ] + } + ], + "Path": [ + "pallet_balances", + "pallet", + "Error" + ], + "TypeParams": [ + { + "Name": "T" + }, + { + "Name": "I" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Error` enum of this pallet." + ] + }, + "390": { + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 391 + } + ], + "Path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 99 + }, + { + "Name": "S" + } + ], + "TypeDef": "Composite" + }, + "391": { + "TypeId": 99, + "TypeDef": "Sequence" + }, + "392": { + "Variants": [ + { + "Name": "V0", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "V1", + "TypeFields": null, + "Index": 1 + } + ], + "Path": [ + "pallet_vesting", + "Releases" + ], + "TypeDef": "Variant" + }, + "393": { + "Variants": [ + { + "Name": "NotVesting", + "TypeFields": null, + "Index": 0, + "Docs": [ + "The account given is not vesting." + ] + }, + { + "Name": "AtMaxVestingSchedules", + "TypeFields": null, + "Index": 1, + "Docs": [ + "The account already has `MaxVestingSchedules` count of schedules and thus", + "cannot add another one. Consider merging existing schedules in order to add another." + ] + }, + { + "Name": "AmountLow", + "TypeFields": null, + "Index": 2, + "Docs": [ + "Amount being transferred is too low to create a vesting schedule." + ] + }, + { + "Name": "ScheduleIndexOutOfBounds", + "TypeFields": null, + "Index": 3, + "Docs": [ + "An index was out of bounds of the vesting schedules." + ] + }, + { + "Name": "InvalidScheduleParams", + "TypeFields": null, + "Index": 4, + "Docs": [ + "Failed to create a new schedule because some parameter was invalid." + ] + } + ], + "Path": [ + "pallet_vesting", + "pallet", + "Error" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Error for the vesting pallet." + ] + }, + "394": { + "TypeFields": [ + { + "TypeName": "u128", + "TypeId": 6 + } + ], + "Path": [ + "sp_arithmetic", + "fixed_point", + "FixedU128" + ], + "TypeDef": "Composite" + }, + "395": { + "Variants": [ + { + "Name": "V1Ancient", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "V2", + "TypeFields": null, + "Index": 1 + } + ], + "Path": [ + "pallet_transaction_payment", + "Releases" + ], + "TypeDef": "Variant" + }, + "396": { + "TypeFields": [ + { + "Name": "id", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "prev", + "TypeName": "Option", + "TypeId": 273 + }, + { + "Name": "next", + "TypeName": "Option", + "TypeId": 273 + }, + { + "Name": "bag_upper", + "TypeName": "T::Score", + "TypeId": 11 + }, + { + "Name": "score", + "TypeName": "T::Score", + "TypeId": 11 + } + ], + "Path": [ + "pallet_bags_list", + "list", + "Node" + ], + "TypeParams": [ + { + "Name": "T" + }, + { + "Name": "I" + } + ], + "TypeDef": "Composite" + }, + "397": { + "TypeFields": [ + { + "Name": "head", + "TypeName": "Option", + "TypeId": 273 + }, + { + "Name": "tail", + "TypeName": "Option", + "TypeId": 273 + } + ], + "Path": [ + "pallet_bags_list", + "list", + "Bag" + ], + "TypeParams": [ + { + "Name": "T" + }, + { + "Name": "I" + } + ], + "TypeDef": "Composite" + }, + "398": { + "TypeId": 11, + "TypeDef": "Sequence" + }, + "399": { + "Variants": [ + { + "Name": "List", + "TypeFields": [ + { + "TypeName": "ListError", + "TypeId": 400 + } + ], + "Index": 0, + "Docs": [ + "A error in the list interface implementation." + ] + } + ], + "Path": [ + "pallet_bags_list", + "pallet", + "Error" + ], + "TypeParams": [ + { + "Name": "T" + }, + { + "Name": "I" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Error` enum of this pallet." + ] + }, + "400": { + "Variants": [ + { + "Name": "Duplicate", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "NotHeavier", + "TypeFields": null, + "Index": 1 + }, + { + "Name": "NotInSameBag", + "TypeFields": null, + "Index": 2 + }, + { + "Name": "NodeNotFound", + "TypeFields": null, + "Index": 3 + } + ], + "Path": [ + "pallet_bags_list", + "list", + "ListError" + ], + "TypeDef": "Variant" + }, + "401": { + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 402 + } + ], + "Path": [ + "bounded_collections", + "weak_bounded_vec", + "WeakBoundedVec" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 41 + }, + { + "Name": "S" + } + ], + "TypeDef": "Composite" + }, + "402": { + "TypeId": 41, + "TypeDef": "Sequence" + }, + "403": { + "TypeIds": [ + 4, + 0 + ], + "TypeDef": "Tuple" + }, + "404": { + "Variants": [ + { + "Name": "InvalidKey", + "TypeFields": null, + "Index": 0, + "Docs": [ + "Non existent public key." + ] + }, + { + "Name": "DuplicatedHeartbeat", + "TypeFields": null, + "Index": 1, + "Docs": [ + "Duplicated heartbeat." + ] + } + ], + "Path": [ + "pallet_im_online", + "pallet", + "Error" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Error` enum of this pallet." + ] + }, + "405": { + "TypeFields": [ + { + "Name": "stash", + "TypeName": "T::AccountId", + "TypeId": 0 + }, + { + "Name": "total", + "TypeName": "BalanceOf", + "TypeId": 46 + }, + { + "Name": "active", + "TypeName": "BalanceOf", + "TypeId": 46 + }, + { + "Name": "unlocking", + "TypeName": "BoundedVec>, T::MaxUnlockingChunks>", + "TypeId": 406 + }, + { + "Name": "legacy_claimed_rewards", + "TypeName": "BoundedVec", + "TypeId": 409 + } + ], + "Path": [ + "pallet_staking", + "StakingLedger" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Composite" + }, + "406": { + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 408 + } + ], + "Path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 407 + }, + { + "Name": "S" + } + ], + "TypeDef": "Composite" + }, + "407": { + "TypeFields": [ + { + "Name": "value", + "TypeName": "Balance", + "TypeId": 46 + }, + { + "Name": "era", + "TypeName": "EraIndex", + "TypeId": 74 + } + ], + "Path": [ + "pallet_staking", + "UnlockChunk" + ], + "TypeParams": [ + { + "Name": "Balance", + "TypeId": 6 + } + ], + "TypeDef": "Composite" + }, + "408": { + "TypeId": 407, + "TypeDef": "Sequence" + }, + "409": { + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 108 + } + ], + "Path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 4 + }, + { + "Name": "S" + } + ], + "TypeDef": "Composite" + }, + "410": { + "TypeFields": [ + { + "Name": "targets", + "TypeName": "BoundedVec>", + "TypeId": 411 + }, + { + "Name": "submitted_in", + "TypeName": "EraIndex", + "TypeId": 4 + }, + { + "Name": "suppressed", + "TypeName": "bool", + "TypeId": 54 + } + ], + "Path": [ + "pallet_staking", + "Nominations" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Composite" + }, + "411": { + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 97 + } + ], + "Path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 0 + }, + { + "Name": "S" + } + ], + "TypeDef": "Composite" + }, + "412": { + "TypeFields": [ + { + "Name": "index", + "TypeName": "EraIndex", + "TypeId": 4 + }, + { + "Name": "start", + "TypeName": "Option", + "TypeId": 264 + } + ], + "Path": [ + "pallet_staking", + "ActiveEraInfo" + ], + "TypeDef": "Composite" + }, + "413": { + "TypeFields": [ + { + "Name": "total", + "TypeName": "Balance", + "TypeId": 46 + }, + { + "Name": "own", + "TypeName": "Balance", + "TypeId": 46 + }, + { + "Name": "nominator_count", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "page_count", + "TypeName": "Page", + "TypeId": 4 + } + ], + "Path": [ + "sp_staking", + "PagedExposureMetadata" + ], + "TypeParams": [ + { + "Name": "Balance", + "TypeId": 6 + } + ], + "TypeDef": "Composite" + }, + "414": { + "TypeIds": [ + 4, + 0, + 4 + ], + "TypeDef": "Tuple" + }, + "415": { + "TypeFields": [ + { + "Name": "page_total", + "TypeName": "Balance", + "TypeId": 46 + }, + { + "Name": "others", + "TypeName": "Vec>", + "TypeId": 47 + } + ], + "Path": [ + "sp_staking", + "ExposurePage" + ], + "TypeParams": [ + { + "Name": "AccountId", + "TypeId": 0 + }, + { + "Name": "Balance", + "TypeId": 6 + } + ], + "TypeDef": "Composite" + }, + "416": { + "TypeFields": [ + { + "Name": "total", + "TypeName": "RewardPoint", + "TypeId": 4 + }, + { + "Name": "individual", + "TypeName": "BTreeMap", + "TypeId": 417 + } + ], + "Path": [ + "pallet_staking", + "EraRewardPoints" + ], + "TypeParams": [ + { + "Name": "AccountId", + "TypeId": 0 + } + ], + "TypeDef": "Composite" + }, + "417": { + "TypeFields": [ + { + "TypeId": 418 + } + ], + "Path": [ + "BTreeMap" + ], + "TypeParams": [ + { + "Name": "K", + "TypeId": 0 + }, + { + "Name": "V", + "TypeId": 4 + } + ], + "TypeDef": "Composite" + }, + "418": { + "TypeId": 419, + "TypeDef": "Sequence" + }, + "419": { + "TypeIds": [ + 0, + 4 + ], + "TypeDef": "Tuple" + }, + "420": { + "TypeId": 421, + "TypeDef": "Sequence" + }, + "421": { + "TypeFields": [ + { + "Name": "validator", + "TypeName": "AccountId", + "TypeId": 0 + }, + { + "Name": "own", + "TypeName": "Balance", + "TypeId": 6 + }, + { + "Name": "others", + "TypeName": "Vec<(AccountId, Balance)>", + "TypeId": 245 + }, + { + "Name": "reporters", + "TypeName": "Vec", + "TypeId": 97 + }, + { + "Name": "payout", + "TypeName": "Balance", + "TypeId": 6 + } + ], + "Path": [ + "pallet_staking", + "UnappliedSlash" + ], + "TypeParams": [ + { + "Name": "AccountId", + "TypeId": 0 + }, + { + "Name": "Balance", + "TypeId": 6 + } + ], + "TypeDef": "Composite" + }, + "422": { + "TypeIds": [ + 51, + 6 + ], + "TypeDef": "Tuple" + }, + "423": { + "TypeFields": [ + { + "Name": "span_index", + "TypeName": "SpanIndex", + "TypeId": 4 + }, + { + "Name": "last_start", + "TypeName": "EraIndex", + "TypeId": 4 + }, + { + "Name": "last_nonzero_slash", + "TypeName": "EraIndex", + "TypeId": 4 + }, + { + "Name": "prior", + "TypeName": "Vec", + "TypeId": 108 + } + ], + "Path": [ + "pallet_staking", + "slashing", + "SlashingSpans" + ], + "TypeDef": "Composite" + }, + "424": { + "TypeFields": [ + { + "Name": "slashed", + "TypeName": "Balance", + "TypeId": 6 + }, + { + "Name": "paid_out", + "TypeName": "Balance", + "TypeId": 6 + } + ], + "Path": [ + "pallet_staking", + "slashing", + "SpanRecord" + ], + "TypeParams": [ + { + "Name": "Balance", + "TypeId": 6 + } + ], + "TypeDef": "Composite" + }, + "425": { + "TypeId": 426, + "TypeDef": "Sequence" + }, + "426": { + "TypeIds": [ + 4, + 54 + ], + "TypeDef": "Tuple" + }, + "427": { + "Variants": [ + { + "Name": "NotController", + "TypeFields": null, + "Index": 0, + "Docs": [ + "Not a controller account." + ] + }, + { + "Name": "NotStash", + "TypeFields": null, + "Index": 1, + "Docs": [ + "Not a stash account." + ] + }, + { + "Name": "AlreadyBonded", + "TypeFields": null, + "Index": 2, + "Docs": [ + "Stash is already bonded." + ] + }, + { + "Name": "AlreadyPaired", + "TypeFields": null, + "Index": 3, + "Docs": [ + "Controller is already paired." + ] + }, + { + "Name": "EmptyTargets", + "TypeFields": null, + "Index": 4, + "Docs": [ + "Targets cannot be empty." + ] + }, + { + "Name": "DuplicateIndex", + "TypeFields": null, + "Index": 5, + "Docs": [ + "Duplicate index." + ] + }, + { + "Name": "InvalidSlashIndex", + "TypeFields": null, + "Index": 6, + "Docs": [ + "Slash record index out of bounds." + ] + }, + { + "Name": "InsufficientBond", + "TypeFields": null, + "Index": 7, + "Docs": [ + "Cannot have a validator or nominator role, with value less than the minimum defined by", + "governance (see `MinValidatorBond` and `MinNominatorBond`). If unbonding is the", + "intention, `chill` first to remove one's role as validator/nominator." + ] + }, + { + "Name": "NoMoreChunks", + "TypeFields": null, + "Index": 8, + "Docs": [ + "Can not schedule more unlock chunks." + ] + }, + { + "Name": "NoUnlockChunk", + "TypeFields": null, + "Index": 9, + "Docs": [ + "Can not rebond without unlocking chunks." + ] + }, + { + "Name": "FundedTarget", + "TypeFields": null, + "Index": 10, + "Docs": [ + "Attempting to target a stash that still has funds." + ] + }, + { + "Name": "InvalidEraToReward", + "TypeFields": null, + "Index": 11, + "Docs": [ + "Invalid era to reward." + ] + }, + { + "Name": "InvalidNumberOfNominations", + "TypeFields": null, + "Index": 12, + "Docs": [ + "Invalid number of nominations." + ] + }, + { + "Name": "NotSortedAndUnique", + "TypeFields": null, + "Index": 13, + "Docs": [ + "Items are not sorted and unique." + ] + }, + { + "Name": "AlreadyClaimed", + "TypeFields": null, + "Index": 14, + "Docs": [ + "Rewards for this era have already been claimed for this validator." + ] + }, + { + "Name": "InvalidPage", + "TypeFields": null, + "Index": 15, + "Docs": [ + "No nominators exist on this page." + ] + }, + { + "Name": "IncorrectHistoryDepth", + "TypeFields": null, + "Index": 16, + "Docs": [ + "Incorrect previous history depth input provided." + ] + }, + { + "Name": "IncorrectSlashingSpans", + "TypeFields": null, + "Index": 17, + "Docs": [ + "Incorrect number of slashing spans provided." + ] + }, + { + "Name": "BadState", + "TypeFields": null, + "Index": 18, + "Docs": [ + "Internal state has become somehow corrupted and the operation cannot continue." + ] + }, + { + "Name": "TooManyTargets", + "TypeFields": null, + "Index": 19, + "Docs": [ + "Too many nomination targets supplied." + ] + }, + { + "Name": "BadTarget", + "TypeFields": null, + "Index": 20, + "Docs": [ + "A nomination target was supplied that was blocked or otherwise not a validator." + ] + }, + { + "Name": "CannotChillOther", + "TypeFields": null, + "Index": 21, + "Docs": [ + "The user has enough bond and thus cannot be chilled forcefully by an external person." + ] + }, + { + "Name": "TooManyNominators", + "TypeFields": null, + "Index": 22, + "Docs": [ + "There are too many nominators in the system. Governance needs to adjust the staking", + "settings to keep things safe for the runtime." + ] + }, + { + "Name": "TooManyValidators", + "TypeFields": null, + "Index": 23, + "Docs": [ + "There are too many validator candidates in the system. Governance needs to adjust the", + "staking settings to keep things safe for the runtime." + ] + }, + { + "Name": "CommissionTooLow", + "TypeFields": null, + "Index": 24, + "Docs": [ + "Commission is too low. Must be at least `MinCommission`." + ] + }, + { + "Name": "BoundNotMet", + "TypeFields": null, + "Index": 25, + "Docs": [ + "Some bound is not met." + ] + } + ], + "Path": [ + "pallet_staking", + "pallet", + "pallet", + "Error" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Error` enum of this pallet." + ] + }, + "428": { + "TypeId": 429, + "TypeDef": "Sequence" + }, + "429": { + "TypeIds": [ + 0, + 114 + ], + "TypeDef": "Tuple" + }, + "430": { + "TypeIds": [ + 431, + 13 + ], + "TypeDef": "Tuple" + }, + "431": { + "TypeFields": [ + { + "TypeName": "[u8; 4]", + "TypeId": 17 + } + ], + "Path": [ + "sp_core", + "crypto", + "KeyTypeId" + ], + "TypeDef": "Composite" + }, + "432": { + "Variants": [ + { + "Name": "InvalidProof", + "TypeFields": null, + "Index": 0, + "Docs": [ + "Invalid ownership proof." + ] + }, + { + "Name": "NoAssociatedValidatorId", + "TypeFields": null, + "Index": 1, + "Docs": [ + "No associated validator ID for account." + ] + }, + { + "Name": "DuplicatedKey", + "TypeFields": null, + "Index": 2, + "Docs": [ + "Registered duplicate key." + ] + }, + { + "Name": "NoKeys", + "TypeFields": null, + "Index": 3, + "Docs": [ + "No keys are associated with this account." + ] + }, + { + "Name": "NoAccount", + "TypeFields": null, + "Index": 4, + "Docs": [ + "Key setting account is not live, so it's impossible to associate keys." + ] + } + ], + "Path": [ + "pallet_session", + "pallet", + "Error" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Error for the session pallet." + ] + }, + "433": { + "TypeFields": [ + { + "Name": "proposer", + "TypeName": "AccountId", + "TypeId": 0 + }, + { + "Name": "value", + "TypeName": "Balance", + "TypeId": 6 + }, + { + "Name": "beneficiary", + "TypeName": "AccountId", + "TypeId": 0 + }, + { + "Name": "bond", + "TypeName": "Balance", + "TypeId": 6 + } + ], + "Path": [ + "pallet_treasury", + "Proposal" + ], + "TypeParams": [ + { + "Name": "AccountId", + "TypeId": 0 + }, + { + "Name": "Balance", + "TypeId": 6 + } + ], + "TypeDef": "Composite" + }, + "434": { + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 108 + } + ], + "Path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 4 + }, + { + "Name": "S" + } + ], + "TypeDef": "Composite" + }, + "435": { + "TypeFields": [ + { + "Name": "asset_kind", + "TypeName": "AssetKind", + "TypeId": 58 + }, + { + "Name": "amount", + "TypeName": "AssetBalance", + "TypeId": 6 + }, + { + "Name": "beneficiary", + "TypeName": "Beneficiary", + "TypeId": 0 + }, + { + "Name": "valid_from", + "TypeName": "BlockNumber", + "TypeId": 4 + }, + { + "Name": "expire_at", + "TypeName": "BlockNumber", + "TypeId": 4 + }, + { + "Name": "status", + "TypeName": "PaymentState", + "TypeId": 436 + } + ], + "Path": [ + "pallet_treasury", + "SpendStatus" + ], + "TypeParams": [ + { + "Name": "AssetKind", + "TypeId": 58 + }, + { + "Name": "AssetBalance", + "TypeId": 6 + }, + { + "Name": "Beneficiary", + "TypeId": 0 + }, + { + "Name": "BlockNumber", + "TypeId": 4 + }, + { + "Name": "PaymentId", + "TypeId": 58 + } + ], + "TypeDef": "Composite" + }, + "436": { + "Variants": [ + { + "Name": "Pending", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Attempted", + "TypeFields": [ + { + "Name": "id", + "TypeName": "Id", + "TypeId": 58 + } + ], + "Index": 1 + }, + { + "Name": "Failed", + "TypeFields": null, + "Index": 2 + } + ], + "Path": [ + "pallet_treasury", + "PaymentState" + ], + "TypeParams": [ + { + "Name": "Id", + "TypeId": 58 + } + ], + "TypeDef": "Variant" + }, + "437": { + "TypeFields": [ + { + "TypeName": "u32", + "TypeId": 4 + } + ], + "Path": [ + "sp_arithmetic", + "per_things", + "Permill" + ], + "TypeDef": "Composite" + }, + "438": { + "TypeFields": [ + { + "TypeName": "[u8; 8]", + "TypeId": 152 + } + ], + "Path": [ + "frame_support", + "PalletId" + ], + "TypeDef": "Composite" + }, + "439": { + "Variants": [ + { + "Name": "InsufficientProposersBalance", + "TypeFields": null, + "Index": 0, + "Docs": [ + "Proposer's balance is too low." + ] + }, + { + "Name": "InvalidIndex", + "TypeFields": null, + "Index": 1, + "Docs": [ + "No proposal, bounty or spend at that index." + ] + }, + { + "Name": "TooManyApprovals", + "TypeFields": null, + "Index": 2, + "Docs": [ + "Too many approvals in the queue." + ] + }, + { + "Name": "InsufficientPermission", + "TypeFields": null, + "Index": 3, + "Docs": [ + "The spend origin is valid but the amount it is allowed to spend is lower than the", + "amount to be spent." + ] + }, + { + "Name": "ProposalNotApproved", + "TypeFields": null, + "Index": 4, + "Docs": [ + "Proposal has not been approved." + ] + }, + { + "Name": "FailedToConvertBalance", + "TypeFields": null, + "Index": 5, + "Docs": [ + "The balance of the asset kind is not convertible to the balance of the native asset." + ] + }, + { + "Name": "SpendExpired", + "TypeFields": null, + "Index": 6, + "Docs": [ + "The spend has expired and cannot be claimed." + ] + }, + { + "Name": "EarlyPayout", + "TypeFields": null, + "Index": 7, + "Docs": [ + "The spend is not yet eligible for payout." + ] + }, + { + "Name": "AlreadyAttempted", + "TypeFields": null, + "Index": 8, + "Docs": [ + "The payment has already been attempted." + ] + }, + { + "Name": "PayoutError", + "TypeFields": null, + "Index": 9, + "Docs": [ + "There was some issue with the mechanism of payment." + ] + }, + { + "Name": "NotAttempted", + "TypeFields": null, + "Index": 10, + "Docs": [ + "The payout was not yet attempted/claimed." + ] + }, + { + "Name": "Inconclusive", + "TypeFields": null, + "Index": 11, + "Docs": [ + "The payment has neither failed nor succeeded yet." + ] + } + ], + "Path": [ + "pallet_treasury", + "pallet", + "Error" + ], + "TypeParams": [ + { + "Name": "T" + }, + { + "Name": "I" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Error for the treasury pallet." + ] + }, + "440": { + "TypeIds": [ + 12, + 4 + ], + "TypeDef": "Tuple" + }, + "441": { + "Variants": [ + { + "Name": "TooManyCalls", + "TypeFields": null, + "Index": 0, + "Docs": [ + "Too many calls batched." + ] + } + ], + "Path": [ + "pallet_utility", + "pallet", + "Error" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Error` enum of this pallet." + ] + }, + "442": { + "TypeIds": [ + 0, + 63 + ], + "TypeDef": "Tuple" + }, + "443": { + "Variants": [ + { + "Name": "Casting", + "TypeFields": [ + { + "TypeName": "Casting", + "TypeId": 444 + } + ], + "Index": 0 + }, + { + "Name": "Delegating", + "TypeFields": [ + { + "TypeName": "Delegating", + "TypeId": 450 + } + ], + "Index": 1 + } + ], + "Path": [ + "pallet_conviction_voting", + "vote", + "Voting" + ], + "TypeParams": [ + { + "Name": "Balance", + "TypeId": 6 + }, + { + "Name": "AccountId", + "TypeId": 0 + }, + { + "Name": "BlockNumber", + "TypeId": 4 + }, + { + "Name": "PollIndex", + "TypeId": 4 + }, + { + "Name": "MaxVotes" + } + ], + "TypeDef": "Variant" + }, + "444": { + "TypeFields": [ + { + "Name": "votes", + "TypeName": "BoundedVec<(PollIndex, AccountVote), MaxVotes>", + "TypeId": 445 + }, + { + "Name": "delegations", + "TypeName": "Delegations", + "TypeId": 448 + }, + { + "Name": "prior", + "TypeName": "PriorLock", + "TypeId": 449 + } + ], + "Path": [ + "pallet_conviction_voting", + "vote", + "Casting" + ], + "TypeParams": [ + { + "Name": "Balance", + "TypeId": 6 + }, + { + "Name": "BlockNumber", + "TypeId": 4 + }, + { + "Name": "PollIndex", + "TypeId": 4 + }, + { + "Name": "MaxVotes" + } + ], + "TypeDef": "Composite" + }, + "445": { + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 447 + } + ], + "Path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 446 + }, + { + "Name": "S" + } + ], + "TypeDef": "Composite" + }, + "446": { + "TypeIds": [ + 4, + 125 + ], + "TypeDef": "Tuple" + }, + "447": { + "TypeId": 446, + "TypeDef": "Sequence" + }, + "448": { + "TypeFields": [ + { + "Name": "votes", + "TypeName": "Balance", + "TypeId": 6 + }, + { + "Name": "capital", + "TypeName": "Balance", + "TypeId": 6 + } + ], + "Path": [ + "pallet_conviction_voting", + "types", + "Delegations" + ], + "TypeParams": [ + { + "Name": "Balance", + "TypeId": 6 + } + ], + "TypeDef": "Composite" + }, + "449": { + "TypeFields": [ + { + "TypeName": "BlockNumber", + "TypeId": 4 + }, + { + "TypeName": "Balance", + "TypeId": 6 + } + ], + "Path": [ + "pallet_conviction_voting", + "vote", + "PriorLock" + ], + "TypeParams": [ + { + "Name": "BlockNumber", + "TypeId": 4 + }, + { + "Name": "Balance", + "TypeId": 6 + } + ], + "TypeDef": "Composite" + }, + "450": { + "TypeFields": [ + { + "Name": "balance", + "TypeName": "Balance", + "TypeId": 6 + }, + { + "Name": "target", + "TypeName": "AccountId", + "TypeId": 0 + }, + { + "Name": "conviction", + "TypeName": "Conviction", + "TypeId": 127 + }, + { + "Name": "delegations", + "TypeName": "Delegations", + "TypeId": 448 + }, + { + "Name": "prior", + "TypeName": "PriorLock", + "TypeId": 449 + } + ], + "Path": [ + "pallet_conviction_voting", + "vote", + "Delegating" + ], + "TypeParams": [ + { + "Name": "Balance", + "TypeId": 6 + }, + { + "Name": "AccountId", + "TypeId": 0 + }, + { + "Name": "BlockNumber", + "TypeId": 4 + } + ], + "TypeDef": "Composite" + }, + "451": { + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 453 + } + ], + "Path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 452 + }, + { + "Name": "S" + } + ], + "TypeDef": "Composite" + }, + "452": { + "TypeIds": [ + 63, + 6 + ], + "TypeDef": "Tuple" + }, + "453": { + "TypeId": 452, + "TypeDef": "Sequence" + }, + "454": { + "Variants": [ + { + "Name": "NotOngoing", + "TypeFields": null, + "Index": 0, + "Docs": [ + "Poll is not ongoing." + ] + }, + { + "Name": "NotVoter", + "TypeFields": null, + "Index": 1, + "Docs": [ + "The given account did not vote on the poll." + ] + }, + { + "Name": "NoPermission", + "TypeFields": null, + "Index": 2, + "Docs": [ + "The actor has no permission to conduct the action." + ] + }, + { + "Name": "NoPermissionYet", + "TypeFields": null, + "Index": 3, + "Docs": [ + "The actor has no permission to conduct the action right now but will do in the future." + ] + }, + { + "Name": "AlreadyDelegating", + "TypeFields": null, + "Index": 4, + "Docs": [ + "The account is already delegating." + ] + }, + { + "Name": "AlreadyVoting", + "TypeFields": null, + "Index": 5, + "Docs": [ + "The account currently has votes attached to it and the operation cannot succeed until", + "these are removed, either through `unvote` or `reap_vote`." + ] + }, + { + "Name": "InsufficientFunds", + "TypeFields": null, + "Index": 6, + "Docs": [ + "Too high a balance was provided that the account cannot afford." + ] + }, + { + "Name": "NotDelegating", + "TypeFields": null, + "Index": 7, + "Docs": [ + "The account is not currently delegating." + ] + }, + { + "Name": "Nonsense", + "TypeFields": null, + "Index": 8, + "Docs": [ + "Delegation to oneself makes no sense." + ] + }, + { + "Name": "MaxVotesReached", + "TypeFields": null, + "Index": 9, + "Docs": [ + "Maximum number of votes reached." + ] + }, + { + "Name": "ClassNeeded", + "TypeFields": null, + "Index": 10, + "Docs": [ + "The class must be supplied since it is not easily determinable from the state." + ] + }, + { + "Name": "BadClass", + "TypeFields": null, + "Index": 11, + "Docs": [ + "The class ID supplied is invalid." + ] + } + ], + "Path": [ + "pallet_conviction_voting", + "pallet", + "Error" + ], + "TypeParams": [ + { + "Name": "T" + }, + { + "Name": "I" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Error` enum of this pallet." + ] + }, + "455": { + "Variants": [ + { + "Name": "Ongoing", + "TypeFields": [ + { + "TypeName": "ReferendumStatus", + "TypeId": 456 + } + ], + "Index": 0 + }, + { + "Name": "Approved", + "TypeFields": [ + { + "TypeName": "Moment", + "TypeId": 4 + }, + { + "TypeName": "Option>", + "TypeId": 458 + }, + { + "TypeName": "Option>", + "TypeId": 458 + } + ], + "Index": 1 + }, + { + "Name": "Rejected", + "TypeFields": [ + { + "TypeName": "Moment", + "TypeId": 4 + }, + { + "TypeName": "Option>", + "TypeId": 458 + }, + { + "TypeName": "Option>", + "TypeId": 458 + } + ], + "Index": 2 + }, + { + "Name": "Cancelled", + "TypeFields": [ + { + "TypeName": "Moment", + "TypeId": 4 + }, + { + "TypeName": "Option>", + "TypeId": 458 + }, + { + "TypeName": "Option>", + "TypeId": 458 + } + ], + "Index": 3 + }, + { + "Name": "TimedOut", + "TypeFields": [ + { + "TypeName": "Moment", + "TypeId": 4 + }, + { + "TypeName": "Option>", + "TypeId": 458 + }, + { + "TypeName": "Option>", + "TypeId": 458 + } + ], + "Index": 4 + }, + { + "Name": "Killed", + "TypeFields": [ + { + "TypeName": "Moment", + "TypeId": 4 + } + ], + "Index": 5 + } + ], + "Path": [ + "pallet_referenda", + "types", + "ReferendumInfo" + ], + "TypeParams": [ + { + "Name": "TrackId", + "TypeId": 63 + }, + { + "Name": "RuntimeOrigin", + "TypeId": 120 + }, + { + "Name": "Moment", + "TypeId": 4 + }, + { + "Name": "Call", + "TypeId": 64 + }, + { + "Name": "Balance", + "TypeId": 6 + }, + { + "Name": "Tally", + "TypeId": 279 + }, + { + "Name": "AccountId", + "TypeId": 0 + }, + { + "Name": "ScheduleAddress", + "TypeId": 137 + } + ], + "TypeDef": "Variant" + }, + "456": { + "TypeFields": [ + { + "Name": "track", + "TypeName": "TrackId", + "TypeId": 63 + }, + { + "Name": "origin", + "TypeName": "RuntimeOrigin", + "TypeId": 120 + }, + { + "Name": "proposal", + "TypeName": "Call", + "TypeId": 64 + }, + { + "Name": "enactment", + "TypeName": "DispatchTime", + "TypeId": 130 + }, + { + "Name": "submitted", + "TypeName": "Moment", + "TypeId": 4 + }, + { + "Name": "submission_deposit", + "TypeName": "Deposit", + "TypeId": 457 + }, + { + "Name": "decision_deposit", + "TypeName": "Option>", + "TypeId": 458 + }, + { + "Name": "deciding", + "TypeName": "Option>", + "TypeId": 459 + }, + { + "Name": "tally", + "TypeName": "Tally", + "TypeId": 279 + }, + { + "Name": "in_queue", + "TypeName": "bool", + "TypeId": 54 + }, + { + "Name": "alarm", + "TypeName": "Option<(Moment, ScheduleAddress)>", + "TypeId": 461 + } + ], + "Path": [ + "pallet_referenda", + "types", + "ReferendumStatus" + ], + "TypeParams": [ + { + "Name": "TrackId", + "TypeId": 63 + }, + { + "Name": "RuntimeOrigin", + "TypeId": 120 + }, + { + "Name": "Moment", + "TypeId": 4 + }, + { + "Name": "Call", + "TypeId": 64 + }, + { + "Name": "Balance", + "TypeId": 6 + }, + { + "Name": "Tally", + "TypeId": 279 + }, + { + "Name": "AccountId", + "TypeId": 0 + }, + { + "Name": "ScheduleAddress", + "TypeId": 137 + } + ], + "TypeDef": "Composite" + }, + "457": { + "TypeFields": [ + { + "Name": "who", + "TypeName": "AccountId", + "TypeId": 0 + }, + { + "Name": "amount", + "TypeName": "Balance", + "TypeId": 6 + } + ], + "Path": [ + "pallet_referenda", + "types", + "Deposit" + ], + "TypeParams": [ + { + "Name": "AccountId", + "TypeId": 0 + }, + { + "Name": "Balance", + "TypeId": 6 + } + ], + "TypeDef": "Composite" + }, + "458": { + "Variants": [ + { + "Name": "None", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Some", + "TypeFields": [ + { + "TypeId": 457 + } + ], + "Index": 1 + } + ], + "Path": [ + "Option" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 457 + } + ], + "TypeDef": "Variant" + }, + "459": { + "Variants": [ + { + "Name": "None", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Some", + "TypeFields": [ + { + "TypeId": 460 + } + ], + "Index": 1 + } + ], + "Path": [ + "Option" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 460 + } + ], + "TypeDef": "Variant" + }, + "460": { + "TypeFields": [ + { + "Name": "since", + "TypeName": "BlockNumber", + "TypeId": 4 + }, + { + "Name": "confirming", + "TypeName": "Option", + "TypeId": 117 + } + ], + "Path": [ + "pallet_referenda", + "types", + "DecidingStatus" + ], + "TypeParams": [ + { + "Name": "BlockNumber", + "TypeId": 4 + } + ], + "TypeDef": "Composite" + }, + "461": { + "Variants": [ + { + "Name": "None", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Some", + "TypeFields": [ + { + "TypeId": 462 + } + ], + "Index": 1 + } + ], + "Path": [ + "Option" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 462 + } + ], + "TypeDef": "Variant" + }, + "462": { + "TypeIds": [ + 4, + 137 + ], + "TypeDef": "Tuple" + }, + "463": { + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 465 + } + ], + "Path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 464 + }, + { + "Name": "S" + } + ], + "TypeDef": "Composite" + }, + "464": { + "TypeIds": [ + 4, + 6 + ], + "TypeDef": "Tuple" + }, + "465": { + "TypeId": 464, + "TypeDef": "Sequence" + }, + "466": { + "TypeId": 467, + "TypeDef": "Sequence" + }, + "467": { + "TypeIds": [ + 63, + 468 + ], + "TypeDef": "Tuple" + }, + "468": { + "TypeFields": [ + { + "Name": "name", + "TypeName": "&'static str", + "TypeId": 338 + }, + { + "Name": "max_deciding", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "decision_deposit", + "TypeName": "Balance", + "TypeId": 6 + }, + { + "Name": "prepare_period", + "TypeName": "Moment", + "TypeId": 4 + }, + { + "Name": "decision_period", + "TypeName": "Moment", + "TypeId": 4 + }, + { + "Name": "confirm_period", + "TypeName": "Moment", + "TypeId": 4 + }, + { + "Name": "min_enactment_period", + "TypeName": "Moment", + "TypeId": 4 + }, + { + "Name": "min_approval", + "TypeName": "Curve", + "TypeId": 469 + }, + { + "Name": "min_support", + "TypeName": "Curve", + "TypeId": 469 + } + ], + "Path": [ + "pallet_referenda", + "types", + "TrackInfo" + ], + "TypeParams": [ + { + "Name": "Balance", + "TypeId": 6 + }, + { + "Name": "Moment", + "TypeId": 4 + } + ], + "TypeDef": "Composite" + }, + "469": { + "Variants": [ + { + "Name": "LinearDecreasing", + "TypeFields": [ + { + "Name": "length", + "TypeName": "Perbill", + "TypeId": 51 + }, + { + "Name": "floor", + "TypeName": "Perbill", + "TypeId": 51 + }, + { + "Name": "ceil", + "TypeName": "Perbill", + "TypeId": 51 + } + ], + "Index": 0 + }, + { + "Name": "SteppedDecreasing", + "TypeFields": [ + { + "Name": "begin", + "TypeName": "Perbill", + "TypeId": 51 + }, + { + "Name": "end", + "TypeName": "Perbill", + "TypeId": 51 + }, + { + "Name": "step", + "TypeName": "Perbill", + "TypeId": 51 + }, + { + "Name": "period", + "TypeName": "Perbill", + "TypeId": 51 + } + ], + "Index": 1 + }, + { + "Name": "Reciprocal", + "TypeFields": [ + { + "Name": "factor", + "TypeName": "FixedI64", + "TypeId": 470 + }, + { + "Name": "x_offset", + "TypeName": "FixedI64", + "TypeId": 470 + }, + { + "Name": "y_offset", + "TypeName": "FixedI64", + "TypeId": 470 + } + ], + "Index": 2 + } + ], + "Path": [ + "pallet_referenda", + "types", + "Curve" + ], + "TypeDef": "Variant" + }, + "470": { + "TypeFields": [ + { + "TypeName": "i64", + "TypeId": 471 + } + ], + "Path": [ + "sp_arithmetic", + "fixed_point", + "FixedI64" + ], + "TypeDef": "Composite" + }, + "471": { + "Primitive": "I64", + "TypeDef": "Primitive" + }, + "472": { + "Variants": [ + { + "Name": "NotOngoing", + "TypeFields": null, + "Index": 0, + "Docs": [ + "Referendum is not ongoing." + ] + }, + { + "Name": "HasDeposit", + "TypeFields": null, + "Index": 1, + "Docs": [ + "Referendum's decision deposit is already paid." + ] + }, + { + "Name": "BadTrack", + "TypeFields": null, + "Index": 2, + "Docs": [ + "The track identifier given was invalid." + ] + }, + { + "Name": "Full", + "TypeFields": null, + "Index": 3, + "Docs": [ + "There are already a full complement of referenda in progress for this track." + ] + }, + { + "Name": "QueueEmpty", + "TypeFields": null, + "Index": 4, + "Docs": [ + "The queue of the track is empty." + ] + }, + { + "Name": "BadReferendum", + "TypeFields": null, + "Index": 5, + "Docs": [ + "The referendum index provided is invalid in this context." + ] + }, + { + "Name": "NothingToDo", + "TypeFields": null, + "Index": 6, + "Docs": [ + "There was nothing to do in the advancement." + ] + }, + { + "Name": "NoTrack", + "TypeFields": null, + "Index": 7, + "Docs": [ + "No track exists for the proposal origin." + ] + }, + { + "Name": "Unfinished", + "TypeFields": null, + "Index": 8, + "Docs": [ + "Any deposit cannot be refunded until after the decision is over." + ] + }, + { + "Name": "NoPermission", + "TypeFields": null, + "Index": 9, + "Docs": [ + "The deposit refunder is not the depositor." + ] + }, + { + "Name": "NoDeposit", + "TypeFields": null, + "Index": 10, + "Docs": [ + "The deposit cannot be refunded since none was made." + ] + }, + { + "Name": "BadStatus", + "TypeFields": null, + "Index": 11, + "Docs": [ + "The referendum status is invalid for this operation." + ] + }, + { + "Name": "PreimageNotExist", + "TypeFields": null, + "Index": 12, + "Docs": [ + "The preimage does not exist." + ] + } + ], + "Path": [ + "pallet_referenda", + "pallet", + "Error" + ], + "TypeParams": [ + { + "Name": "T" + }, + { + "Name": "I" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Error` enum of this pallet." + ] + }, + "473": { + "TypeFields": [ + { + "Name": "rank", + "TypeName": "Rank", + "TypeId": 63 + } + ], + "Path": [ + "pallet_ranked_collective", + "MemberRecord" + ], + "TypeDef": "Composite" + }, + "474": { + "TypeIds": [ + 63, + 0 + ], + "TypeDef": "Tuple" + }, + "475": { + "TypeIds": [ + 63, + 4 + ], + "TypeDef": "Tuple" + }, + "476": { + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 13 + } + ], + "Path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 2 + }, + { + "Name": "S" + } + ], + "TypeDef": "Composite" + }, + "477": { + "Variants": [ + { + "Name": "AlreadyMember", + "TypeFields": null, + "Index": 0, + "Docs": [ + "Account is already a member." + ] + }, + { + "Name": "NotMember", + "TypeFields": null, + "Index": 1, + "Docs": [ + "Account is not a member." + ] + }, + { + "Name": "NotPolling", + "TypeFields": null, + "Index": 2, + "Docs": [ + "The given poll index is unknown or has closed." + ] + }, + { + "Name": "Ongoing", + "TypeFields": null, + "Index": 3, + "Docs": [ + "The given poll is still ongoing." + ] + }, + { + "Name": "NoneRemaining", + "TypeFields": null, + "Index": 4, + "Docs": [ + "There are no further records to be removed." + ] + }, + { + "Name": "Corruption", + "TypeFields": null, + "Index": 5, + "Docs": [ + "Unexpected error in state." + ] + }, + { + "Name": "RankTooLow", + "TypeFields": null, + "Index": 6, + "Docs": [ + "The member's rank is too low to vote." + ] + }, + { + "Name": "InvalidWitness", + "TypeFields": null, + "Index": 7, + "Docs": [ + "The information provided is incorrect." + ] + }, + { + "Name": "NoPermission", + "TypeFields": null, + "Index": 8, + "Docs": [ + "The origin is not sufficiently privileged to do the operation." + ] + } + ], + "Path": [ + "pallet_ranked_collective", + "pallet", + "Error" + ], + "TypeParams": [ + { + "Name": "T" + }, + { + "Name": "I" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Error` enum of this pallet." + ] + }, + "478": { + "Variants": [ + { + "Name": "Ongoing", + "TypeFields": [ + { + "TypeName": "ReferendumStatus", + "TypeId": 479 + } + ], + "Index": 0 + }, + { + "Name": "Approved", + "TypeFields": [ + { + "TypeName": "Moment", + "TypeId": 4 + }, + { + "TypeName": "Option>", + "TypeId": 458 + }, + { + "TypeName": "Option>", + "TypeId": 458 + } + ], + "Index": 1 + }, + { + "Name": "Rejected", + "TypeFields": [ + { + "TypeName": "Moment", + "TypeId": 4 + }, + { + "TypeName": "Option>", + "TypeId": 458 + }, + { + "TypeName": "Option>", + "TypeId": 458 + } + ], + "Index": 2 + }, + { + "Name": "Cancelled", + "TypeFields": [ + { + "TypeName": "Moment", + "TypeId": 4 + }, + { + "TypeName": "Option>", + "TypeId": 458 + }, + { + "TypeName": "Option>", + "TypeId": 458 + } + ], + "Index": 3 + }, + { + "Name": "TimedOut", + "TypeFields": [ + { + "TypeName": "Moment", + "TypeId": 4 + }, + { + "TypeName": "Option>", + "TypeId": 458 + }, + { + "TypeName": "Option>", + "TypeId": 458 + } + ], + "Index": 4 + }, + { + "Name": "Killed", + "TypeFields": [ + { + "TypeName": "Moment", + "TypeId": 4 + } + ], + "Index": 5 + } + ], + "Path": [ + "pallet_referenda", + "types", + "ReferendumInfo" + ], + "TypeParams": [ + { + "Name": "TrackId", + "TypeId": 63 + }, + { + "Name": "RuntimeOrigin", + "TypeId": 120 + }, + { + "Name": "Moment", + "TypeId": 4 + }, + { + "Name": "Call", + "TypeId": 64 + }, + { + "Name": "Balance", + "TypeId": 6 + }, + { + "Name": "Tally", + "TypeId": 282 + }, + { + "Name": "AccountId", + "TypeId": 0 + }, + { + "Name": "ScheduleAddress", + "TypeId": 137 + } + ], + "TypeDef": "Variant" + }, + "479": { + "TypeFields": [ + { + "Name": "track", + "TypeName": "TrackId", + "TypeId": 63 + }, + { + "Name": "origin", + "TypeName": "RuntimeOrigin", + "TypeId": 120 + }, + { + "Name": "proposal", + "TypeName": "Call", + "TypeId": 64 + }, + { + "Name": "enactment", + "TypeName": "DispatchTime", + "TypeId": 130 + }, + { + "Name": "submitted", + "TypeName": "Moment", + "TypeId": 4 + }, + { + "Name": "submission_deposit", + "TypeName": "Deposit", + "TypeId": 457 + }, + { + "Name": "decision_deposit", + "TypeName": "Option>", + "TypeId": 458 + }, + { + "Name": "deciding", + "TypeName": "Option>", + "TypeId": 459 + }, + { + "Name": "tally", + "TypeName": "Tally", + "TypeId": 282 + }, + { + "Name": "in_queue", + "TypeName": "bool", + "TypeId": 54 + }, + { + "Name": "alarm", + "TypeName": "Option<(Moment, ScheduleAddress)>", + "TypeId": 461 + } + ], + "Path": [ + "pallet_referenda", + "types", + "ReferendumStatus" + ], + "TypeParams": [ + { + "Name": "TrackId", + "TypeId": 63 + }, + { + "Name": "RuntimeOrigin", + "TypeId": 120 + }, + { + "Name": "Moment", + "TypeId": 4 + }, + { + "Name": "Call", + "TypeId": 64 + }, + { + "Name": "Balance", + "TypeId": 6 + }, + { + "Name": "Tally", + "TypeId": 282 + }, + { + "Name": "AccountId", + "TypeId": 0 + }, + { + "Name": "ScheduleAddress", + "TypeId": 137 + } + ], + "TypeDef": "Composite" + }, + "480": { + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 336 + } + ], + "Path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 137 + }, + { + "Name": "S" + } + ], + "TypeDef": "Composite" + }, + "481": { + "Variants": [ + { + "Name": "NotOngoing", + "TypeFields": null, + "Index": 0, + "Docs": [ + "Referendum is not ongoing." + ] + }, + { + "Name": "HasDeposit", + "TypeFields": null, + "Index": 1, + "Docs": [ + "Referendum's decision deposit is already paid." + ] + }, + { + "Name": "BadTrack", + "TypeFields": null, + "Index": 2, + "Docs": [ + "The track identifier given was invalid." + ] + }, + { + "Name": "Full", + "TypeFields": null, + "Index": 3, + "Docs": [ + "There are already a full complement of referenda in progress for this track." + ] + }, + { + "Name": "QueueEmpty", + "TypeFields": null, + "Index": 4, + "Docs": [ + "The queue of the track is empty." + ] + }, + { + "Name": "BadReferendum", + "TypeFields": null, + "Index": 5, + "Docs": [ + "The referendum index provided is invalid in this context." + ] + }, + { + "Name": "NothingToDo", + "TypeFields": null, + "Index": 6, + "Docs": [ + "There was nothing to do in the advancement." + ] + }, + { + "Name": "NoTrack", + "TypeFields": null, + "Index": 7, + "Docs": [ + "No track exists for the proposal origin." + ] + }, + { + "Name": "Unfinished", + "TypeFields": null, + "Index": 8, + "Docs": [ + "Any deposit cannot be refunded until after the decision is over." + ] + }, + { + "Name": "NoPermission", + "TypeFields": null, + "Index": 9, + "Docs": [ + "The deposit refunder is not the depositor." + ] + }, + { + "Name": "NoDeposit", + "TypeFields": null, + "Index": 10, + "Docs": [ + "The deposit cannot be refunded since none was made." + ] + }, + { + "Name": "BadStatus", + "TypeFields": null, + "Index": 11, + "Docs": [ + "The referendum status is invalid for this operation." + ] + }, + { + "Name": "PreimageNotExist", + "TypeFields": null, + "Index": 12, + "Docs": [ + "The preimage does not exist." + ] + } + ], + "Path": [ + "pallet_referenda", + "pallet", + "Error" + ], + "TypeParams": [ + { + "Name": "T" + }, + { + "Name": "I" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Error` enum of this pallet." + ] + }, + "482": { + "Variants": [ + { + "Name": "UnavailablePreImage", + "TypeFields": null, + "Index": 0, + "Docs": [ + "The preimage of the call hash could not be loaded." + ] + }, + { + "Name": "UndecodableCall", + "TypeFields": null, + "Index": 1, + "Docs": [ + "The call could not be decoded." + ] + }, + { + "Name": "InvalidCallWeightWitness", + "TypeFields": null, + "Index": 2, + "Docs": [ + "The weight of the decoded call was higher than the witness." + ] + }, + { + "Name": "CallIsNotWhitelisted", + "TypeFields": null, + "Index": 3, + "Docs": [ + "The call was not whitelisted." + ] + }, + { + "Name": "CallAlreadyWhitelisted", + "TypeFields": null, + "Index": 4, + "Docs": [ + "The call was already whitelisted; No-Op." + ] + } + ], + "Path": [ + "pallet_whitelist", + "pallet", + "Error" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Error` enum of this pallet." + ] + }, + "483": { + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 486 + } + ], + "Path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 484 + }, + { + "Name": "S" + } + ], + "TypeDef": "Composite" + }, + "484": { + "Variants": [ + { + "Name": "None", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Some", + "TypeFields": [ + { + "TypeId": 485 + } + ], + "Index": 1 + } + ], + "Path": [ + "Option" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 485 + } + ], + "TypeDef": "Variant" + }, + "485": { + "TypeFields": [ + { + "Name": "maybe_id", + "TypeName": "Option", + "TypeId": 290 + }, + { + "Name": "priority", + "TypeName": "schedule::Priority", + "TypeId": 2 + }, + { + "Name": "call", + "TypeName": "Call", + "TypeId": 64 + }, + { + "Name": "maybe_periodic", + "TypeName": "Option>", + "TypeId": 136 + }, + { + "Name": "origin", + "TypeName": "PalletsOrigin", + "TypeId": 120 + } + ], + "Path": [ + "pallet_scheduler", + "Scheduled" + ], + "TypeParams": [ + { + "Name": "Name", + "TypeId": 1 + }, + { + "Name": "Call", + "TypeId": 64 + }, + { + "Name": "BlockNumber", + "TypeId": 4 + }, + { + "Name": "PalletsOrigin", + "TypeId": 120 + }, + { + "Name": "AccountId", + "TypeId": 0 + } + ], + "TypeDef": "Composite" + }, + "486": { + "TypeId": 484, + "TypeDef": "Sequence" + }, + "487": { + "Variants": [ + { + "Name": "FailedToSchedule", + "TypeFields": null, + "Index": 0, + "Docs": [ + "Failed to schedule a call" + ] + }, + { + "Name": "NotFound", + "TypeFields": null, + "Index": 1, + "Docs": [ + "Cannot find the scheduled call." + ] + }, + { + "Name": "TargetBlockNumberInPast", + "TypeFields": null, + "Index": 2, + "Docs": [ + "Given target block number is in the past." + ] + }, + { + "Name": "RescheduleNoChange", + "TypeFields": null, + "Index": 3, + "Docs": [ + "Reschedule failed because it does not change scheduled time." + ] + }, + { + "Name": "Named", + "TypeFields": null, + "Index": 4, + "Docs": [ + "Attempt to use a non-named function on a named task." + ] + } + ], + "Path": [ + "pallet_scheduler", + "pallet", + "Error" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Error` enum of this pallet." + ] + }, + "488": { + "Variants": [ + { + "Name": "Unrequested", + "TypeFields": [ + { + "Name": "deposit", + "TypeName": "(AccountId, Balance)", + "TypeId": 246 + }, + { + "Name": "len", + "TypeName": "u32", + "TypeId": 4 + } + ], + "Index": 0 + }, + { + "Name": "Requested", + "TypeFields": [ + { + "Name": "deposit", + "TypeName": "Option<(AccountId, Balance)>", + "TypeId": 489 + }, + { + "Name": "count", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "len", + "TypeName": "Option", + "TypeId": 117 + } + ], + "Index": 1 + } + ], + "Path": [ + "pallet_preimage", + "OldRequestStatus" + ], + "TypeParams": [ + { + "Name": "AccountId", + "TypeId": 0 + }, + { + "Name": "Balance", + "TypeId": 6 + } + ], + "TypeDef": "Variant" + }, + "489": { + "Variants": [ + { + "Name": "None", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Some", + "TypeFields": [ + { + "TypeId": 246 + } + ], + "Index": 1 + } + ], + "Path": [ + "Option" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 246 + } + ], + "TypeDef": "Variant" + }, + "490": { + "Variants": [ + { + "Name": "Unrequested", + "TypeFields": [ + { + "Name": "ticket", + "TypeName": "(AccountId, Ticket)", + "TypeId": 492 + }, + { + "Name": "len", + "TypeName": "u32", + "TypeId": 4 + } + ], + "Index": 0 + }, + { + "Name": "Requested", + "TypeFields": [ + { + "Name": "maybe_ticket", + "TypeName": "Option<(AccountId, Ticket)>", + "TypeId": 493 + }, + { + "Name": "count", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "maybe_len", + "TypeName": "Option", + "TypeId": 117 + } + ], + "Index": 1 + } + ], + "Path": [ + "pallet_preimage", + "RequestStatus" + ], + "TypeParams": [ + { + "Name": "AccountId", + "TypeId": 0 + }, + { + "Name": "Ticket", + "TypeId": 491 + } + ], + "TypeDef": "Variant" + }, + "491": { + "TypeFields": [ + { + "TypeName": "F::Balance", + "TypeId": 6 + } + ], + "Path": [ + "frame_support", + "traits", + "tokens", + "fungible", + "HoldConsideration" + ], + "TypeParams": [ + { + "Name": "A" + }, + { + "Name": "F" + }, + { + "Name": "R" + }, + { + "Name": "D" + } + ], + "TypeDef": "Composite" + }, + "492": { + "TypeIds": [ + 0, + 491 + ], + "TypeDef": "Tuple" + }, + "493": { + "Variants": [ + { + "Name": "None", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Some", + "TypeFields": [ + { + "TypeId": 492 + } + ], + "Index": 1 + } + ], + "Path": [ + "Option" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 492 + } + ], + "TypeDef": "Variant" + }, + "494": { + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 13 + } + ], + "Path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 2 + }, + { + "Name": "S" + } + ], + "TypeDef": "Composite" + }, + "495": { + "Variants": [ + { + "Name": "TooBig", + "TypeFields": null, + "Index": 0, + "Docs": [ + "Preimage is too large to store on-chain." + ] + }, + { + "Name": "AlreadyNoted", + "TypeFields": null, + "Index": 1, + "Docs": [ + "Preimage has already been noted on-chain." + ] + }, + { + "Name": "NotAuthorized", + "TypeFields": null, + "Index": 2, + "Docs": [ + "The user is not authorized to perform this action." + ] + }, + { + "Name": "NotNoted", + "TypeFields": null, + "Index": 3, + "Docs": [ + "The preimage cannot be removed since it has not yet been noted." + ] + }, + { + "Name": "Requested", + "TypeFields": null, + "Index": 4, + "Docs": [ + "A preimage may not be removed when there are outstanding requests." + ] + }, + { + "Name": "NotRequested", + "TypeFields": null, + "Index": 5, + "Docs": [ + "The preimage request cannot be removed since no outstanding requests exist." + ] + }, + { + "Name": "TooMany", + "TypeFields": null, + "Index": 6, + "Docs": [ + "More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once." + ] + }, + { + "Name": "TooFew", + "TypeFields": null, + "Index": 7, + "Docs": [ + "Too few hashes were requested to be upgraded (i.e. zero)." + ] + } + ], + "Path": [ + "pallet_preimage", + "pallet", + "Error" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Error` enum of this pallet." + ] + }, + "496": { + "TypeFields": [ + { + "Name": "judgements", + "TypeName": "BoundedVec<(RegistrarIndex, Judgement), MaxJudgements>", + "TypeId": 497 + }, + { + "Name": "deposit", + "TypeName": "Balance", + "TypeId": 6 + }, + { + "Name": "info", + "TypeName": "IdentityInfo", + "TypeId": 141 + } + ], + "Path": [ + "pallet_identity", + "types", + "Registration" + ], + "TypeParams": [ + { + "Name": "Balance", + "TypeId": 6 + }, + { + "Name": "MaxJudgements" + }, + { + "Name": "IdentityInfo", + "TypeId": 141 + } + ], + "TypeDef": "Composite" + }, + "497": { + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 499 + } + ], + "Path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 498 + }, + { + "Name": "S" + } + ], + "TypeDef": "Composite" + }, + "498": { + "TypeIds": [ + 4, + 179 + ], + "TypeDef": "Tuple" + }, + "499": { + "TypeId": 498, + "TypeDef": "Sequence" + }, + "500": { + "TypeIds": [ + 6, + 501 + ], + "TypeDef": "Tuple" + }, + "501": { + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 97 + } + ], + "Path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 0 + }, + { + "Name": "S" + } + ], + "TypeDef": "Composite" + }, + "502": { + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 505 + } + ], + "Path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 503 + }, + { + "Name": "S" + } + ], + "TypeDef": "Composite" + }, + "503": { + "Variants": [ + { + "Name": "None", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Some", + "TypeFields": [ + { + "TypeId": 504 + } + ], + "Index": 1 + } + ], + "Path": [ + "Option" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 504 + } + ], + "TypeDef": "Variant" + }, + "504": { + "TypeFields": [ + { + "Name": "account", + "TypeName": "AccountId", + "TypeId": 0 + }, + { + "Name": "fee", + "TypeName": "Balance", + "TypeId": 6 + }, + { + "Name": "fields", + "TypeName": "IdField", + "TypeId": 11 + } + ], + "Path": [ + "pallet_identity", + "types", + "RegistrarInfo" + ], + "TypeParams": [ + { + "Name": "Balance", + "TypeId": 6 + }, + { + "Name": "AccountId", + "TypeId": 0 + }, + { + "Name": "IdField", + "TypeId": 11 + } + ], + "TypeDef": "Composite" + }, + "505": { + "TypeId": 503, + "TypeDef": "Sequence" + }, + "506": { + "Variants": [ + { + "Name": "TooManySubAccounts", + "TypeFields": null, + "Index": 0, + "Docs": [ + "Too many subs-accounts." + ] + }, + { + "Name": "NotFound", + "TypeFields": null, + "Index": 1, + "Docs": [ + "Account isn't found." + ] + }, + { + "Name": "NotNamed", + "TypeFields": null, + "Index": 2, + "Docs": [ + "Account isn't named." + ] + }, + { + "Name": "EmptyIndex", + "TypeFields": null, + "Index": 3, + "Docs": [ + "Empty index." + ] + }, + { + "Name": "FeeChanged", + "TypeFields": null, + "Index": 4, + "Docs": [ + "Fee is changed." + ] + }, + { + "Name": "NoIdentity", + "TypeFields": null, + "Index": 5, + "Docs": [ + "No identity found." + ] + }, + { + "Name": "StickyJudgement", + "TypeFields": null, + "Index": 6, + "Docs": [ + "Sticky judgement." + ] + }, + { + "Name": "JudgementGiven", + "TypeFields": null, + "Index": 7, + "Docs": [ + "Judgement given." + ] + }, + { + "Name": "InvalidJudgement", + "TypeFields": null, + "Index": 8, + "Docs": [ + "Invalid judgement." + ] + }, + { + "Name": "InvalidIndex", + "TypeFields": null, + "Index": 9, + "Docs": [ + "The index is invalid." + ] + }, + { + "Name": "InvalidTarget", + "TypeFields": null, + "Index": 10, + "Docs": [ + "The target is invalid." + ] + }, + { + "Name": "TooManyRegistrars", + "TypeFields": null, + "Index": 11, + "Docs": [ + "Maximum amount of registrars reached. Cannot add any more." + ] + }, + { + "Name": "AlreadyClaimed", + "TypeFields": null, + "Index": 12, + "Docs": [ + "Account ID is already named." + ] + }, + { + "Name": "NotSub", + "TypeFields": null, + "Index": 13, + "Docs": [ + "Sender is not a sub-account." + ] + }, + { + "Name": "NotOwned", + "TypeFields": null, + "Index": 14, + "Docs": [ + "Sub-account isn't owned by sender." + ] + }, + { + "Name": "JudgementForDifferentIdentity", + "TypeFields": null, + "Index": 15, + "Docs": [ + "The provided judgement was for a different identity." + ] + }, + { + "Name": "JudgementPaymentFailed", + "TypeFields": null, + "Index": 16, + "Docs": [ + "Error that occurs when there is an issue paying for judgement." + ] + } + ], + "Path": [ + "pallet_identity", + "pallet", + "Error" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Error` enum of this pallet." + ] + }, + "507": { + "TypeIds": [ + 508, + 6 + ], + "TypeDef": "Tuple" + }, + "508": { + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 510 + } + ], + "Path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 509 + }, + { + "Name": "S" + } + ], + "TypeDef": "Composite" + }, + "509": { + "TypeFields": [ + { + "Name": "delegate", + "TypeName": "AccountId", + "TypeId": 0 + }, + { + "Name": "proxy_type", + "TypeName": "ProxyType", + "TypeId": 182 + }, + { + "Name": "delay", + "TypeName": "BlockNumber", + "TypeId": 4 + } + ], + "Path": [ + "pallet_proxy", + "ProxyDefinition" + ], + "TypeParams": [ + { + "Name": "AccountId", + "TypeId": 0 + }, + { + "Name": "ProxyType", + "TypeId": 182 + }, + { + "Name": "BlockNumber", + "TypeId": 4 + } + ], + "TypeDef": "Composite" + }, + "510": { + "TypeId": 509, + "TypeDef": "Sequence" + }, + "511": { + "TypeIds": [ + 512, + 6 + ], + "TypeDef": "Tuple" + }, + "512": { + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 514 + } + ], + "Path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 513 + }, + { + "Name": "S" + } + ], + "TypeDef": "Composite" + }, + "513": { + "TypeFields": [ + { + "Name": "real", + "TypeName": "AccountId", + "TypeId": 0 + }, + { + "Name": "call_hash", + "TypeName": "Hash", + "TypeId": 12 + }, + { + "Name": "height", + "TypeName": "BlockNumber", + "TypeId": 4 + } + ], + "Path": [ + "pallet_proxy", + "Announcement" + ], + "TypeParams": [ + { + "Name": "AccountId", + "TypeId": 0 + }, + { + "Name": "Hash", + "TypeId": 12 + }, + { + "Name": "BlockNumber", + "TypeId": 4 + } + ], + "TypeDef": "Composite" + }, + "514": { + "TypeId": 513, + "TypeDef": "Sequence" + }, + "515": { + "Variants": [ + { + "Name": "TooMany", + "TypeFields": null, + "Index": 0, + "Docs": [ + "There are too many proxies registered or too many announcements pending." + ] + }, + { + "Name": "NotFound", + "TypeFields": null, + "Index": 1, + "Docs": [ + "Proxy registration not found." + ] + }, + { + "Name": "NotProxy", + "TypeFields": null, + "Index": 2, + "Docs": [ + "Sender is not a proxy of the account to be proxied." + ] + }, + { + "Name": "Unproxyable", + "TypeFields": null, + "Index": 3, + "Docs": [ + "A call which is incompatible with the proxy type's filter was attempted." + ] + }, + { + "Name": "Duplicate", + "TypeFields": null, + "Index": 4, + "Docs": [ + "Account is already a proxy." + ] + }, + { + "Name": "NoPermission", + "TypeFields": null, + "Index": 5, + "Docs": [ + "Call may not be made by proxy because it may escalate its privileges." + ] + }, + { + "Name": "Unannounced", + "TypeFields": null, + "Index": 6, + "Docs": [ + "Announcement, if made at all, was made too recently." + ] + }, + { + "Name": "NoSelfProxy", + "TypeFields": null, + "Index": 7, + "Docs": [ + "Cannot add self as proxy." + ] + } + ], + "Path": [ + "pallet_proxy", + "pallet", + "Error" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Error` enum of this pallet." + ] + }, + "516": { + "TypeIds": [ + 0, + 1 + ], + "TypeDef": "Tuple" + }, + "517": { + "TypeFields": [ + { + "Name": "when", + "TypeName": "Timepoint", + "TypeId": 185 + }, + { + "Name": "deposit", + "TypeName": "Balance", + "TypeId": 6 + }, + { + "Name": "depositor", + "TypeName": "AccountId", + "TypeId": 0 + }, + { + "Name": "approvals", + "TypeName": "BoundedVec", + "TypeId": 518 + } + ], + "Path": [ + "pallet_multisig", + "Multisig" + ], + "TypeParams": [ + { + "Name": "BlockNumber", + "TypeId": 4 + }, + { + "Name": "Balance", + "TypeId": 6 + }, + { + "Name": "AccountId", + "TypeId": 0 + }, + { + "Name": "MaxApprovals" + } + ], + "TypeDef": "Composite" + }, + "518": { + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 97 + } + ], + "Path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 0 + }, + { + "Name": "S" + } + ], + "TypeDef": "Composite" + }, + "519": { + "Variants": [ + { + "Name": "MinimumThreshold", + "TypeFields": null, + "Index": 0, + "Docs": [ + "Threshold must be 2 or greater." + ] + }, + { + "Name": "AlreadyApproved", + "TypeFields": null, + "Index": 1, + "Docs": [ + "Call is already approved by this signatory." + ] + }, + { + "Name": "NoApprovalsNeeded", + "TypeFields": null, + "Index": 2, + "Docs": [ + "Call doesn't need any (more) approvals." + ] + }, + { + "Name": "TooFewSignatories", + "TypeFields": null, + "Index": 3, + "Docs": [ + "There are too few signatories in the list." + ] + }, + { + "Name": "TooManySignatories", + "TypeFields": null, + "Index": 4, + "Docs": [ + "There are too many signatories in the list." + ] + }, + { + "Name": "SignatoriesOutOfOrder", + "TypeFields": null, + "Index": 5, + "Docs": [ + "The signatories were provided out of order; they should be ordered." + ] + }, + { + "Name": "SenderInSignatories", + "TypeFields": null, + "Index": 6, + "Docs": [ + "The sender was contained in the other signatories; it shouldn't be." + ] + }, + { + "Name": "NotFound", + "TypeFields": null, + "Index": 7, + "Docs": [ + "Multisig operation not found when attempting to cancel." + ] + }, + { + "Name": "NotOwner", + "TypeFields": null, + "Index": 8, + "Docs": [ + "Only the account that originally created the multisig is able to cancel it." + ] + }, + { + "Name": "NoTimepoint", + "TypeFields": null, + "Index": 9, + "Docs": [ + "No timepoint was given, yet the multisig operation is already underway." + ] + }, + { + "Name": "WrongTimepoint", + "TypeFields": null, + "Index": 10, + "Docs": [ + "A different timepoint was given to the multisig operation that is underway." + ] + }, + { + "Name": "UnexpectedTimepoint", + "TypeFields": null, + "Index": 11, + "Docs": [ + "A timepoint was given, yet no multisig operation is underway." + ] + }, + { + "Name": "MaxWeightTooLow", + "TypeFields": null, + "Index": 12, + "Docs": [ + "The maximum weight information provided was too low." + ] + }, + { + "Name": "AlreadyStored", + "TypeFields": null, + "Index": 13, + "Docs": [ + "The data to be stored is already stored." + ] + } + ], + "Path": [ + "pallet_multisig", + "pallet", + "Error" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Error` enum of this pallet." + ] + }, + "520": { + "TypeFields": [ + { + "Name": "supports", + "TypeName": "BoundedSupports", + "TypeId": 521 + }, + { + "Name": "score", + "TypeName": "ElectionScore", + "TypeId": 239 + }, + { + "Name": "compute", + "TypeName": "ElectionCompute", + "TypeId": 296 + } + ], + "Path": [ + "pallet_election_provider_multi_phase", + "ReadySolution" + ], + "TypeParams": [ + { + "Name": "AccountId" + }, + { + "Name": "MaxWinners" + } + ], + "TypeDef": "Composite" + }, + "521": { + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 242 + } + ], + "Path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 243 + }, + { + "Name": "S" + } + ], + "TypeDef": "Composite" + }, + "522": { + "TypeFields": [ + { + "Name": "voters", + "TypeName": "Vec", + "TypeId": 524 + }, + { + "Name": "targets", + "TypeName": "Vec", + "TypeId": 97 + } + ], + "Path": [ + "pallet_election_provider_multi_phase", + "RoundSnapshot" + ], + "TypeParams": [ + { + "Name": "AccountId", + "TypeId": 0 + }, + { + "Name": "DataProvider", + "TypeId": 523 + } + ], + "TypeDef": "Composite" + }, + "523": { + "TypeIds": [ + 0, + 11, + 411 + ], + "TypeDef": "Tuple" + }, + "524": { + "TypeId": 523, + "TypeDef": "Sequence" + }, + "525": { + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 527 + } + ], + "Path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 526 + }, + { + "Name": "S" + } + ], + "TypeDef": "Composite" + }, + "526": { + "TypeIds": [ + 239, + 4, + 4 + ], + "TypeDef": "Tuple" + }, + "527": { + "TypeId": 526, + "TypeDef": "Sequence" + }, + "528": { + "TypeFields": [ + { + "Name": "who", + "TypeName": "AccountId", + "TypeId": 0 + }, + { + "Name": "deposit", + "TypeName": "Balance", + "TypeId": 6 + }, + { + "Name": "raw_solution", + "TypeName": "RawSolution", + "TypeId": 187 + }, + { + "Name": "call_fee", + "TypeName": "Balance", + "TypeId": 6 + } + ], + "Path": [ + "pallet_election_provider_multi_phase", + "signed", + "SignedSubmission" + ], + "TypeParams": [ + { + "Name": "AccountId", + "TypeId": 0 + }, + { + "Name": "Balance", + "TypeId": 6 + }, + { + "Name": "Solution", + "TypeId": 188 + } + ], + "TypeDef": "Composite" + }, + "529": { + "Variants": [ + { + "Name": "PreDispatchEarlySubmission", + "TypeFields": null, + "Index": 0, + "Docs": [ + "Submission was too early." + ] + }, + { + "Name": "PreDispatchWrongWinnerCount", + "TypeFields": null, + "Index": 1, + "Docs": [ + "Wrong number of winners presented." + ] + }, + { + "Name": "PreDispatchWeakSubmission", + "TypeFields": null, + "Index": 2, + "Docs": [ + "Submission was too weak, score-wise." + ] + }, + { + "Name": "SignedQueueFull", + "TypeFields": null, + "Index": 3, + "Docs": [ + "The queue was full, and the solution was not better than any of the existing ones." + ] + }, + { + "Name": "SignedCannotPayDeposit", + "TypeFields": null, + "Index": 4, + "Docs": [ + "The origin failed to pay the deposit." + ] + }, + { + "Name": "SignedInvalidWitness", + "TypeFields": null, + "Index": 5, + "Docs": [ + "Witness data to dispatchable is invalid." + ] + }, + { + "Name": "SignedTooMuchWeight", + "TypeFields": null, + "Index": 6, + "Docs": [ + "The signed submission consumes too much weight" + ] + }, + { + "Name": "OcwCallWrongEra", + "TypeFields": null, + "Index": 7, + "Docs": [ + "OCW submitted solution for wrong round" + ] + }, + { + "Name": "MissingSnapshotMetadata", + "TypeFields": null, + "Index": 8, + "Docs": [ + "Snapshot metadata should exist but didn't." + ] + }, + { + "Name": "InvalidSubmissionIndex", + "TypeFields": null, + "Index": 9, + "Docs": [ + "`Self::insert_submission` returned an invalid index." + ] + }, + { + "Name": "CallNotAllowed", + "TypeFields": null, + "Index": 10, + "Docs": [ + "The call is not allowed at this point." + ] + }, + { + "Name": "FallbackFailed", + "TypeFields": null, + "Index": 11, + "Docs": [ + "The fallback failed" + ] + }, + { + "Name": "BoundNotMet", + "TypeFields": null, + "Index": 12, + "Docs": [ + "Some bound not met" + ] + }, + { + "Name": "TooManyWinners", + "TypeFields": null, + "Index": 13, + "Docs": [ + "Submitted solution has too many winners" + ] + } + ], + "Path": [ + "pallet_election_provider_multi_phase", + "pallet", + "Error" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Error of the pallet that can be returned in response to dispatches." + ] + }, + "530": { + "TypeFields": [ + { + "Name": "offender", + "TypeName": "Offender", + "TypeId": 44 + }, + { + "Name": "reporters", + "TypeName": "Vec", + "TypeId": 97 + } + ], + "Path": [ + "sp_staking", + "offence", + "OffenceDetails" + ], + "TypeParams": [ + { + "Name": "Reporter", + "TypeId": 0 + }, + { + "Name": "Offender", + "TypeId": 44 + } + ], + "TypeDef": "Composite" + }, + "531": { + "TypeIds": [ + 160, + 13 + ], + "TypeDef": "Tuple" + }, + "532": { + "TypeFields": [ + { + "Name": "proposer", + "TypeName": "AccountId", + "TypeId": 0 + }, + { + "Name": "value", + "TypeName": "Balance", + "TypeId": 6 + }, + { + "Name": "fee", + "TypeName": "Balance", + "TypeId": 6 + }, + { + "Name": "curator_deposit", + "TypeName": "Balance", + "TypeId": 6 + }, + { + "Name": "bond", + "TypeName": "Balance", + "TypeId": 6 + }, + { + "Name": "status", + "TypeName": "BountyStatus", + "TypeId": 533 + } + ], + "Path": [ + "pallet_bounties", + "Bounty" + ], + "TypeParams": [ + { + "Name": "AccountId", + "TypeId": 0 + }, + { + "Name": "Balance", + "TypeId": 6 + }, + { + "Name": "BlockNumber", + "TypeId": 4 + } + ], + "TypeDef": "Composite" + }, + "533": { + "Variants": [ + { + "Name": "Proposed", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Approved", + "TypeFields": null, + "Index": 1 + }, + { + "Name": "Funded", + "TypeFields": null, + "Index": 2 + }, + { + "Name": "CuratorProposed", + "TypeFields": [ + { + "Name": "curator", + "TypeName": "AccountId", + "TypeId": 0 + } + ], + "Index": 3 + }, + { + "Name": "Active", + "TypeFields": [ + { + "Name": "curator", + "TypeName": "AccountId", + "TypeId": 0 + }, + { + "Name": "update_due", + "TypeName": "BlockNumber", + "TypeId": 4 + } + ], + "Index": 4 + }, + { + "Name": "PendingPayout", + "TypeFields": [ + { + "Name": "curator", + "TypeName": "AccountId", + "TypeId": 0 + }, + { + "Name": "beneficiary", + "TypeName": "AccountId", + "TypeId": 0 + }, + { + "Name": "unlock_at", + "TypeName": "BlockNumber", + "TypeId": 4 + } + ], + "Index": 5 + } + ], + "Path": [ + "pallet_bounties", + "BountyStatus" + ], + "TypeParams": [ + { + "Name": "AccountId", + "TypeId": 0 + }, + { + "Name": "BlockNumber", + "TypeId": 4 + } + ], + "TypeDef": "Variant" + }, + "534": { + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 13 + } + ], + "Path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 2 + }, + { + "Name": "S" + } + ], + "TypeDef": "Composite" + }, + "535": { + "Variants": [ + { + "Name": "InsufficientProposersBalance", + "TypeFields": null, + "Index": 0, + "Docs": [ + "Proposer's balance is too low." + ] + }, + { + "Name": "InvalidIndex", + "TypeFields": null, + "Index": 1, + "Docs": [ + "No proposal or bounty at that index." + ] + }, + { + "Name": "ReasonTooBig", + "TypeFields": null, + "Index": 2, + "Docs": [ + "The reason given is just too big." + ] + }, + { + "Name": "UnexpectedStatus", + "TypeFields": null, + "Index": 3, + "Docs": [ + "The bounty status is unexpected." + ] + }, + { + "Name": "RequireCurator", + "TypeFields": null, + "Index": 4, + "Docs": [ + "Require bounty curator." + ] + }, + { + "Name": "InvalidValue", + "TypeFields": null, + "Index": 5, + "Docs": [ + "Invalid bounty value." + ] + }, + { + "Name": "InvalidFee", + "TypeFields": null, + "Index": 6, + "Docs": [ + "Invalid bounty fee." + ] + }, + { + "Name": "PendingPayout", + "TypeFields": null, + "Index": 7, + "Docs": [ + "A bounty payout is pending.", + "To cancel the bounty, you must unassign and slash the curator." + ] + }, + { + "Name": "Premature", + "TypeFields": null, + "Index": 8, + "Docs": [ + "The bounties cannot be claimed/closed because it's still in the countdown period." + ] + }, + { + "Name": "HasActiveChildBounty", + "TypeFields": null, + "Index": 9, + "Docs": [ + "The bounty cannot be closed because it has active child bounties." + ] + }, + { + "Name": "TooManyQueued", + "TypeFields": null, + "Index": 10, + "Docs": [ + "Too many approvals are already queued." + ] + } + ], + "Path": [ + "pallet_bounties", + "pallet", + "Error" + ], + "TypeParams": [ + { + "Name": "T" + }, + { + "Name": "I" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Error` enum of this pallet." + ] + }, + "536": { + "TypeFields": [ + { + "Name": "parent_bounty", + "TypeName": "BountyIndex", + "TypeId": 4 + }, + { + "Name": "value", + "TypeName": "Balance", + "TypeId": 6 + }, + { + "Name": "fee", + "TypeName": "Balance", + "TypeId": 6 + }, + { + "Name": "curator_deposit", + "TypeName": "Balance", + "TypeId": 6 + }, + { + "Name": "status", + "TypeName": "ChildBountyStatus", + "TypeId": 537 + } + ], + "Path": [ + "pallet_child_bounties", + "ChildBounty" + ], + "TypeParams": [ + { + "Name": "AccountId", + "TypeId": 0 + }, + { + "Name": "Balance", + "TypeId": 6 + }, + { + "Name": "BlockNumber", + "TypeId": 4 + } + ], + "TypeDef": "Composite" + }, + "537": { + "Variants": [ + { + "Name": "Added", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "CuratorProposed", + "TypeFields": [ + { + "Name": "curator", + "TypeName": "AccountId", + "TypeId": 0 + } + ], + "Index": 1 + }, + { + "Name": "Active", + "TypeFields": [ + { + "Name": "curator", + "TypeName": "AccountId", + "TypeId": 0 + } + ], + "Index": 2 + }, + { + "Name": "PendingPayout", + "TypeFields": [ + { + "Name": "curator", + "TypeName": "AccountId", + "TypeId": 0 + }, + { + "Name": "beneficiary", + "TypeName": "AccountId", + "TypeId": 0 + }, + { + "Name": "unlock_at", + "TypeName": "BlockNumber", + "TypeId": 4 + } + ], + "Index": 3 + } + ], + "Path": [ + "pallet_child_bounties", + "ChildBountyStatus" + ], + "TypeParams": [ + { + "Name": "AccountId", + "TypeId": 0 + }, + { + "Name": "BlockNumber", + "TypeId": 4 + } + ], + "TypeDef": "Variant" + }, + "538": { + "Variants": [ + { + "Name": "ParentBountyNotActive", + "TypeFields": null, + "Index": 0, + "Docs": [ + "The parent bounty is not in active state." + ] + }, + { + "Name": "InsufficientBountyBalance", + "TypeFields": null, + "Index": 1, + "Docs": [ + "The bounty balance is not enough to add new child-bounty." + ] + }, + { + "Name": "TooManyChildBounties", + "TypeFields": null, + "Index": 2, + "Docs": [ + "Number of child bounties exceeds limit `MaxActiveChildBountyCount`." + ] + } + ], + "Path": [ + "pallet_child_bounties", + "pallet", + "Error" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Error` enum of this pallet." + ] + }, + "539": { + "TypeFields": [ + { + "Name": "pool_id", + "TypeName": "PoolId", + "TypeId": 4 + }, + { + "Name": "points", + "TypeName": "BalanceOf", + "TypeId": 6 + }, + { + "Name": "last_recorded_reward_counter", + "TypeName": "T::RewardCounter", + "TypeId": 394 + }, + { + "Name": "unbonding_eras", + "TypeName": "BoundedBTreeMap, T::MaxUnbonding>", + "TypeId": 540 + } + ], + "Path": [ + "pallet_nomination_pools", + "PoolMember" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Composite" + }, + "540": { + "TypeFields": [ + { + "TypeName": "BTreeMap", + "TypeId": 541 + } + ], + "Path": [ + "bounded_collections", + "bounded_btree_map", + "BoundedBTreeMap" + ], + "TypeParams": [ + { + "Name": "K", + "TypeId": 4 + }, + { + "Name": "V", + "TypeId": 6 + }, + { + "Name": "S" + } + ], + "TypeDef": "Composite" + }, + "541": { + "TypeFields": [ + { + "TypeId": 465 + } + ], + "Path": [ + "BTreeMap" + ], + "TypeParams": [ + { + "Name": "K", + "TypeId": 4 + }, + { + "Name": "V", + "TypeId": 6 + } + ], + "TypeDef": "Composite" + }, + "542": { + "TypeFields": [ + { + "Name": "commission", + "TypeName": "Commission", + "TypeId": 543 + }, + { + "Name": "member_counter", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "points", + "TypeName": "BalanceOf", + "TypeId": 6 + }, + { + "Name": "roles", + "TypeName": "PoolRoles", + "TypeId": 546 + }, + { + "Name": "state", + "TypeName": "PoolState", + "TypeId": 251 + } + ], + "Path": [ + "pallet_nomination_pools", + "BondedPoolInner" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Composite" + }, + "543": { + "TypeFields": [ + { + "Name": "current", + "TypeName": "Option<(Perbill, T::AccountId)>", + "TypeId": 257 + }, + { + "Name": "max", + "TypeName": "Option", + "TypeId": 544 + }, + { + "Name": "change_rate", + "TypeName": "Option>>", + "TypeId": 545 + }, + { + "Name": "throttle_from", + "TypeName": "Option>", + "TypeId": 117 + } + ], + "Path": [ + "pallet_nomination_pools", + "Commission" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Composite" + }, + "544": { + "Variants": [ + { + "Name": "None", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Some", + "TypeFields": [ + { + "TypeId": 51 + } + ], + "Index": 1 + } + ], + "Path": [ + "Option" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 51 + } + ], + "TypeDef": "Variant" + }, + "545": { + "Variants": [ + { + "Name": "None", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Some", + "TypeFields": [ + { + "TypeId": 259 + } + ], + "Index": 1 + } + ], + "Path": [ + "Option" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 259 + } + ], + "TypeDef": "Variant" + }, + "546": { + "TypeFields": [ + { + "Name": "depositor", + "TypeName": "AccountId", + "TypeId": 0 + }, + { + "Name": "root", + "TypeName": "Option", + "TypeId": 273 + }, + { + "Name": "nominator", + "TypeName": "Option", + "TypeId": 273 + }, + { + "Name": "bouncer", + "TypeName": "Option", + "TypeId": 273 + } + ], + "Path": [ + "pallet_nomination_pools", + "PoolRoles" + ], + "TypeParams": [ + { + "Name": "AccountId", + "TypeId": 0 + } + ], + "TypeDef": "Composite" + }, + "547": { + "TypeFields": [ + { + "Name": "last_recorded_reward_counter", + "TypeName": "T::RewardCounter", + "TypeId": 394 + }, + { + "Name": "last_recorded_total_payouts", + "TypeName": "BalanceOf", + "TypeId": 6 + }, + { + "Name": "total_rewards_claimed", + "TypeName": "BalanceOf", + "TypeId": 6 + }, + { + "Name": "total_commission_pending", + "TypeName": "BalanceOf", + "TypeId": 6 + }, + { + "Name": "total_commission_claimed", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Path": [ + "pallet_nomination_pools", + "RewardPool" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Composite" + }, + "548": { + "TypeFields": [ + { + "Name": "no_era", + "TypeName": "UnbondPool", + "TypeId": 549 + }, + { + "Name": "with_era", + "TypeName": "BoundedBTreeMap, TotalUnbondingPools>", + "TypeId": 550 + } + ], + "Path": [ + "pallet_nomination_pools", + "SubPools" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Composite" + }, + "549": { + "TypeFields": [ + { + "Name": "points", + "TypeName": "BalanceOf", + "TypeId": 6 + }, + { + "Name": "balance", + "TypeName": "BalanceOf", + "TypeId": 6 + } + ], + "Path": [ + "pallet_nomination_pools", + "UnbondPool" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Composite" + }, + "550": { + "TypeFields": [ + { + "TypeName": "BTreeMap", + "TypeId": 551 + } + ], + "Path": [ + "bounded_collections", + "bounded_btree_map", + "BoundedBTreeMap" + ], + "TypeParams": [ + { + "Name": "K", + "TypeId": 4 + }, + { + "Name": "V", + "TypeId": 549 + }, + { + "Name": "S" + } + ], + "TypeDef": "Composite" + }, + "551": { + "TypeFields": [ + { + "TypeId": 552 + } + ], + "Path": [ + "BTreeMap" + ], + "TypeParams": [ + { + "Name": "K", + "TypeId": 4 + }, + { + "Name": "V", + "TypeId": 549 + } + ], + "TypeDef": "Composite" + }, + "552": { + "TypeId": 553, + "TypeDef": "Sequence" + }, + "553": { + "TypeIds": [ + 4, + 549 + ], + "TypeDef": "Tuple" + }, + "554": { + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 13 + } + ], + "Path": [ + "bounded_collections", + "bounded_vec", + "BoundedVec" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 2 + }, + { + "Name": "S" + } + ], + "TypeDef": "Composite" + }, + "555": { + "Variants": [ + { + "Name": "PoolNotFound", + "TypeFields": null, + "Index": 0, + "Docs": [ + "A (bonded) pool id does not exist." + ] + }, + { + "Name": "PoolMemberNotFound", + "TypeFields": null, + "Index": 1, + "Docs": [ + "An account is not a member." + ] + }, + { + "Name": "RewardPoolNotFound", + "TypeFields": null, + "Index": 2, + "Docs": [ + "A reward pool does not exist. In all cases this is a system logic error." + ] + }, + { + "Name": "SubPoolsNotFound", + "TypeFields": null, + "Index": 3, + "Docs": [ + "A sub pool does not exist." + ] + }, + { + "Name": "AccountBelongsToOtherPool", + "TypeFields": null, + "Index": 4, + "Docs": [ + "An account is already delegating in another pool. An account may only belong to one", + "pool at a time." + ] + }, + { + "Name": "FullyUnbonding", + "TypeFields": null, + "Index": 5, + "Docs": [ + "The member is fully unbonded (and thus cannot access the bonded and reward pool", + "anymore to, for example, collect rewards)." + ] + }, + { + "Name": "MaxUnbondingLimit", + "TypeFields": null, + "Index": 6, + "Docs": [ + "The member cannot unbond further chunks due to reaching the limit." + ] + }, + { + "Name": "CannotWithdrawAny", + "TypeFields": null, + "Index": 7, + "Docs": [ + "None of the funds can be withdrawn yet because the bonding duration has not passed." + ] + }, + { + "Name": "MinimumBondNotMet", + "TypeFields": null, + "Index": 8, + "Docs": [ + "The amount does not meet the minimum bond to either join or create a pool.", + "", + "The depositor can never unbond to a value less than `Pallet::depositor_min_bond`. The", + "caller does not have nominating permissions for the pool. Members can never unbond to a", + "value below `MinJoinBond`." + ] + }, + { + "Name": "OverflowRisk", + "TypeFields": null, + "Index": 9, + "Docs": [ + "The transaction could not be executed due to overflow risk for the pool." + ] + }, + { + "Name": "NotDestroying", + "TypeFields": null, + "Index": 10, + "Docs": [ + "A pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or for", + "other members to be permissionlessly unbonded." + ] + }, + { + "Name": "NotNominator", + "TypeFields": null, + "Index": 11, + "Docs": [ + "The caller does not have nominating permissions for the pool." + ] + }, + { + "Name": "NotKickerOrDestroying", + "TypeFields": null, + "Index": 12, + "Docs": [ + "Either a) the caller cannot make a valid kick or b) the pool is not destroying." + ] + }, + { + "Name": "NotOpen", + "TypeFields": null, + "Index": 13, + "Docs": [ + "The pool is not open to join" + ] + }, + { + "Name": "MaxPools", + "TypeFields": null, + "Index": 14, + "Docs": [ + "The system is maxed out on pools." + ] + }, + { + "Name": "MaxPoolMembers", + "TypeFields": null, + "Index": 15, + "Docs": [ + "Too many members in the pool or system." + ] + }, + { + "Name": "CanNotChangeState", + "TypeFields": null, + "Index": 16, + "Docs": [ + "The pools state cannot be changed." + ] + }, + { + "Name": "DoesNotHavePermission", + "TypeFields": null, + "Index": 17, + "Docs": [ + "The caller does not have adequate permissions." + ] + }, + { + "Name": "MetadataExceedsMaxLen", + "TypeFields": null, + "Index": 18, + "Docs": [ + "Metadata exceeds [`Config::MaxMetadataLen`]" + ] + }, + { + "Name": "Defensive", + "TypeFields": [ + { + "TypeName": "DefensiveError", + "TypeId": 556 + } + ], + "Index": 19, + "Docs": [ + "Some error occurred that should never happen. This should be reported to the", + "maintainers." + ] + }, + { + "Name": "PartialUnbondNotAllowedPermissionlessly", + "TypeFields": null, + "Index": 20, + "Docs": [ + "Partial unbonding now allowed permissionlessly." + ] + }, + { + "Name": "MaxCommissionRestricted", + "TypeFields": null, + "Index": 21, + "Docs": [ + "The pool's max commission cannot be set higher than the existing value." + ] + }, + { + "Name": "CommissionExceedsMaximum", + "TypeFields": null, + "Index": 22, + "Docs": [ + "The supplied commission exceeds the max allowed commission." + ] + }, + { + "Name": "CommissionExceedsGlobalMaximum", + "TypeFields": null, + "Index": 23, + "Docs": [ + "The supplied commission exceeds global maximum commission." + ] + }, + { + "Name": "CommissionChangeThrottled", + "TypeFields": null, + "Index": 24, + "Docs": [ + "Not enough blocks have surpassed since the last commission update." + ] + }, + { + "Name": "CommissionChangeRateNotAllowed", + "TypeFields": null, + "Index": 25, + "Docs": [ + "The submitted changes to commission change rate are not allowed." + ] + }, + { + "Name": "NoPendingCommission", + "TypeFields": null, + "Index": 26, + "Docs": [ + "There is no pending commission to claim." + ] + }, + { + "Name": "NoCommissionCurrentSet", + "TypeFields": null, + "Index": 27, + "Docs": [ + "No commission current has been set." + ] + }, + { + "Name": "PoolIdInUse", + "TypeFields": null, + "Index": 28, + "Docs": [ + "Pool id currently in use." + ] + }, + { + "Name": "InvalidPoolId", + "TypeFields": null, + "Index": 29, + "Docs": [ + "Pool id provided is not correct/usable." + ] + }, + { + "Name": "BondExtraRestricted", + "TypeFields": null, + "Index": 30, + "Docs": [ + "Bonding extra is restricted to the exact pending reward amount." + ] + }, + { + "Name": "NothingToAdjust", + "TypeFields": null, + "Index": 31, + "Docs": [ + "No imbalance in the ED deposit for the pool." + ] + } + ], + "Path": [ + "pallet_nomination_pools", + "pallet", + "Error" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Error` enum of this pallet." + ] + }, + "556": { + "Variants": [ + { + "Name": "NotEnoughSpaceInUnbondPool", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "PoolNotFound", + "TypeFields": null, + "Index": 1 + }, + { + "Name": "RewardPoolNotFound", + "TypeFields": null, + "Index": 2 + }, + { + "Name": "SubPoolsNotFound", + "TypeFields": null, + "Index": 3 + }, + { + "Name": "BondedStashKilledPrematurely", + "TypeFields": null, + "Index": 4 + } + ], + "Path": [ + "pallet_nomination_pools", + "pallet", + "DefensiveError" + ], + "TypeDef": "Variant" + }, + "557": { + "TypeFields": [ + { + "Name": "code", + "TypeName": "Vec", + "TypeId": 13 + }, + { + "Name": "original_code_len", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "exports", + "TypeName": "BTreeSet", + "TypeId": 558 + }, + { + "Name": "static_pages", + "TypeName": "WasmPagesAmount", + "TypeId": 561 + }, + { + "Name": "stack_end", + "TypeName": "Option", + "TypeId": 562 + }, + { + "Name": "instantiated_section_sizes", + "TypeName": "InstantiatedSectionSizes", + "TypeId": 564 + }, + { + "Name": "version", + "TypeName": "u32", + "TypeId": 4 + } + ], + "Path": [ + "gear_core", + "code", + "instrumented", + "InstrumentedCode" + ], + "TypeDef": "Composite" + }, + "558": { + "TypeFields": [ + { + "TypeId": 560 + } + ], + "Path": [ + "BTreeSet" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 559 + } + ], + "TypeDef": "Composite" + }, + "559": { + "Variants": [ + { + "Name": "Init", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Handle", + "TypeFields": null, + "Index": 1 + }, + { + "Name": "Reply", + "TypeFields": null, + "Index": 2 + }, + { + "Name": "Signal", + "TypeFields": null, + "Index": 3 + } + ], + "Path": [ + "gear_core", + "message", + "DispatchKind" + ], + "TypeDef": "Variant" + }, + "560": { + "TypeId": 559, + "TypeDef": "Sequence" + }, + "561": { + "TypeFields": [ + { + "TypeName": "u32", + "TypeId": 4 + } + ], + "Path": [ + "gear_core", + "pages", + "PagesAmount" + ], + "TypeDef": "Composite" + }, + "562": { + "Variants": [ + { + "Name": "None", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Some", + "TypeFields": [ + { + "TypeId": 563 + } + ], + "Index": 1 + } + ], + "Path": [ + "Option" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 563 + } + ], + "TypeDef": "Variant" + }, + "563": { + "TypeFields": [ + { + "TypeName": "u32", + "TypeId": 4 + } + ], + "Path": [ + "gear_core", + "pages", + "Page" + ], + "TypeDef": "Composite" + }, + "564": { + "TypeFields": [ + { + "Name": "code_section", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "data_section", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "global_section", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "table_section", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "element_section", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "type_section", + "TypeName": "u32", + "TypeId": 4 + } + ], + "Path": [ + "gear_core", + "code", + "instrumented", + "InstantiatedSectionSizes" + ], + "TypeDef": "Composite" + }, + "565": { + "TypeFields": [ + { + "Name": "author", + "TypeName": "H256", + "TypeId": 12 + }, + { + "Name": "block_number", + "TypeName": "u32", + "TypeId": 74 + } + ], + "Path": [ + "gear_common", + "CodeMetadata" + ], + "TypeDef": "Composite" + }, + "566": { + "TypeFields": [ + { + "Name": "inner", + "TypeName": "BTreeMap", + "TypeId": 567 + } + ], + "Path": [ + "numerated", + "tree", + "IntervalsTree" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 563 + } + ], + "TypeDef": "Composite" + }, + "567": { + "TypeFields": [ + { + "TypeId": 568 + } + ], + "Path": [ + "BTreeMap" + ], + "TypeParams": [ + { + "Name": "K", + "TypeId": 563 + }, + { + "Name": "V", + "TypeId": 563 + } + ], + "TypeDef": "Composite" + }, + "568": { + "TypeId": 569, + "TypeDef": "Sequence" + }, + "569": { + "TypeIds": [ + 563, + 563 + ], + "TypeDef": "Tuple" + }, + "570": { + "Variants": [ + { + "Name": "Active", + "TypeFields": [ + { + "TypeName": "ActiveProgram", + "TypeId": 571 + } + ], + "Index": 0 + }, + { + "Name": "Exited", + "TypeFields": [ + { + "TypeName": "ProgramId", + "TypeId": 262 + } + ], + "Index": 1 + }, + { + "Name": "Terminated", + "TypeFields": [ + { + "TypeName": "ProgramId", + "TypeId": 262 + } + ], + "Index": 2 + } + ], + "Path": [ + "gear_core", + "program", + "Program" + ], + "TypeParams": [ + { + "Name": "BlockNumber", + "TypeId": 4 + } + ], + "TypeDef": "Variant" + }, + "571": { + "TypeFields": [ + { + "Name": "allocations_tree_len", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "memory_infix", + "TypeName": "MemoryInfix", + "TypeId": 572 + }, + { + "Name": "gas_reservation_map", + "TypeName": "GasReservationMap", + "TypeId": 573 + }, + { + "Name": "code_hash", + "TypeName": "H256", + "TypeId": 12 + }, + { + "Name": "code_exports", + "TypeName": "BTreeSet", + "TypeId": 558 + }, + { + "Name": "static_pages", + "TypeName": "WasmPagesAmount", + "TypeId": 561 + }, + { + "Name": "state", + "TypeName": "ProgramState", + "TypeId": 577 + }, + { + "Name": "expiration_block", + "TypeName": "BlockNumber", + "TypeId": 4 + } + ], + "Path": [ + "gear_core", + "program", + "ActiveProgram" + ], + "TypeParams": [ + { + "Name": "BlockNumber", + "TypeId": 4 + } + ], + "TypeDef": "Composite" + }, + "572": { + "TypeFields": [ + { + "TypeName": "u32", + "TypeId": 4 + } + ], + "Path": [ + "gear_core", + "program", + "MemoryInfix" + ], + "TypeDef": "Composite" + }, + "573": { + "TypeFields": [ + { + "TypeId": 575 + } + ], + "Path": [ + "BTreeMap" + ], + "TypeParams": [ + { + "Name": "K", + "TypeId": 324 + }, + { + "Name": "V", + "TypeId": 574 + } + ], + "TypeDef": "Composite" + }, + "574": { + "TypeFields": [ + { + "Name": "amount", + "TypeName": "u64", + "TypeId": 11 + }, + { + "Name": "start", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "finish", + "TypeName": "u32", + "TypeId": 4 + } + ], + "Path": [ + "gear_core", + "reservation", + "GasReservationSlot" + ], + "TypeDef": "Composite" + }, + "575": { + "TypeId": 576, + "TypeDef": "Sequence" + }, + "576": { + "TypeIds": [ + 324, + 574 + ], + "TypeDef": "Tuple" + }, + "577": { + "Variants": [ + { + "Name": "Uninitialized", + "TypeFields": [ + { + "Name": "message_id", + "TypeName": "MessageId", + "TypeId": 263 + } + ], + "Index": 0 + }, + { + "Name": "Initialized", + "TypeFields": null, + "Index": 1 + } + ], + "Path": [ + "gear_core", + "program", + "ProgramState" + ], + "TypeDef": "Variant" + }, + "578": { + "TypeIds": [ + 262, + 572, + 579 + ], + "TypeDef": "Tuple" + }, + "579": { + "TypeFields": [ + { + "TypeName": "u32", + "TypeId": 4 + } + ], + "Path": [ + "gear_core", + "pages", + "Page" + ], + "TypeDef": "Composite" + }, + "580": { + "TypeFields": [ + { + "TypeName": "PageBufInner", + "TypeId": 581 + } + ], + "Path": [ + "gear_core", + "memory", + "PageBuf" + ], + "TypeDef": "Composite" + }, + "581": { + "TypeFields": [ + { + "TypeName": "Vec", + "TypeId": 13 + } + ], + "Path": [ + "gear_core", + "buffer", + "LimitedVec" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 2 + }, + { + "Name": "E", + "TypeId": 582 + } + ], + "TypeDef": "Composite" + }, + "582": { + "Path": [ + "gear_core", + "memory", + "IntoPageBufError" + ], + "TypeDef": "Composite" + }, + "583": { + "Variants": [ + { + "Name": "DuplicateItem", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "ProgramNotFound", + "TypeFields": null, + "Index": 1 + }, + { + "Name": "NotActiveProgram", + "TypeFields": null, + "Index": 2 + }, + { + "Name": "CannotFindDataForPage", + "TypeFields": null, + "Index": 3 + }, + { + "Name": "ProgramCodeNotFound", + "TypeFields": null, + "Index": 4 + } + ], + "Path": [ + "pallet_gear_program", + "pallet", + "Error" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Error` enum of this pallet." + ] + }, + "584": { + "TypeFields": [ + { + "Name": "next", + "TypeName": "Option", + "TypeId": 598 + }, + { + "Name": "value", + "TypeName": "V", + "TypeId": 585 + } + ], + "Path": [ + "gear_common", + "storage", + "complicated", + "dequeue", + "LinkedNode" + ], + "TypeParams": [ + { + "Name": "K", + "TypeId": 263 + }, + { + "Name": "V", + "TypeId": 585 + } + ], + "TypeDef": "Composite" + }, + "585": { + "TypeFields": [ + { + "Name": "kind", + "TypeName": "DispatchKind", + "TypeId": 559 + }, + { + "Name": "message", + "TypeName": "StoredMessage", + "TypeId": 586 + }, + { + "Name": "context", + "TypeName": "Option", + "TypeId": 591 + } + ], + "Path": [ + "gear_core", + "message", + "stored", + "StoredDispatch" + ], + "TypeDef": "Composite" + }, + "586": { + "TypeFields": [ + { + "Name": "id", + "TypeName": "MessageId", + "TypeId": 263 + }, + { + "Name": "source", + "TypeName": "ProgramId", + "TypeId": 262 + }, + { + "Name": "destination", + "TypeName": "ProgramId", + "TypeId": 262 + }, + { + "Name": "payload", + "TypeName": "Payload", + "TypeId": 306 + }, + { + "Name": "value", + "TypeName": "Value", + "TypeId": 46 + }, + { + "Name": "details", + "TypeName": "Option", + "TypeId": 587 + } + ], + "Path": [ + "gear_core", + "message", + "stored", + "StoredMessage" + ], + "TypeDef": "Composite" + }, + "587": { + "Variants": [ + { + "Name": "None", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Some", + "TypeFields": [ + { + "TypeId": 588 + } + ], + "Index": 1 + } + ], + "Path": [ + "Option" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 588 + } + ], + "TypeDef": "Variant" + }, + "588": { + "Variants": [ + { + "Name": "Reply", + "TypeFields": [ + { + "TypeName": "ReplyDetails", + "TypeId": 309 + } + ], + "Index": 0 + }, + { + "Name": "Signal", + "TypeFields": [ + { + "TypeName": "SignalDetails", + "TypeId": 589 + } + ], + "Index": 1 + } + ], + "Path": [ + "gear_core", + "message", + "common", + "MessageDetails" + ], + "TypeDef": "Variant" + }, + "589": { + "TypeFields": [ + { + "Name": "to", + "TypeName": "MessageId", + "TypeId": 263 + }, + { + "Name": "code", + "TypeName": "SignalCode", + "TypeId": 590 + } + ], + "Path": [ + "gear_core", + "message", + "common", + "SignalDetails" + ], + "TypeDef": "Composite" + }, + "590": { + "Variants": [ + { + "Name": "Execution", + "TypeFields": [ + { + "TypeName": "SimpleExecutionError", + "TypeId": 313 + } + ], + "Index": 0 + }, + { + "Name": "RemovedFromWaitlist", + "TypeFields": null, + "Index": 1 + } + ], + "Path": [ + "gear_core_errors", + "simple", + "SignalCode" + ], + "TypeDef": "Variant" + }, + "591": { + "Variants": [ + { + "Name": "None", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Some", + "TypeFields": [ + { + "TypeId": 592 + } + ], + "Index": 1 + } + ], + "Path": [ + "Option" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 592 + } + ], + "TypeDef": "Variant" + }, + "592": { + "TypeFields": [ + { + "Name": "outgoing", + "TypeName": "BTreeMap>", + "TypeId": 593 + }, + { + "Name": "reply", + "TypeName": "Option", + "TypeId": 594 + }, + { + "Name": "initialized", + "TypeName": "BTreeSet", + "TypeId": 269 + }, + { + "Name": "reservation_nonce", + "TypeName": "ReservationNonce", + "TypeId": 597 + }, + { + "Name": "system_reservation", + "TypeName": "Option", + "TypeId": 264 + } + ], + "Path": [ + "gear_core", + "message", + "context", + "ContextStore" + ], + "TypeDef": "Composite" + }, + "593": { + "TypeFields": [ + { + "TypeId": 595 + } + ], + "Path": [ + "BTreeMap" + ], + "TypeParams": [ + { + "Name": "K", + "TypeId": 4 + }, + { + "Name": "V", + "TypeId": 594 + } + ], + "TypeDef": "Composite" + }, + "594": { + "Variants": [ + { + "Name": "None", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Some", + "TypeFields": [ + { + "TypeId": 306 + } + ], + "Index": 1 + } + ], + "Path": [ + "Option" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 306 + } + ], + "TypeDef": "Variant" + }, + "595": { + "TypeId": 596, + "TypeDef": "Sequence" + }, + "596": { + "TypeIds": [ + 4, + 594 + ], + "TypeDef": "Tuple" + }, + "597": { + "TypeFields": [ + { + "TypeName": "u64", + "TypeId": 11 + } + ], + "Path": [ + "gear_core", + "reservation", + "ReservationNonce" + ], + "TypeDef": "Composite" + }, + "598": { + "Variants": [ + { + "Name": "None", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Some", + "TypeFields": [ + { + "TypeId": 263 + } + ], + "Index": 1 + } + ], + "Path": [ + "Option" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 263 + } + ], + "TypeDef": "Variant" + }, + "599": { + "TypeIds": [ + 0, + 263 + ], + "TypeDef": "Tuple" + }, + "600": { + "TypeIds": [ + 601, + 602 + ], + "TypeDef": "Tuple" + }, + "601": { + "TypeFields": [ + { + "Name": "id", + "TypeName": "MessageId", + "TypeId": 263 + }, + { + "Name": "source", + "TypeName": "ProgramId", + "TypeId": 262 + }, + { + "Name": "destination", + "TypeName": "ProgramId", + "TypeId": 262 + }, + { + "Name": "payload", + "TypeName": "Payload", + "TypeId": 306 + }, + { + "Name": "value", + "TypeName": "Value", + "TypeId": 46 + } + ], + "Path": [ + "gear_core", + "message", + "user", + "UserStoredMessage" + ], + "TypeDef": "Composite" + }, + "602": { + "TypeFields": [ + { + "Name": "start", + "TypeName": "T", + "TypeId": 4 + }, + { + "Name": "finish", + "TypeName": "T", + "TypeId": 4 + } + ], + "Path": [ + "gear_common", + "storage", + "primitives", + "Interval" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 4 + } + ], + "TypeDef": "Composite" + }, + "603": { + "TypeIds": [ + 262, + 263 + ], + "TypeDef": "Tuple" + }, + "604": { + "TypeIds": [ + 585, + 602 + ], + "TypeDef": "Tuple" + }, + "605": { + "TypeIds": [ + 606, + 602 + ], + "TypeDef": "Tuple" + }, + "606": { + "TypeFields": [ + { + "Name": "kind", + "TypeName": "DispatchKind", + "TypeId": 559 + }, + { + "Name": "message", + "TypeName": "StoredMessage", + "TypeId": 586 + } + ], + "Path": [ + "gear_core", + "message", + "stored", + "StoredDelayedDispatch" + ], + "TypeDef": "Composite" + }, + "607": { + "Variants": [ + { + "Name": "QueueDuplicateKey", + "TypeFields": null, + "Index": 0, + "Docs": [ + "Occurs when given key already exists in queue." + ] + }, + { + "Name": "QueueElementNotFound", + "TypeFields": null, + "Index": 1, + "Docs": [ + "Occurs when queue's element wasn't found in storage." + ] + }, + { + "Name": "QueueHeadShouldBeSet", + "TypeFields": null, + "Index": 2, + "Docs": [ + "Occurs when queue's head should contain value,", + "but it's empty for some reason." + ] + }, + { + "Name": "QueueHeadShouldNotBeSet", + "TypeFields": null, + "Index": 3, + "Docs": [ + "Occurs when queue's head should be empty,", + "but it contains value for some reason." + ] + }, + { + "Name": "QueueTailHasNextKey", + "TypeFields": null, + "Index": 4, + "Docs": [ + "Occurs when queue's tail element contains link", + "to the next element." + ] + }, + { + "Name": "QueueTailParentNotFound", + "TypeFields": null, + "Index": 5, + "Docs": [ + "Occurs when while searching queue's pre-tail,", + "element wasn't found." + ] + }, + { + "Name": "QueueTailShouldBeSet", + "TypeFields": null, + "Index": 6, + "Docs": [ + "Occurs when queue's tail should contain value,", + "but it's empty for some reason." + ] + }, + { + "Name": "QueueTailShouldNotBeSet", + "TypeFields": null, + "Index": 7, + "Docs": [ + "Occurs when queue's tail should be empty,", + "but it contains value for some reason." + ] + }, + { + "Name": "MailboxDuplicateKey", + "TypeFields": null, + "Index": 8, + "Docs": [ + "Occurs when given value already exists in mailbox." + ] + }, + { + "Name": "MailboxElementNotFound", + "TypeFields": null, + "Index": 9, + "Docs": [ + "Occurs when mailbox's element wasn't found in storage." + ] + }, + { + "Name": "WaitlistDuplicateKey", + "TypeFields": null, + "Index": 10, + "Docs": [ + "Occurs when given value already exists in waitlist." + ] + }, + { + "Name": "WaitlistElementNotFound", + "TypeFields": null, + "Index": 11, + "Docs": [ + "Occurs when waitlist's element wasn't found in storage." + ] + } + ], + "Path": [ + "pallet_gear_messenger", + "pallet", + "Error" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Error` enum of this pallet." + ] + }, + "608": { + "TypeIds": [ + 4, + 609 + ], + "TypeDef": "Tuple" + }, + "609": { + "Variants": [ + { + "Name": "PauseProgram", + "TypeFields": [ + { + "TypeName": "ProgramId", + "TypeId": 262 + } + ], + "Index": 0 + }, + { + "Name": "RemoveCode", + "TypeFields": [ + { + "TypeName": "CodeId", + "TypeId": 261 + } + ], + "Index": 1 + }, + { + "Name": "RemoveFromMailbox", + "TypeFields": [ + { + "TypeName": "AccountId", + "TypeId": 0 + }, + { + "TypeName": "MessageId", + "TypeId": 263 + } + ], + "Index": 2 + }, + { + "Name": "RemoveFromWaitlist", + "TypeFields": [ + { + "TypeName": "ProgramId", + "TypeId": 262 + }, + { + "TypeName": "MessageId", + "TypeId": 263 + } + ], + "Index": 3 + }, + { + "Name": "RemovePausedProgram", + "TypeFields": [ + { + "TypeName": "ProgramId", + "TypeId": 262 + } + ], + "Index": 4 + }, + { + "Name": "WakeMessage", + "TypeFields": [ + { + "TypeName": "ProgramId", + "TypeId": 262 + }, + { + "TypeName": "MessageId", + "TypeId": 263 + } + ], + "Index": 5 + }, + { + "Name": "SendDispatch", + "TypeFields": [ + { + "TypeName": "MessageId", + "TypeId": 263 + } + ], + "Index": 6 + }, + { + "Name": "SendUserMessage", + "TypeFields": [ + { + "Name": "message_id", + "TypeName": "MessageId", + "TypeId": 263 + }, + { + "Name": "to_mailbox", + "TypeName": "bool", + "TypeId": 54 + } + ], + "Index": 7 + }, + { + "Name": "RemoveGasReservation", + "TypeFields": [ + { + "TypeName": "ProgramId", + "TypeId": 262 + }, + { + "TypeName": "ReservationId", + "TypeId": 324 + } + ], + "Index": 8 + }, + { + "Name": "RemoveResumeSession", + "TypeFields": [ + { + "TypeName": "u32", + "TypeId": 4 + } + ], + "Index": 9 + } + ], + "Path": [ + "gear_core", + "tasks", + "ScheduledTask" + ], + "TypeParams": [ + { + "Name": "AccountId", + "TypeId": 0 + } + ], + "TypeDef": "Variant" + }, + "610": { + "Variants": [ + { + "Name": "DuplicateTask", + "TypeFields": null, + "Index": 0, + "Docs": [ + "Occurs when given task already exists in task pool." + ] + }, + { + "Name": "TaskNotFound", + "TypeFields": null, + "Index": 1, + "Docs": [ + "Occurs when task wasn't found in storage." + ] + } + ], + "Path": [ + "pallet_gear_scheduler", + "pallet", + "Error" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Error` enum of this pallet." + ] + }, + "611": { + "Variants": [ + { + "Name": "External", + "TypeFields": [ + { + "Name": "id", + "TypeName": "ExternalId", + "TypeId": 0 + }, + { + "Name": "multiplier", + "TypeName": "GasMultiplier", + "TypeId": 612 + }, + { + "Name": "value", + "TypeName": "Balance", + "TypeId": 11 + }, + { + "Name": "lock", + "TypeName": "NodeLock", + "TypeId": 613 + }, + { + "Name": "system_reserve", + "TypeName": "Balance", + "TypeId": 11 + }, + { + "Name": "refs", + "TypeName": "ChildrenRefs", + "TypeId": 615 + }, + { + "Name": "consumed", + "TypeName": "bool", + "TypeId": 54 + }, + { + "Name": "deposit", + "TypeName": "bool", + "TypeId": 54 + } + ], + "Index": 0 + }, + { + "Name": "Cut", + "TypeFields": [ + { + "Name": "id", + "TypeName": "ExternalId", + "TypeId": 0 + }, + { + "Name": "multiplier", + "TypeName": "GasMultiplier", + "TypeId": 612 + }, + { + "Name": "value", + "TypeName": "Balance", + "TypeId": 11 + }, + { + "Name": "lock", + "TypeName": "NodeLock", + "TypeId": 613 + } + ], + "Index": 1 + }, + { + "Name": "Reserved", + "TypeFields": [ + { + "Name": "id", + "TypeName": "ExternalId", + "TypeId": 0 + }, + { + "Name": "multiplier", + "TypeName": "GasMultiplier", + "TypeId": 612 + }, + { + "Name": "value", + "TypeName": "Balance", + "TypeId": 11 + }, + { + "Name": "lock", + "TypeName": "NodeLock", + "TypeId": 613 + }, + { + "Name": "refs", + "TypeName": "ChildrenRefs", + "TypeId": 615 + }, + { + "Name": "consumed", + "TypeName": "bool", + "TypeId": 54 + } + ], + "Index": 2 + }, + { + "Name": "SpecifiedLocal", + "TypeFields": [ + { + "Name": "parent", + "TypeName": "Id", + "TypeId": 323 + }, + { + "Name": "root", + "TypeName": "Id", + "TypeId": 323 + }, + { + "Name": "value", + "TypeName": "Balance", + "TypeId": 11 + }, + { + "Name": "lock", + "TypeName": "NodeLock", + "TypeId": 613 + }, + { + "Name": "system_reserve", + "TypeName": "Balance", + "TypeId": 11 + }, + { + "Name": "refs", + "TypeName": "ChildrenRefs", + "TypeId": 615 + }, + { + "Name": "consumed", + "TypeName": "bool", + "TypeId": 54 + } + ], + "Index": 3 + }, + { + "Name": "UnspecifiedLocal", + "TypeFields": [ + { + "Name": "parent", + "TypeName": "Id", + "TypeId": 323 + }, + { + "Name": "root", + "TypeName": "Id", + "TypeId": 323 + }, + { + "Name": "lock", + "TypeName": "NodeLock", + "TypeId": 613 + }, + { + "Name": "system_reserve", + "TypeName": "Balance", + "TypeId": 11 + } + ], + "Index": 4 + } + ], + "Path": [ + "gear_common", + "gas_provider", + "node", + "GasNode" + ], + "TypeParams": [ + { + "Name": "ExternalId", + "TypeId": 0 + }, + { + "Name": "Id", + "TypeId": 323 + }, + { + "Name": "Balance", + "TypeId": 11 + }, + { + "Name": "Funds", + "TypeId": 6 + } + ], + "TypeDef": "Variant" + }, + "612": { + "Variants": [ + { + "Name": "ValuePerGas", + "TypeFields": [ + { + "TypeName": "Balance", + "TypeId": 6 + } + ], + "Index": 0 + }, + { + "Name": "GasPerValue", + "TypeFields": [ + { + "TypeName": "Gas", + "TypeId": 11 + } + ], + "Index": 1 + } + ], + "Path": [ + "gear_common", + "GasMultiplier" + ], + "TypeParams": [ + { + "Name": "Balance", + "TypeId": 6 + }, + { + "Name": "Gas", + "TypeId": 11 + } + ], + "TypeDef": "Variant" + }, + "613": { + "TypeFields": [ + { + "TypeName": "[Balance; cardinality::()]", + "TypeId": 614 + } + ], + "Path": [ + "gear_common", + "gas_provider", + "node", + "NodeLock" + ], + "TypeParams": [ + { + "Name": "Balance", + "TypeId": 11 + } + ], + "TypeDef": "Composite" + }, + "614": { + "Length": 4, + "TypeId": 11, + "TypeDef": "Array" + }, + "615": { + "TypeFields": [ + { + "Name": "spec_refs", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "unspec_refs", + "TypeName": "u32", + "TypeId": 4 + } + ], + "Path": [ + "gear_common", + "gas_provider", + "node", + "ChildrenRefs" + ], + "TypeDef": "Composite" + }, + "616": { + "Variants": [ + { + "Name": "Forbidden", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "NodeAlreadyExists", + "TypeFields": null, + "Index": 1 + }, + { + "Name": "InsufficientBalance", + "TypeFields": null, + "Index": 2 + }, + { + "Name": "NodeNotFound", + "TypeFields": null, + "Index": 3 + }, + { + "Name": "NodeWasConsumed", + "TypeFields": null, + "Index": 4 + }, + { + "Name": "ParentIsLost", + "TypeFields": null, + "Index": 5, + "Docs": [ + "Errors stating that gas tree has been invalidated" + ] + }, + { + "Name": "ParentHasNoChildren", + "TypeFields": null, + "Index": 6 + }, + { + "Name": "UnexpectedConsumeOutput", + "TypeFields": null, + "Index": 7, + "Docs": [ + "Output of `Tree::consume` procedure that wasn't expected.", + "", + "Outputs of consumption procedure are determined. The error is returned", + "when unexpected one occurred. That signals, that algorithm works wrong", + "and expected invariants are not correct." + ] + }, + { + "Name": "UnexpectedNodeType", + "TypeFields": null, + "Index": 8, + "Docs": [ + "Node type that can't occur if algorithm work well" + ] + }, + { + "Name": "ValueIsNotCaught", + "TypeFields": null, + "Index": 9, + "Docs": [ + "Value must have been caught, but was missed or blocked (for more info see `ValueNode::catch_value`)." + ] + }, + { + "Name": "ValueIsBlocked", + "TypeFields": null, + "Index": 10, + "Docs": [ + "Value must have been caught or moved upstream, but was blocked (for more info see `ValueNode::catch_value`)." + ] + }, + { + "Name": "ValueIsNotBlocked", + "TypeFields": null, + "Index": 11, + "Docs": [ + "Value must have been blocked, but was either moved or caught (for more info see `ValueNode::catch_value`)." + ] + }, + { + "Name": "ConsumedWithLock", + "TypeFields": null, + "Index": 12, + "Docs": [ + "`GasTree::consume` called on node, which has some balance locked." + ] + }, + { + "Name": "ConsumedWithSystemReservation", + "TypeFields": null, + "Index": 13, + "Docs": [ + "`GasTree::consume` called on node, which has some system reservation." + ] + }, + { + "Name": "TotalValueIsOverflowed", + "TypeFields": null, + "Index": 14, + "Docs": [ + "`GasTree::create` called with some value amount leading to", + "the total value overflow." + ] + }, + { + "Name": "TotalValueIsUnderflowed", + "TypeFields": null, + "Index": 15, + "Docs": [ + "Either `GasTree::consume` or `GasTree::spent` called on a node creating", + "negative imbalance which leads to the total value drop below 0." + ] + } + ], + "Path": [ + "pallet_gear_gas", + "pallet", + "Error" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Error` enum of this pallet." + ] + }, + "617": { + "TypeFields": [ + { + "Name": "limits", + "TypeName": "Limits", + "TypeId": 618 + }, + { + "Name": "instruction_weights", + "TypeName": "InstructionWeights", + "TypeId": 619 + }, + { + "Name": "syscall_weights", + "TypeName": "SyscallWeights", + "TypeId": 620 + }, + { + "Name": "memory_weights", + "TypeName": "MemoryWeights", + "TypeId": 621 + }, + { + "Name": "rent_weights", + "TypeName": "RentWeights", + "TypeId": 622 + }, + { + "Name": "db_weights", + "TypeName": "DbWeights", + "TypeId": 623 + }, + { + "Name": "task_weights", + "TypeName": "TaskWeights", + "TypeId": 624 + }, + { + "Name": "instantiation_weights", + "TypeName": "InstantiationWeights", + "TypeId": 625 + }, + { + "Name": "code_instrumentation_cost", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "code_instrumentation_byte_cost", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "load_allocations_weight", + "TypeName": "Weight", + "TypeId": 9 + } + ], + "Path": [ + "pallet_gear", + "schedule", + "Schedule" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Composite" + }, + "618": { + "TypeFields": [ + { + "Name": "stack_height", + "TypeName": "Option", + "TypeId": 117 + }, + { + "Name": "globals", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "locals", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "parameters", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "memory_pages", + "TypeName": "u16", + "TypeId": 63 + }, + { + "Name": "table_size", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "table_number", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "br_table_size", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "subject_len", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "call_depth", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "payload_len", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "code_len", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "data_segments_amount", + "TypeName": "u32", + "TypeId": 4 + } + ], + "Path": [ + "pallet_gear", + "schedule", + "Limits" + ], + "TypeDef": "Composite" + }, + "619": { + "TypeFields": [ + { + "Name": "version", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i64const", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i64load", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i32load", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i64store", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i32store", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "select", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "r#if", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "br", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "br_if", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "br_table", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "br_table_per_entry", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "call", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "call_indirect", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "call_indirect_per_param", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "call_per_local", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "local_get", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "local_set", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "local_tee", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "global_get", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "global_set", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "memory_current", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i64clz", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i32clz", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i64ctz", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i32ctz", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i64popcnt", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i32popcnt", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i64eqz", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i32eqz", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i32extend8s", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i32extend16s", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i64extend8s", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i64extend16s", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i64extend32s", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i64extendsi32", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i64extendui32", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i32wrapi64", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i64eq", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i32eq", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i64ne", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i32ne", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i64lts", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i32lts", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i64ltu", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i32ltu", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i64gts", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i32gts", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i64gtu", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i32gtu", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i64les", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i32les", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i64leu", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i32leu", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i64ges", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i32ges", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i64geu", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i32geu", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i64add", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i32add", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i64sub", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i32sub", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i64mul", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i32mul", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i64divs", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i32divs", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i64divu", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i32divu", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i64rems", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i32rems", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i64remu", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i32remu", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i64and", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i32and", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i64or", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i32or", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i64xor", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i32xor", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i64shl", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i32shl", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i64shrs", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i32shrs", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i64shru", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i32shru", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i64rotl", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i32rotl", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i64rotr", + "TypeName": "u32", + "TypeId": 4 + }, + { + "Name": "i32rotr", + "TypeName": "u32", + "TypeId": 4 + } + ], + "Path": [ + "pallet_gear", + "schedule", + "InstructionWeights" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Composite" + }, + "620": { + "TypeFields": [ + { + "Name": "alloc", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "free", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "free_range", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "free_range_per_page", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_reserve_gas", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_unreserve_gas", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_system_reserve_gas", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_gas_available", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_message_id", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_program_id", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_source", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_value", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_value_available", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_size", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_read", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_read_per_byte", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_env_vars", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_block_height", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_block_timestamp", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_random", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_reply_deposit", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_send", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_send_per_byte", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_send_wgas", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_send_wgas_per_byte", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_send_init", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_send_push", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_send_push_per_byte", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_send_commit", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_send_commit_wgas", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_reservation_send", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_reservation_send_per_byte", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_reservation_send_commit", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_reply_commit", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_reply_commit_wgas", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_reservation_reply", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_reservation_reply_per_byte", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_reservation_reply_commit", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_reply_push", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_reply", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_reply_per_byte", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_reply_wgas", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_reply_wgas_per_byte", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_reply_push_per_byte", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_reply_to", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_signal_code", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_signal_from", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_reply_input", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_reply_input_wgas", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_reply_push_input", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_reply_push_input_per_byte", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_send_input", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_send_input_wgas", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_send_push_input", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_send_push_input_per_byte", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_debug", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_debug_per_byte", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_reply_code", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_exit", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_leave", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_wait", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_wait_for", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_wait_up_to", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_wake", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_create_program", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_create_program_payload_per_byte", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_create_program_salt_per_byte", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_create_program_wgas", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_create_program_wgas_payload_per_byte", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "gr_create_program_wgas_salt_per_byte", + "TypeName": "Weight", + "TypeId": 9 + } + ], + "Path": [ + "pallet_gear", + "schedule", + "SyscallWeights" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Composite" + }, + "621": { + "TypeFields": [ + { + "Name": "lazy_pages_signal_read", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "lazy_pages_signal_write", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "lazy_pages_signal_write_after_read", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "lazy_pages_host_func_read", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "lazy_pages_host_func_write", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "lazy_pages_host_func_write_after_read", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "load_page_data", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "upload_page_data", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "mem_grow", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "mem_grow_per_page", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "parachain_read_heuristic", + "TypeName": "Weight", + "TypeId": 9 + } + ], + "Path": [ + "pallet_gear", + "schedule", + "MemoryWeights" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Composite" + }, + "622": { + "TypeFields": [ + { + "Name": "waitlist", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "dispatch_stash", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "reservation", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "mailbox", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "mailbox_threshold", + "TypeName": "Weight", + "TypeId": 9 + } + ], + "Path": [ + "pallet_gear", + "schedule", + "RentWeights" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Composite" + }, + "623": { + "TypeFields": [ + { + "Name": "read", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "read_per_byte", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "write", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "write_per_byte", + "TypeName": "Weight", + "TypeId": 9 + } + ], + "Path": [ + "pallet_gear", + "schedule", + "DbWeights" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Composite" + }, + "624": { + "TypeFields": [ + { + "Name": "remove_gas_reservation", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "send_user_message_to_mailbox", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "send_user_message", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "send_dispatch", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "wake_message", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "wake_message_no_wake", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "remove_from_waitlist", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "remove_from_mailbox", + "TypeName": "Weight", + "TypeId": 9 + } + ], + "Path": [ + "pallet_gear", + "schedule", + "TaskWeights" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Composite" + }, + "625": { + "TypeFields": [ + { + "Name": "code_section_per_byte", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "data_section_per_byte", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "global_section_per_byte", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "table_section_per_byte", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "element_section_per_byte", + "TypeName": "Weight", + "TypeId": 9 + }, + { + "Name": "type_section_per_byte", + "TypeName": "Weight", + "TypeId": 9 + } + ], + "Path": [ + "pallet_gear", + "schedule", + "InstantiationWeights" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Composite" + }, + "626": { + "TypeFields": [ + { + "TypeName": "u32", + "TypeId": 4 + } + ], + "Path": [ + "gear_core", + "percent", + "Percent" + ], + "TypeDef": "Composite" + }, + "627": { + "Variants": [ + { + "Name": "MessageNotFound", + "TypeFields": null, + "Index": 0, + "Docs": [ + "Message wasn't found in the mailbox." + ] + }, + { + "Name": "InsufficientBalance", + "TypeFields": null, + "Index": 1, + "Docs": [ + "Not enough balance to execute an action.", + "", + "Usually occurs when the gas_limit specified is such that the origin account can't afford the message." + ] + }, + { + "Name": "GasLimitTooHigh", + "TypeFields": null, + "Index": 2, + "Docs": [ + "Gas limit too high.", + "", + "Occurs when an extrinsic's declared `gas_limit` is greater than a block's maximum gas limit." + ] + }, + { + "Name": "ProgramAlreadyExists", + "TypeFields": null, + "Index": 3, + "Docs": [ + "Program already exists.", + "", + "Occurs if a program with some specific program id already exists in program storage." + ] + }, + { + "Name": "InactiveProgram", + "TypeFields": null, + "Index": 4, + "Docs": [ + "Program is terminated.", + "", + "Program init failed, so such message destination is no longer unavailable." + ] + }, + { + "Name": "NoMessageTree", + "TypeFields": null, + "Index": 5, + "Docs": [ + "Message gas tree is not found.", + "", + "When a message claimed from the mailbox has a corrupted or non-extant gas tree associated." + ] + }, + { + "Name": "CodeAlreadyExists", + "TypeFields": null, + "Index": 6, + "Docs": [ + "Code already exists.", + "", + "Occurs when trying to save to storage a program code that has been saved there." + ] + }, + { + "Name": "CodeDoesntExist", + "TypeFields": null, + "Index": 7, + "Docs": [ + "Code does not exist.", + "", + "Occurs when trying to get a program code from storage, that doesn't exist." + ] + }, + { + "Name": "CodeTooLarge", + "TypeFields": null, + "Index": 8, + "Docs": [ + "The code supplied to `upload_code` or `upload_program` exceeds the limit specified in the", + "current schedule." + ] + }, + { + "Name": "ProgramConstructionFailed", + "TypeFields": null, + "Index": 9, + "Docs": [ + "Failed to create a program." + ] + }, + { + "Name": "MessageQueueProcessingDisabled", + "TypeFields": null, + "Index": 10, + "Docs": [ + "Message queue processing is disabled." + ] + }, + { + "Name": "ResumePeriodLessThanMinimal", + "TypeFields": null, + "Index": 11, + "Docs": [ + "Block count doesn't cover MinimalResumePeriod." + ] + }, + { + "Name": "ProgramNotFound", + "TypeFields": null, + "Index": 12, + "Docs": [ + "Program with the specified id is not found." + ] + }, + { + "Name": "GearRunAlreadyInBlock", + "TypeFields": null, + "Index": 13, + "Docs": [ + "Gear::run() already included in current block." + ] + }, + { + "Name": "ProgramRentDisabled", + "TypeFields": null, + "Index": 14, + "Docs": [ + "The program rent logic is disabled." + ] + }, + { + "Name": "ActiveProgram", + "TypeFields": null, + "Index": 15, + "Docs": [ + "Program is active." + ] + } + ], + "Path": [ + "pallet_gear", + "pallet", + "Error" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Error` enum of this pallet." + ] + }, + "628": { + "TypeFields": [ + { + "TypeName": "u64", + "TypeId": 11 + } + ], + "Path": [ + "sp_arithmetic", + "per_things", + "Perquintill" + ], + "TypeDef": "Composite" + }, + "629": { + "TypeFields": [ + { + "TypeId": 97 + } + ], + "Path": [ + "BTreeSet" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 0 + } + ], + "TypeDef": "Composite" + }, + "630": { + "Variants": [ + { + "Name": "FailureToRefillPool", + "TypeFields": null, + "Index": 0, + "Docs": [ + "Pool not replenished due to error." + ] + }, + { + "Name": "FailureToWithdrawFromPool", + "TypeFields": null, + "Index": 1, + "Docs": [ + "Failure to withdraw funds from the rewards pool." + ] + } + ], + "Path": [ + "pallet_gear_staking_rewards", + "pallet", + "Error" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "Error for the staking rewards pallet." + ] + }, + "631": { + "TypeIds": [ + 0, + 271 + ], + "TypeDef": "Tuple" + }, + "632": { + "TypeFields": [ + { + "Name": "owner", + "TypeName": "AccountId", + "TypeId": 0 + }, + { + "Name": "programs", + "TypeName": "Option>", + "TypeId": 268 + }, + { + "Name": "code_uploading", + "TypeName": "bool", + "TypeId": 54 + }, + { + "Name": "expiry", + "TypeName": "BlockNumber", + "TypeId": 4 + } + ], + "Path": [ + "pallet_gear_voucher", + "internal", + "VoucherInfo" + ], + "TypeParams": [ + { + "Name": "AccountId", + "TypeId": 0 + }, + { + "Name": "BlockNumber", + "TypeId": 4 + } + ], + "TypeDef": "Composite" + }, + "633": { + "Variants": [ + { + "Name": "BadOrigin", + "TypeFields": null, + "Index": 0, + "Docs": [ + "The origin is not eligible to execute call." + ] + }, + { + "Name": "BalanceTransfer", + "TypeFields": null, + "Index": 1, + "Docs": [ + "Error trying transfer balance to/from voucher account." + ] + }, + { + "Name": "InappropriateDestination", + "TypeFields": null, + "Index": 2, + "Docs": [ + "Destination program is not in whitelisted set for voucher." + ] + }, + { + "Name": "InexistentVoucher", + "TypeFields": null, + "Index": 3, + "Docs": [ + "Voucher with given identifier doesn't exist for given spender id." + ] + }, + { + "Name": "IrrevocableYet", + "TypeFields": null, + "Index": 4, + "Docs": [ + "Voucher still valid and couldn't be revoked." + ] + }, + { + "Name": "MaxProgramsLimitExceeded", + "TypeFields": null, + "Index": 5, + "Docs": [ + "Try to whitelist more programs than allowed." + ] + }, + { + "Name": "UnknownDestination", + "TypeFields": null, + "Index": 6, + "Docs": [ + "Failed to query destination of the prepaid call." + ] + }, + { + "Name": "VoucherExpired", + "TypeFields": null, + "Index": 7, + "Docs": [ + "Voucher has expired and couldn't be used." + ] + }, + { + "Name": "DurationOutOfBounds", + "TypeFields": null, + "Index": 8, + "Docs": [ + "Voucher issue/prolongation duration out of [min; max] constants." + ] + }, + { + "Name": "CodeUploadingEnabled", + "TypeFields": null, + "Index": 9, + "Docs": [ + "Voucher update function tries to cut voucher ability of code upload." + ] + }, + { + "Name": "CodeUploadingDisabled", + "TypeFields": null, + "Index": 10, + "Docs": [ + "Voucher is disabled for code uploading, but requested." + ] + } + ], + "Path": [ + "pallet_gear_voucher", + "pallet", + "Error" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Error` enum of this pallet." + ] + }, + "634": { + "TypeFields": [ + { + "Name": "gas", + "TypeName": "Balance", + "TypeId": 6 + }, + { + "Name": "value", + "TypeName": "Balance", + "TypeId": 6 + } + ], + "Path": [ + "pallet_gear_bank", + "pallet", + "BankAccount" + ], + "TypeParams": [ + { + "Name": "Balance", + "TypeId": 6 + } + ], + "TypeDef": "Composite" + }, + "635": { + "Variants": [ + { + "Name": "InsufficientBalance", + "TypeFields": null, + "Index": 0, + "Docs": [ + "Insufficient user balance." + ] + }, + { + "Name": "InsufficientGasBalance", + "TypeFields": null, + "Index": 1, + "Docs": [ + "Insufficient user's bank account gas balance." + ] + }, + { + "Name": "InsufficientValueBalance", + "TypeFields": null, + "Index": 2, + "Docs": [ + "Insufficient user's bank account gas balance." + ] + }, + { + "Name": "InsufficientBankBalance", + "TypeFields": null, + "Index": 3, + "Docs": [ + "Insufficient bank account balance.", + "**Must be unreachable in Gear main protocol.**" + ] + }, + { + "Name": "InsufficientDeposit", + "TypeFields": null, + "Index": 4, + "Docs": [ + "Deposit of funds that will not keep bank account alive.", + "**Must be unreachable in Gear main protocol.**" + ] + }, + { + "Name": "Overflow", + "TypeFields": null, + "Index": 5, + "Docs": [ + "Overflow during funds transfer.", + "**Must be unreachable in Gear main protocol.**" + ] + } + ], + "Path": [ + "pallet_gear_bank", + "pallet", + "Error" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Variant", + "Docs": [ + "The `Error` enum of this pallet." + ] + }, + "636": { + "TypeFields": [ + { + "TypeId": 13 + } + ], + "Path": [ + "sp_runtime", + "generic", + "unchecked_extrinsic", + "UncheckedExtrinsic" + ], + "TypeParams": [ + { + "Name": "Address", + "TypeId": 94 + }, + { + "Name": "Call", + "TypeId": 65 + }, + { + "Name": "Signature", + "TypeId": 637 + }, + { + "Name": "Extra", + "TypeId": 640 + } + ], + "TypeDef": "Composite" + }, + "637": { + "Variants": [ + { + "Name": "Ed25519", + "TypeFields": [ + { + "TypeName": "ed25519::Signature", + "TypeId": 87 + } + ], + "Index": 0 + }, + { + "Name": "Sr25519", + "TypeFields": [ + { + "TypeName": "sr25519::Signature", + "TypeId": 104 + } + ], + "Index": 1 + }, + { + "Name": "Ecdsa", + "TypeFields": [ + { + "TypeName": "ecdsa::Signature", + "TypeId": 638 + } + ], + "Index": 2 + } + ], + "Path": [ + "sp_runtime", + "MultiSignature" + ], + "TypeDef": "Variant" + }, + "638": { + "TypeFields": [ + { + "TypeName": "[u8; SIGNATURE_SERIALIZED_SIZE]", + "TypeId": 639 + } + ], + "Path": [ + "sp_core", + "ecdsa", + "Signature" + ], + "TypeDef": "Composite" + }, + "639": { + "Length": 65, + "TypeId": 2, + "TypeDef": "Array" + }, + "640": { + "TypeIds": [ + 641, + 642, + 643, + 644, + 645, + 646, + 648, + 649, + 650 + ], + "TypeDef": "Tuple" + }, + "641": { + "Path": [ + "pallet_gear_staking_rewards", + "extension", + "StakingBlackList" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Composite" + }, + "642": { + "Path": [ + "frame_system", + "extensions", + "check_non_zero_sender", + "CheckNonZeroSender" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Composite" + }, + "643": { + "Path": [ + "frame_system", + "extensions", + "check_spec_version", + "CheckSpecVersion" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Composite" + }, + "644": { + "Path": [ + "frame_system", + "extensions", + "check_tx_version", + "CheckTxVersion" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Composite" + }, + "645": { + "Path": [ + "frame_system", + "extensions", + "check_genesis", + "CheckGenesis" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Composite" + }, + "646": { + "TypeFields": [ + { + "TypeName": "Era", + "TypeId": 647 + } + ], + "Path": [ + "frame_system", + "extensions", + "check_mortality", + "CheckMortality" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Composite" + }, + "647": { + "Variants": [ + { + "Name": "Immortal", + "TypeFields": null, + "Index": 0 + }, + { + "Name": "Mortal1", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 1 + }, + { + "Name": "Mortal2", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 2 + }, + { + "Name": "Mortal3", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 3 + }, + { + "Name": "Mortal4", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 4 + }, + { + "Name": "Mortal5", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 5 + }, + { + "Name": "Mortal6", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 6 + }, + { + "Name": "Mortal7", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 7 + }, + { + "Name": "Mortal8", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 8 + }, + { + "Name": "Mortal9", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 9 + }, + { + "Name": "Mortal10", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 10 + }, + { + "Name": "Mortal11", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 11 + }, + { + "Name": "Mortal12", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 12 + }, + { + "Name": "Mortal13", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 13 + }, + { + "Name": "Mortal14", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 14 + }, + { + "Name": "Mortal15", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 15 + }, + { + "Name": "Mortal16", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 16 + }, + { + "Name": "Mortal17", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 17 + }, + { + "Name": "Mortal18", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 18 + }, + { + "Name": "Mortal19", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 19 + }, + { + "Name": "Mortal20", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 20 + }, + { + "Name": "Mortal21", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 21 + }, + { + "Name": "Mortal22", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 22 + }, + { + "Name": "Mortal23", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 23 + }, + { + "Name": "Mortal24", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 24 + }, + { + "Name": "Mortal25", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 25 + }, + { + "Name": "Mortal26", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 26 + }, + { + "Name": "Mortal27", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 27 + }, + { + "Name": "Mortal28", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 28 + }, + { + "Name": "Mortal29", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 29 + }, + { + "Name": "Mortal30", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 30 + }, + { + "Name": "Mortal31", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 31 + }, + { + "Name": "Mortal32", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 32 + }, + { + "Name": "Mortal33", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 33 + }, + { + "Name": "Mortal34", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 34 + }, + { + "Name": "Mortal35", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 35 + }, + { + "Name": "Mortal36", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 36 + }, + { + "Name": "Mortal37", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 37 + }, + { + "Name": "Mortal38", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 38 + }, + { + "Name": "Mortal39", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 39 + }, + { + "Name": "Mortal40", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 40 + }, + { + "Name": "Mortal41", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 41 + }, + { + "Name": "Mortal42", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 42 + }, + { + "Name": "Mortal43", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 43 + }, + { + "Name": "Mortal44", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 44 + }, + { + "Name": "Mortal45", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 45 + }, + { + "Name": "Mortal46", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 46 + }, + { + "Name": "Mortal47", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 47 + }, + { + "Name": "Mortal48", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 48 + }, + { + "Name": "Mortal49", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 49 + }, + { + "Name": "Mortal50", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 50 + }, + { + "Name": "Mortal51", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 51 + }, + { + "Name": "Mortal52", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 52 + }, + { + "Name": "Mortal53", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 53 + }, + { + "Name": "Mortal54", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 54 + }, + { + "Name": "Mortal55", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 55 + }, + { + "Name": "Mortal56", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 56 + }, + { + "Name": "Mortal57", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 57 + }, + { + "Name": "Mortal58", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 58 + }, + { + "Name": "Mortal59", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 59 + }, + { + "Name": "Mortal60", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 60 + }, + { + "Name": "Mortal61", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 61 + }, + { + "Name": "Mortal62", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 62 + }, + { + "Name": "Mortal63", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 63 + }, + { + "Name": "Mortal64", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 64 + }, + { + "Name": "Mortal65", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 65 + }, + { + "Name": "Mortal66", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 66 + }, + { + "Name": "Mortal67", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 67 + }, + { + "Name": "Mortal68", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 68 + }, + { + "Name": "Mortal69", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 69 + }, + { + "Name": "Mortal70", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 70 + }, + { + "Name": "Mortal71", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 71 + }, + { + "Name": "Mortal72", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 72 + }, + { + "Name": "Mortal73", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 73 + }, + { + "Name": "Mortal74", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 74 + }, + { + "Name": "Mortal75", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 75 + }, + { + "Name": "Mortal76", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 76 + }, + { + "Name": "Mortal77", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 77 + }, + { + "Name": "Mortal78", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 78 + }, + { + "Name": "Mortal79", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 79 + }, + { + "Name": "Mortal80", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 80 + }, + { + "Name": "Mortal81", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 81 + }, + { + "Name": "Mortal82", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 82 + }, + { + "Name": "Mortal83", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 83 + }, + { + "Name": "Mortal84", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 84 + }, + { + "Name": "Mortal85", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 85 + }, + { + "Name": "Mortal86", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 86 + }, + { + "Name": "Mortal87", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 87 + }, + { + "Name": "Mortal88", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 88 + }, + { + "Name": "Mortal89", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 89 + }, + { + "Name": "Mortal90", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 90 + }, + { + "Name": "Mortal91", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 91 + }, + { + "Name": "Mortal92", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 92 + }, + { + "Name": "Mortal93", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 93 + }, + { + "Name": "Mortal94", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 94 + }, + { + "Name": "Mortal95", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 95 + }, + { + "Name": "Mortal96", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 96 + }, + { + "Name": "Mortal97", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 97 + }, + { + "Name": "Mortal98", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 98 + }, + { + "Name": "Mortal99", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 99 + }, + { + "Name": "Mortal100", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 100 + }, + { + "Name": "Mortal101", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 101 + }, + { + "Name": "Mortal102", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 102 + }, + { + "Name": "Mortal103", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 103 + }, + { + "Name": "Mortal104", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 104 + }, + { + "Name": "Mortal105", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 105 + }, + { + "Name": "Mortal106", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 106 + }, + { + "Name": "Mortal107", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 107 + }, + { + "Name": "Mortal108", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 108 + }, + { + "Name": "Mortal109", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 109 + }, + { + "Name": "Mortal110", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 110 + }, + { + "Name": "Mortal111", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 111 + }, + { + "Name": "Mortal112", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 112 + }, + { + "Name": "Mortal113", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 113 + }, + { + "Name": "Mortal114", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 114 + }, + { + "Name": "Mortal115", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 115 + }, + { + "Name": "Mortal116", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 116 + }, + { + "Name": "Mortal117", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 117 + }, + { + "Name": "Mortal118", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 118 + }, + { + "Name": "Mortal119", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 119 + }, + { + "Name": "Mortal120", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 120 + }, + { + "Name": "Mortal121", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 121 + }, + { + "Name": "Mortal122", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 122 + }, + { + "Name": "Mortal123", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 123 + }, + { + "Name": "Mortal124", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 124 + }, + { + "Name": "Mortal125", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 125 + }, + { + "Name": "Mortal126", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 126 + }, + { + "Name": "Mortal127", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 127 + }, + { + "Name": "Mortal128", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 128 + }, + { + "Name": "Mortal129", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 129 + }, + { + "Name": "Mortal130", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 130 + }, + { + "Name": "Mortal131", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 131 + }, + { + "Name": "Mortal132", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 132 + }, + { + "Name": "Mortal133", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 133 + }, + { + "Name": "Mortal134", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 134 + }, + { + "Name": "Mortal135", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 135 + }, + { + "Name": "Mortal136", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 136 + }, + { + "Name": "Mortal137", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 137 + }, + { + "Name": "Mortal138", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 138 + }, + { + "Name": "Mortal139", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 139 + }, + { + "Name": "Mortal140", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 140 + }, + { + "Name": "Mortal141", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 141 + }, + { + "Name": "Mortal142", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 142 + }, + { + "Name": "Mortal143", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 143 + }, + { + "Name": "Mortal144", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 144 + }, + { + "Name": "Mortal145", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 145 + }, + { + "Name": "Mortal146", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 146 + }, + { + "Name": "Mortal147", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 147 + }, + { + "Name": "Mortal148", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 148 + }, + { + "Name": "Mortal149", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 149 + }, + { + "Name": "Mortal150", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 150 + }, + { + "Name": "Mortal151", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 151 + }, + { + "Name": "Mortal152", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 152 + }, + { + "Name": "Mortal153", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 153 + }, + { + "Name": "Mortal154", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 154 + }, + { + "Name": "Mortal155", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 155 + }, + { + "Name": "Mortal156", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 156 + }, + { + "Name": "Mortal157", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 157 + }, + { + "Name": "Mortal158", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 158 + }, + { + "Name": "Mortal159", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 159 + }, + { + "Name": "Mortal160", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 160 + }, + { + "Name": "Mortal161", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 161 + }, + { + "Name": "Mortal162", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 162 + }, + { + "Name": "Mortal163", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 163 + }, + { + "Name": "Mortal164", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 164 + }, + { + "Name": "Mortal165", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 165 + }, + { + "Name": "Mortal166", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 166 + }, + { + "Name": "Mortal167", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 167 + }, + { + "Name": "Mortal168", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 168 + }, + { + "Name": "Mortal169", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 169 + }, + { + "Name": "Mortal170", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 170 + }, + { + "Name": "Mortal171", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 171 + }, + { + "Name": "Mortal172", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 172 + }, + { + "Name": "Mortal173", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 173 + }, + { + "Name": "Mortal174", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 174 + }, + { + "Name": "Mortal175", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 175 + }, + { + "Name": "Mortal176", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 176 + }, + { + "Name": "Mortal177", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 177 + }, + { + "Name": "Mortal178", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 178 + }, + { + "Name": "Mortal179", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 179 + }, + { + "Name": "Mortal180", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 180 + }, + { + "Name": "Mortal181", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 181 + }, + { + "Name": "Mortal182", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 182 + }, + { + "Name": "Mortal183", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 183 + }, + { + "Name": "Mortal184", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 184 + }, + { + "Name": "Mortal185", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 185 + }, + { + "Name": "Mortal186", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 186 + }, + { + "Name": "Mortal187", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 187 + }, + { + "Name": "Mortal188", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 188 + }, + { + "Name": "Mortal189", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 189 + }, + { + "Name": "Mortal190", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 190 + }, + { + "Name": "Mortal191", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 191 + }, + { + "Name": "Mortal192", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 192 + }, + { + "Name": "Mortal193", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 193 + }, + { + "Name": "Mortal194", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 194 + }, + { + "Name": "Mortal195", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 195 + }, + { + "Name": "Mortal196", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 196 + }, + { + "Name": "Mortal197", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 197 + }, + { + "Name": "Mortal198", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 198 + }, + { + "Name": "Mortal199", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 199 + }, + { + "Name": "Mortal200", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 200 + }, + { + "Name": "Mortal201", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 201 + }, + { + "Name": "Mortal202", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 202 + }, + { + "Name": "Mortal203", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 203 + }, + { + "Name": "Mortal204", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 204 + }, + { + "Name": "Mortal205", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 205 + }, + { + "Name": "Mortal206", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 206 + }, + { + "Name": "Mortal207", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 207 + }, + { + "Name": "Mortal208", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 208 + }, + { + "Name": "Mortal209", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 209 + }, + { + "Name": "Mortal210", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 210 + }, + { + "Name": "Mortal211", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 211 + }, + { + "Name": "Mortal212", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 212 + }, + { + "Name": "Mortal213", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 213 + }, + { + "Name": "Mortal214", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 214 + }, + { + "Name": "Mortal215", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 215 + }, + { + "Name": "Mortal216", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 216 + }, + { + "Name": "Mortal217", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 217 + }, + { + "Name": "Mortal218", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 218 + }, + { + "Name": "Mortal219", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 219 + }, + { + "Name": "Mortal220", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 220 + }, + { + "Name": "Mortal221", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 221 + }, + { + "Name": "Mortal222", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 222 + }, + { + "Name": "Mortal223", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 223 + }, + { + "Name": "Mortal224", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 224 + }, + { + "Name": "Mortal225", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 225 + }, + { + "Name": "Mortal226", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 226 + }, + { + "Name": "Mortal227", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 227 + }, + { + "Name": "Mortal228", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 228 + }, + { + "Name": "Mortal229", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 229 + }, + { + "Name": "Mortal230", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 230 + }, + { + "Name": "Mortal231", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 231 + }, + { + "Name": "Mortal232", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 232 + }, + { + "Name": "Mortal233", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 233 + }, + { + "Name": "Mortal234", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 234 + }, + { + "Name": "Mortal235", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 235 + }, + { + "Name": "Mortal236", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 236 + }, + { + "Name": "Mortal237", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 237 + }, + { + "Name": "Mortal238", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 238 + }, + { + "Name": "Mortal239", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 239 + }, + { + "Name": "Mortal240", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 240 + }, + { + "Name": "Mortal241", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 241 + }, + { + "Name": "Mortal242", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 242 + }, + { + "Name": "Mortal243", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 243 + }, + { + "Name": "Mortal244", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 244 + }, + { + "Name": "Mortal245", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 245 + }, + { + "Name": "Mortal246", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 246 + }, + { + "Name": "Mortal247", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 247 + }, + { + "Name": "Mortal248", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 248 + }, + { + "Name": "Mortal249", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 249 + }, + { + "Name": "Mortal250", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 250 + }, + { + "Name": "Mortal251", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 251 + }, + { + "Name": "Mortal252", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 252 + }, + { + "Name": "Mortal253", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 253 + }, + { + "Name": "Mortal254", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 254 + }, + { + "Name": "Mortal255", + "TypeFields": [ + { + "TypeId": 2 + } + ], + "Index": 255 + } + ], + "Path": [ + "sp_runtime", + "generic", + "era", + "Era" + ], + "TypeDef": "Variant" + }, + "648": { + "TypeFields": [ + { + "TypeName": "T::Nonce", + "TypeId": 74 + } + ], + "Path": [ + "vara_runtime", + "CustomCheckNonce" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Composite" + }, + "649": { + "Path": [ + "frame_system", + "extensions", + "check_weight", + "CheckWeight" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Composite" + }, + "650": { + "TypeFields": [ + { + "TypeName": "ChargeTransactionPayment", + "TypeId": 652 + } + ], + "Path": [ + "pallet_gear_payment", + "CustomChargeTransactionPayment" + ], + "TypeParams": [ + { + "Name": "T", + "TypeId": 651 + } + ], + "TypeDef": "Composite" + }, + "651": { + "Path": [ + "vara_runtime", + "Runtime" + ], + "TypeDef": "Composite" + }, + "652": { + "TypeFields": [ + { + "TypeName": "BalanceOf", + "TypeId": 46 + } + ], + "Path": [ + "pallet_transaction_payment", + "ChargeTransactionPayment" + ], + "TypeParams": [ + { + "Name": "T" + } + ], + "TypeDef": "Composite" + } + }, + "Modules": { + "0": { + "Name": "System", + "Storage": { + "Prefix": "System", + "Entries": [ + { + "Name": "Account", + "Modifier": "Default", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "BlakeTwo128Concat" + ], + "Key": 0, + "Value": 3 + } + }, + "Default": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIA=", + "Docs": [ + " The full account information for a particular account ID." + ] + }, + { + "Name": "ExtrinsicCount", + "Modifier": "Optional", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " Total extrinsics count for the current block." + ] + }, + { + "Name": "BlockWeight", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 8, + "Item2": null + }, + "Default": "AAAAAAAA", + "Docs": [ + " The current weight for the block." + ] + }, + { + "Name": "AllExtrinsicsLen", + "Modifier": "Optional", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " Total length (in bytes) for all extrinsics put together, for the current block." + ] + }, + { + "Name": "BlockHash", + "Modifier": "Default", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 4, + "Value": 12 + } + }, + "Default": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=", + "Docs": [ + " Map of block numbers to block hashes." + ] + }, + { + "Name": "ExtrinsicData", + "Modifier": "Default", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 4, + "Value": 13 + } + }, + "Default": "AA==", + "Docs": [ + " Extrinsics data for the current block (maps an extrinsic's index to its data)." + ] + }, + { + "Name": "Number", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AAAAAA==", + "Docs": [ + " The current block number being processed. Set by `execute_block`." + ] + }, + { + "Name": "ParentHash", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 12, + "Item2": null + }, + "Default": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=", + "Docs": [ + " Hash of the previous block." + ] + }, + { + "Name": "Digest", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 14, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " Digest of the current block, also part of the block header." + ] + }, + { + "Name": "Events", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 18, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " Events deposited for the current block.", + "", + " NOTE: The item is unbound and should therefore never be read on chain.", + " It could otherwise inflate the PoV size of a block.", + "", + " Events have a large in-memory size. Box the events to not go out-of-memory", + " just in case someone still reads them from within the runtime." + ] + }, + { + "Name": "EventCount", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AAAAAA==", + "Docs": [ + " The number of events in the `Events` list." + ] + }, + { + "Name": "EventTopics", + "Modifier": "Default", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "BlakeTwo128Concat" + ], + "Key": 12, + "Value": 336 + } + }, + "Default": "AA==", + "Docs": [ + " Mapping between a topic (represented by T::Hash) and a vector of indexes", + " of events in the `>` list.", + "", + " All topic vectors have deterministic storage locations depending on the topic. This", + " allows light-clients to leverage the changes trie storage tracking mechanism and", + " in case of changes fetch the list of events of interest.", + "", + " The value has the type `(BlockNumberFor, EventIndex)` because if we used only just", + " the `EventIndex` then in case if the topic has the same contents on the next block", + " no notification will be triggered thus the event might be lost." + ] + }, + { + "Name": "LastRuntimeUpgrade", + "Modifier": "Optional", + "StorageType": "Plain", + "TypeMap": { + "Item1": 337, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened." + ] + }, + { + "Name": "UpgradedToU32RefCount", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 54, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " True if we have upgraded so that `type RefCount` is `u32`. False (default) if not." + ] + }, + { + "Name": "UpgradedToTripleRefCount", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 54, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " True if we have upgraded so that AccountInfo contains three types of `RefCount`. False", + " (default) if not." + ] + }, + { + "Name": "ExecutionPhase", + "Modifier": "Optional", + "StorageType": "Plain", + "TypeMap": { + "Item1": 335, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " The execution phase of the block." + ] + } + ] + }, + "Calls": { + "TypeId": 66 + }, + "Events": { + "TypeId": 21 + }, + "Constants": [ + { + "Name": "BlockWeights", + "TypeId": 339, + "Value": "AlsfXQAHABCl1OgT///////////CoKkdAAEH0C+bMTMT7FG4HoXrUTgBBwBEKTU6EwAAAAAAAABAAQAAwqCpHQABB9D7FtHhE+tRuB6F61H4AQcAEKXU6BP//////////wEHAMx7n64T/////////7/CoKkdAAAAAA==", + "Docs": [ + " Block & extrinsics weights: base values and limits." + ] + }, + { + "Name": "BlockLength", + "TypeId": 342, + "Value": "AAAoAAAAUAAAAFAA", + "Docs": [ + " The maximum length of a block (in bytes)." + ] + }, + { + "Name": "BlockHashCount", + "TypeId": 4, + "Value": "YAkAAA==", + "Docs": [ + " Maximum number of block number to block hash mappings to keep (oldest pruned first)." + ] + }, + { + "Name": "DbWeight", + "TypeId": 344, + "Value": "QHh9AQAAAAAA4fUFAAAAAA==", + "Docs": [ + " The weight of runtime database operations the runtime can invoke." + ] + }, + { + "Name": "Version", + "TypeId": 345, + "Value": "EHZhcmEQdmFyYQEAAABUBgAAAQAAAEjLyiXjnxQjhwIAAADz/xTVq1JwWQMAAAAXprwNAGKuswEAAAAY71ijtnuncAEAAAApyjNHb0EIqgEAAAD3V/cEyOoU/gEAAAD+G7xD3nS67AEAAAD7xXe510fv1gEAAADfastomQdgmwQAAAA345f8fJH15AIAAABA/jrUAfiVmgYAAADSvJiX7tCPFQMAAAD3iyeL5T9FTAIAAACrPAVyKR/riwEAAADtmcWssl7t9QMAAAC8nYmQT1uSPwEAAAA3yLsTUKmiqAQAAAD/jciAN/JiIwIAAAABAAAAAQ==", + "Docs": [ + " Get the chain's current version." + ] + }, + { + "Name": "SS58Prefix", + "TypeId": 63, + "Value": "iQA=", + "Docs": [ + " The designated SS58 prefix of this chain.", + "", + " This replaces the \"ss58Format\" property declared in the chain spec. Reason is", + " that the runtime should know about the prefix in order to make use of it as", + " an identifier of the chain." + ] + } + ], + "Errors": { + "TypeId": 349 + }, + "Index": 0 + }, + "1": { + "Name": "Timestamp", + "Storage": { + "Prefix": "Timestamp", + "Entries": [ + { + "Name": "Now", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 11, + "Item2": null + }, + "Default": "AAAAAAAAAAA=", + "Docs": [ + " The current time for the current block." + ] + }, + { + "Name": "DidUpdate", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 54, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " Whether the timestamp has been updated in this block.", + "", + " This value is updated to `true` upon successful submission of a timestamp by a node.", + " It is then checked at the end of each block execution in the `on_finalize` hook." + ] + } + ] + }, + "Calls": { + "TypeId": 70 + }, + "Events": null, + "Constants": [ + { + "Name": "MinimumPeriod", + "TypeId": 11, + "Value": "3AUAAAAAAAA=", + "Docs": [ + " The minimum period between blocks.", + "", + " Be aware that this is different to the *expected* period that the block production", + " apparatus provides. Your chosen consensus system will generally work with this to", + " determine a sensible block time. For example, in the Aura pallet it will be double this", + " period on default settings." + ] + } + ], + "Errors": null, + "Index": 1 + }, + "2": { + "Name": "Authorship", + "Storage": { + "Prefix": "Authorship", + "Entries": [ + { + "Name": "Author", + "Modifier": "Optional", + "StorageType": "Plain", + "TypeMap": { + "Item1": 0, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " Author of current block." + ] + } + ] + }, + "Calls": null, + "Events": null, + "Constants": [], + "Errors": null, + "Index": 2 + }, + "9": { + "Name": "AuthorityDiscovery", + "Storage": { + "Prefix": "AuthorityDiscovery", + "Entries": [ + { + "Name": "Keys", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 350, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " Keys of the current authority set." + ] + }, + { + "Name": "NextKeys", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 350, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " Keys of the next authority set." + ] + } + ] + }, + "Calls": null, + "Events": null, + "Constants": [], + "Errors": null, + "Index": 9 + }, + "3": { + "Name": "Babe", + "Storage": { + "Prefix": "Babe", + "Entries": [ + { + "Name": "EpochIndex", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 11, + "Item2": null + }, + "Default": "AAAAAAAAAAA=", + "Docs": [ + " Current epoch index." + ] + }, + { + "Name": "Authorities", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 352, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " Current epoch authorities." + ] + }, + { + "Name": "GenesisSlot", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 76, + "Item2": null + }, + "Default": "AAAAAAAAAAA=", + "Docs": [ + " The slot at which the first epoch actually started. This is 0", + " until the first block of the chain." + ] + }, + { + "Name": "CurrentSlot", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 76, + "Item2": null + }, + "Default": "AAAAAAAAAAA=", + "Docs": [ + " Current slot number." + ] + }, + { + "Name": "Randomness", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 1, + "Item2": null + }, + "Default": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=", + "Docs": [ + " The epoch randomness for the *current* epoch.", + "", + " # Security", + "", + " This MUST NOT be used for gambling, as it can be influenced by a", + " malicious validator in the short term. It MAY be used in many", + " cryptographic protocols, however, so long as one remembers that this", + " (like everything else on-chain) it is public. For example, it can be", + " used where a number is needed that cannot have been chosen by an", + " adversary, for purposes such as public-coin zero-knowledge proofs." + ] + }, + { + "Name": "PendingEpochConfigChange", + "Modifier": "Optional", + "StorageType": "Plain", + "TypeMap": { + "Item1": 78, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " Pending epoch configuration change that will be applied when the next epoch is enacted." + ] + }, + { + "Name": "NextRandomness", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 1, + "Item2": null + }, + "Default": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=", + "Docs": [ + " Next epoch randomness." + ] + }, + { + "Name": "NextAuthorities", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 352, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " Next epoch authorities." + ] + }, + { + "Name": "SegmentIndex", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AAAAAA==", + "Docs": [ + " Randomness under construction.", + "", + " We make a trade-off between storage accesses and list length.", + " We store the under-construction randomness in segments of up to", + " `UNDER_CONSTRUCTION_SEGMENT_LENGTH`.", + "", + " Once a segment reaches this length, we begin the next one.", + " We reset all segments and return to `0` at the beginning of every", + " epoch." + ] + }, + { + "Name": "UnderConstruction", + "Modifier": "Default", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 4, + "Value": 355 + } + }, + "Default": "AA==", + "Docs": [ + " TWOX-NOTE: `SegmentIndex` is an increasing integer, so this is okay." + ] + }, + { + "Name": "Initialized", + "Modifier": "Optional", + "StorageType": "Plain", + "TypeMap": { + "Item1": 357, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " Temporary value (cleared at block finalization) which is `Some`", + " if per-block initialization has already been called for current block." + ] + }, + { + "Name": "AuthorVrfRandomness", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 290, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " This field should always be populated during block processing unless", + " secondary plain slots are enabled (which don't contain a VRF output).", + "", + " It is set in `on_finalize`, before it will contain the value from the last block." + ] + }, + { + "Name": "EpochStart", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 137, + "Item2": null + }, + "Default": "AAAAAAAAAAA=", + "Docs": [ + " The block numbers when the last and current epoch have started, respectively `N-1` and", + " `N`.", + " NOTE: We track this is in order to annotate the block number when a given pool of", + " entropy was fixed (i.e. it was known to chain observers). Since epochs are defined in", + " slots, which may be skipped, the block numbers may not line up with the slot numbers." + ] + }, + { + "Name": "Lateness", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AAAAAA==", + "Docs": [ + " How late the current block is compared to its parent.", + "", + " This entry is populated as part of block execution and is cleaned up", + " on block finalization. Querying this storage entry outside of block", + " execution context should always yield zero." + ] + }, + { + "Name": "EpochConfig", + "Modifier": "Optional", + "StorageType": "Plain", + "TypeMap": { + "Item1": 363, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " The configuration for the current epoch. Should never be `None` as it is initialized in", + " genesis." + ] + }, + { + "Name": "NextEpochConfig", + "Modifier": "Optional", + "StorageType": "Plain", + "TypeMap": { + "Item1": 363, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " The configuration for the next epoch, `None` if the config will not change", + " (you can fallback to `EpochConfig` instead in that case)." + ] + }, + { + "Name": "SkippedEpochs", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 364, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " A list of the last 100 skipped epochs and the corresponding session index", + " when the epoch was skipped.", + "", + " This is only used for validating equivocation proofs. An equivocation proof", + " must contains a key-ownership proof for a given session, therefore we need a", + " way to tie together sessions and epoch indices, i.e. we need to validate that", + " a validator was the owner of a given key on a given session, and what the", + " active epoch index was during that session." + ] + } + ] + }, + "Calls": { + "TypeId": 71 + }, + "Events": null, + "Constants": [ + { + "Name": "EpochDuration", + "TypeId": 11, + "Value": "YAkAAAAAAAA=", + "Docs": [ + " The amount of time, in slots, that each epoch should last.", + " NOTE: Currently it is not possible to change the epoch duration after", + " the chain has started. Attempting to do so will brick block production." + ] + }, + { + "Name": "ExpectedBlockTime", + "TypeId": 11, + "Value": "uAsAAAAAAAA=", + "Docs": [ + " The expected average block time at which BABE should be creating", + " blocks. Since BABE is probabilistic it is not trivial to figure out", + " what the expected average block time should be based on the slot", + " duration and the security parameter `c` (where `1 - c` represents", + " the probability of a slot being empty)." + ] + }, + { + "Name": "MaxAuthorities", + "TypeId": 4, + "Value": "oIYBAA==", + "Docs": [ + " Max number of authorities allowed" + ] + }, + { + "Name": "MaxNominators", + "TypeId": 4, + "Value": "AAIAAA==", + "Docs": [ + " The maximum number of nominators for each validator." + ] + } + ], + "Errors": { + "TypeId": 367 + }, + "Index": 3 + }, + "4": { + "Name": "Grandpa", + "Storage": { + "Prefix": "Grandpa", + "Entries": [ + { + "Name": "State", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 368, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " State of the current authority set." + ] + }, + { + "Name": "PendingChange", + "Modifier": "Optional", + "StorageType": "Plain", + "TypeMap": { + "Item1": 369, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " Pending change: (signaled at, scheduled change)." + ] + }, + { + "Name": "NextForced", + "Modifier": "Optional", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " next block number where we can force a change." + ] + }, + { + "Name": "Stalled", + "Modifier": "Optional", + "StorageType": "Plain", + "TypeMap": { + "Item1": 137, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " `true` if we are currently stalled." + ] + }, + { + "Name": "CurrentSetId", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 11, + "Item2": null + }, + "Default": "AAAAAAAAAAA=", + "Docs": [ + " The number of changes (both in terms of keys and underlying economic responsibilities)", + " in the \"set\" of Grandpa validators from genesis." + ] + }, + { + "Name": "SetIdSession", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 11, + "Value": 4 + } + }, + "Default": "AA==", + "Docs": [ + " A mapping from grandpa set ID to the index of the *most recent* session for which its", + " members were responsible.", + "", + " This is only used for validating equivocation proofs. An equivocation proof must", + " contains a key-ownership proof for a given session, therefore we need a way to tie", + " together sessions and GRANDPA set ids, i.e. we need to validate that a validator", + " was the owner of a given key on a given session, and what the active set ID was", + " during that session.", + "", + " TWOX-NOTE: `SetId` is not under user control." + ] + }, + { + "Name": "Authorities", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 370, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " The current list of authorities." + ] + } + ] + }, + "Calls": { + "TypeId": 81 + }, + "Events": { + "TypeId": 30 + }, + "Constants": [ + { + "Name": "MaxAuthorities", + "TypeId": 4, + "Value": "oIYBAA==", + "Docs": [ + " Max Authorities in use" + ] + }, + { + "Name": "MaxNominators", + "TypeId": 4, + "Value": "AAIAAA==", + "Docs": [ + " The maximum number of nominators for each validator." + ] + }, + { + "Name": "MaxSetIdSessionEntries", + "TypeId": 11, + "Value": "VAAAAAAAAAA=", + "Docs": [ + " The maximum number of entries to keep in the set id to session index mapping.", + "", + " Since the `SetIdSession` map is only used for validating equivocations this", + " value should relate to the bonding duration of whatever staking system is", + " being used (if any). If equivocation handling is not enabled then this value", + " can be zero." + ] + } + ], + "Errors": { + "TypeId": 371 + }, + "Index": 4 + }, + "5": { + "Name": "Balances", + "Storage": { + "Prefix": "Balances", + "Entries": [ + { + "Name": "TotalIssuance", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 6, + "Item2": null + }, + "Default": "AAAAAAAAAAAAAAAAAAAAAA==", + "Docs": [ + " The total units issued in the system." + ] + }, + { + "Name": "InactiveIssuance", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 6, + "Item2": null + }, + "Default": "AAAAAAAAAAAAAAAAAAAAAA==", + "Docs": [ + " The total units of outstanding deactivated balance in the system." + ] + }, + { + "Name": "Account", + "Modifier": "Default", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "BlakeTwo128Concat" + ], + "Key": 0, + "Value": 5 + } + }, + "Default": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgA==", + "Docs": [ + " The Balances pallet example of storing the balance of an account.", + "", + " # Example", + "", + " ```nocompile", + " impl pallet_balances::Config for Runtime {", + " type AccountStore = StorageMapShim, frame_system::Provider, AccountId, Self::AccountData>", + " }", + " ```", + "", + " You can also store the balance of an account in the `System` pallet.", + "", + " # Example", + "", + " ```nocompile", + " impl pallet_balances::Config for Runtime {", + " type AccountStore = System", + " }", + " ```", + "", + " But this comes with tradeoffs, storing account balances in the system pallet stores", + " `frame_system` data alongside the account data contrary to storing account balances in the", + " `Balances` pallet, which uses a `StorageMap` to store balances data only.", + " NOTE: This is only used in the case that this pallet is used to store balances." + ] + }, + { + "Name": "Locks", + "Modifier": "Default", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "BlakeTwo128Concat" + ], + "Key": 0, + "Value": 372 + } + }, + "Default": "AA==", + "Docs": [ + " Any liquidity locks on some account balances.", + " NOTE: Should only be accessed when setting, changing and freeing a lock." + ] + }, + { + "Name": "Reserves", + "Modifier": "Default", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "BlakeTwo128Concat" + ], + "Key": 0, + "Value": 376 + } + }, + "Default": "AA==", + "Docs": [ + " Named reserves on some account balances." + ] + }, + { + "Name": "Holds", + "Modifier": "Default", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "BlakeTwo128Concat" + ], + "Key": 0, + "Value": 379 + } + }, + "Default": "AA==", + "Docs": [ + " Holds on account balances." + ] + }, + { + "Name": "Freezes", + "Modifier": "Default", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "BlakeTwo128Concat" + ], + "Key": 0, + "Value": 384 + } + }, + "Default": "AA==", + "Docs": [ + " Freeze locks on account balances." + ] + } + ] + }, + "Calls": { + "TypeId": 93 + }, + "Events": { + "TypeId": 35 + }, + "Constants": [ + { + "Name": "ExistentialDeposit", + "TypeId": 6, + "Value": "ABCl1OgAAAAAAAAAAAAAAA==", + "Docs": [ + " The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!", + "", + " If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for", + " this pallet. However, you do so at your own risk: this will open up a major DoS vector.", + " In case you have multiple sources of provider references, you may also get unexpected", + " behaviour if you set this to zero.", + "", + " Bottom line: Do yourself a favour and make it at least one!" + ] + }, + { + "Name": "MaxLocks", + "TypeId": 4, + "Value": "MgAAAA==", + "Docs": [ + " The maximum number of locks that should exist on an account.", + " Not strictly enforced, but used for weight estimation." + ] + }, + { + "Name": "MaxReserves", + "TypeId": 4, + "Value": "MgAAAA==", + "Docs": [ + " The maximum number of named reserves that can exist on an account." + ] + }, + { + "Name": "MaxHolds", + "TypeId": 4, + "Value": "AgAAAA==", + "Docs": [ + " The maximum number of holds that can exist on an account at any time." + ] + }, + { + "Name": "MaxFreezes", + "TypeId": 4, + "Value": "CAAAAA==", + "Docs": [ + " The maximum number of individual freeze locks that can exist on an account at any time." + ] + } + ], + "Errors": { + "TypeId": 389 + }, + "Index": 5 + }, + "10": { + "Name": "Vesting", + "Storage": { + "Prefix": "Vesting", + "Entries": [ + { + "Name": "Vesting", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "BlakeTwo128Concat" + ], + "Key": 0, + "Value": 390 + } + }, + "Default": "AA==", + "Docs": [ + " Information regarding the vesting of a given account." + ] + }, + { + "Name": "StorageVersion", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 392, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " Storage version of the pallet.", + "", + " New networks start with latest version, as determined by the genesis build." + ] + } + ] + }, + "Calls": { + "TypeId": 98 + }, + "Events": { + "TypeId": 37 + }, + "Constants": [ + { + "Name": "MinVestedTransfer", + "TypeId": 6, + "Value": "AKByThgJAAAAAAAAAAAAAA==", + "Docs": [ + " The minimum amount transferred to call `vested_transfer`." + ] + }, + { + "Name": "MaxVestingSchedules", + "TypeId": 4, + "Value": "HAAAAA==", + "Docs": [] + } + ], + "Errors": { + "TypeId": 393 + }, + "Index": 10 + }, + "6": { + "Name": "TransactionPayment", + "Storage": { + "Prefix": "TransactionPayment", + "Entries": [ + { + "Name": "NextFeeMultiplier", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 394, + "Item2": null + }, + "Default": "AABkp7O24A0AAAAAAAAAAA==", + "Docs": [] + }, + { + "Name": "StorageVersion", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 395, + "Item2": null + }, + "Default": "AA==", + "Docs": [] + } + ] + }, + "Calls": null, + "Events": { + "TypeId": 38 + }, + "Constants": [ + { + "Name": "OperationalFeeMultiplier", + "TypeId": 2, + "Value": "BQ==", + "Docs": [ + " A fee multiplier for `Operational` extrinsics to compute \"virtual tip\" to boost their", + " `priority`", + "", + " This value is multiplied by the `final_fee` to obtain a \"virtual tip\" that is later", + " added to a tip component in regular `priority` calculations.", + " It means that a `Normal` transaction can front-run a similarly-sized `Operational`", + " extrinsic (with no tip), by including a tip value greater than the virtual tip.", + "", + " ```rust,ignore", + " // For `Normal`", + " let priority = priority_calc(tip);", + "", + " // For `Operational`", + " let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier;", + " let priority = priority_calc(tip + virtual_tip);", + " ```", + "", + " Note that since we use `final_fee` the multiplier applies also to the regular `tip`", + " sent with the transaction. So, not only does the transaction get a priority bump based", + " on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational`", + " transactions." + ] + } + ], + "Errors": null, + "Index": 6 + }, + "11": { + "Name": "BagsList", + "Storage": { + "Prefix": "BagsList", + "Entries": [ + { + "Name": "ListNodes", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 0, + "Value": 396 + } + }, + "Default": "AA==", + "Docs": [ + " A single node, within some bag.", + "", + " Nodes store links forward and back within their respective bags." + ] + }, + { + "Name": "CounterForListNodes", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AAAAAA==", + "Docs": [ + "Counter for the related counted storage map" + ] + }, + { + "Name": "ListBags", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 11, + "Value": 397 + } + }, + "Default": "AA==", + "Docs": [ + " A bag stored in storage.", + "", + " Stores a `Bag` struct, which stores head and tail pointers to itself." + ] + } + ] + }, + "Calls": { + "TypeId": 100 + }, + "Events": { + "TypeId": 39 + }, + "Constants": [ + { + "Name": "BagThresholds", + "TypeId": 398, + "Value": "IQMAoHJOGAkAAAeh3GHHCQAAcAVzn4MKAAAN8KAETgsAAIzE36EnDAAA0/glnBENAACHe3EuDQ4AALbCb6sbDwAAf71Ffz4QAACUDnoxdxEAAIMjBGfHEgAAZ+6C5DAUAADvPJ6QtRUAAA/hlXZXFwAAYB0CyRgZAACBCcnk+xoAABfqTFQDHQAAx8TX0jEfAADaykhQiiEAAPmNCPUPJAAAq1FJJsYmAACzMpmKsCkAAK5LzA7TLAAAqHRF6zEwAADUuqSp0TMAAHc24yq3NwAAVXjkrec7AAA+ZobWaEAAAJQIObVARQAAmIEoz3VKAAAjLAQnD1AAAPeybkYUVgAAU9UjSI1cAAD7geHigmMAAP/4InX+agAAJb+9EQpzAAD2XXGNsHsAAEQyfI39hAAAcOpIl/2OAACZz0khvpkAACWLGKVNpQAA7s7ysruxAAAKHK4GGb8AACjdPp53zQAAdijx0ercAADNxHNuh+0AAKSB2NBj/wAAG5SvBJgSAQAtgWbkPScBAEcpFjxxPQEAYNDu7k9VAQCtg3Qf+m4BANkHwlqSigEAWY0Mxz2oAQCPyaZVJMgBAO3Ixvhw6gEAQd5W3VEPAgDxhB+p+DYCACTmnb2aYQIA4vvgf3GPAgBBEc6lusACABmlNIm49QIAFYchgbIuAwDwb+lB9WsDAIhgbETTrQMAVcwcNaX0AwDlB2BrykAEAEyx6GmpkgQAE963aLDqBACH2H7pVUkFAJIuKVcZrwUAutllsYMcBgA2bhZFKJIGAHucnHKlEAcANfwQg6WYBwCmKoKN3yoIANPbcG0YyAgA3LLUyyNxCQByqQ485SYKAGqiSG5R6goAvJveeG+8CwD694w6Wp4MAOevQNdBkQ0AfReKUW2WDgBzbtlCPK8PACbn1bQo3RAAjV9MHskhEgB08mKG0n4TADYM8tAa9hQA7BIbN5uJFgAHQXDvcjsYANVaQQnqDRoAuMHlfnQDHABfbyaDtR4eABD8OQ6DYiAAAmgar+nRIgDwY1imMHAlAOzE8k/eQCgAaC8j4rxHKwBWZYOH34guAM6cadunCDIAVn3ez8vLNQD4ix0FXNc5APKoKZvKMD4AyJqjhvLdQgA8V8FyH+VHAPi4AjsWTU0AOJgMCB4dUwCo4O4bCl1ZALhmBltEFWAAfCipn9hOZwDUp9zngBNvALCUe22ybXcAoJlruqtogAAAdNfLgxCKAMBbzlg6cpQAuAkyUsmbnwAgdYKzN5yrAEDi272tg7gAmHdjuIpjxgCI1GpTfE7VAMjVxs2XWOUAEMkz/nSX9gCw+CxlSyIJAYAfWm4REh0BoK2mC56BMgEgwkDXzI1JAUCkJO2kVWIB8OaBsIL6fAGQLTa1RKCZAfAG1Al8bbgBQDk4I6CL2QGQQ5OvRif9AWBcDpxfcCMCIOXZnXWaTAKgw4aV89x4AiCAFCpvc6gCADkkAPmd2wLg5E35cqESA+AktO/sx00D4AKuaghhjQPgIsHSY8LRA0DNPrUNSBsEQGOwsgBVagSA4Oq+qFO/BEC4LGZythoFQJAm2GT4fAXAK1CIx53mBcDlgkLUNFgGQEuXo3ZW0gYAWcr3GadVBwDeEJSG1+IHAJZW1M+leggA0w7/U94dCQAklGbPXM0JgMC7OoQNigqAh9uYeO5UC4B8c4bMEC8MgEbeoimaGQ2Angp/TsYVDoBYeK+36CQPAA251GhuSBAAE7wB2N+BEQB6cRX+4tISAGMOz449PRQALLmZW9fCFQDG5UXkvGUXADZ/JBkiKBkAUXY6UmUMGwB/yIp/EhUdAPbrwZbmRB8AFjHgQtOeIQBGgdnaAiYkANZqgKTc3SYAXB95aQnKKQAqeV9keO4sAH7ZwYxkTzAAilsSSVrxMwDwHDmOPdk3AJTyBXVQDDwAbJBeTjqQQABEybA/D2tFAOD953FYo0oAEBHq3RxAUAAMSXTC6khWALSLFNDhxVwAtI3wGL6/YwDEJhTT4z9rADRpG/1rUHMATNc99jH8ewDYtgcc4k6FANDMboEJVY8AqJFq1CYcmgDoMM+IvLKlALiI4GBkKLIAWCzpbeSNvwAwoxulRfXNAGhjJCfscd0AiDscW7EY7v//////////", + "Docs": [ + " The list of thresholds separating the various bags.", + "", + " Ids are separated into unsorted bags according to their score. This specifies the", + " thresholds separating the bags. An id's bag is the largest bag for which the id's score", + " is less than or equal to its upper threshold.", + "", + " When ids are iterated, higher bags are iterated completely before lower bags. This means", + " that iteration is _semi-sorted_: ids of higher score tend to come before ids of lower", + " score, but peer ids within a particular bag are sorted in insertion order.", + "", + " # Expressing the constant", + "", + " This constant must be sorted in strictly increasing order. Duplicate items are not", + " permitted.", + "", + " There is an implied upper limit of `Score::MAX`; that value does not need to be", + " specified within the bag. For any two threshold lists, if one ends with", + " `Score::MAX`, the other one does not, and they are otherwise equal, the two", + " lists will behave identically.", + "", + " # Calculation", + "", + " It is recommended to generate the set of thresholds in a geometric series, such that", + " there exists some constant ratio such that `threshold[k + 1] == (threshold[k] *", + " constant_ratio).max(threshold[k] + 1)` for all `k`.", + "", + " The helpers in the `/utils/frame/generate-bags` module can simplify this calculation.", + "", + " # Examples", + "", + " - If `BagThresholds::get().is_empty()`, then all ids are put into the same bag, and", + " iteration is strictly in insertion order.", + " - If `BagThresholds::get().len() == 64`, and the thresholds are determined according to", + " the procedure given above, then the constant ratio is equal to 2.", + " - If `BagThresholds::get().len() == 200`, and the thresholds are determined according to", + " the procedure given above, then the constant ratio is approximately equal to 1.248.", + " - If the threshold list begins `[1, 2, 3, ...]`, then an id with score 0 or 1 will fall", + " into bag 0, an id with score 2 will fall into bag 1, etc.", + "", + " # Migration", + "", + " In the event that this list ever changes, a copy of the old bags list must be retained.", + " With that `List::migrate` can be called, which will perform the appropriate migration." + ] + } + ], + "Errors": { + "TypeId": 399 + }, + "Index": 11 + }, + "12": { + "Name": "ImOnline", + "Storage": { + "Prefix": "ImOnline", + "Entries": [ + { + "Name": "HeartbeatAfter", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AAAAAA==", + "Docs": [ + " The block number after which it's ok to send heartbeats in the current", + " session.", + "", + " At the beginning of each session we set this to a value that should fall", + " roughly in the middle of the session duration. The idea is to first wait for", + " the validators to produce a block in the current session, so that the", + " heartbeat later on will not be necessary.", + "", + " This value will only be used as a fallback if we fail to get a proper session", + " progress estimate from `NextSessionRotation`, as those estimates should be", + " more accurate then the value we calculate for `HeartbeatAfter`." + ] + }, + { + "Name": "Keys", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 401, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " The current set of keys that may issue a heartbeat." + ] + }, + { + "Name": "ReceivedHeartbeats", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat", + "Twox64Concat" + ], + "Key": 137, + "Value": 54 + } + }, + "Default": "AA==", + "Docs": [ + " For each session index, we keep a mapping of `SessionIndex` and `AuthIndex`." + ] + }, + { + "Name": "AuthoredBlocks", + "Modifier": "Default", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat", + "Twox64Concat" + ], + "Key": 403, + "Value": 4 + } + }, + "Default": "AAAAAA==", + "Docs": [ + " For each session index, we keep a mapping of `ValidatorId` to the", + " number of blocks authored by the given authority." + ] + } + ] + }, + "Calls": { + "TypeId": 101 + }, + "Events": { + "TypeId": 40 + }, + "Constants": [ + { + "Name": "UnsignedPriority", + "TypeId": 11, + "Value": "//////////8=", + "Docs": [ + " A configuration for base priority of unsigned transactions.", + "", + " This is exposed so that it can be tuned for particular runtime, when", + " multiple pallets send unsigned transactions." + ] + } + ], + "Errors": { + "TypeId": 404 + }, + "Index": 12 + }, + "13": { + "Name": "Staking", + "Storage": { + "Prefix": "Staking", + "Entries": [ + { + "Name": "ValidatorCount", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AAAAAA==", + "Docs": [ + " The ideal number of active validators." + ] + }, + { + "Name": "MinimumValidatorCount", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AAAAAA==", + "Docs": [ + " Minimum number of staking participants before emergency conditions are imposed." + ] + }, + { + "Name": "Invulnerables", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 97, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " Any validators that may never be slashed or forcibly kicked. It's a Vec since they're", + " easy to initialize and the performance hit is minimal (we expect no more than four", + " invulnerables) and restricted to testnets." + ] + }, + { + "Name": "Bonded", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 0, + "Value": 0 + } + }, + "Default": "AA==", + "Docs": [ + " Map from all locked \"stash\" accounts to the controller account.", + "", + " TWOX-NOTE: SAFE since `AccountId` is a secure hash." + ] + }, + { + "Name": "MinNominatorBond", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 6, + "Item2": null + }, + "Default": "AAAAAAAAAAAAAAAAAAAAAA==", + "Docs": [ + " The minimum active bond to become and maintain the role of a nominator." + ] + }, + { + "Name": "MinValidatorBond", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 6, + "Item2": null + }, + "Default": "AAAAAAAAAAAAAAAAAAAAAA==", + "Docs": [ + " The minimum active bond to become and maintain the role of a validator." + ] + }, + { + "Name": "MinimumActiveStake", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 6, + "Item2": null + }, + "Default": "AAAAAAAAAAAAAAAAAAAAAA==", + "Docs": [ + " The minimum active nominator stake of the last successful election." + ] + }, + { + "Name": "MinCommission", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 51, + "Item2": null + }, + "Default": "AAAAAA==", + "Docs": [ + " The minimum amount of commission that validators can set.", + "", + " If set to `0`, no limit exists." + ] + }, + { + "Name": "Ledger", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "BlakeTwo128Concat" + ], + "Key": 0, + "Value": 405 + } + }, + "Default": "AA==", + "Docs": [ + " Map from all (unlocked) \"controller\" accounts to the info regarding the staking.", + "", + " Note: All the reads and mutations to this storage *MUST* be done through the methods exposed", + " by [`StakingLedger`] to ensure data and lock consistency." + ] + }, + { + "Name": "Payee", + "Modifier": "Default", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 0, + "Value": 50 + } + }, + "Default": "AA==", + "Docs": [ + " Where the reward payment should be made. Keyed by stash.", + "", + " TWOX-NOTE: SAFE since `AccountId` is a secure hash." + ] + }, + { + "Name": "Validators", + "Modifier": "Default", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 0, + "Value": 52 + } + }, + "Default": "AAA=", + "Docs": [ + " The map from (wannabe) validator stash key to the preferences of that validator.", + "", + " TWOX-NOTE: SAFE since `AccountId` is a secure hash." + ] + }, + { + "Name": "CounterForValidators", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AAAAAA==", + "Docs": [ + "Counter for the related counted storage map" + ] + }, + { + "Name": "MaxValidatorsCount", + "Modifier": "Optional", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " The maximum validator count before we stop allowing new validators to join.", + "", + " When this value is not set, no limits are enforced." + ] + }, + { + "Name": "Nominators", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 0, + "Value": 410 + } + }, + "Default": "AA==", + "Docs": [ + " The map from nominator stash key to their nomination preferences, namely the validators that", + " they wish to support.", + "", + " Note that the keys of this storage map might become non-decodable in case the", + " account's [`NominationsQuota::MaxNominations`] configuration is decreased.", + " In this rare case, these nominators", + " are still existent in storage, their key is correct and retrievable (i.e. `contains_key`", + " indicates that they exist), but their value cannot be decoded. Therefore, the non-decodable", + " nominators will effectively not-exist, until they re-submit their preferences such that it", + " is within the bounds of the newly set `Config::MaxNominations`.", + "", + " This implies that `::iter_keys().count()` and `::iter().count()` might return different", + " values for this map. Moreover, the main `::count()` is aligned with the former, namely the", + " number of keys that exist.", + "", + " Lastly, if any of the nominators become non-decodable, they can be chilled immediately via", + " [`Call::chill_other`] dispatchable by anyone.", + "", + " TWOX-NOTE: SAFE since `AccountId` is a secure hash." + ] + }, + { + "Name": "CounterForNominators", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AAAAAA==", + "Docs": [ + "Counter for the related counted storage map" + ] + }, + { + "Name": "MaxNominatorsCount", + "Modifier": "Optional", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " The maximum nominator count before we stop allowing new validators to join.", + "", + " When this value is not set, no limits are enforced." + ] + }, + { + "Name": "CurrentEra", + "Modifier": "Optional", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " The current era index.", + "", + " This is the latest planned era, depending on how the Session pallet queues the validator", + " set, it might be active or not." + ] + }, + { + "Name": "ActiveEra", + "Modifier": "Optional", + "StorageType": "Plain", + "TypeMap": { + "Item1": 412, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " The active era information, it holds index and start.", + "", + " The active era is the era being currently rewarded. Validator set of this era must be", + " equal to [`SessionInterface::validators`]." + ] + }, + { + "Name": "ErasStartSessionIndex", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 4, + "Value": 4 + } + }, + "Default": "AA==", + "Docs": [ + " The session index at which the era start for the last [`Config::HistoryDepth`] eras.", + "", + " Note: This tracks the starting session (i.e. session index when era start being active)", + " for the eras in `[CurrentEra - HISTORY_DEPTH, CurrentEra]`." + ] + }, + { + "Name": "ErasStakers", + "Modifier": "Default", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat", + "Twox64Concat" + ], + "Key": 403, + "Value": 45 + } + }, + "Default": "AAAA", + "Docs": [ + " Exposure of validator at era.", + "", + " This is keyed first by the era index to allow bulk deletion and then the stash account.", + "", + " Is it removed after [`Config::HistoryDepth`] eras.", + " If stakers hasn't been set or has been removed then empty exposure is returned.", + "", + " Note: Deprecated since v14. Use `EraInfo` instead to work with exposures." + ] + }, + { + "Name": "ErasStakersOverview", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat", + "Twox64Concat" + ], + "Key": 403, + "Value": 413 + } + }, + "Default": "AA==", + "Docs": [ + " Summary of validator exposure at a given era.", + "", + " This contains the total stake in support of the validator and their own stake. In addition,", + " it can also be used to get the number of nominators backing this validator and the number of", + " exposure pages they are divided into. The page count is useful to determine the number of", + " pages of rewards that needs to be claimed.", + "", + " This is keyed first by the era index to allow bulk deletion and then the stash account.", + " Should only be accessed through `EraInfo`.", + "", + " Is it removed after [`Config::HistoryDepth`] eras.", + " If stakers hasn't been set or has been removed then empty overview is returned." + ] + }, + { + "Name": "ErasStakersClipped", + "Modifier": "Default", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat", + "Twox64Concat" + ], + "Key": 403, + "Value": 45 + } + }, + "Default": "AAAA", + "Docs": [ + " Clipped Exposure of validator at era.", + "", + " Note: This is deprecated, should be used as read-only and will be removed in the future.", + " New `Exposure`s are stored in a paged manner in `ErasStakersPaged` instead.", + "", + " This is similar to [`ErasStakers`] but number of nominators exposed is reduced to the", + " `T::MaxExposurePageSize` biggest stakers.", + " (Note: the field `total` and `own` of the exposure remains unchanged).", + " This is used to limit the i/o cost for the nominator payout.", + "", + " This is keyed fist by the era index to allow bulk deletion and then the stash account.", + "", + " It is removed after [`Config::HistoryDepth`] eras.", + " If stakers hasn't been set or has been removed then empty exposure is returned.", + "", + " Note: Deprecated since v14. Use `EraInfo` instead to work with exposures." + ] + }, + { + "Name": "ErasStakersPaged", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat", + "Twox64Concat", + "Twox64Concat" + ], + "Key": 414, + "Value": 415 + } + }, + "Default": "AA==", + "Docs": [ + " Paginated exposure of a validator at given era.", + "", + " This is keyed first by the era index to allow bulk deletion, then stash account and finally", + " the page. Should only be accessed through `EraInfo`.", + "", + " This is cleared after [`Config::HistoryDepth`] eras." + ] + }, + { + "Name": "ClaimedRewards", + "Modifier": "Default", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat", + "Twox64Concat" + ], + "Key": 403, + "Value": 108 + } + }, + "Default": "AA==", + "Docs": [ + " History of claimed paged rewards by era and validator.", + "", + " This is keyed by era and validator stash which maps to the set of page indexes which have", + " been claimed.", + "", + " It is removed after [`Config::HistoryDepth`] eras." + ] + }, + { + "Name": "ErasValidatorPrefs", + "Modifier": "Default", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat", + "Twox64Concat" + ], + "Key": 403, + "Value": 52 + } + }, + "Default": "AAA=", + "Docs": [ + " Similar to `ErasStakers`, this holds the preferences of validators.", + "", + " This is keyed first by the era index to allow bulk deletion and then the stash account.", + "", + " Is it removed after [`Config::HistoryDepth`] eras." + ] + }, + { + "Name": "ErasValidatorReward", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 4, + "Value": 6 + } + }, + "Default": "AA==", + "Docs": [ + " The total validator era payout for the last [`Config::HistoryDepth`] eras.", + "", + " Eras that haven't finished yet or has been removed doesn't have reward." + ] + }, + { + "Name": "ErasRewardPoints", + "Modifier": "Default", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 4, + "Value": 416 + } + }, + "Default": "AAAAAAA=", + "Docs": [ + " Rewards for the last [`Config::HistoryDepth`] eras.", + " If reward hasn't been set or has been removed then 0 reward is returned." + ] + }, + { + "Name": "ErasTotalStake", + "Modifier": "Default", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 4, + "Value": 6 + } + }, + "Default": "AAAAAAAAAAAAAAAAAAAAAA==", + "Docs": [ + " The total amount staked for the last [`Config::HistoryDepth`] eras.", + " If total hasn't been set or has been removed then 0 stake is returned." + ] + }, + { + "Name": "ForceEra", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 55, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " Mode of era forcing." + ] + }, + { + "Name": "SlashRewardFraction", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 51, + "Item2": null + }, + "Default": "AAAAAA==", + "Docs": [ + " The percentage of the slash that is distributed to reporters.", + "", + " The rest of the slashed value is handled by the `Slash`." + ] + }, + { + "Name": "CanceledSlashPayout", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 6, + "Item2": null + }, + "Default": "AAAAAAAAAAAAAAAAAAAAAA==", + "Docs": [ + " The amount of currency given to reporters of a slash event which was", + " canceled by extraordinary circumstances (e.g. governance)." + ] + }, + { + "Name": "UnappliedSlashes", + "Modifier": "Default", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 4, + "Value": 420 + } + }, + "Default": "AA==", + "Docs": [ + " All unapplied slashes that are queued for later." + ] + }, + { + "Name": "BondedEras", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 336, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " A mapping from still-bonded eras to the first session index of that era.", + "", + " Must contains information for eras for the range:", + " `[active_era - bounding_duration; active_era]`" + ] + }, + { + "Name": "ValidatorSlashInEra", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat", + "Twox64Concat" + ], + "Key": 403, + "Value": 422 + } + }, + "Default": "AA==", + "Docs": [ + " All slashing events on validators, mapped by era to the highest slash proportion", + " and slash value of the era." + ] + }, + { + "Name": "NominatorSlashInEra", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat", + "Twox64Concat" + ], + "Key": 403, + "Value": 6 + } + }, + "Default": "AA==", + "Docs": [ + " All slashing events on nominators, mapped by era to the highest slash value of the era." + ] + }, + { + "Name": "SlashingSpans", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 0, + "Value": 423 + } + }, + "Default": "AA==", + "Docs": [ + " Slashing spans for stash accounts." + ] + }, + { + "Name": "SpanSlash", + "Modifier": "Default", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 419, + "Value": 424 + } + }, + "Default": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=", + "Docs": [ + " Records information about the maximum slash of a stash within a slashing span,", + " as well as how much reward has been paid out." + ] + }, + { + "Name": "CurrentPlannedSession", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AAAAAA==", + "Docs": [ + " The last planned session scheduled by the session pallet.", + "", + " This is basically in sync with the call to [`pallet_session::SessionManager::new_session`]." + ] + }, + { + "Name": "OffendingValidators", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 425, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " Indices of validators that have offended in the active era and whether they are currently", + " disabled.", + "", + " This value should be a superset of disabled validators since not all offences lead to the", + " validator being disabled (if there was no slash). This is needed to track the percentage of", + " validators that have offended in the current era, ensuring a new era is forced if", + " `OffendingValidatorsThreshold` is reached. The vec is always kept sorted so that we can find", + " whether a given validator has previously offended using binary search. It gets cleared when", + " the era ends." + ] + }, + { + "Name": "ChillThreshold", + "Modifier": "Optional", + "StorageType": "Plain", + "TypeMap": { + "Item1": 107, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " The threshold for when users can start calling `chill_other` for other validators /", + " nominators. The threshold is compared to the actual number of validators / nominators", + " (`CountFor*`) in the system compared to the configured max (`Max*Count`)." + ] + } + ] + }, + "Calls": { + "TypeId": 105 + }, + "Events": { + "TypeId": 49 + }, + "Constants": [ + { + "Name": "HistoryDepth", + "TypeId": 4, + "Value": "VAAAAA==", + "Docs": [ + " Number of eras to keep in history.", + "", + " Following information is kept for eras in `[current_era -", + " HistoryDepth, current_era]`: `ErasStakers`, `ErasStakersClipped`,", + " `ErasValidatorPrefs`, `ErasValidatorReward`, `ErasRewardPoints`,", + " `ErasTotalStake`, `ErasStartSessionIndex`, `ClaimedRewards`, `ErasStakersPaged`,", + " `ErasStakersOverview`.", + "", + " Must be more than the number of eras delayed by session.", + " I.e. active era must always be in history. I.e. `active_era >", + " current_era - history_depth` must be guaranteed.", + "", + " If migrating an existing pallet from storage value to config value,", + " this should be set to same value or greater as in storage.", + "", + " Note: `HistoryDepth` is used as the upper bound for the `BoundedVec`", + " item `StakingLedger.legacy_claimed_rewards`. Setting this value lower than", + " the existing value can lead to inconsistencies in the", + " `StakingLedger` and will need to be handled properly in a migration.", + " The test `reducing_history_depth_abrupt` shows this effect." + ] + }, + { + "Name": "SessionsPerEra", + "TypeId": 4, + "Value": "BgAAAA==", + "Docs": [ + " Number of sessions per era." + ] + }, + { + "Name": "BondingDuration", + "TypeId": 4, + "Value": "DgAAAA==", + "Docs": [ + " Number of eras that staked funds must remain bonded for." + ] + }, + { + "Name": "SlashDeferDuration", + "TypeId": 4, + "Value": "DQAAAA==", + "Docs": [ + " Number of eras that slashes are deferred by, after computation.", + "", + " This should be less than the bonding duration. Set to 0 if slashes", + " should be applied immediately, without opportunity for intervention." + ] + }, + { + "Name": "MaxExposurePageSize", + "TypeId": 4, + "Value": "AAEAAA==", + "Docs": [ + " The maximum size of each `T::ExposurePage`.", + "", + " An `ExposurePage` is weakly bounded to a maximum of `MaxExposurePageSize`", + " nominators.", + "", + " For older non-paged exposure, a reward payout was restricted to the top", + " `MaxExposurePageSize` nominators. This is to limit the i/o cost for the", + " nominator payout.", + "", + " Note: `MaxExposurePageSize` is used to bound `ClaimedRewards` and is unsafe to reduce", + " without handling it in a migration." + ] + }, + { + "Name": "MaxUnlockingChunks", + "TypeId": 4, + "Value": "IAAAAA==", + "Docs": [ + " The maximum number of `unlocking` chunks a [`StakingLedger`] can", + " have. Effectively determines how many unique eras a staker may be", + " unbonding in.", + "", + " Note: `MaxUnlockingChunks` is used as the upper bound for the", + " `BoundedVec` item `StakingLedger.unlocking`. Setting this value", + " lower than the existing value can lead to inconsistencies in the", + " `StakingLedger` and will need to be handled properly in a runtime", + " migration. The test `reducing_max_unlocking_chunks_abrupt` shows", + " this effect." + ] + } + ], + "Errors": { + "TypeId": 427 + }, + "Index": 13 + }, + "7": { + "Name": "Session", + "Storage": { + "Prefix": "Session", + "Entries": [ + { + "Name": "Validators", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 97, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " The current set of validators." + ] + }, + { + "Name": "CurrentIndex", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AAAAAA==", + "Docs": [ + " Current index of the session." + ] + }, + { + "Name": "QueuedChanged", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 54, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " True if the underlying economic identities or weighting behind the validators", + " has changed in the queued validator set." + ] + }, + { + "Name": "QueuedKeys", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 428, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " The queued keys for the next session. When the next session begins, these keys", + " will be used to determine the validator's session keys." + ] + }, + { + "Name": "DisabledValidators", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 108, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " Indices of disabled validators.", + "", + " The vec is always kept sorted so that we can find whether a given validator is", + " disabled using binary search. It gets cleared when `on_session_ending` returns", + " a new set of identities." + ] + }, + { + "Name": "NextKeys", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 0, + "Value": 114 + } + }, + "Default": "AA==", + "Docs": [ + " The next session keys for a validator." + ] + }, + { + "Name": "KeyOwner", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 430, + "Value": 0 + } + }, + "Default": "AA==", + "Docs": [ + " The owner of a key. The key is the `KeyTypeId` + the encoded key." + ] + } + ] + }, + "Calls": { + "TypeId": 113 + }, + "Events": { + "TypeId": 56 + }, + "Constants": [], + "Errors": { + "TypeId": 432 + }, + "Index": 7 + }, + "14": { + "Name": "Treasury", + "Storage": { + "Prefix": "Treasury", + "Entries": [ + { + "Name": "ProposalCount", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AAAAAA==", + "Docs": [ + " Number of proposals that have been made." + ] + }, + { + "Name": "Proposals", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 4, + "Value": 433 + } + }, + "Default": "AA==", + "Docs": [ + " Proposals that have been made." + ] + }, + { + "Name": "Deactivated", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 6, + "Item2": null + }, + "Default": "AAAAAAAAAAAAAAAAAAAAAA==", + "Docs": [ + " The amount which has been reported as inactive to Currency." + ] + }, + { + "Name": "Approvals", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 434, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " Proposal indices that have been approved but not yet awarded." + ] + }, + { + "Name": "SpendCount", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AAAAAA==", + "Docs": [ + " The count of spends that have been made." + ] + }, + { + "Name": "Spends", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 4, + "Value": 435 + } + }, + "Default": "AA==", + "Docs": [ + " Spends that have been approved and being processed." + ] + } + ] + }, + "Calls": { + "TypeId": 116 + }, + "Events": { + "TypeId": 57 + }, + "Constants": [ + { + "Name": "ProposalBond", + "TypeId": 437, + "Value": "UMMAAA==", + "Docs": [ + " Fraction of a proposal's value that should be bonded in order to place the proposal.", + " An accepted proposal gets these back. A rejected proposal does not." + ] + }, + { + "Name": "ProposalBondMinimum", + "TypeId": 6, + "Value": "AKByThgJAAAAAAAAAAAAAA==", + "Docs": [ + " Minimum amount of funds that should be placed in a deposit for making a proposal." + ] + }, + { + "Name": "ProposalBondMaximum", + "TypeId": 274, + "Value": "AA==", + "Docs": [ + " Maximum amount of funds that should be placed in a deposit for making a proposal." + ] + }, + { + "Name": "SpendPeriod", + "TypeId": 4, + "Value": "gHAAAA==", + "Docs": [ + " Period between successive spends." + ] + }, + { + "Name": "Burn", + "TypeId": 437, + "Value": "AAAAAA==", + "Docs": [ + " Percentage of spare funds (if any) that are burnt per spend period." + ] + }, + { + "Name": "PalletId", + "TypeId": 438, + "Value": "cHkvdHJzcnk=", + "Docs": [ + " The treasury's pallet id, used for deriving its sovereign account ID." + ] + }, + { + "Name": "MaxApprovals", + "TypeId": 4, + "Value": "ZAAAAA==", + "Docs": [ + " The maximum number of approvals that can wait in the spending queue.", + "", + " NOTE: This parameter is also used within the Bounties Pallet extension if enabled." + ] + }, + { + "Name": "PayoutPeriod", + "TypeId": 4, + "Value": "AC8NAA==", + "Docs": [ + " The period during which an approved treasury spend has to be claimed." + ] + } + ], + "Errors": { + "TypeId": 439 + }, + "Index": 14 + }, + "15": { + "Name": "Historical", + "Storage": { + "Prefix": "Historical", + "Entries": [ + { + "Name": "HistoricalSessions", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 4, + "Value": 440 + } + }, + "Default": "AA==", + "Docs": [ + " Mapping from historical session indices to session-data root hash and validator count." + ] + }, + { + "Name": "StoredRange", + "Modifier": "Optional", + "StorageType": "Plain", + "TypeMap": { + "Item1": 137, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " The range of historical sessions we store. [first, last)" + ] + } + ] + }, + "Calls": null, + "Events": null, + "Constants": [], + "Errors": null, + "Index": 15 + }, + "8": { + "Name": "Utility", + "Storage": null, + "Calls": { + "TypeId": 118 + }, + "Events": { + "TypeId": 59 + }, + "Constants": [ + { + "Name": "batched_calls_limit", + "TypeId": 4, + "Value": "qioAAA==", + "Docs": [ + " The limit on the number of batched calls." + ] + } + ], + "Errors": { + "TypeId": 441 + }, + "Index": 8 + }, + "16": { + "Name": "ConvictionVoting", + "Storage": { + "Prefix": "ConvictionVoting", + "Entries": [ + { + "Name": "VotingFor", + "Modifier": "Default", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat", + "Twox64Concat" + ], + "Key": 442, + "Value": 443 + } + }, + "Default": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "Docs": [ + " All voting for a particular voter in a particular voting class. We store the balance for the", + " number of votes that we have recorded." + ] + }, + { + "Name": "ClassLocksFor", + "Modifier": "Default", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 0, + "Value": 451 + } + }, + "Default": "AA==", + "Docs": [ + " The voting classes which have a non-zero lock requirement and the lock amounts which they", + " require. The actual amount locked on behalf of this pallet should always be the maximum of", + " this list." + ] + } + ] + }, + "Calls": { + "TypeId": 124 + }, + "Events": { + "TypeId": 61 + }, + "Constants": [ + { + "Name": "MaxVotes", + "TypeId": 4, + "Value": "AAIAAA==", + "Docs": [ + " The maximum number of concurrent votes an account may have.", + "", + " Also used to compute weight, an overly large value can lead to extrinsics with large", + " weight estimation: see `delegate` for instance." + ] + }, + { + "Name": "VoteLockingPeriod", + "TypeId": 4, + "Value": "gBMDAA==", + "Docs": [ + " The minimum period of vote locking.", + "", + " It should be no shorter than enactment period to ensure that in the case of an approval,", + " those successful voters are locked into the consequences that their votes entail." + ] + } + ], + "Errors": { + "TypeId": 454 + }, + "Index": 16 + }, + "17": { + "Name": "Referenda", + "Storage": { + "Prefix": "Referenda", + "Entries": [ + { + "Name": "ReferendumCount", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AAAAAA==", + "Docs": [ + " The next free referendum index, aka the number of referenda started so far." + ] + }, + { + "Name": "ReferendumInfoFor", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "BlakeTwo128Concat" + ], + "Key": 4, + "Value": 455 + } + }, + "Default": "AA==", + "Docs": [ + " Information concerning any given referendum." + ] + }, + { + "Name": "TrackQueue", + "Modifier": "Default", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 63, + "Value": 463 + } + }, + "Default": "AA==", + "Docs": [ + " The sorted list of referenda ready to be decided but not yet being decided, ordered by", + " conviction-weighted approvals.", + "", + " This should be empty if `DecidingCount` is less than `TrackInfo::max_deciding`." + ] + }, + { + "Name": "DecidingCount", + "Modifier": "Default", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 63, + "Value": 4 + } + }, + "Default": "AAAAAA==", + "Docs": [ + " The number of referenda being decided currently." + ] + }, + { + "Name": "MetadataOf", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "BlakeTwo128Concat" + ], + "Key": 4, + "Value": 12 + } + }, + "Default": "AA==", + "Docs": [ + " The metadata is a general information concerning the referendum.", + " The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON", + " dump or IPFS hash of a JSON file.", + "", + " Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove)", + " large preimages." + ] + } + ] + }, + "Calls": { + "TypeId": 129 + }, + "Events": { + "TypeId": 62 + }, + "Constants": [ + { + "Name": "SubmissionDeposit", + "TypeId": 6, + "Value": "AEB6EPNaAAAAAAAAAAAAAA==", + "Docs": [ + " The minimum amount to be used as a deposit for a public referendum proposal." + ] + }, + { + "Name": "MaxQueued", + "TypeId": 4, + "Value": "ZAAAAA==", + "Docs": [ + " Maximum size of the referendum queue for a single track." + ] + }, + { + "Name": "UndecidingTimeout", + "TypeId": 4, + "Value": "ACcGAA==", + "Docs": [ + " The number of blocks after submission that a referendum must begin being decided by.", + " Once this passes, then anyone may cancel the referendum." + ] + }, + { + "Name": "AlarmInterval", + "TypeId": 4, + "Value": "AQAAAA==", + "Docs": [ + " Quantization level for the referendum wakeup scheduler. A higher number will result in", + " fewer storage reads/writes needed for smaller voters, but also result in delays to the", + " automatic referendum status changes. Explicit servicing instructions are unaffected." + ] + }, + { + "Name": "Tracks", + "TypeId": 466, + "Value": "NAAAEHJvb3QBAAAAAABkp7O24A0AAAAAAAAAAGAJAAAAJwYAgHAAAIBwAAACkNc+DQAAAABXQ94TAAAAAFRD3hMAAAAAAADKmjsAAAAAAGXNHQEASHdoaXRlbGlzdGVkX2NhbGxlcmQAAAAAAIpdeEVjAQAAAAAAAAAAWAIAAAAnBgDIAAAAyAAAAALslyUQAAAAAHtXPBcAAAAAQjkvEgAAAAACDgCEAAAAAADW5h8BAAAAADlieQIAAAAACgA0c3Rha2luZ19hZG1pbgoAAAAAAMUuvKKxAAAAAAAAAAAAYAkAAAAnBgAQDgAAyAAAAADJQzAkAGXNHQDKmjsCXW94AAAAAADoLu0AAAAAAIxoif//////CwAkdHJlYXN1cmVyCgAAAAAAwW/yhiMAAAAAAAAAAABgCQAAACcGABAOAACAcAAAApDXPg0AAAAAV0PeEwAAAABUQ94TAAAAAAAAypo7AAAAAABlzR0MAEBmZWxsb3dzaGlwX2FkbWluCgAAAAAAxS68orEAAAAAAAAAAABgCQAAACcGABAOAADIAAAAAMlDMCQAZc0dAMqaOwJdb3gAAAAAAOgu7QAAAAAAjGiJ//////8NADRnZW5lcmFsX2FkbWluCgAAAAAAxS68orEAAAAAAAAAAABgCQAAACcGABAOAADIAAAAApDXPg0AAAAAV0PeEwAAAABUQ94TAAAAAAJZovQCAAAAAKMpawUAAAAALmtK/f////8UAFByZWZlcmVuZHVtX2NhbmNlbGxlcugDAAAAAIpdeEVjAQAAAAAAAAAAYAkAAIATAwAQDgAAyAAAAADJQzAkAGXNHQDKmjsCXW94AAAAAADoLu0AAAAAAIxoif//////FQBEcmVmZXJlbmR1bV9raWxsZXLoAwAAAACy01lb8AYAAAAAAAAAAGAJAAAAJwYAEA4AAMgAAAAAyUMwJABlzR0Aypo7Al1veAAAAAAA6C7tAAAAAACMaIn//////x4AMHNtYWxsX3RpcHBlcsgAAAAAoHJOGAkAAAAAAAAAAAAAFAAAAIATAwDIAAAAFAAAAABJkUkVAGXNHQDKmjsC+boYAAAAAAAqTTEAAAAAAGtZ5///////HwAoYmlnX3RpcHBlcmQAAAAAQHoQ81oAAAAAAAAAAAAAyAAAAIATAwCwBAAAyAAAAABJkUkVAGXNHQDKmjsCaU8/AAAAAAA1ln0AAAAAAOU0wf//////IAA0c21hbGxfc3BlbmRlcjIAAAAAgMakfo0DAAAAAAAAAAAAwBIAAAAnBgBAOAAAgHAAAADJQzAkAGXNHQDKmjsCXW94AAAAAADoLu0AAAAAAIxoif//////IQA4bWVkaXVtX3NwZW5kZXIyAAAAAACNSf0aBwAAAAAAAAAAAMASAAAAJwYAgHAAAIBwAAAAWwH2MABlzR0Aypo7AhFh2wAAAAAAv9GqAQAAAAAglyr//////yIALGJpZ19zcGVuZGVyMgAAAAAAGpP6NQ4AAAAAAAAAAADAEgAAACcGAADhAACAcAAAAADKmjsAZc0dAMqaOwJBPLABAAAAAHVdNAMAAAAARdFl/v////8=", + "Docs": [ + " Information concerning the different referendum tracks." + ] + } + ], + "Errors": { + "TypeId": 472 + }, + "Index": 17 + }, + "18": { + "Name": "FellowshipCollective", + "Storage": { + "Prefix": "FellowshipCollective", + "Entries": [ + { + "Name": "MemberCount", + "Modifier": "Default", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 63, + "Value": 4 + } + }, + "Default": "AAAAAA==", + "Docs": [ + " The number of members in the collective who have at least the rank according to the index", + " of the vec." + ] + }, + { + "Name": "Members", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 0, + "Value": 473 + } + }, + "Default": "AA==", + "Docs": [ + " The current members of the collective." + ] + }, + { + "Name": "IdToIndex", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat", + "Twox64Concat" + ], + "Key": 474, + "Value": 4 + } + }, + "Default": "AA==", + "Docs": [ + " The index of each ranks's member into the group of members who have at least that rank." + ] + }, + { + "Name": "IndexToId", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat", + "Twox64Concat" + ], + "Key": 475, + "Value": 0 + } + }, + "Default": "AA==", + "Docs": [ + " The members in the collective by index. All indices in the range `0..MemberCount` will", + " return `Some`, however a member's index is not guaranteed to remain unchanged over time." + ] + }, + { + "Name": "Voting", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "BlakeTwo128Concat", + "Twox64Concat" + ], + "Key": 403, + "Value": 281 + } + }, + "Default": "AA==", + "Docs": [ + " Votes on a given proposal, if it is ongoing." + ] + }, + { + "Name": "VotingCleanup", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "BlakeTwo128Concat" + ], + "Key": 4, + "Value": 476 + } + }, + "Default": "AA==", + "Docs": [] + } + ] + }, + "Calls": { + "TypeId": 132 + }, + "Events": { + "TypeId": 280 + }, + "Constants": [], + "Errors": { + "TypeId": 477 + }, + "Index": 18 + }, + "19": { + "Name": "FellowshipReferenda", + "Storage": { + "Prefix": "FellowshipReferenda", + "Entries": [ + { + "Name": "ReferendumCount", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AAAAAA==", + "Docs": [ + " The next free referendum index, aka the number of referenda started so far." + ] + }, + { + "Name": "ReferendumInfoFor", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "BlakeTwo128Concat" + ], + "Key": 4, + "Value": 478 + } + }, + "Default": "AA==", + "Docs": [ + " Information concerning any given referendum." + ] + }, + { + "Name": "TrackQueue", + "Modifier": "Default", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 63, + "Value": 480 + } + }, + "Default": "AA==", + "Docs": [ + " The sorted list of referenda ready to be decided but not yet being decided, ordered by", + " conviction-weighted approvals.", + "", + " This should be empty if `DecidingCount` is less than `TrackInfo::max_deciding`." + ] + }, + { + "Name": "DecidingCount", + "Modifier": "Default", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 63, + "Value": 4 + } + }, + "Default": "AAAAAA==", + "Docs": [ + " The number of referenda being decided currently." + ] + }, + { + "Name": "MetadataOf", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "BlakeTwo128Concat" + ], + "Key": 4, + "Value": 12 + } + }, + "Default": "AA==", + "Docs": [ + " The metadata is a general information concerning the referendum.", + " The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON", + " dump or IPFS hash of a JSON file.", + "", + " Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove)", + " large preimages." + ] + } + ] + }, + "Calls": { + "TypeId": 133 + }, + "Events": { + "TypeId": 283 + }, + "Constants": [ + { + "Name": "SubmissionDeposit", + "TypeId": 6, + "Value": "AAAAAAAAAAAAAAAAAAAAAA==", + "Docs": [ + " The minimum amount to be used as a deposit for a public referendum proposal." + ] + }, + { + "Name": "MaxQueued", + "TypeId": 4, + "Value": "ZAAAAA==", + "Docs": [ + " Maximum size of the referendum queue for a single track." + ] + }, + { + "Name": "UndecidingTimeout", + "TypeId": 4, + "Value": "gBMDAA==", + "Docs": [ + " The number of blocks after submission that a referendum must begin being decided by.", + " Once this passes, then anyone may cancel the referendum." + ] + }, + { + "Name": "AlarmInterval", + "TypeId": 4, + "Value": "AQAAAA==", + "Docs": [ + " Quantization level for the referendum wakeup scheduler. A higher number will result in", + " fewer storage reads/writes needed for smaller voters, but also result in delays to the", + " automatic referendum status changes. Explicit servicing instructions are unaffected." + ] + }, + { + "Name": "Tracks", + "TypeId": 466, + "Value": "KAAAKGNhbmRpZGF0ZXMKAAAAAIDGpH6NAwAAAAAAAAAAAFgCAACAEwMAWAIAABQAAAAAAMqaOwBlzR0Aypo7AADKmjsAAAAAAGXNHQEAHG1lbWJlcnMKAAAAAEB6EPNaAAAAAAAAAAAAAFgCAACAEwMAWAIAABQAAAAAAMqaOwBlzR0Aypo7AADKmjsAAAAAAGXNHQIALHByb2ZpY2llbnRzCgAAAABAehDzWgAAAAAAAAAAAABYAgAAgBMDAFgCAAAUAAAAAADKmjsAZc0dAMqaOwAAypo7AAAAAABlzR0DABxmZWxsb3dzCgAAAABAehDzWgAAAAAAAAAAAABYAgAAgBMDAFgCAAAUAAAAAADKmjsAZc0dAMqaOwAAypo7AAAAAABlzR0EADhzZW5pb3IgZmVsbG93cwoAAAAAQHoQ81oAAAAAAAAAAAAAWAIAAIATAwBYAgAAFAAAAAAAypo7AGXNHQDKmjsAAMqaOwAAAAAAZc0dBQAcZXhwZXJ0cwoAAAAAoHJOGAkAAAAAAAAAAAAAWAIAAIATAwBYAgAAFAAAAAAAypo7AGXNHQDKmjsAAMqaOwAAAAAAZc0dBgA4c2VuaW9yIGV4cGVydHMKAAAAAKByThgJAAAAAAAAAAAAAFgCAACAEwMAWAIAABQAAAAAAMqaOwBlzR0Aypo7AADKmjsAAAAAAGXNHQcAHG1hc3RlcnMKAAAAAKByThgJAAAAAAAAAAAAAFgCAACAEwMAWAIAABQAAAAAAMqaOwBlzR0Aypo7AADKmjsAAAAAAGXNHQgAOHNlbmlvciBtYXN0ZXJzCgAAAACgck4YCQAAAAAAAAAAAABYAgAAgBMDAFgCAAAUAAAAAADKmjsAZc0dAMqaOwAAypo7AAAAAABlzR0JADRncmFuZCBtYXN0ZXJzCgAAAACgck4YCQAAAAAAAAAAAABYAgAAgBMDAFgCAAAUAAAAAADKmjsAZc0dAMqaOwAAypo7AAAAAABlzR0=", + "Docs": [ + " Information concerning the different referendum tracks." + ] + } + ], + "Errors": { + "TypeId": 481 + }, + "Index": 19 + }, + "20": { + "Name": "Origins", + "Storage": null, + "Calls": null, + "Events": null, + "Constants": [], + "Errors": null, + "Index": 20 + }, + "21": { + "Name": "Whitelist", + "Storage": { + "Prefix": "Whitelist", + "Entries": [ + { + "Name": "WhitelistedCall", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 12, + "Value": 58 + } + }, + "Default": "AA==", + "Docs": [] + } + ] + }, + "Calls": { + "TypeId": 134 + }, + "Events": { + "TypeId": 284 + }, + "Constants": [], + "Errors": { + "TypeId": 482 + }, + "Index": 21 + }, + "22": { + "Name": "Scheduler", + "Storage": { + "Prefix": "Scheduler", + "Entries": [ + { + "Name": "IncompleteSince", + "Modifier": "Optional", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AA==", + "Docs": [] + }, + { + "Name": "Agenda", + "Modifier": "Default", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 4, + "Value": 483 + } + }, + "Default": "AA==", + "Docs": [ + " Items to be executed, indexed by the block number that they should be executed on." + ] + }, + { + "Name": "Lookup", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 1, + "Value": 137 + } + }, + "Default": "AA==", + "Docs": [ + " Lookup from a name to the block number and index of the task.", + "", + " For v3 -> v4 the previously unbounded identities are Blake2-256 hashed to form the v4", + " identities." + ] + } + ] + }, + "Calls": { + "TypeId": 135 + }, + "Events": { + "TypeId": 289 + }, + "Constants": [ + { + "Name": "MaximumWeight", + "TypeId": 9, + "Value": "BwBAt0O6E8zMzMzMzMzM", + "Docs": [ + " The maximum weight that may be scheduled per block for any dispatchables." + ] + }, + { + "Name": "MaxScheduledPerBlock", + "TypeId": 4, + "Value": "AAIAAA==", + "Docs": [ + " The maximum number of scheduled calls in the queue for a single block.", + "", + " NOTE:", + " + Dependent pallets' benchmarks might require a higher limit for the setting. Set a", + " higher limit under `runtime-benchmarks` feature." + ] + } + ], + "Errors": { + "TypeId": 487 + }, + "Index": 22 + }, + "23": { + "Name": "Preimage", + "Storage": { + "Prefix": "Preimage", + "Entries": [ + { + "Name": "StatusFor", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Identity" + ], + "Key": 12, + "Value": 488 + } + }, + "Default": "AA==", + "Docs": [ + " The request status of a given hash." + ] + }, + { + "Name": "RequestStatusFor", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Identity" + ], + "Key": 12, + "Value": 490 + } + }, + "Default": "AA==", + "Docs": [ + " The request status of a given hash." + ] + }, + { + "Name": "PreimageFor", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Identity" + ], + "Key": 440, + "Value": 494 + } + }, + "Default": "AA==", + "Docs": [] + } + ] + }, + "Calls": { + "TypeId": 138 + }, + "Events": { + "TypeId": 291 + }, + "Constants": [], + "Errors": { + "TypeId": 495 + }, + "Index": 23 + }, + "24": { + "Name": "Identity", + "Storage": { + "Prefix": "Identity", + "Entries": [ + { + "Name": "IdentityOf", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 0, + "Value": 496 + } + }, + "Default": "AA==", + "Docs": [ + " Information that is pertinent to identify the entity behind an account.", + "", + " TWOX-NOTE: OK ��� `AccountId` is a secure hash." + ] + }, + { + "Name": "SuperOf", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "BlakeTwo128Concat" + ], + "Key": 0, + "Value": 178 + } + }, + "Default": "AA==", + "Docs": [ + " The super-identity of an alternative \"sub\" identity together with its name, within that", + " context. If the account is not some other account's sub-identity, then just `None`." + ] + }, + { + "Name": "SubsOf", + "Modifier": "Default", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 0, + "Value": 500 + } + }, + "Default": "AAAAAAAAAAAAAAAAAAAAAAA=", + "Docs": [ + " Alternative \"sub\" identities of this account.", + "", + " The first item is the deposit, the second is a vector of the accounts.", + "", + " TWOX-NOTE: OK ��� `AccountId` is a secure hash." + ] + }, + { + "Name": "Registrars", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 502, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " The set of registrars. Not expected to get very big as can only be added through a", + " special origin (likely a council motion).", + "", + " The index into this can be cast to `RegistrarIndex` to get a valid value." + ] + } + ] + }, + "Calls": { + "TypeId": 140 + }, + "Events": { + "TypeId": 292 + }, + "Constants": [ + { + "Name": "BasicDeposit", + "TypeId": 6, + "Value": "AEB6EPNaAAAAAAAAAAAAAA==", + "Docs": [ + " The amount held on deposit for a registered identity" + ] + }, + { + "Name": "ByteDeposit", + "TypeId": 6, + "Value": "AHDJsosAAAAAAAAAAAAAAA==", + "Docs": [ + " The amount held on deposit per encoded byte for a registered identity." + ] + }, + { + "Name": "SubAccountDeposit", + "TypeId": 6, + "Value": "AEDlnDASAAAAAAAAAAAAAA==", + "Docs": [ + " The amount held on deposit for a registered subaccount. This should account for the fact", + " that one storage item's value will increase by the size of an account ID, and there will", + " be another trie item whose value is the size of an account ID plus 32 bytes." + ] + }, + { + "Name": "MaxSubAccounts", + "TypeId": 4, + "Value": "ZAAAAA==", + "Docs": [ + " The maximum number of sub-accounts allowed per identified account." + ] + }, + { + "Name": "MaxRegistrars", + "TypeId": 4, + "Value": "FAAAAA==", + "Docs": [ + " Maxmimum number of registrars allowed in the system. Needed to bound the complexity", + " of, e.g., updating judgements." + ] + } + ], + "Errors": { + "TypeId": 506 + }, + "Index": 24 + }, + "25": { + "Name": "Proxy", + "Storage": { + "Prefix": "Proxy", + "Entries": [ + { + "Name": "Proxies", + "Modifier": "Default", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 0, + "Value": 507 + } + }, + "Default": "AAAAAAAAAAAAAAAAAAAAAAA=", + "Docs": [ + " The set of account proxies. Maps the account which has delegated to the accounts", + " which are being delegated to, together with the amount held on deposit." + ] + }, + { + "Name": "Announcements", + "Modifier": "Default", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 0, + "Value": 511 + } + }, + "Default": "AAAAAAAAAAAAAAAAAAAAAAA=", + "Docs": [ + " The announcements made by the proxy (key)." + ] + } + ] + }, + "Calls": { + "TypeId": 180 + }, + "Events": { + "TypeId": 293 + }, + "Constants": [ + { + "Name": "ProxyDepositBase", + "TypeId": 6, + "Value": "ABhD1boFAAAAAAAAAAAAAA==", + "Docs": [ + " The base amount of currency needed to reserve for creating a proxy.", + "", + " This is held for an additional storage item whose value size is", + " `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes." + ] + }, + { + "Name": "ProxyDepositFactor", + "TypeId": 6, + "Value": "AHD3CwISAAAAAAAAAAAAAA==", + "Docs": [ + " The amount of currency needed per proxy added.", + "", + " This is held for adding 32 bytes plus an instance of `ProxyType` more into a", + " pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take", + " into account `32 + proxy_type.encode().len()` bytes of data." + ] + }, + { + "Name": "MaxProxies", + "TypeId": 4, + "Value": "IAAAAA==", + "Docs": [ + " The maximum amount of proxies allowed for a single account." + ] + }, + { + "Name": "MaxPending", + "TypeId": 4, + "Value": "IAAAAA==", + "Docs": [ + " The maximum amount of time-delayed announcements that are allowed to be pending." + ] + }, + { + "Name": "AnnouncementDepositBase", + "TypeId": 6, + "Value": "ABhD1boFAAAAAAAAAAAAAA==", + "Docs": [ + " The base amount of currency needed to reserve for creating an announcement.", + "", + " This is held when a new storage item holding a `Balance` is created (typically 16", + " bytes)." + ] + }, + { + "Name": "AnnouncementDepositFactor", + "TypeId": 6, + "Value": "AODuFwQkAAAAAAAAAAAAAA==", + "Docs": [ + " The amount of currency needed per announcement made.", + "", + " This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes)", + " into a pre-existing storage value." + ] + } + ], + "Errors": { + "TypeId": 515 + }, + "Index": 25 + }, + "26": { + "Name": "Multisig", + "Storage": { + "Prefix": "Multisig", + "Entries": [ + { + "Name": "Multisigs", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat", + "BlakeTwo128Concat" + ], + "Key": 516, + "Value": 517 + } + }, + "Default": "AA==", + "Docs": [ + " The set of open multisig operations." + ] + } + ] + }, + "Calls": { + "TypeId": 183 + }, + "Events": { + "TypeId": 294 + }, + "Constants": [ + { + "Name": "DepositBase", + "TypeId": 6, + "Value": "ABg2tGIxAAAAAAAAAAAAAA==", + "Docs": [ + " The base amount of currency needed to reserve for creating a multisig execution or to", + " store a dispatch call for later.", + "", + " This is held for an additional storage item whose value size is", + " `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is", + " `32 + sizeof(AccountId)` bytes." + ] + }, + { + "Name": "DepositFactor", + "TypeId": 6, + "Value": "AAAuWXYRAAAAAAAAAAAAAA==", + "Docs": [ + " The amount of currency needed per unit threshold when creating a multisig execution.", + "", + " This is held for adding 32 bytes more into a pre-existing storage value." + ] + }, + { + "Name": "MaxSignatories", + "TypeId": 4, + "Value": "ZAAAAA==", + "Docs": [ + " The maximum amount of signatories allowed in the multisig." + ] + } + ], + "Errors": { + "TypeId": 519 + }, + "Index": 26 + }, + "27": { + "Name": "ElectionProviderMultiPhase", + "Storage": { + "Prefix": "ElectionProviderMultiPhase", + "Entries": [ + { + "Name": "Round", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AQAAAA==", + "Docs": [ + " Internal counter for the number of rounds.", + "", + " This is useful for de-duplication of transactions submitted to the pool, and general", + " diagnostics of the pallet.", + "", + " This is merely incremented once per every time that an upstream `elect` is called." + ] + }, + { + "Name": "CurrentPhase", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 297, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " Current phase." + ] + }, + { + "Name": "QueuedSolution", + "Modifier": "Optional", + "StorageType": "Plain", + "TypeMap": { + "Item1": 520, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " Current best solution, signed or unsigned, queued to be returned upon `elect`.", + "", + " Always sorted by score." + ] + }, + { + "Name": "Snapshot", + "Modifier": "Optional", + "StorageType": "Plain", + "TypeMap": { + "Item1": 522, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " Snapshot data of the round.", + "", + " This is created at the beginning of the signed phase and cleared upon calling `elect`." + ] + }, + { + "Name": "DesiredTargets", + "Modifier": "Optional", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " Desired number of targets to elect for this round.", + "", + " Only exists when [`Snapshot`] is present." + ] + }, + { + "Name": "SnapshotMetadata", + "Modifier": "Optional", + "StorageType": "Plain", + "TypeMap": { + "Item1": 240, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " The metadata of the [`RoundSnapshot`]", + "", + " Only exists when [`Snapshot`] is present." + ] + }, + { + "Name": "SignedSubmissionNextIndex", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AAAAAA==", + "Docs": [ + " The next index to be assigned to an incoming signed submission.", + "", + " Every accepted submission is assigned a unique index; that index is bound to that particular", + " submission for the duration of the election. On election finalization, the next index is", + " reset to 0.", + "", + " We can't just use `SignedSubmissionIndices.len()`, because that's a bounded set; past its", + " capacity, it will simply saturate. We can't just iterate over `SignedSubmissionsMap`,", + " because iteration is slow. Instead, we store the value here." + ] + }, + { + "Name": "SignedSubmissionIndices", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 525, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " A sorted, bounded vector of `(score, block_number, index)`, where each `index` points to a", + " value in `SignedSubmissions`.", + "", + " We never need to process more than a single signed submission at a time. Signed submissions", + " can be quite large, so we're willing to pay the cost of multiple database accesses to access", + " them one at a time instead of reading and decoding all of them at once." + ] + }, + { + "Name": "SignedSubmissionsMap", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 4, + "Value": 528 + } + }, + "Default": "AA==", + "Docs": [ + " Unchecked, signed solutions.", + "", + " Together with `SubmissionIndices`, this stores a bounded set of `SignedSubmissions` while", + " allowing us to keep only a single one in memory at a time.", + "", + " Twox note: the key of the map is an auto-incrementing index which users cannot inspect or", + " affect; we shouldn't need a cryptographically secure hasher." + ] + }, + { + "Name": "MinimumUntrustedScore", + "Modifier": "Optional", + "StorageType": "Plain", + "TypeMap": { + "Item1": 239, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " The minimum score that each 'untrusted' solution must attain in order to be considered", + " feasible.", + "", + " Can be set via `set_minimum_untrusted_score`." + ] + } + ] + }, + "Calls": { + "TypeId": 186 + }, + "Events": { + "TypeId": 295 + }, + "Constants": [ + { + "Name": "UnsignedPhase", + "TypeId": 4, + "Value": "WAIAAA==", + "Docs": [ + " Duration of the unsigned phase." + ] + }, + { + "Name": "SignedPhase", + "TypeId": 4, + "Value": "WAIAAA==", + "Docs": [ + " Duration of the signed phase." + ] + }, + { + "Name": "BetterSignedThreshold", + "TypeId": 51, + "Value": "AAAAAA==", + "Docs": [ + " The minimum amount of improvement to the solution score that defines a solution as", + " \"better\" in the Signed phase." + ] + }, + { + "Name": "BetterUnsignedThreshold", + "TypeId": 51, + "Value": "oIYBAA==", + "Docs": [ + " The minimum amount of improvement to the solution score that defines a solution as", + " \"better\" in the Unsigned phase." + ] + }, + { + "Name": "OffchainRepeat", + "TypeId": 4, + "Value": "JQAAAA==", + "Docs": [ + " The repeat threshold of the offchain worker.", + "", + " For example, if it is 5, that means that at least 5 blocks will elapse between attempts", + " to submit the worker's solution." + ] + }, + { + "Name": "MinerTxPriority", + "TypeId": 11, + "Value": "/v///////38=", + "Docs": [ + " The priority of the unsigned transaction submitted in the unsigned-phase" + ] + }, + { + "Name": "SignedMaxSubmissions", + "TypeId": 4, + "Value": "CgAAAA==", + "Docs": [ + " Maximum number of signed submissions that can be queued.", + "", + " It is best to avoid adjusting this during an election, as it impacts downstream data", + " structures. In particular, `SignedSubmissionIndices` is bounded on this value. If you", + " update this value during an election, you _must_ ensure that", + " `SignedSubmissionIndices.len()` is less than or equal to the new value. Otherwise,", + " attempts to submit new solutions may cause a runtime panic." + ] + }, + { + "Name": "SignedMaxWeight", + "TypeId": 9, + "Value": "BxBZUxozE+xRuB6F61E4", + "Docs": [ + " Maximum weight of a signed solution.", + "", + " If [`Config::MinerConfig`] is being implemented to submit signed solutions (outside of", + " this pallet), then [`MinerConfig::solution_weight`] is used to compare against", + " this value." + ] + }, + { + "Name": "SignedMaxRefunds", + "TypeId": 4, + "Value": "AwAAAA==", + "Docs": [ + " The maximum amount of unchecked solutions to refund the call fee for." + ] + }, + { + "Name": "SignedRewardBase", + "TypeId": 6, + "Value": "AKByThgJAAAAAAAAAAAAAA==", + "Docs": [ + " Base reward for a signed solution" + ] + }, + { + "Name": "SignedDepositByte", + "TypeId": 6, + "Value": "AOh2SBcAAAAAAAAAAAAAAA==", + "Docs": [ + " Per-byte deposit for a signed solution." + ] + }, + { + "Name": "SignedDepositWeight", + "TypeId": 6, + "Value": "AAAAAAAAAAAAAAAAAAAAAA==", + "Docs": [ + " Per-weight deposit for a signed solution." + ] + }, + { + "Name": "MaxWinners", + "TypeId": 4, + "Value": "6AMAAA==", + "Docs": [ + " The maximum number of winners that can be elected by this `ElectionProvider`", + " implementation.", + "", + " Note: This must always be greater or equal to `T::DataProvider::desired_targets()`." + ] + }, + { + "Name": "MinerMaxLength", + "TypeId": 4, + "Value": "AAAkAA==", + "Docs": [] + }, + { + "Name": "MinerMaxWeight", + "TypeId": 9, + "Value": "BxBZUxozE+xRuB6F61E4", + "Docs": [] + }, + { + "Name": "MinerMaxVotesPerVoter", + "TypeId": 4, + "Value": "EAAAAA==", + "Docs": [] + }, + { + "Name": "MinerMaxWinners", + "TypeId": 4, + "Value": "6AMAAA==", + "Docs": [] + } + ], + "Errors": { + "TypeId": 529 + }, + "Index": 27 + }, + "28": { + "Name": "Offences", + "Storage": { + "Prefix": "Offences", + "Entries": [ + { + "Name": "Reports", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 12, + "Value": 530 + } + }, + "Default": "AA==", + "Docs": [ + " The primary structure that holds all offence records keyed by report identifiers." + ] + }, + { + "Name": "ConcurrentReportsIndex", + "Modifier": "Default", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat", + "Twox64Concat" + ], + "Key": 531, + "Value": 139 + } + }, + "Default": "AA==", + "Docs": [ + " A vector of reports of the same kind that happened at the same time slot." + ] + } + ] + }, + "Calls": null, + "Events": { + "TypeId": 299 + }, + "Constants": [], + "Errors": null, + "Index": 28 + }, + "29": { + "Name": "Bounties", + "Storage": { + "Prefix": "Bounties", + "Entries": [ + { + "Name": "BountyCount", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AAAAAA==", + "Docs": [ + " Number of bounty proposals that have been made." + ] + }, + { + "Name": "Bounties", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 4, + "Value": 532 + } + }, + "Default": "AA==", + "Docs": [ + " Bounties that have been made." + ] + }, + { + "Name": "BountyDescriptions", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 4, + "Value": 534 + } + }, + "Default": "AA==", + "Docs": [ + " The description of each bounty." + ] + }, + { + "Name": "BountyApprovals", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 434, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " Bounty indices that have been approved but not yet funded." + ] + } + ] + }, + "Calls": { + "TypeId": 247 + }, + "Events": { + "TypeId": 300 + }, + "Constants": [ + { + "Name": "BountyDepositBase", + "TypeId": 6, + "Value": "AKByThgJAAAAAAAAAAAAAA==", + "Docs": [ + " The amount held on deposit for placing a bounty proposal." + ] + }, + { + "Name": "BountyDepositPayoutDelay", + "TypeId": 4, + "Value": "gHAAAA==", + "Docs": [ + " The delay period for which a bounty beneficiary need to wait before claim the payout." + ] + }, + { + "Name": "BountyUpdatePeriod", + "TypeId": 4, + "Value": "ACcGAA==", + "Docs": [ + " Bounty duration in blocks." + ] + }, + { + "Name": "CuratorDepositMultiplier", + "TypeId": 437, + "Value": "IKEHAA==", + "Docs": [ + " The curator deposit is calculated as a percentage of the curator fee.", + "", + " This deposit has optional upper and lower bounds with `CuratorDepositMax` and", + " `CuratorDepositMin`." + ] + }, + { + "Name": "CuratorDepositMax", + "TypeId": 274, + "Value": "AQCAxqR+jQMAAAAAAAAAAAA=", + "Docs": [ + " Maximum amount of funds that should be placed in a deposit for making a proposal." + ] + }, + { + "Name": "CuratorDepositMin", + "TypeId": 274, + "Value": "AQCgck4YCQAAAAAAAAAAAAA=", + "Docs": [ + " Minimum amount of funds that should be placed in a deposit for making a proposal." + ] + }, + { + "Name": "BountyValueMinimum", + "TypeId": 6, + "Value": "ACA9iHktAAAAAAAAAAAAAA==", + "Docs": [ + " Minimum value for a bounty." + ] + }, + { + "Name": "DataDepositPerByte", + "TypeId": 6, + "Value": "AOh2SBcAAAAAAAAAAAAAAA==", + "Docs": [ + " The amount held on deposit per byte within the tip report reason or bounty description." + ] + }, + { + "Name": "MaximumReasonLength", + "TypeId": 4, + "Value": "LAEAAA==", + "Docs": [ + " Maximum acceptable reason length.", + "", + " Benchmarks depend on this value, be sure to update weights file when changing this value" + ] + } + ], + "Errors": { + "TypeId": 535 + }, + "Index": 29 + }, + "30": { + "Name": "ChildBounties", + "Storage": { + "Prefix": "ChildBounties", + "Entries": [ + { + "Name": "ChildBountyCount", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AAAAAA==", + "Docs": [ + " Number of total child bounties." + ] + }, + { + "Name": "ParentChildBounties", + "Modifier": "Default", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 4, + "Value": 4 + } + }, + "Default": "AAAAAA==", + "Docs": [ + " Number of child bounties per parent bounty.", + " Map of parent bounty index to number of child bounties." + ] + }, + { + "Name": "ChildBounties", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat", + "Twox64Concat" + ], + "Key": 137, + "Value": 536 + } + }, + "Default": "AA==", + "Docs": [ + " Child bounties that have been added." + ] + }, + { + "Name": "ChildBountyDescriptions", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 4, + "Value": 534 + } + }, + "Default": "AA==", + "Docs": [ + " The description of each child-bounty." + ] + }, + { + "Name": "ChildrenCuratorFees", + "Modifier": "Default", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 4, + "Value": 6 + } + }, + "Default": "AAAAAAAAAAAAAAAAAAAAAA==", + "Docs": [ + " The cumulative child-bounty curator fee for each parent bounty." + ] + } + ] + }, + "Calls": { + "TypeId": 248 + }, + "Events": { + "TypeId": 301 + }, + "Constants": [ + { + "Name": "MaxActiveChildBountyCount", + "TypeId": 4, + "Value": "BQAAAA==", + "Docs": [ + " Maximum number of child bounties that can be added to a parent bounty." + ] + }, + { + "Name": "ChildBountyValueMinimum", + "TypeId": 6, + "Value": "AKByThgJAAAAAAAAAAAAAA==", + "Docs": [ + " Minimum value for a child-bounty." + ] + } + ], + "Errors": { + "TypeId": 538 + }, + "Index": 30 + }, + "31": { + "Name": "NominationPools", + "Storage": { + "Prefix": "NominationPools", + "Entries": [ + { + "Name": "TotalValueLocked", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 6, + "Item2": null + }, + "Default": "AAAAAAAAAAAAAAAAAAAAAA==", + "Docs": [ + " The sum of funds across all pools.", + "", + " This might be lower but never higher than the sum of `total_balance` of all [`PoolMembers`]", + " because calling `pool_withdraw_unbonded` might decrease the total stake of the pool's", + " `bonded_account` without adjusting the pallet-internal `UnbondingPool`'s." + ] + }, + { + "Name": "MinJoinBond", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 6, + "Item2": null + }, + "Default": "AAAAAAAAAAAAAAAAAAAAAA==", + "Docs": [ + " Minimum amount to bond to join a pool." + ] + }, + { + "Name": "MinCreateBond", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 6, + "Item2": null + }, + "Default": "AAAAAAAAAAAAAAAAAAAAAA==", + "Docs": [ + " Minimum bond required to create a pool.", + "", + " This is the amount that the depositor must put as their initial stake in the pool, as an", + " indication of \"skin in the game\".", + "", + " This is the value that will always exist in the staking ledger of the pool bonded account", + " while all other accounts leave." + ] + }, + { + "Name": "MaxPools", + "Modifier": "Optional", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " Maximum number of nomination pools that can exist. If `None`, then an unbounded number of", + " pools can exist." + ] + }, + { + "Name": "MaxPoolMembers", + "Modifier": "Optional", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " Maximum number of members that can exist in the system. If `None`, then the count", + " members are not bound on a system wide basis." + ] + }, + { + "Name": "MaxPoolMembersPerPool", + "Modifier": "Optional", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " Maximum number of members that may belong to pool. If `None`, then the count of", + " members is not bound on a per pool basis." + ] + }, + { + "Name": "GlobalMaxCommission", + "Modifier": "Optional", + "StorageType": "Plain", + "TypeMap": { + "Item1": 51, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " The maximum commission that can be charged by a pool. Used on commission payouts to bound", + " pool commissions that are > `GlobalMaxCommission`, necessary if a future", + " `GlobalMaxCommission` is lower than some current pool commissions." + ] + }, + { + "Name": "PoolMembers", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 0, + "Value": 539 + } + }, + "Default": "AA==", + "Docs": [ + " Active members.", + "", + " TWOX-NOTE: SAFE since `AccountId` is a secure hash." + ] + }, + { + "Name": "CounterForPoolMembers", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AAAAAA==", + "Docs": [ + "Counter for the related counted storage map" + ] + }, + { + "Name": "BondedPools", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 4, + "Value": 542 + } + }, + "Default": "AA==", + "Docs": [ + " Storage for bonded pools." + ] + }, + { + "Name": "CounterForBondedPools", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AAAAAA==", + "Docs": [ + "Counter for the related counted storage map" + ] + }, + { + "Name": "RewardPools", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 4, + "Value": 547 + } + }, + "Default": "AA==", + "Docs": [ + " Reward pools. This is where there rewards for each pool accumulate. When a members payout is", + " claimed, the balance comes out fo the reward pool. Keyed by the bonded pools account." + ] + }, + { + "Name": "CounterForRewardPools", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AAAAAA==", + "Docs": [ + "Counter for the related counted storage map" + ] + }, + { + "Name": "SubPoolsStorage", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 4, + "Value": 548 + } + }, + "Default": "AA==", + "Docs": [ + " Groups of unbonding pools. Each group of unbonding pools belongs to a", + " bonded pool, hence the name sub-pools. Keyed by the bonded pools account." + ] + }, + { + "Name": "CounterForSubPoolsStorage", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AAAAAA==", + "Docs": [ + "Counter for the related counted storage map" + ] + }, + { + "Name": "Metadata", + "Modifier": "Default", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 4, + "Value": 554 + } + }, + "Default": "AA==", + "Docs": [ + " Metadata for the pool." + ] + }, + { + "Name": "CounterForMetadata", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AAAAAA==", + "Docs": [ + "Counter for the related counted storage map" + ] + }, + { + "Name": "LastPoolId", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AAAAAA==", + "Docs": [ + " Ever increasing number of all pools created so far." + ] + }, + { + "Name": "ReversePoolIdLookup", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 0, + "Value": 4 + } + }, + "Default": "AA==", + "Docs": [ + " A reverse lookup from the pool's account id to its id.", + "", + " This is only used for slashing. In all other instances, the pool id is used, and the", + " accounts are deterministically derived from it." + ] + }, + { + "Name": "CounterForReversePoolIdLookup", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AAAAAA==", + "Docs": [ + "Counter for the related counted storage map" + ] + }, + { + "Name": "ClaimPermissions", + "Modifier": "Default", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Twox64Concat" + ], + "Key": 0, + "Value": 256 + } + }, + "Default": "AA==", + "Docs": [ + " Map from a pool member account to their opted claim permission." + ] + } + ] + }, + "Calls": { + "TypeId": 249 + }, + "Events": { + "TypeId": 302 + }, + "Constants": [ + { + "Name": "PalletId", + "TypeId": 438, + "Value": "cHkvbm9wbHM=", + "Docs": [ + " The nomination pool's pallet id." + ] + }, + { + "Name": "MaxPointsToBalance", + "TypeId": 2, + "Value": "Cg==", + "Docs": [ + " The maximum pool points-to-balance ratio that an `open` pool can have.", + "", + " This is important in the event slashing takes place and the pool's points-to-balance", + " ratio becomes disproportional.", + "", + " Moreover, this relates to the `RewardCounter` type as well, as the arithmetic operations", + " are a function of number of points, and by setting this value to e.g. 10, you ensure", + " that the total number of points in the system are at most 10 times the total_issuance of", + " the chain, in the absolute worse case.", + "", + " For a value of 10, the threshold would be a pool points-to-balance ratio of 10:1.", + " Such a scenario would also be the equivalent of the pool being 90% slashed." + ] + } + ], + "Errors": { + "TypeId": 555 + }, + "Index": 31 + }, + "100": { + "Name": "GearProgram", + "Storage": { + "Prefix": "GearProgram", + "Entries": [ + { + "Name": "CodeStorage", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Identity" + ], + "Key": 261, + "Value": 557 + } + }, + "Default": "AA==", + "Docs": [] + }, + { + "Name": "CodeLenStorage", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Identity" + ], + "Key": 261, + "Value": 4 + } + }, + "Default": "AA==", + "Docs": [] + }, + { + "Name": "OriginalCodeStorage", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Identity" + ], + "Key": 261, + "Value": 13 + } + }, + "Default": "AA==", + "Docs": [] + }, + { + "Name": "MetadataStorage", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Identity" + ], + "Key": 261, + "Value": 565 + } + }, + "Default": "AA==", + "Docs": [] + }, + { + "Name": "AllocationsStorage", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Identity" + ], + "Key": 262, + "Value": 566 + } + }, + "Default": "AA==", + "Docs": [] + }, + { + "Name": "ProgramStorage", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Identity" + ], + "Key": 262, + "Value": 570 + } + }, + "Default": "AA==", + "Docs": [] + }, + { + "Name": "MemoryPages", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Identity", + "Identity", + "Identity" + ], + "Key": 578, + "Value": 580 + } + }, + "Default": "AA==", + "Docs": [] + } + ] + }, + "Calls": null, + "Events": null, + "Constants": [], + "Errors": { + "TypeId": 583 + }, + "Index": 100 + }, + "101": { + "Name": "GearMessenger", + "Storage": { + "Prefix": "GearMessenger", + "Entries": [ + { + "Name": "Dequeued", + "Modifier": "Optional", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AA==", + "Docs": [] + }, + { + "Name": "Dispatches", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Identity" + ], + "Key": 263, + "Value": 584 + } + }, + "Default": "AA==", + "Docs": [] + }, + { + "Name": "CounterForDispatches", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AAAAAA==", + "Docs": [ + "Counter for the related counted storage map" + ] + }, + { + "Name": "Head", + "Modifier": "Optional", + "StorageType": "Plain", + "TypeMap": { + "Item1": 263, + "Item2": null + }, + "Default": "AA==", + "Docs": [] + }, + { + "Name": "Mailbox", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Identity", + "Identity" + ], + "Key": 599, + "Value": 600 + } + }, + "Default": "AA==", + "Docs": [] + }, + { + "Name": "QueueProcessing", + "Modifier": "Optional", + "StorageType": "Plain", + "TypeMap": { + "Item1": 54, + "Item2": null + }, + "Default": "AA==", + "Docs": [] + }, + { + "Name": "Sent", + "Modifier": "Optional", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AA==", + "Docs": [] + }, + { + "Name": "Tail", + "Modifier": "Optional", + "StorageType": "Plain", + "TypeMap": { + "Item1": 263, + "Item2": null + }, + "Default": "AA==", + "Docs": [] + }, + { + "Name": "Waitlist", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Identity", + "Identity" + ], + "Key": 603, + "Value": 604 + } + }, + "Default": "AA==", + "Docs": [] + }, + { + "Name": "DispatchStash", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Identity" + ], + "Key": 263, + "Value": 605 + } + }, + "Default": "AA==", + "Docs": [] + } + ] + }, + "Calls": null, + "Events": null, + "Constants": [], + "Errors": { + "TypeId": 607 + }, + "Index": 101 + }, + "102": { + "Name": "GearScheduler", + "Storage": { + "Prefix": "GearScheduler", + "Entries": [ + { + "Name": "FirstIncompleteTasksBlock", + "Modifier": "Optional", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AA==", + "Docs": [] + }, + { + "Name": "TaskPool", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Identity", + "Identity" + ], + "Key": 608, + "Value": 58 + } + }, + "Default": "AA==", + "Docs": [] + } + ] + }, + "Calls": null, + "Events": null, + "Constants": [ + { + "Name": "ReserveThreshold", + "TypeId": 4, + "Value": "AQAAAA==", + "Docs": [ + " Amount of blocks for extra delay used to secure from outdated tasks." + ] + }, + { + "Name": "WaitlistCost", + "TypeId": 11, + "Value": "ZAAAAAAAAAA=", + "Docs": [ + " Cost for storing in waitlist per block." + ] + }, + { + "Name": "MailboxCost", + "TypeId": 11, + "Value": "ZAAAAAAAAAA=", + "Docs": [ + " Cost for storing in mailbox per block." + ] + }, + { + "Name": "ReservationCost", + "TypeId": 11, + "Value": "ZAAAAAAAAAA=", + "Docs": [ + " Cost for reservation holding." + ] + }, + { + "Name": "DispatchHoldCost", + "TypeId": 11, + "Value": "ZAAAAAAAAAA=", + "Docs": [ + " Cost for reservation holding." + ] + } + ], + "Errors": { + "TypeId": 610 + }, + "Index": 102 + }, + "103": { + "Name": "GearGas", + "Storage": { + "Prefix": "GearGas", + "Entries": [ + { + "Name": "TotalIssuance", + "Modifier": "Optional", + "StorageType": "Plain", + "TypeMap": { + "Item1": 11, + "Item2": null + }, + "Default": "AA==", + "Docs": [] + }, + { + "Name": "GasNodes", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Identity" + ], + "Key": 323, + "Value": 611 + } + }, + "Default": "AA==", + "Docs": [] + }, + { + "Name": "Allowance", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 11, + "Item2": null + }, + "Default": "AMx7n64AAAA=", + "Docs": [] + } + ] + }, + "Calls": null, + "Events": null, + "Constants": [ + { + "Name": "BlockGasLimit", + "TypeId": 11, + "Value": "AMx7n64AAAA=", + "Docs": [ + " The maximum amount of gas that can be used within a single block." + ] + } + ], + "Errors": { + "TypeId": 616 + }, + "Index": 103 + }, + "104": { + "Name": "Gear", + "Storage": { + "Prefix": "Gear", + "Entries": [ + { + "Name": "ExecuteInherent", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 54, + "Item2": null + }, + "Default": "AQ==", + "Docs": [ + " A flag indicating whether the message queue should be processed at the end of a block", + "", + " If not set, the inherent extrinsic that processes the queue will keep throwing an error", + " thereby making the block builder exclude it from the block." + ] + }, + { + "Name": "BlockNumber", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 4, + "Item2": null + }, + "Default": "AAAAAA==", + "Docs": [ + " The current block number being processed.", + "", + " It shows block number in which queue is processed.", + " May be less than system pallet block number if panic occurred previously." + ] + }, + { + "Name": "GearRunInBlock", + "Modifier": "Optional", + "StorageType": "Plain", + "TypeMap": { + "Item1": 58, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " A guard to prohibit all but the first execution of `pallet_gear::run()` call in a block.", + "", + " Set to `Some(())` if the extrinsic is executed for the first time in a block.", + " All subsequent attempts would fail with `Error::::GearRunAlreadyInBlock` error.", + " Set back to `None` in the `on_finalize()` hook at the end of the block." + ] + } + ] + }, + "Calls": { + "TypeId": 260 + }, + "Events": { + "TypeId": 303 + }, + "Constants": [ + { + "Name": "Schedule", + "TypeId": 617, + "Value": "AYePAAAAAQAAAAQAAIAAAAAAgAAQAABkAAAAAAEAACAAAAAgAAAAAACAAAAACAAABAAAVAYAAJ8AAADLGgAARhoAANomAADIKgAA7BcAADYSAADrDAAAzBQAAAwoAACIAAAAYxIAAGhVAADrBAAAAAAAAH0CAAAaBQAABgUAAFQCAABIBAAAwjAAAH4BAAD6AAAApgEAANsAAAB5AQAA8QAAAMMGAAAIBAAAxAAAANIAAABYAQAAagEAAFMBAACiAAAAtQAAALcAAABSBgAA7AMAAFkGAAB7AwAAUAYAAJUDAADfBgAAZQMAADUGAADFAwAApAcAANoDAACNBwAAugQAAOUGAADEAwAAzAYAAM0DAAAhBgAAgwMAAJQDAAC/AQAAWAMAALMBAACWBQAAJwMAAE4NAACzCQAAAA4AALQJAAApSgAAqjwAAPoOAAAACQAAugMAABMCAABTAwAAvwEAAGoDAADuAQAACgMAANcAAACTAgAA2gAAAMUCAAAYAQAA3wIAAN4AAADPAgAA+AAAAOYZXAAAHtc2AAA2BToAAIJNAgAALu2NAAA6Y5IAAG4fSwAAPnxAAACC60AAADoUQgAA0ppBAADe10IAAPKPQQAAsrtBAAA66HQAAB0DALr5SQAAoldBAADGcUEAAIo6fQAAri9CAQCmPLcAADkIAH5QugAALQgABg9IAACajIUAAC0IAEopmAAAlpydAAA6lNgAAC0IAGZyuwAAan+mAgDyVrwCAGq0CAIAHjEqAAC668kBAF6RcAAAIlfzAgChCgDq8eMCAKUKAKUKAF5wQgAAEo1BAACeckIAAJoQ9wQAMtskBwA2Ek8AALUBAIKfsQAADru0AABK/WEAAEECAOJdUAAAwQcADkVBAACqtTsEAJJlPAMAUiAPAwAKh4EDACpObgMAYoHJAADeruIAAA0CAEUWAALL5QAABQIAaRYAFrrFBgCyEFwIAIK/YwIA/nMaBwAWeeUIAKJg8gIAfiIlAgDCIqIYAFINMwAAAAAAAJEBAJEBAJEBAJEBAOEuAALh9QUAHQoAAoTXFwApAwDiFADY0WDiP5mljUMDEM2HVNFgYkwpwP1AYqzjyMlEYic1B2U3AxDvD27ldgNAnr9rqXI9IQAxBwC9HAARCgCZJwCx/QDKIFJIRTvGyiUAAJo/AQAA", + "Docs": [ + " Cost schedule and limits." + ] + }, + { + "Name": "OutgoingLimit", + "TypeId": 4, + "Value": "AAQAAA==", + "Docs": [ + " The maximum amount of messages that can be produced in during all message executions." + ] + }, + { + "Name": "OutgoingBytesLimit", + "TypeId": 4, + "Value": "AAAABA==", + "Docs": [ + " The maximum amount of bytes in outgoing messages during message execution." + ] + }, + { + "Name": "PerformanceMultiplier", + "TypeId": 626, + "Value": "ZAAAAA==", + "Docs": [ + " Performance multiplier." + ] + }, + { + "Name": "MailboxThreshold", + "TypeId": 11, + "Value": "uAsAAAAAAAA=", + "Docs": [ + " The minimal gas amount for message to be inserted in mailbox.", + "", + " This gas will be consuming as rent for storing and message will be available", + " for reply or claim, once gas ends, message removes.", + "", + " Messages with gas limit less than that minimum will not be added in mailbox,", + " but will be seen in events." + ] + }, + { + "Name": "ReservationsLimit", + "TypeId": 11, + "Value": "AAEAAAAAAAA=", + "Docs": [ + " Amount of reservations can exist for 1 program." + ] + }, + { + "Name": "ProgramRentFreePeriod", + "TypeId": 4, + "Value": "ANRJAA==", + "Docs": [ + " The free of charge period of rent." + ] + }, + { + "Name": "ProgramResumeMinimalRentPeriod", + "TypeId": 4, + "Value": "AE4MAA==", + "Docs": [ + " The minimal amount of blocks to resume." + ] + }, + { + "Name": "ProgramRentCostPerBlock", + "TypeId": 6, + "Value": "QFlzBwAAAAAAAAAAAAAAAA==", + "Docs": [ + " The program rent cost per block." + ] + }, + { + "Name": "ProgramResumeSessionDuration", + "TypeId": 4, + "Value": "sAQAAA==", + "Docs": [ + " The amount of blocks for processing resume session." + ] + }, + { + "Name": "ProgramRentEnabled", + "TypeId": 54, + "Value": "AA==", + "Docs": [ + " The flag determines if program rent mechanism enabled." + ] + }, + { + "Name": "ProgramRentDisabledDelta", + "TypeId": 4, + "Value": "gBMDAA==", + "Docs": [ + " The constant defines value that is added if the program", + " rent is disabled." + ] + }, + { + "Name": "RentPoolId", + "TypeId": 273, + "Value": "AeaDJaJvXo6lxsk7vc+llqw+yLaTAcDMVAKdx7yJG8UV", + "Docs": [ + " The account id of the rent pool if any." + ] + } + ], + "Errors": { + "TypeId": 627 + }, + "Index": 104 + }, + "105": { + "Name": "GearPayment", + "Storage": null, + "Calls": null, + "Events": null, + "Constants": [], + "Errors": null, + "Index": 105 + }, + "106": { + "Name": "StakingRewards", + "Storage": { + "Prefix": "StakingRewards", + "Entries": [ + { + "Name": "TargetInflation", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 628, + "Item2": null + }, + "Default": "AAAAAAAAAAA=", + "Docs": [ + " Target inflation (at ideal stake)" + ] + }, + { + "Name": "IdealStakingRatio", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 628, + "Item2": null + }, + "Default": "AAAAAAAAAAA=", + "Docs": [ + " Ideal staking ratio" + ] + }, + { + "Name": "NonStakeableShare", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 628, + "Item2": null + }, + "Default": "AAAAAAAAAAA=", + "Docs": [ + " The current share of issued tokens that cannot be staked (e.g. being vested)", + " This value is guaranteed to remain unchanged for the first year until vesting kicks in.", + " Subsequently, the non-stakeable share should be calculated based on the vesting balances." + ] + }, + { + "Name": "FilteredAccounts", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 629, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " List of accounts whose locked balance (due to incomplete vesting) should be excluded from", + " the total stakeable quantity.", + " During the 1st year the non-stakeable amount is accounted for as a fixed fraction of TTS." + ] + } + ] + }, + "Calls": { + "TypeId": 266 + }, + "Events": { + "TypeId": 333 + }, + "Constants": [ + { + "Name": "PalletId", + "TypeId": 438, + "Value": "cHkvc3Ryd2Q=", + "Docs": [ + " The staking rewards' pallet id, used for deriving its sovereign account ID." + ] + }, + { + "Name": "MillisecondsPerYear", + "TypeId": 11, + "Value": "AMP6WAcAAAA=", + "Docs": [ + " Milliseconds per year to calculate inflation." + ] + }, + { + "Name": "MinInflation", + "TypeId": 628, + "Value": "AADBb/KGIwA=", + "Docs": [ + " Minimum annual inflation." + ] + }, + { + "Name": "MaxROI", + "TypeId": 628, + "Value": "AACeGGnQKQQ=", + "Docs": [ + " ROI cap." + ] + }, + { + "Name": "Falloff", + "TypeId": 628, + "Value": "AACC3+QNRwA=", + "Docs": [ + " Exponential decay (fall-off) parameter." + ] + } + ], + "Errors": { + "TypeId": 630 + }, + "Index": 106 + }, + "107": { + "Name": "GearVoucher", + "Storage": { + "Prefix": "GearVoucher", + "Entries": [ + { + "Name": "Issued", + "Modifier": "Optional", + "StorageType": "Plain", + "TypeMap": { + "Item1": 11, + "Item2": null + }, + "Default": "AA==", + "Docs": [ + " Storage containing amount of the total vouchers issued.", + "", + " Used as nonce in voucher creation." + ] + }, + { + "Name": "Vouchers", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Identity", + "Identity" + ], + "Key": 631, + "Value": 632 + } + }, + "Default": "AA==", + "Docs": [ + " Double map storage containing data of the voucher,", + " associated with some spender and voucher ids." + ] + } + ] + }, + "Calls": { + "TypeId": 267 + }, + "Events": { + "TypeId": 334 + }, + "Constants": [ + { + "Name": "PalletId", + "TypeId": 438, + "Value": "cHkvdm91Y2g=", + "Docs": [ + " The pallet id, used for deriving its sovereign account ID." + ] + }, + { + "Name": "MaxProgramsAmount", + "TypeId": 2, + "Value": "IA==", + "Docs": [ + " Maximal amount of programs to be specified to interact with." + ] + }, + { + "Name": "MinDuration", + "TypeId": 4, + "Value": "FAAAAA==", + "Docs": [ + " Minimal duration in blocks voucher could be issued/prolonged for." + ] + }, + { + "Name": "MaxDuration", + "TypeId": 4, + "Value": "AOokAA==", + "Docs": [ + " Maximal duration in blocks voucher could be issued/prolonged for." + ] + } + ], + "Errors": { + "TypeId": 633 + }, + "Index": 107 + }, + "108": { + "Name": "GearBank", + "Storage": { + "Prefix": "GearBank", + "Entries": [ + { + "Name": "Bank", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Identity" + ], + "Key": 0, + "Value": 634 + } + }, + "Default": "AA==", + "Docs": [] + }, + { + "Name": "UnusedValue", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 6, + "Item2": null + }, + "Default": "AAAAAAAAAAAAAAAAAAAAAA==", + "Docs": [] + }, + { + "Name": "OnFinalizeTransfers", + "Modifier": "Optional", + "StorageType": "Map", + "TypeMap": { + "Item1": 0, + "Item2": { + "Hashers": [ + "Identity" + ], + "Key": 0, + "Value": 6 + } + }, + "Default": "AA==", + "Docs": [] + }, + { + "Name": "OnFinalizeValue", + "Modifier": "Default", + "StorageType": "Plain", + "TypeMap": { + "Item1": 6, + "Item2": null + }, + "Default": "AAAAAAAAAAAAAAAAAAAAAA==", + "Docs": [] + } + ] + }, + "Calls": null, + "Events": null, + "Constants": [ + { + "Name": "BankAddress", + "TypeId": 0, + "Value": "Z2VhcmJhbmtnZWFyYmFua2dlYXJiYW5rZ2VhcmJhbms=", + "Docs": [ + " Bank account address, that will keep all reserved funds." + ] + }, + { + "Name": "GasMultiplier", + "TypeId": 612, + "Value": "AAYAAAAAAAAAAAAAAAAAAAA=", + "Docs": [ + " Gas price converter." + ] + } + ], + "Errors": { + "TypeId": 635 + }, + "Index": 108 + }, + "109": { + "Name": "GearBuiltin", + "Storage": null, + "Calls": null, + "Events": null, + "Constants": [], + "Errors": null, + "Index": 109 + } + }, + "Extrinsic": { + "TypeId": 636, + "Version": 4, + "SignedExtensions": [ + { + "SignedIdentifier": "StakingBlackList", + "SignedExtType": 641, + "AddSignedExtType": 58 + }, + { + "SignedIdentifier": "CheckNonZeroSender", + "SignedExtType": 642, + "AddSignedExtType": 58 + }, + { + "SignedIdentifier": "CheckSpecVersion", + "SignedExtType": 643, + "AddSignedExtType": 4 + }, + { + "SignedIdentifier": "CheckTxVersion", + "SignedExtType": 644, + "AddSignedExtType": 4 + }, + { + "SignedIdentifier": "CheckGenesis", + "SignedExtType": 645, + "AddSignedExtType": 12 + }, + { + "SignedIdentifier": "CheckMortality", + "SignedExtType": 646, + "AddSignedExtType": 12 + }, + { + "SignedIdentifier": "CheckNonce", + "SignedExtType": 648, + "AddSignedExtType": 58 + }, + { + "SignedIdentifier": "CheckWeight", + "SignedExtType": 649, + "AddSignedExtType": 58 + }, + { + "SignedIdentifier": "ChargeTransactionPayment", + "SignedExtType": 650, + "AddSignedExtType": 58 + } + ] + }, + "TypeId": 651 + } +} \ No newline at end of file diff --git a/net/src/.substrate/metadata.txt b/net/src/.substrate/metadata.txt new file mode 100644 index 00000000..b4da870f --- /dev/null +++ b/net/src/.substrate/metadata.txt @@ -0,0 +1 @@ +0x6d6574610e350a000c1c73705f636f72651863727970746f2c4163636f756e7449643332000004000401205b75383b2033325d0000040000032000000008000800000503000c08306672616d655f73797374656d2c4163636f756e74496e666f08144e6f6e636501102c4163636f756e74446174610114001401146e6f6e63651001144e6f6e6365000124636f6e73756d657273100120526566436f756e7400012470726f766964657273100120526566436f756e7400012c73756666696369656e7473100120526566436f756e740001106461746114012c4163636f756e74446174610000100000050500140c3c70616c6c65745f62616c616e6365731474797065732c4163636f756e7444617461041c42616c616e63650118001001106672656518011c42616c616e6365000120726573657276656418011c42616c616e636500011866726f7a656e18011c42616c616e6365000114666c6167731c01284578747261466c61677300001800000507001c0c3c70616c6c65745f62616c616e636573147479706573284578747261466c61677300000400180110753132380000200c346672616d655f737570706f7274206469737061746368405065724469737061746368436c6173730404540124000c01186e6f726d616c2401045400012c6f7065726174696f6e616c240104540001246d616e6461746f7279240104540000240c2873705f77656967687473247765696768745f76321857656967687400000801207265665f74696d6528010c75363400012870726f6f665f73697a6528010c7536340000280000062c002c000005060030083c7072696d69746976655f74797065731048323536000004000401205b75383b2033325d000034000002080038102873705f72756e74696d651c67656e65726963186469676573741844696765737400000401106c6f67733c013c5665633c4469676573744974656d3e00003c000002400040102873705f72756e74696d651c67656e6572696318646967657374284469676573744974656d0001142850726552756e74696d650800440144436f6e73656e737573456e67696e654964000034011c5665633c75383e00060024436f6e73656e7375730800440144436f6e73656e737573456e67696e654964000034011c5665633c75383e000400105365616c0800440144436f6e73656e737573456e67696e654964000034011c5665633c75383e000500144f74686572040034011c5665633c75383e0000006452756e74696d65456e7669726f6e6d656e74557064617465640008000044000003040000000800480000024c004c08306672616d655f73797374656d2c4576656e745265636f7264080445015004540130000c011470686173653d05011450686173650001146576656e7450010445000118746f706963732d0201185665633c543e0000500830766172615f72756e74696d653052756e74696d654576656e740001741853797374656d04005401706672616d655f73797374656d3a3a4576656e743c52756e74696d653e0000001c4772616e647061040078015470616c6c65745f6772616e6470613a3a4576656e740004002042616c616e63657304008c017c70616c6c65745f62616c616e6365733a3a4576656e743c52756e74696d653e0005001c56657374696e67040094017870616c6c65745f76657374696e673a3a4576656e743c52756e74696d653e000a00485472616e73616374696f6e5061796d656e7404009801a870616c6c65745f7472616e73616374696f6e5f7061796d656e743a3a4576656e743c52756e74696d653e00060020426167734c69737404009c01f470616c6c65745f626167735f6c6973743a3a4576656e743c52756e74696d652c2070616c6c65745f626167735f6c6973743a3a496e7374616e6365313e000b0020496d4f6e6c696e650400a0018070616c6c65745f696d5f6f6e6c696e653a3a4576656e743c52756e74696d653e000c001c5374616b696e670400c4017870616c6c65745f7374616b696e673a3a4576656e743c52756e74696d653e000d001c53657373696f6e0400e0015470616c6c65745f73657373696f6e3a3a4576656e740007002054726561737572790400e4017c70616c6c65745f74726561737572793a3a4576656e743c52756e74696d653e000e001c5574696c6974790400ec015470616c6c65745f7574696c6974793a3a4576656e7400080040436f6e76696374696f6e566f74696e670400f401a070616c6c65745f636f6e76696374696f6e5f766f74696e673a3a4576656e743c52756e74696d653e001000245265666572656e64610400f8018070616c6c65745f7265666572656e64613a3a4576656e743c52756e74696d653e0011005046656c6c6f7773686970436f6c6c6563746976650400610401390170616c6c65745f72616e6b65645f636f6c6c6563746976653a3a4576656e743c52756e74696d652c2070616c6c65745f72616e6b65645f636f6c6c6563746976653a3a0a496e7374616e6365313e0012004c46656c6c6f77736869705265666572656e646104006d0401f470616c6c65745f7265666572656e64613a3a4576656e743c52756e74696d652c2070616c6c65745f7265666572656e64613a3a496e7374616e6365323e0013002457686974656c69737404007104018070616c6c65745f77686974656c6973743a3a4576656e743c52756e74696d653e001500245363686564756c657204008504018070616c6c65745f7363686564756c65723a3a4576656e743c52756e74696d653e00160020507265696d61676504008d04017c70616c6c65745f707265696d6167653a3a4576656e743c52756e74696d653e001700204964656e7469747904009104017c70616c6c65745f6964656e746974793a3a4576656e743c52756e74696d653e0018001450726f787904009504017070616c6c65745f70726f78793a3a4576656e743c52756e74696d653e001900204d756c746973696704009904017c70616c6c65745f6d756c74697369673a3a4576656e743c52756e74696d653e001a0068456c656374696f6e50726f76696465724d756c7469506861736504009d0401d070616c6c65745f656c656374696f6e5f70726f76696465725f6d756c74695f70686173653a3a4576656e743c52756e74696d653e001b00204f6666656e6365730400ad04015870616c6c65745f6f6666656e6365733a3a4576656e74001c0020426f756e746965730400b104017c70616c6c65745f626f756e746965733a3a4576656e743c52756e74696d653e001d00344368696c64426f756e746965730400b504019470616c6c65745f6368696c645f626f756e746965733a3a4576656e743c52756e74696d653e001e003c4e6f6d696e6174696f6e506f6f6c730400b904019c70616c6c65745f6e6f6d696e6174696f6e5f706f6f6c733a3a4576656e743c52756e74696d653e001f0010476561720400bd04016c70616c6c65745f676561723a3a4576656e743c52756e74696d653e006800385374616b696e67526577617264730400350501ac70616c6c65745f676561725f7374616b696e675f726577617264733a3a4576656e743c52756e74696d653e006a002c47656172566f756368657204003905018c70616c6c65745f676561725f766f75636865723a3a4576656e743c52756e74696d653e006b0000540c306672616d655f73797374656d1870616c6c6574144576656e740404540001184045787472696e7369635375636365737304013464697370617463685f696e666f5801304469737061746368496e666f00000490416e2065787472696e73696320636f6d706c65746564207375636365737366756c6c792e3c45787472696e7369634661696c656408013864697370617463685f6572726f7264013444697370617463684572726f7200013464697370617463685f696e666f5801304469737061746368496e666f00010450416e2065787472696e736963206661696c65642e2c436f64655570646174656400020450603a636f6465602077617320757064617465642e284e65774163636f756e7404011c6163636f756e74000130543a3a4163636f756e7449640003046841206e6577206163636f756e742077617320637265617465642e344b696c6c65644163636f756e7404011c6163636f756e74000130543a3a4163636f756e74496400040458416e206163636f756e7420776173207265617065642e2052656d61726b656408011873656e646572000130543a3a4163636f756e7449640001106861736830011c543a3a48617368000504704f6e206f6e2d636861696e2072656d61726b2068617070656e65642e04704576656e7420666f72207468652053797374656d2070616c6c65742e580c346672616d655f737570706f7274206469737061746368304469737061746368496e666f00000c0118776569676874240118576569676874000114636c6173735c01344469737061746368436c617373000120706179735f6665656001105061797300005c0c346672616d655f737570706f7274206469737061746368344469737061746368436c61737300010c184e6f726d616c0000002c4f7065726174696f6e616c000100244d616e6461746f727900020000600c346672616d655f737570706f727420646973706174636810506179730001080c596573000000084e6f0001000064082873705f72756e74696d653444697370617463684572726f72000138144f746865720000003043616e6e6f744c6f6f6b7570000100244261644f726967696e000200184d6f64756c65040068012c4d6f64756c654572726f7200030044436f6e73756d657252656d61696e696e670004002c4e6f50726f76696465727300050040546f6f4d616e79436f6e73756d65727300060014546f6b656e04006c0128546f6b656e4572726f720007002841726974686d65746963040070013c41726974686d657469634572726f72000800345472616e73616374696f6e616c04007401485472616e73616374696f6e616c4572726f7200090024457868617573746564000a0028436f7272757074696f6e000b002c556e617661696c61626c65000c0038526f6f744e6f74416c6c6f776564000d000068082873705f72756e74696d652c4d6f64756c654572726f720000080114696e64657808010875380001146572726f7244018c5b75383b204d41585f4d4f44554c455f4552524f525f454e434f4445445f53495a455d00006c082873705f72756e74696d6528546f6b656e4572726f720001284046756e6473556e617661696c61626c65000000304f6e6c7950726f76696465720001003042656c6f774d696e696d756d0002003043616e6e6f7443726561746500030030556e6b6e6f776e41737365740004001846726f7a656e0005002c556e737570706f727465640006004043616e6e6f74437265617465486f6c64000700344e6f74457870656e6461626c650008001c426c6f636b65640009000070083473705f61726974686d657469633c41726974686d657469634572726f7200010c24556e646572666c6f77000000204f766572666c6f77000100384469766973696f6e42795a65726f0002000074082873705f72756e74696d65485472616e73616374696f6e616c4572726f72000108304c696d6974526561636865640000001c4e6f4c6179657200010000780c3870616c6c65745f6772616e6470611870616c6c6574144576656e7400010c384e6577417574686f726974696573040134617574686f726974795f7365747c0134417574686f726974794c6973740000048c4e657720617574686f726974792073657420686173206265656e206170706c6965642e185061757365640001049843757272656e7420617574686f726974792073657420686173206265656e207061757365642e1c526573756d65640002049c43757272656e7420617574686f726974792073657420686173206265656e20726573756d65642e047c54686520604576656e746020656e756d206f6620746869732070616c6c65747c00000280008000000408842c00840c5073705f636f6e73656e7375735f6772616e6470610c617070185075626c69630000040088013c656432353531393a3a5075626c69630000880c1c73705f636f72651c65643235353139185075626c6963000004000401205b75383b2033325d00008c0c3c70616c6c65745f62616c616e6365731870616c6c6574144576656e740804540004490001541c456e646f77656408011c6163636f756e74000130543a3a4163636f756e744964000130667265655f62616c616e6365180128543a3a42616c616e6365000004b8416e206163636f756e74207761732063726561746564207769746820736f6d6520667265652062616c616e63652e20447573744c6f737408011c6163636f756e74000130543a3a4163636f756e744964000118616d6f756e74180128543a3a42616c616e63650001083d01416e206163636f756e74207761732072656d6f7665642077686f73652062616c616e636520776173206e6f6e2d7a65726f206275742062656c6f77204578697374656e7469616c4465706f7369742c78726573756c74696e6720696e20616e206f75747269676874206c6f73732e205472616e736665720c011066726f6d000130543a3a4163636f756e744964000108746f000130543a3a4163636f756e744964000118616d6f756e74180128543a3a42616c616e63650002044c5472616e73666572207375636365656465642e2842616c616e636553657408010c77686f000130543a3a4163636f756e74496400011066726565180128543a3a42616c616e636500030468412062616c616e6365207761732073657420627920726f6f742e20526573657276656408010c77686f000130543a3a4163636f756e744964000118616d6f756e74180128543a3a42616c616e6365000404e0536f6d652062616c616e63652077617320726573657276656420286d6f7665642066726f6d206672656520746f207265736572766564292e28556e726573657276656408010c77686f000130543a3a4163636f756e744964000118616d6f756e74180128543a3a42616c616e6365000504e8536f6d652062616c616e63652077617320756e726573657276656420286d6f7665642066726f6d20726573657276656420746f2066726565292e4852657365727665526570617472696174656410011066726f6d000130543a3a4163636f756e744964000108746f000130543a3a4163636f756e744964000118616d6f756e74180128543a3a42616c616e636500014864657374696e6174696f6e5f7374617475739001185374617475730006084d01536f6d652062616c616e636520776173206d6f7665642066726f6d207468652072657365727665206f6620746865206669727374206163636f756e7420746f20746865207365636f6e64206163636f756e742ed846696e616c20617267756d656e7420696e64696361746573207468652064657374696e6174696f6e2062616c616e636520747970652e1c4465706f73697408010c77686f000130543a3a4163636f756e744964000118616d6f756e74180128543a3a42616c616e6365000704d8536f6d6520616d6f756e7420776173206465706f73697465642028652e672e20666f72207472616e73616374696f6e2066656573292e20576974686472617708010c77686f000130543a3a4163636f756e744964000118616d6f756e74180128543a3a42616c616e63650008041d01536f6d6520616d6f756e74207761732077697468647261776e2066726f6d20746865206163636f756e742028652e672e20666f72207472616e73616374696f6e2066656573292e1c536c617368656408010c77686f000130543a3a4163636f756e744964000118616d6f756e74180128543a3a42616c616e63650009040101536f6d6520616d6f756e74207761732072656d6f7665642066726f6d20746865206163636f756e742028652e672e20666f72206d69736265686176696f72292e184d696e74656408010c77686f000130543a3a4163636f756e744964000118616d6f756e74180128543a3a42616c616e6365000a049c536f6d6520616d6f756e7420776173206d696e74656420696e746f20616e206163636f756e742e184275726e656408010c77686f000130543a3a4163636f756e744964000118616d6f756e74180128543a3a42616c616e6365000b049c536f6d6520616d6f756e7420776173206275726e65642066726f6d20616e206163636f756e742e2453757370656e64656408010c77686f000130543a3a4163636f756e744964000118616d6f756e74180128543a3a42616c616e6365000c041501536f6d6520616d6f756e74207761732073757370656e6465642066726f6d20616e206163636f756e74202869742063616e20626520726573746f726564206c61746572292e20526573746f72656408010c77686f000130543a3a4163636f756e744964000118616d6f756e74180128543a3a42616c616e6365000d04a4536f6d6520616d6f756e742077617320726573746f72656420696e746f20616e206163636f756e742e20557067726164656404010c77686f000130543a3a4163636f756e744964000e0460416e206163636f756e74207761732075706772616465642e18497373756564040118616d6f756e74180128543a3a42616c616e6365000f042d01546f74616c2069737375616e63652077617320696e637265617365642062792060616d6f756e74602c206372656174696e6720612063726564697420746f2062652062616c616e6365642e2452657363696e646564040118616d6f756e74180128543a3a42616c616e63650010042501546f74616c2069737375616e636520776173206465637265617365642062792060616d6f756e74602c206372656174696e672061206465627420746f2062652062616c616e6365642e184c6f636b656408010c77686f000130543a3a4163636f756e744964000118616d6f756e74180128543a3a42616c616e636500110460536f6d652062616c616e636520776173206c6f636b65642e20556e6c6f636b656408010c77686f000130543a3a4163636f756e744964000118616d6f756e74180128543a3a42616c616e636500120468536f6d652062616c616e63652077617320756e6c6f636b65642e1846726f7a656e08010c77686f000130543a3a4163636f756e744964000118616d6f756e74180128543a3a42616c616e636500130460536f6d652062616c616e6365207761732066726f7a656e2e1854686177656408010c77686f000130543a3a4163636f756e744964000118616d6f756e74180128543a3a42616c616e636500140460536f6d652062616c616e636520776173207468617765642e047c54686520604576656e746020656e756d206f6620746869732070616c6c65749014346672616d655f737570706f72741874726169747318746f6b656e73106d6973633442616c616e6365537461747573000108104672656500000020526573657276656400010000940c3870616c6c65745f76657374696e671870616c6c6574144576656e740404540001083856657374696e675570646174656408011c6163636f756e74000130543a3a4163636f756e744964000120756e76657374656418013042616c616e63654f663c543e000008510154686520616d6f756e742076657374656420686173206265656e20757064617465642e205468697320636f756c6420696e6469636174652061206368616e676520696e2066756e647320617661696c61626c652e25015468652062616c616e636520676976656e2069732074686520616d6f756e74207768696368206973206c65667420756e7665737465642028616e642074687573206c6f636b6564292e4056657374696e67436f6d706c6574656404011c6163636f756e74000130543a3a4163636f756e7449640001049c416e205c5b6163636f756e745c5d20686173206265636f6d652066756c6c79207665737465642e047c54686520604576656e746020656e756d206f6620746869732070616c6c6574980c6870616c6c65745f7472616e73616374696f6e5f7061796d656e741870616c6c6574144576656e74040454000104485472616e73616374696f6e466565506169640c010c77686f000130543a3a4163636f756e74496400012861637475616c5f66656518013042616c616e63654f663c543e00010c74697018013042616c616e63654f663c543e000008590141207472616e73616374696f6e20666565206061637475616c5f666565602c206f662077686963682060746970602077617320616464656420746f20746865206d696e696d756d20696e636c7573696f6e206665652c5c686173206265656e2070616964206279206077686f602e047c54686520604576656e746020656e756d206f6620746869732070616c6c65749c0c4070616c6c65745f626167735f6c6973741870616c6c6574144576656e740804540004490001082052656261676765640c010c77686f000130543a3a4163636f756e74496400011066726f6d2c0120543a3a53636f7265000108746f2c0120543a3a53636f7265000004a44d6f76656420616e206163636f756e742066726f6d206f6e652062616720746f20616e6f746865722e3053636f72655570646174656408010c77686f000130543a3a4163636f756e7449640001246e65775f73636f72652c0120543a3a53636f7265000104d855706461746564207468652073636f7265206f6620736f6d65206163636f756e7420746f2074686520676976656e20616d6f756e742e047c54686520604576656e746020656e756d206f6620746869732070616c6c6574a00c4070616c6c65745f696d5f6f6e6c696e651870616c6c6574144576656e7404045400010c444865617274626561745265636569766564040130617574686f726974795f6964a40138543a3a417574686f726974794964000004c041206e657720686561727462656174207761732072656365697665642066726f6d2060417574686f726974794964602e1c416c6c476f6f64000104d041742074686520656e64206f66207468652073657373696f6e2c206e6f206f6666656e63652077617320636f6d6d69747465642e2c536f6d654f66666c696e6504011c6f66666c696e65ac016c5665633c4964656e74696669636174696f6e5475706c653c543e3e000204290141742074686520656e64206f66207468652073657373696f6e2c206174206c65617374206f6e652076616c696461746f722077617320666f756e6420746f206265206f66666c696e652e047c54686520604576656e746020656e756d206f6620746869732070616c6c6574a4104070616c6c65745f696d5f6f6e6c696e651c737232353531392c6170705f73723235353139185075626c696300000400a8013c737232353531393a3a5075626c69630000a80c1c73705f636f72651c73723235353139185075626c6963000004000401205b75383b2033325d0000ac000002b000b00000040800b400b4082873705f7374616b696e67204578706f7375726508244163636f756e74496401001c42616c616e63650118000c0114746f74616cb8011c42616c616e636500010c6f776eb8011c42616c616e63650001186f7468657273bc01ac5665633c496e646976696475616c4578706f737572653c4163636f756e7449642c2042616c616e63653e3e0000b80000061800bc000002c000c0082873705f7374616b696e6748496e646976696475616c4578706f7375726508244163636f756e74496401001c42616c616e636501180008010c77686f0001244163636f756e74496400011476616c7565b8011c42616c616e63650000c4103870616c6c65745f7374616b696e671870616c6c65741870616c6c6574144576656e740404540001441c457261506169640c01246572615f696e646578100120457261496e64657800014076616c696461746f725f7061796f757418013042616c616e63654f663c543e00012472656d61696e64657218013042616c616e63654f663c543e000008550154686520657261207061796f757420686173206265656e207365743b207468652066697273742062616c616e6365206973207468652076616c696461746f722d7061796f75743b20746865207365636f6e64206973c07468652072656d61696e6465722066726f6d20746865206d6178696d756d20616d6f756e74206f66207265776172642e2052657761726465640c01147374617368000130543a3a4163636f756e74496400011064657374c8017c52657761726444657374696e6174696f6e3c543a3a4163636f756e7449643e000118616d6f756e7418013042616c616e63654f663c543e0001040d01546865206e6f6d696e61746f7220686173206265656e207265776172646564206279207468697320616d6f756e7420746f20746869732064657374696e6174696f6e2e1c536c61736865640801187374616b6572000130543a3a4163636f756e744964000118616d6f756e7418013042616c616e63654f663c543e0002041d0141207374616b6572202876616c696461746f72206f72206e6f6d696e61746f722920686173206265656e20736c61736865642062792074686520676976656e20616d6f756e742e34536c6173685265706f727465640c012476616c696461746f72000130543a3a4163636f756e7449640001206672616374696f6ecc011c50657262696c6c000124736c6173685f657261100120457261496e64657800030859014120736c61736820666f722074686520676976656e2076616c696461746f722c20666f722074686520676976656e2070657263656e74616765206f66207468656972207374616b652c2061742074686520676976656e54657261206173206265656e207265706f727465642e684f6c64536c617368696e675265706f727444697363617264656404013473657373696f6e5f696e64657810013053657373696f6e496e6465780004081901416e206f6c6420736c617368696e67207265706f72742066726f6d2061207072696f72206572612077617320646973636172646564206265636175736520697420636f756c64446e6f742062652070726f6365737365642e385374616b657273456c65637465640005048441206e657720736574206f66207374616b6572732077617320656c65637465642e18426f6e6465640801147374617368000130543a3a4163636f756e744964000118616d6f756e7418013042616c616e63654f663c543e000610d0416e206163636f756e742068617320626f6e646564207468697320616d6f756e742e205c5b73746173682c20616d6f756e745c5d004d014e4f54453a2054686973206576656e74206973206f6e6c7920656d6974746564207768656e2066756e64732061726520626f6e64656420766961206120646973706174636861626c652e204e6f7461626c792c210169742077696c6c206e6f7420626520656d697474656420666f72207374616b696e672072657761726473207768656e20746865792061726520616464656420746f207374616b652e20556e626f6e6465640801147374617368000130543a3a4163636f756e744964000118616d6f756e7418013042616c616e63654f663c543e00070490416e206163636f756e742068617320756e626f6e646564207468697320616d6f756e742e2457697468647261776e0801147374617368000130543a3a4163636f756e744964000118616d6f756e7418013042616c616e63654f663c543e0008085901416e206163636f756e74206861732063616c6c6564206077697468647261775f756e626f6e6465646020616e642072656d6f76656420756e626f6e64696e67206368756e6b7320776f727468206042616c616e6365606466726f6d2074686520756e6c6f636b696e672071756575652e184b69636b65640801246e6f6d696e61746f72000130543a3a4163636f756e7449640001147374617368000130543a3a4163636f756e744964000904b441206e6f6d696e61746f7220686173206265656e206b69636b65642066726f6d20612076616c696461746f722e545374616b696e67456c656374696f6e4661696c6564000a04ac54686520656c656374696f6e206661696c65642e204e6f206e65772065726120697320706c616e6e65642e1c4368696c6c65640401147374617368000130543a3a4163636f756e744964000b042101416e206163636f756e74206861732073746f707065642070617274696369706174696e672061732065697468657220612076616c696461746f72206f72206e6f6d696e61746f722e345061796f7574537461727465640801246572615f696e646578100120457261496e64657800013c76616c696461746f725f7374617368000130543a3a4163636f756e744964000c0498546865207374616b657273272072657761726473206172652067657474696e6720706169642e4456616c696461746f7250726566735365740801147374617368000130543a3a4163636f756e7449640001147072656673d0013856616c696461746f725072656673000d0498412076616c696461746f72206861732073657420746865697220707265666572656e6365732e68536e617073686f74566f7465727353697a65457863656564656404011073697a6510010c753332000e0468566f746572732073697a65206c696d697420726561636865642e6c536e617073686f745461726765747353697a65457863656564656404011073697a6510010c753332000f046c546172676574732073697a65206c696d697420726561636865642e20466f7263654572610401106d6f6465dc011c466f7263696e670010047441206e657720666f72636520657261206d6f646520776173207365742e047c54686520604576656e746020656e756d206f6620746869732070616c6c6574c8083870616c6c65745f7374616b696e674452657761726444657374696e6174696f6e04244163636f756e74496401000114185374616b656400000014537461736800010028436f6e74726f6c6c65720002001c4163636f756e7404000001244163636f756e744964000300104e6f6e6500040000cc0c3473705f61726974686d65746963287065725f7468696e67731c50657262696c6c0000040010010c7533320000d0083870616c6c65745f7374616b696e673856616c696461746f7250726566730000080128636f6d6d697373696f6ed4011c50657262696c6c00011c626c6f636b6564d80110626f6f6c0000d4000006cc00d80000050000dc083870616c6c65745f7374616b696e671c466f7263696e67000110284e6f74466f7263696e6700000020466f7263654e657700010024466f7263654e6f6e650002002c466f726365416c7761797300030000e00c3870616c6c65745f73657373696f6e1870616c6c6574144576656e74000104284e657753657373696f6e04013473657373696f6e5f696e64657810013053657373696f6e496e64657800000839014e65772073657373696f6e206861732068617070656e65642e204e6f746520746861742074686520617267756d656e74206973207468652073657373696f6e20696e6465782c206e6f74207468659c626c6f636b206e756d626572206173207468652074797065206d6967687420737567676573742e047c54686520604576656e746020656e756d206f6620746869732070616c6c6574e40c3c70616c6c65745f74726561737572791870616c6c6574144576656e740804540004490001382050726f706f73656404013870726f706f73616c5f696e64657810013450726f706f73616c496e646578000004344e65772070726f706f73616c2e205370656e64696e670401406275646765745f72656d61696e696e6718013c42616c616e63654f663c542c20493e000104e45765206861766520656e6465642061207370656e6420706572696f6420616e642077696c6c206e6f7720616c6c6f636174652066756e64732e1c417761726465640c013870726f706f73616c5f696e64657810013450726f706f73616c496e646578000114617761726418013c42616c616e63654f663c542c20493e00011c6163636f756e74000130543a3a4163636f756e7449640002047c536f6d652066756e64732068617665206265656e20616c6c6f63617465642e2052656a656374656408013870726f706f73616c5f696e64657810013450726f706f73616c496e64657800011c736c617368656418013c42616c616e63654f663c542c20493e000304b0412070726f706f73616c207761732072656a65637465643b2066756e6473207765726520736c61736865642e144275726e7404012c6275726e745f66756e647318013c42616c616e63654f663c542c20493e00040488536f6d65206f66206f75722066756e64732068617665206265656e206275726e742e20526f6c6c6f766572040140726f6c6c6f7665725f62616c616e636518013c42616c616e63654f663c542c20493e0005042d015370656e64696e67206861732066696e69736865643b20746869732069732074686520616d6f756e74207468617420726f6c6c73206f76657220756e74696c206e657874207370656e642e1c4465706f73697404011476616c756518013c42616c616e63654f663c542c20493e0006047c536f6d652066756e64732068617665206265656e206465706f73697465642e345370656e64417070726f7665640c013870726f706f73616c5f696e64657810013450726f706f73616c496e646578000118616d6f756e7418013c42616c616e63654f663c542c20493e00012c62656e6566696369617279000130543a3a4163636f756e7449640007049c41206e6577207370656e642070726f706f73616c20686173206265656e20617070726f7665642e3c55706461746564496e61637469766508012c726561637469766174656418013c42616c616e63654f663c542c20493e00012c646561637469766174656418013c42616c616e63654f663c542c20493e000804cc54686520696e6163746976652066756e6473206f66207468652070616c6c65742068617665206265656e20757064617465642e4841737365745370656e64417070726f766564180114696e6465781001285370656e64496e64657800012861737365745f6b696e64e80130543a3a41737365744b696e64000118616d6f756e74180150417373657442616c616e63654f663c542c20493e00012c62656e6566696369617279000138543a3a42656e656669636961727900012876616c69645f66726f6d100144426c6f636b4e756d626572466f723c543e0001246578706972655f6174100144426c6f636b4e756d626572466f723c543e000904b441206e6577206173736574207370656e642070726f706f73616c20686173206265656e20617070726f7665642e4041737365745370656e64566f69646564040114696e6465781001285370656e64496e646578000a0474416e20617070726f766564207370656e642077617320766f696465642e1050616964080114696e6465781001285370656e64496e6465780001287061796d656e745f6964e801643c543a3a5061796d6173746572206173205061793e3a3a4964000b044c41207061796d656e742068617070656e65642e345061796d656e744661696c6564080114696e6465781001285370656e64496e6465780001287061796d656e745f6964e801643c543a3a5061796d6173746572206173205061793e3a3a4964000c049041207061796d656e74206661696c656420616e642063616e20626520726574726965642e385370656e6450726f636573736564040114696e6465781001285370656e64496e646578000d084d0141207370656e64207761732070726f63657373656420616e642072656d6f7665642066726f6d207468652073746f726167652e204974206d696768742068617665206265656e207375636365737366756c6c797070616964206f72206974206d6179206861766520657870697265642e047c54686520604576656e746020656e756d206f6620746869732070616c6c6574e80000040000ec0c3870616c6c65745f7574696c6974791870616c6c6574144576656e74000118404261746368496e746572727570746564080114696e64657810010c7533320001146572726f7264013444697370617463684572726f7200000855014261746368206f66206469737061746368657320646964206e6f7420636f6d706c6574652066756c6c792e20496e646578206f66206669727374206661696c696e6720646973706174636820676976656e2c2061734877656c6c20617320746865206572726f722e384261746368436f6d706c65746564000104c84261746368206f66206469737061746368657320636f6d706c657465642066756c6c792077697468206e6f206572726f722e604261746368436f6d706c65746564576974684572726f7273000204b44261746368206f66206469737061746368657320636f6d706c657465642062757420686173206572726f72732e344974656d436f6d706c657465640003041d01412073696e676c65206974656d2077697468696e2061204261746368206f6620646973706174636865732068617320636f6d706c657465642077697468206e6f206572726f722e284974656d4661696c65640401146572726f7264013444697370617463684572726f720004041101412073696e676c65206974656d2077697468696e2061204261746368206f6620646973706174636865732068617320636f6d706c657465642077697468206572726f722e30446973706174636865644173040118726573756c74f001384469737061746368526573756c7400050458412063616c6c2077617320646973706174636865642e047c54686520604576656e746020656e756d206f6620746869732070616c6c6574f00418526573756c7408045401e8044501640108084f6b0400e8000000000c4572720400640000010000f40c6070616c6c65745f636f6e76696374696f6e5f766f74696e671870616c6c6574144576656e740804540004490001082444656c6567617465640800000130543a3a4163636f756e7449640000000130543a3a4163636f756e7449640000041d01416e206163636f756e74206861732064656c65676174656420746865697220766f746520746f20616e6f74686572206163636f756e742e205c5b77686f2c207461726765745c5d2c556e64656c6567617465640400000130543a3a4163636f756e744964000104f4416e205c5b6163636f756e745c5d206861732063616e63656c6c656420612070726576696f75732064656c65676174696f6e206f7065726174696f6e2e047c54686520604576656e746020656e756d206f6620746869732070616c6c6574f80c4070616c6c65745f7265666572656e64611870616c6c6574144576656e74080454000449000140245375626d69747465640c0114696e64657810013c5265666572656e64756d496e6465780460496e646578206f6620746865207265666572656e64756d2e0114747261636bfc013c547261636b49644f663c542c20493e04250154686520747261636b2028616e6420627920657874656e73696f6e2070726f706f73616c206469737061746368206f726967696e29206f662074686973207265666572656e64756d2e012070726f706f73616c0101014c426f756e64656443616c6c4f663c542c20493e04805468652070726f706f73616c20666f7220746865207265666572656e64756d2e00048041207265666572656e64756d20686173206265656e207375626d69747465642e544465636973696f6e4465706f736974506c616365640c0114696e64657810013c5265666572656e64756d496e6465780460496e646578206f6620746865207265666572656e64756d2e010c77686f000130543a3a4163636f756e744964048c546865206163636f756e742077686f20706c6163656420746865206465706f7369742e0118616d6f756e7418013c42616c616e63654f663c542c20493e048454686520616d6f756e7420706c6163656420627920746865206163636f756e742e010494546865206465636973696f6e206465706f73697420686173206265656e20706c616365642e5c4465636973696f6e4465706f736974526566756e6465640c0114696e64657810013c5265666572656e64756d496e6465780460496e646578206f6620746865207265666572656e64756d2e010c77686f000130543a3a4163636f756e744964048c546865206163636f756e742077686f20706c6163656420746865206465706f7369742e0118616d6f756e7418013c42616c616e63654f663c542c20493e048454686520616d6f756e7420706c6163656420627920746865206163636f756e742e02049c546865206465636973696f6e206465706f73697420686173206265656e20726566756e6465642e384465706f736974536c617368656408010c77686f000130543a3a4163636f756e744964048c546865206163636f756e742077686f20706c6163656420746865206465706f7369742e0118616d6f756e7418013c42616c616e63654f663c542c20493e048454686520616d6f756e7420706c6163656420627920746865206163636f756e742e03046c41206465706f73697420686173206265656e20736c61736865642e3c4465636973696f6e53746172746564100114696e64657810013c5265666572656e64756d496e6465780460496e646578206f6620746865207265666572656e64756d2e0114747261636bfc013c547261636b49644f663c542c20493e04250154686520747261636b2028616e6420627920657874656e73696f6e2070726f706f73616c206469737061746368206f726967696e29206f662074686973207265666572656e64756d2e012070726f706f73616c0101014c426f756e64656443616c6c4f663c542c20493e04805468652070726f706f73616c20666f7220746865207265666572656e64756d2e011474616c6c795d040120543a3a54616c6c7904b85468652063757272656e742074616c6c79206f6620766f74657320696e2074686973207265666572656e64756d2e0404bc41207265666572656e64756d20686173206d6f76656420696e746f20746865206465636964696e672070686173652e38436f6e6669726d53746172746564040114696e64657810013c5265666572656e64756d496e6465780460496e646578206f6620746865207265666572656e64756d2e050038436f6e6669726d41626f72746564040114696e64657810013c5265666572656e64756d496e6465780460496e646578206f6620746865207265666572656e64756d2e060024436f6e6669726d6564080114696e64657810013c5265666572656e64756d496e6465780460496e646578206f6620746865207265666572656e64756d2e011474616c6c795d040120543a3a54616c6c7904b05468652066696e616c2074616c6c79206f6620766f74657320696e2074686973207265666572656e64756d2e0704210141207265666572656e64756d2068617320656e6465642069747320636f6e6669726d6174696f6e20706861736520616e6420697320726561647920666f7220617070726f76616c2e20417070726f766564040114696e64657810013c5265666572656e64756d496e6465780460496e646578206f6620746865207265666572656e64756d2e08040d0141207265666572656e64756d20686173206265656e20617070726f76656420616e64206974732070726f706f73616c20686173206265656e207363686564756c65642e2052656a6563746564080114696e64657810013c5265666572656e64756d496e6465780460496e646578206f6620746865207265666572656e64756d2e011474616c6c795d040120543a3a54616c6c7904b05468652066696e616c2074616c6c79206f6620766f74657320696e2074686973207265666572656e64756d2e0904ac412070726f706f73616c20686173206265656e2072656a6563746564206279207265666572656e64756d2e2054696d65644f7574080114696e64657810013c5265666572656e64756d496e6465780460496e646578206f6620746865207265666572656e64756d2e011474616c6c795d040120543a3a54616c6c7904b05468652066696e616c2074616c6c79206f6620766f74657320696e2074686973207265666572656e64756d2e0a04d841207265666572656e64756d20686173206265656e2074696d6564206f757420776974686f7574206265696e6720646563696465642e2443616e63656c6c6564080114696e64657810013c5265666572656e64756d496e6465780460496e646578206f6620746865207265666572656e64756d2e011474616c6c795d040120543a3a54616c6c7904b05468652066696e616c2074616c6c79206f6620766f74657320696e2074686973207265666572656e64756d2e0b048041207265666572656e64756d20686173206265656e2063616e63656c6c65642e184b696c6c6564080114696e64657810013c5265666572656e64756d496e6465780460496e646578206f6620746865207265666572656e64756d2e011474616c6c795d040120543a3a54616c6c7904b05468652066696e616c2074616c6c79206f6620766f74657320696e2074686973207265666572656e64756d2e0c047441207265666572656e64756d20686173206265656e206b696c6c65642e645375626d697373696f6e4465706f736974526566756e6465640c0114696e64657810013c5265666572656e64756d496e6465780460496e646578206f6620746865207265666572656e64756d2e010c77686f000130543a3a4163636f756e744964048c546865206163636f756e742077686f20706c6163656420746865206465706f7369742e0118616d6f756e7418013c42616c616e63654f663c542c20493e048454686520616d6f756e7420706c6163656420627920746865206163636f756e742e0d04a4546865207375626d697373696f6e206465706f73697420686173206265656e20726566756e6465642e2c4d65746164617461536574080114696e64657810013c5265666572656e64756d496e6465780460496e646578206f6620746865207265666572656e64756d2e01106861736830011c543a3a486173680438507265696d61676520686173682e0e049c4d6574616461746120666f722061207265666572656e64756d20686173206265656e207365742e3c4d65746164617461436c6561726564080114696e64657810013c5265666572656e64756d496e6465780460496e646578206f6620746865207265666572656e64756d2e01106861736830011c543a3a486173680438507265696d61676520686173682e0f04ac4d6574616461746120666f722061207265666572656e64756d20686173206265656e20636c65617265642e047c54686520604576656e746020656e756d206f6620746869732070616c6c6574fc0000050400010110346672616d655f737570706f72741874726169747324707265696d616765731c426f756e6465640804540105010448015504010c184c656761637904011068617368300124483a3a4f757470757400000018496e6c696e65040059040134426f756e646564496e6c696e65000100184c6f6f6b757008011068617368300124483a3a4f757470757400010c6c656e10010c7533320002000005010830766172615f72756e74696d652c52756e74696d6543616c6c0001741853797374656d0400090101ad0173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c53797374656d2c2052756e74696d653e0000002454696d657374616d700400190101b90173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c54696d657374616d702c2052756e74696d653e000100104261626504001d0101a50173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c426162652c2052756e74696d653e0003001c4772616e6470610400450101b10173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c4772616e6470612c2052756e74696d653e0004002042616c616e6365730400750101b50173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c42616c616e6365732c2052756e74696d653e0005001c56657374696e670400890101b10173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c56657374696e672c2052756e74696d653e000a0020426167734c6973740400910101b50173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c426167734c6973742c2052756e74696d653e000b0020496d4f6e6c696e650400950101b50173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c496d4f6e6c696e652c2052756e74696d653e000c001c5374616b696e670400a50101b10173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c5374616b696e672c2052756e74696d653e000d001c53657373696f6e0400c50101b10173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c53657373696f6e2c2052756e74696d653e0007002054726561737572790400d10101b50173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c54726561737572792c2052756e74696d653e000e001c5574696c6974790400d90101b10173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c5574696c6974792c2052756e74696d653e00080040436f6e76696374696f6e566f74696e670400f10101d50173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c436f6e76696374696f6e566f74696e672c2052756e74696d653e001000245265666572656e64610400050201b90173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c5265666572656e64612c2052756e74696d653e0011005046656c6c6f7773686970436f6c6c6563746976650400110201e50173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c46656c6c6f7773686970436f6c6c6563746976652c2052756e74696d653e0012004c46656c6c6f77736869705265666572656e64610400150201e10173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c46656c6c6f77736869705265666572656e64612c2052756e74696d653e0013002457686974656c6973740400190201b90173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c57686974656c6973742c2052756e74696d653e001500245363686564756c657204001d0201b90173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c5363686564756c65722c2052756e74696d653e00160020507265696d6167650400290201b50173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c507265696d6167652c2052756e74696d653e001700204964656e746974790400310201b50173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c4964656e746974792c2052756e74696d653e0018001450726f78790400d10201a90173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c50726f78792c2052756e74696d653e001900204d756c74697369670400dd0201b50173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c4d756c74697369672c2052756e74696d653e001a0068456c656374696f6e50726f76696465724d756c746950686173650400e90201fd0173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c456c656374696f6e50726f76696465724d756c746950686173652c2052756e74696d653e001b0020426f756e746965730400dd0301b50173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c426f756e746965732c2052756e74696d653e001d00344368696c64426f756e746965730400e10301c90173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c4368696c64426f756e746965732c2052756e74696d653e001e003c4e6f6d696e6174696f6e506f6f6c730400e50301d10173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c4e6f6d696e6174696f6e506f6f6c732c2052756e74696d653e001f0010476561720400110401a50173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c476561722c2052756e74696d653e006800385374616b696e67526577617264730400290401cd0173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c5374616b696e67526577617264732c2052756e74696d653e006a002c47656172566f756368657204002d0401c10173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a64697370617463680a3a3a43616c6c61626c6543616c6c466f723c47656172566f75636865722c2052756e74696d653e006b000009010c306672616d655f73797374656d1870616c6c65741043616c6c0404540001201872656d61726b04011872656d61726b34011c5665633c75383e0000045c536565205b6050616c6c65743a3a72656d61726b605d2e387365745f686561705f706167657304011470616765732c010c7536340001047c536565205b6050616c6c65743a3a7365745f686561705f7061676573605d2e207365745f636f6465040110636f646534011c5665633c75383e00020464536565205b6050616c6c65743a3a7365745f636f6465605d2e5c7365745f636f64655f776974686f75745f636865636b73040110636f646534011c5665633c75383e000304a0536565205b6050616c6c65743a3a7365745f636f64655f776974686f75745f636865636b73605d2e2c7365745f73746f726167650401146974656d730d0101345665633c4b657956616c75653e00040470536565205b6050616c6c65743a3a7365745f73746f72616765605d2e306b696c6c5f73746f726167650401106b657973150101205665633c4b65793e00050474536565205b6050616c6c65743a3a6b696c6c5f73746f72616765605d2e2c6b696c6c5f70726566697808011870726566697834010c4b657900011c7375626b65797310010c75333200060470536565205b6050616c6c65743a3a6b696c6c5f707265666978605d2e4472656d61726b5f776974685f6576656e7404011872656d61726b34011c5665633c75383e00070488536565205b6050616c6c65743a3a72656d61726b5f776974685f6576656e74605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732e0d010000021101001101000004083434001501000002340019010c4070616c6c65745f74696d657374616d701870616c6c65741043616c6c0404540001040c73657404010c6e6f77280124543a3a4d6f6d656e7400000450536565205b6050616c6c65743a3a736574605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732e1d010c2c70616c6c65745f626162651870616c6c65741043616c6c04045400010c4c7265706f72745f65717569766f636174696f6e08014865717569766f636174696f6e5f70726f6f6621010190426f783c45717569766f636174696f6e50726f6f663c486561646572466f723c543e3e3e00013c6b65795f6f776e65725f70726f6f6635010140543a3a4b65794f776e657250726f6f6600000490536565205b6050616c6c65743a3a7265706f72745f65717569766f636174696f6e605d2e707265706f72745f65717569766f636174696f6e5f756e7369676e656408014865717569766f636174696f6e5f70726f6f6621010190426f783c45717569766f636174696f6e50726f6f663c486561646572466f723c543e3e3e00013c6b65795f6f776e65725f70726f6f6635010140543a3a4b65794f776e657250726f6f66000104b4536565205b6050616c6c65743a3a7265706f72745f65717569766f636174696f6e5f756e7369676e6564605d2e48706c616e5f636f6e6669675f6368616e6765040118636f6e666967390101504e657874436f6e66696744657363726970746f720002048c536565205b6050616c6c65743a3a706c616e5f636f6e6669675f6368616e6765605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732e2101084873705f636f6e73656e7375735f736c6f74734445717569766f636174696f6e50726f6f660818486561646572012501084964012d01001001206f6666656e6465722d0101084964000110736c6f7431010110536c6f7400013066697273745f686561646572250101184865616465720001347365636f6e645f6865616465722501011848656164657200002501102873705f72756e74696d651c67656e65726963186865616465721848656164657208184e756d62657201101048617368000014012c706172656e745f68617368300130486173683a3a4f75747075740001186e756d626572290101184e756d62657200012873746174655f726f6f74300130486173683a3a4f757470757400013c65787472696e736963735f726f6f74300130486173683a3a4f75747075740001186469676573743801184469676573740000290100000610002d010c4473705f636f6e73656e7375735f626162650c617070185075626c696300000400a8013c737232353531393a3a5075626c696300003101084873705f636f6e73656e7375735f736c6f747310536c6f74000004002c010c75363400003501082873705f73657373696f6e3c4d656d6265727368697050726f6f6600000c011c73657373696f6e10013053657373696f6e496e646578000128747269655f6e6f646573150101305665633c5665633c75383e3e00013c76616c696461746f725f636f756e7410013856616c696461746f72436f756e74000039010c4473705f636f6e73656e7375735f626162651c64696765737473504e657874436f6e66696744657363726970746f72000104085631080104633d010128287536342c2075363429000134616c6c6f7765645f736c6f747341010130416c6c6f776564536c6f7473000100003d01000004082c2c004101084473705f636f6e73656e7375735f6261626530416c6c6f776564536c6f747300010c305072696d617279536c6f7473000000745072696d617279416e645365636f6e64617279506c61696e536c6f74730001006c5072696d617279416e645365636f6e64617279565246536c6f74730002000045010c3870616c6c65745f6772616e6470611870616c6c65741043616c6c04045400010c4c7265706f72745f65717569766f636174696f6e08014865717569766f636174696f6e5f70726f6f66490101c8426f783c45717569766f636174696f6e50726f6f663c543a3a486173682c20426c6f636b4e756d626572466f723c543e3e3e00013c6b65795f6f776e65725f70726f6f6635010140543a3a4b65794f776e657250726f6f6600000490536565205b6050616c6c65743a3a7265706f72745f65717569766f636174696f6e605d2e707265706f72745f65717569766f636174696f6e5f756e7369676e656408014865717569766f636174696f6e5f70726f6f66490101c8426f783c45717569766f636174696f6e50726f6f663c543a3a486173682c20426c6f636b4e756d626572466f723c543e3e3e00013c6b65795f6f776e65725f70726f6f6635010140543a3a4b65794f776e657250726f6f66000104b4536565205b6050616c6c65743a3a7265706f72745f65717569766f636174696f6e5f756e7369676e6564605d2e306e6f74655f7374616c6c656408011464656c6179100144426c6f636b4e756d626572466f723c543e00016c626573745f66696e616c697a65645f626c6f636b5f6e756d626572100144426c6f636b4e756d626572466f723c543e00020474536565205b6050616c6c65743a3a6e6f74655f7374616c6c6564605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732e4901085073705f636f6e73656e7375735f6772616e6470614445717569766f636174696f6e50726f6f660804480130044e0110000801187365745f69642c0114536574496400013065717569766f636174696f6e4d01014845717569766f636174696f6e3c482c204e3e00004d01085073705f636f6e73656e7375735f6772616e6470613045717569766f636174696f6e0804480130044e011001081c507265766f7465040051010139016772616e6470613a3a45717569766f636174696f6e3c417574686f7269747949642c206772616e6470613a3a507265766f74653c482c204e3e2c0a417574686f726974795369676e61747572653e00000024507265636f6d6d6974040069010141016772616e6470613a3a45717569766f636174696f6e3c417574686f7269747949642c206772616e6470613a3a507265636f6d6d69743c482c204e3e2c0a417574686f726974795369676e61747572653e000100005101084066696e616c6974795f6772616e6470613045717569766f636174696f6e0c08496401840456015501045301590100100130726f756e645f6e756d6265722c010c7536340001206964656e74697479840108496400011466697273746501011828562c2053290001187365636f6e646501011828562c20532900005501084066696e616c6974795f6772616e6470611c507265766f74650804480130044e01100008012c7461726765745f68617368300104480001347461726765745f6e756d6265721001044e000059010c5073705f636f6e73656e7375735f6772616e6470610c617070245369676e6174757265000004005d010148656432353531393a3a5369676e617475726500005d010c1c73705f636f72651c65643235353139245369676e617475726500000400610101205b75383b2036345d0000610100000340000000080065010000040855015901006901084066696e616c6974795f6772616e6470613045717569766f636174696f6e0c08496401840456016d01045301590100100130726f756e645f6e756d6265722c010c7536340001206964656e74697479840108496400011466697273747101011828562c2053290001187365636f6e647101011828562c20532900006d01084066696e616c6974795f6772616e64706124507265636f6d6d69740804480130044e01100008012c7461726765745f68617368300104480001347461726765745f6e756d6265721001044e00007101000004086d0159010075010c3c70616c6c65745f62616c616e6365731870616c6c65741043616c6c08045400044900011c507472616e736665725f616c6c6f775f646561746808011064657374790101504163636f756e7449644c6f6f6b75704f663c543e00011476616c7565b80128543a3a42616c616e636500000494536565205b6050616c6c65743a3a7472616e736665725f616c6c6f775f6465617468605d2e38666f7263655f7472616e736665720c0118736f75726365790101504163636f756e7449644c6f6f6b75704f663c543e00011064657374790101504163636f756e7449644c6f6f6b75704f663c543e00011476616c7565b80128543a3a42616c616e63650002047c536565205b6050616c6c65743a3a666f7263655f7472616e73666572605d2e4c7472616e736665725f6b6565705f616c69766508011064657374790101504163636f756e7449644c6f6f6b75704f663c543e00011476616c7565b80128543a3a42616c616e636500030490536565205b6050616c6c65743a3a7472616e736665725f6b6565705f616c697665605d2e307472616e736665725f616c6c08011064657374790101504163636f756e7449644c6f6f6b75704f663c543e0001286b6565705f616c697665d80110626f6f6c00040474536565205b6050616c6c65743a3a7472616e736665725f616c6c605d2e3c666f7263655f756e7265736572766508010c77686f790101504163636f756e7449644c6f6f6b75704f663c543e000118616d6f756e74180128543a3a42616c616e636500050480536565205b6050616c6c65743a3a666f7263655f756e72657365727665605d2e40757067726164655f6163636f756e747304010c77686f850101445665633c543a3a4163636f756e7449643e00060484536565205b6050616c6c65743a3a757067726164655f6163636f756e7473605d2e44666f7263655f7365745f62616c616e636508010c77686f790101504163636f756e7449644c6f6f6b75704f663c543e0001206e65775f66726565b80128543a3a42616c616e636500080488536565205b6050616c6c65743a3a666f7263655f7365745f62616c616e6365605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732e79010c2873705f72756e74696d65306d756c746961646472657373304d756c74694164647265737308244163636f756e7449640100304163636f756e74496e64657801e8011408496404000001244163636f756e74496400000014496e64657804007d0101304163636f756e74496e6465780001000c526177040034011c5665633c75383e0002002441646472657373333204000401205b75383b2033325d000300244164647265737332300400810101205b75383b2032305d000400007d01000006e80081010000031400000008008501000002000089010c3870616c6c65745f76657374696e671870616c6c65741043616c6c040454000118107665737400000454536565205b6050616c6c65743a3a76657374605d2e28766573745f6f74686572040118746172676574790101504163636f756e7449644c6f6f6b75704f663c543e0001046c536565205b6050616c6c65743a3a766573745f6f74686572605d2e3c7665737465645f7472616e73666572080118746172676574790101504163636f756e7449644c6f6f6b75704f663c543e0001207363686564756c658d0101b056657374696e67496e666f3c42616c616e63654f663c543e2c20426c6f636b4e756d626572466f723c543e3e00020480536565205b6050616c6c65743a3a7665737465645f7472616e73666572605d2e54666f7263655f7665737465645f7472616e736665720c0118736f75726365790101504163636f756e7449644c6f6f6b75704f663c543e000118746172676574790101504163636f756e7449644c6f6f6b75704f663c543e0001207363686564756c658d0101b056657374696e67496e666f3c42616c616e63654f663c543e2c20426c6f636b4e756d626572466f723c543e3e00030498536565205b6050616c6c65743a3a666f7263655f7665737465645f7472616e73666572605d2e3c6d657267655f7363686564756c657308013c7363686564756c65315f696e64657810010c75333200013c7363686564756c65325f696e64657810010c75333200040480536565205b6050616c6c65743a3a6d657267655f7363686564756c6573605d2e74666f7263655f72656d6f76655f76657374696e675f7363686564756c650801187461726765747901018c3c543a3a4c6f6f6b7570206173205374617469634c6f6f6b75703e3a3a536f757263650001387363686564756c655f696e64657810010c753332000504b8536565205b6050616c6c65743a3a666f7263655f72656d6f76655f76657374696e675f7363686564756c65605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732e8d010c3870616c6c65745f76657374696e673076657374696e675f696e666f2c56657374696e67496e666f081c42616c616e636501182c426c6f636b4e756d6265720110000c01186c6f636b656418011c42616c616e63650001247065725f626c6f636b18011c42616c616e63650001387374617274696e675f626c6f636b10012c426c6f636b4e756d626572000091010c4070616c6c65745f626167735f6c6973741870616c6c65741043616c6c08045400044900010c1472656261670401286469736c6f6361746564790101504163636f756e7449644c6f6f6b75704f663c543e00000458536565205b6050616c6c65743a3a7265626167605d2e3c7075745f696e5f66726f6e745f6f6604011c6c696768746572790101504163636f756e7449644c6f6f6b75704f663c543e00010480536565205b6050616c6c65743a3a7075745f696e5f66726f6e745f6f66605d2e547075745f696e5f66726f6e745f6f665f6f7468657208011c68656176696572790101504163636f756e7449644c6f6f6b75704f663c543e00011c6c696768746572790101504163636f756e7449644c6f6f6b75704f663c543e00020498536565205b6050616c6c65743a3a7075745f696e5f66726f6e745f6f665f6f74686572605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732e95010c4070616c6c65745f696d5f6f6e6c696e651870616c6c65741043616c6c04045400010424686561727462656174080124686561727462656174990101704865617274626561743c426c6f636b4e756d626572466f723c543e3e0001247369676e61747572659d0101bc3c543a3a417574686f7269747949642061732052756e74696d654170705075626c69633e3a3a5369676e617475726500000468536565205b6050616c6c65743a3a686561727462656174605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732e9901084070616c6c65745f696d5f6f6e6c696e6524486561727462656174042c426c6f636b4e756d626572011000100130626c6f636b5f6e756d62657210012c426c6f636b4e756d62657200013473657373696f6e5f696e64657810013053657373696f6e496e64657800013c617574686f726974795f696e64657810012441757468496e64657800013876616c696461746f72735f6c656e10010c75333200009d01104070616c6c65745f696d5f6f6e6c696e651c737232353531392c6170705f73723235353139245369676e617475726500000400a1010148737232353531393a3a5369676e61747572650000a1010c1c73705f636f72651c73723235353139245369676e617475726500000400610101205b75383b2036345d0000a501103870616c6c65745f7374616b696e671870616c6c65741870616c6c65741043616c6c04045400016c10626f6e6408011476616c7565b8013042616c616e63654f663c543e0001147061796565c8017c52657761726444657374696e6174696f6e3c543a3a4163636f756e7449643e00000454536565205b6050616c6c65743a3a626f6e64605d2e28626f6e645f65787472610401386d61785f6164646974696f6e616cb8013042616c616e63654f663c543e0001046c536565205b6050616c6c65743a3a626f6e645f6578747261605d2e18756e626f6e6404011476616c7565b8013042616c616e63654f663c543e0002045c536565205b6050616c6c65743a3a756e626f6e64605d2e4477697468647261775f756e626f6e6465640401486e756d5f736c617368696e675f7370616e7310010c75333200030488536565205b6050616c6c65743a3a77697468647261775f756e626f6e646564605d2e2076616c69646174650401147072656673d0013856616c696461746f72507265667300040464536565205b6050616c6c65743a3a76616c6964617465605d2e206e6f6d696e61746504011c74617267657473a90101645665633c4163636f756e7449644c6f6f6b75704f663c543e3e00050464536565205b6050616c6c65743a3a6e6f6d696e617465605d2e146368696c6c00060458536565205b6050616c6c65743a3a6368696c6c605d2e247365745f70617965650401147061796565c8017c52657761726444657374696e6174696f6e3c543a3a4163636f756e7449643e00070468536565205b6050616c6c65743a3a7365745f7061796565605d2e387365745f636f6e74726f6c6c65720008047c536565205b6050616c6c65743a3a7365745f636f6e74726f6c6c6572605d2e4c7365745f76616c696461746f725f636f756e7404010c6e65772901010c75333200090490536565205b6050616c6c65743a3a7365745f76616c696461746f725f636f756e74605d2e60696e6372656173655f76616c696461746f725f636f756e740401286164646974696f6e616c2901010c753332000a04a4536565205b6050616c6c65743a3a696e6372656173655f76616c696461746f725f636f756e74605d2e547363616c655f76616c696461746f725f636f756e74040118666163746f72ad01011c50657263656e74000b0498536565205b6050616c6c65743a3a7363616c655f76616c696461746f725f636f756e74605d2e34666f7263655f6e6f5f65726173000c0478536565205b6050616c6c65743a3a666f7263655f6e6f5f65726173605d2e34666f7263655f6e65775f657261000d0478536565205b6050616c6c65743a3a666f7263655f6e65775f657261605d2e447365745f696e76756c6e657261626c6573040134696e76756c6e657261626c6573850101445665633c543a3a4163636f756e7449643e000e0488536565205b6050616c6c65743a3a7365745f696e76756c6e657261626c6573605d2e34666f7263655f756e7374616b650801147374617368000130543a3a4163636f756e7449640001486e756d5f736c617368696e675f7370616e7310010c753332000f0478536565205b6050616c6c65743a3a666f7263655f756e7374616b65605d2e50666f7263655f6e65775f6572615f616c7761797300100494536565205b6050616c6c65743a3a666f7263655f6e65775f6572615f616c77617973605d2e5463616e63656c5f64656665727265645f736c61736808010c657261100120457261496e646578000134736c6173685f696e6469636573b10101205665633c7533323e00110498536565205b6050616c6c65743a3a63616e63656c5f64656665727265645f736c617368605d2e387061796f75745f7374616b65727308013c76616c696461746f725f7374617368000130543a3a4163636f756e74496400010c657261100120457261496e6465780012047c536565205b6050616c6c65743a3a7061796f75745f7374616b657273605d2e187265626f6e6404011476616c7565b8013042616c616e63654f663c543e0013045c536565205b6050616c6c65743a3a7265626f6e64605d2e28726561705f73746173680801147374617368000130543a3a4163636f756e7449640001486e756d5f736c617368696e675f7370616e7310010c7533320014046c536565205b6050616c6c65743a3a726561705f7374617368605d2e106b69636b04010c77686fa90101645665633c4163636f756e7449644c6f6f6b75704f663c543e3e00150454536565205b6050616c6c65743a3a6b69636b605d2e4c7365745f7374616b696e675f636f6e666967731801486d696e5f6e6f6d696e61746f725f626f6e64b5010158436f6e6669674f703c42616c616e63654f663c543e3e0001486d696e5f76616c696461746f725f626f6e64b5010158436f6e6669674f703c42616c616e63654f663c543e3e00014c6d61785f6e6f6d696e61746f725f636f756e74b9010134436f6e6669674f703c7533323e00014c6d61785f76616c696461746f725f636f756e74b9010134436f6e6669674f703c7533323e00013c6368696c6c5f7468726573686f6c64bd010144436f6e6669674f703c50657263656e743e0001386d696e5f636f6d6d697373696f6ec1010144436f6e6669674f703c50657262696c6c3e00160490536565205b6050616c6c65743a3a7365745f7374616b696e675f636f6e66696773605d2e2c6368696c6c5f6f74686572040128636f6e74726f6c6c6572000130543a3a4163636f756e74496400170470536565205b6050616c6c65743a3a6368696c6c5f6f74686572605d2e68666f7263655f6170706c795f6d696e5f636f6d6d697373696f6e04013c76616c696461746f725f7374617368000130543a3a4163636f756e744964001804ac536565205b6050616c6c65743a3a666f7263655f6170706c795f6d696e5f636f6d6d697373696f6e605d2e487365745f6d696e5f636f6d6d697373696f6e04010c6e6577cc011c50657262696c6c0019048c536565205b6050616c6c65743a3a7365745f6d696e5f636f6d6d697373696f6e605d2e587061796f75745f7374616b6572735f62795f706167650c013c76616c696461746f725f7374617368000130543a3a4163636f756e74496400010c657261100120457261496e6465780001107061676510011050616765001a049c536565205b6050616c6c65743a3a7061796f75745f7374616b6572735f62795f70616765605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732ea901000002790100ad010c3473705f61726974686d65746963287065725f7468696e67731c50657263656e740000040008010875380000b1010000021000b501103870616c6c65745f7374616b696e671870616c6c65741870616c6c657420436f6e6669674f700404540118010c104e6f6f700000000c5365740400180104540001001852656d6f766500020000b901103870616c6c65745f7374616b696e671870616c6c65741870616c6c657420436f6e6669674f700404540110010c104e6f6f700000000c5365740400100104540001001852656d6f766500020000bd01103870616c6c65745f7374616b696e671870616c6c65741870616c6c657420436f6e6669674f7004045401ad01010c104e6f6f700000000c5365740400ad010104540001001852656d6f766500020000c101103870616c6c65745f7374616b696e671870616c6c65741870616c6c657420436f6e6669674f7004045401cc010c104e6f6f700000000c5365740400cc0104540001001852656d6f766500020000c5010c3870616c6c65745f73657373696f6e1870616c6c65741043616c6c040454000108207365745f6b6579730801106b657973c901011c543a3a4b65797300011470726f6f6634011c5665633c75383e00000464536565205b6050616c6c65743a3a7365745f6b657973605d2e2870757267655f6b6579730001046c536565205b6050616c6c65743a3a70757267655f6b657973605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732ec9010830766172615f72756e74696d652c53657373696f6e4b6579730000100110626162652d0101c43c42616265206173202463726174653a3a426f756e64546f52756e74696d654170705075626c69633e3a3a5075626c696300011c6772616e6470618401d03c4772616e647061206173202463726174653a3a426f756e64546f52756e74696d654170705075626c69633e3a3a5075626c6963000124696d5f6f6e6c696e65a401d43c496d4f6e6c696e65206173202463726174653a3a426f756e64546f52756e74696d654170705075626c69633e3a3a5075626c696300014c617574686f726974795f646973636f76657279cd0101fc3c417574686f72697479446973636f76657279206173202463726174653a3a426f756e64546f52756e74696d654170705075626c69633e3a3a5075626c69630000cd010c5873705f617574686f726974795f646973636f766572790c617070185075626c696300000400a8013c737232353531393a3a5075626c69630000d1010c3c70616c6c65745f74726561737572791870616c6c65741043616c6c0804540004490001243470726f706f73655f7370656e6408011476616c7565b8013c42616c616e63654f663c542c20493e00012c62656e6566696369617279790101504163636f756e7449644c6f6f6b75704f663c543e00000478536565205b6050616c6c65743a3a70726f706f73655f7370656e64605d2e3c72656a6563745f70726f706f73616c04012c70726f706f73616c5f69642901013450726f706f73616c496e64657800010480536565205b6050616c6c65743a3a72656a6563745f70726f706f73616c605d2e40617070726f76655f70726f706f73616c04012c70726f706f73616c5f69642901013450726f706f73616c496e64657800020484536565205b6050616c6c65743a3a617070726f76655f70726f706f73616c605d2e2c7370656e645f6c6f63616c080118616d6f756e74b8013c42616c616e63654f663c542c20493e00012c62656e6566696369617279790101504163636f756e7449644c6f6f6b75704f663c543e00030470536565205b6050616c6c65743a3a7370656e645f6c6f63616c605d2e3c72656d6f76655f617070726f76616c04012c70726f706f73616c5f69642901013450726f706f73616c496e64657800040480536565205b6050616c6c65743a3a72656d6f76655f617070726f76616c605d2e147370656e6410012861737365745f6b696e64e80144426f783c543a3a41737365744b696e643e000118616d6f756e74b80150417373657442616c616e63654f663c542c20493e00012c62656e6566696369617279000178426f783c42656e65666963696172794c6f6f6b75704f663c542c20493e3e00012876616c69645f66726f6dd50101644f7074696f6e3c426c6f636b4e756d626572466f723c543e3e00050458536565205b6050616c6c65743a3a7370656e64605d2e187061796f7574040114696e6465781001285370656e64496e6465780006045c536565205b6050616c6c65743a3a7061796f7574605d2e30636865636b5f737461747573040114696e6465781001285370656e64496e64657800070474536565205b6050616c6c65743a3a636865636b5f737461747573605d2e28766f69645f7370656e64040114696e6465781001285370656e64496e6465780008046c536565205b6050616c6c65743a3a766f69645f7370656e64605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732ed50104184f7074696f6e04045401100108104e6f6e6500000010536f6d650400100000010000d9010c3870616c6c65745f7574696c6974791870616c6c65741043616c6c04045400011814626174636804011463616c6c73dd01017c5665633c3c5420617320436f6e6669673e3a3a52756e74696d6543616c6c3e00000458536565205b6050616c6c65743a3a6261746368605d2e3461735f64657269766174697665080114696e646578fc010c75313600011063616c6c0501017c426f783c3c5420617320436f6e6669673e3a3a52756e74696d6543616c6c3e00010478536565205b6050616c6c65743a3a61735f64657269766174697665605d2e2462617463685f616c6c04011463616c6c73dd01017c5665633c3c5420617320436f6e6669673e3a3a52756e74696d6543616c6c3e00020468536565205b6050616c6c65743a3a62617463685f616c6c605d2e2c64697370617463685f617308012461735f6f726967696ee1010154426f783c543a3a50616c6c6574734f726967696e3e00011063616c6c0501017c426f783c3c5420617320436f6e6669673e3a3a52756e74696d6543616c6c3e00030470536565205b6050616c6c65743a3a64697370617463685f6173605d2e2c666f7263655f626174636804011463616c6c73dd01017c5665633c3c5420617320436f6e6669673e3a3a52756e74696d6543616c6c3e00040470536565205b6050616c6c65743a3a666f7263655f6261746368605d2e2c776974685f77656967687408011063616c6c0501017c426f783c3c5420617320436f6e6669673e3a3a52756e74696d6543616c6c3e00011877656967687424011857656967687400050470536565205b6050616c6c65743a3a776974685f776569676874605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732edd01000002050100e1010830766172615f72756e74696d65304f726967696e43616c6c657200010c1873797374656d0400e50101746672616d655f73797374656d3a3a4f726967696e3c52756e74696d653e0000001c4f726967696e730400e901017470616c6c65745f637573746f6d5f6f726967696e733a3a4f726967696e00140010566f69640400ed0101410173656c663a3a73705f6170695f68696464656e5f696e636c756465735f636f6e7374727563745f72756e74696d653a3a68696464656e5f696e636c7564653a3a0a5f5f707269766174653a3a566f696400020000e5010c346672616d655f737570706f7274206469737061746368245261774f726967696e04244163636f756e7449640100010c10526f6f74000000185369676e656404000001244163636f756e744964000100104e6f6e6500020000e9011430766172615f72756e74696d6528676f7665726e616e63651c6f726967696e735470616c6c65745f637573746f6d5f6f726967696e73184f726967696e000164305374616b696e6741646d696e000000245472656173757265720001003c46656c6c6f777368697041646d696e0002003047656e6572616c41646d696e0003004c5265666572656e64756d43616e63656c6c6572000400405265666572656e64756d4b696c6c65720005002c536d616c6c5469707065720006002442696754697070657200070030536d616c6c5370656e646572000800344d656469756d5370656e646572000900284269675370656e646572000a004457686974656c697374656443616c6c6572000b004c46656c6c6f7773686970496e69746961746573000c001c46656c6c6f7773000d004446656c6c6f777368697045787065727473000e004446656c6c6f77736869704d617374657273000f003846656c6c6f77736869703144616e0010003846656c6c6f77736869703244616e0011003846656c6c6f77736869703344616e0012003846656c6c6f77736869703444616e0013003846656c6c6f77736869703544616e0014003846656c6c6f77736869703644616e0015003846656c6c6f77736869703744616e0016003846656c6c6f77736869703844616e0017003846656c6c6f77736869703944616e00180000ed01081c73705f636f726510566f696400010000f1010c6070616c6c65745f636f6e76696374696f6e5f766f74696e671870616c6c65741043616c6c08045400044900011810766f7465080128706f6c6c5f696e64657829010144506f6c6c496e6465784f663c542c20493e000110766f7465f50101704163636f756e74566f74653c42616c616e63654f663c542c20493e3e00000454536565205b6050616c6c65743a3a766f7465605d2e2064656c6567617465100114636c617373fc0134436c6173734f663c542c20493e000108746f790101504163636f756e7449644c6f6f6b75704f663c543e000128636f6e76696374696f6efd010128436f6e76696374696f6e00011c62616c616e636518013c42616c616e63654f663c542c20493e00010464536565205b6050616c6c65743a3a64656c6567617465605d2e28756e64656c6567617465040114636c617373fc0134436c6173734f663c542c20493e0002046c536565205b6050616c6c65743a3a756e64656c6567617465605d2e18756e6c6f636b080114636c617373fc0134436c6173734f663c542c20493e000118746172676574790101504163636f756e7449644c6f6f6b75704f663c543e0003045c536565205b6050616c6c65743a3a756e6c6f636b605d2e2c72656d6f76655f766f7465080114636c617373010201544f7074696f6e3c436c6173734f663c542c20493e3e000114696e646578100144506f6c6c496e6465784f663c542c20493e00040470536565205b6050616c6c65743a3a72656d6f76655f766f7465605d2e4472656d6f76655f6f746865725f766f74650c0118746172676574790101504163636f756e7449644c6f6f6b75704f663c543e000114636c617373fc0134436c6173734f663c542c20493e000114696e646578100144506f6c6c496e6465784f663c542c20493e00050488536565205b6050616c6c65743a3a72656d6f76655f6f746865725f766f7465605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732ef5010c6070616c6c65745f636f6e76696374696f6e5f766f74696e6710766f74652c4163636f756e74566f7465041c42616c616e63650118010c205374616e64617264080110766f7465f9010110566f746500011c62616c616e636518011c42616c616e63650000001453706c697408010c61796518011c42616c616e636500010c6e617918011c42616c616e63650001003053706c69744162737461696e0c010c61796518011c42616c616e636500010c6e617918011c42616c616e636500011c6162737461696e18011c42616c616e636500020000f9010c6070616c6c65745f636f6e76696374696f6e5f766f74696e6710766f746510566f74650000040008000000fd010c6070616c6c65745f636f6e76696374696f6e5f766f74696e6728636f6e76696374696f6e28436f6e76696374696f6e00011c104e6f6e65000000204c6f636b65643178000100204c6f636b65643278000200204c6f636b65643378000300204c6f636b65643478000400204c6f636b65643578000500204c6f636b6564367800060000010204184f7074696f6e04045401fc0108104e6f6e6500000010536f6d650400fc000001000005020c4070616c6c65745f7265666572656e64611870616c6c65741043616c6c080454000449000124187375626d69740c013c70726f706f73616c5f6f726967696ee101015c426f783c50616c6c6574734f726967696e4f663c543e3e00012070726f706f73616c0101014c426f756e64656443616c6c4f663c542c20493e000140656e6163746d656e745f6d6f6d656e740902017c446973706174636854696d653c426c6f636b4e756d626572466f723c543e3e0000045c536565205b6050616c6c65743a3a7375626d6974605d2e58706c6163655f6465636973696f6e5f6465706f736974040114696e64657810013c5265666572656e64756d496e6465780001049c536565205b6050616c6c65743a3a706c6163655f6465636973696f6e5f6465706f736974605d2e5c726566756e645f6465636973696f6e5f6465706f736974040114696e64657810013c5265666572656e64756d496e646578000204a0536565205b6050616c6c65743a3a726566756e645f6465636973696f6e5f6465706f736974605d2e1863616e63656c040114696e64657810013c5265666572656e64756d496e6465780003045c536565205b6050616c6c65743a3a63616e63656c605d2e106b696c6c040114696e64657810013c5265666572656e64756d496e64657800040454536565205b6050616c6c65743a3a6b696c6c605d2e406e756467655f7265666572656e64756d040114696e64657810013c5265666572656e64756d496e64657800050484536565205b6050616c6c65743a3a6e756467655f7265666572656e64756d605d2e486f6e655f66657765725f6465636964696e67040114747261636bfc013c547261636b49644f663c542c20493e0006048c536565205b6050616c6c65743a3a6f6e655f66657765725f6465636964696e67605d2e64726566756e645f7375626d697373696f6e5f6465706f736974040114696e64657810013c5265666572656e64756d496e646578000704a8536565205b6050616c6c65743a3a726566756e645f7375626d697373696f6e5f6465706f736974605d2e307365745f6d65746164617461080114696e64657810013c5265666572656e64756d496e6465780001286d617962655f686173680d02013c4f7074696f6e3c543a3a486173683e00080474536565205b6050616c6c65743a3a7365745f6d65746164617461605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732e090210346672616d655f737570706f727418747261697473207363686564756c6530446973706174636854696d65042c426c6f636b4e756d62657201100108084174040010012c426c6f636b4e756d626572000000144166746572040010012c426c6f636b4e756d626572000100000d0204184f7074696f6e04045401300108104e6f6e6500000010536f6d65040030000001000011020c6070616c6c65745f72616e6b65645f636f6c6c6563746976651870616c6c65741043616c6c080454000449000118286164645f6d656d62657204010c77686f790101504163636f756e7449644c6f6f6b75704f663c543e0000046c536565205b6050616c6c65743a3a6164645f6d656d626572605d2e3870726f6d6f74655f6d656d62657204010c77686f790101504163636f756e7449644c6f6f6b75704f663c543e0001047c536565205b6050616c6c65743a3a70726f6d6f74655f6d656d626572605d2e3464656d6f74655f6d656d62657204010c77686f790101504163636f756e7449644c6f6f6b75704f663c543e00020478536565205b6050616c6c65743a3a64656d6f74655f6d656d626572605d2e3472656d6f76655f6d656d62657208010c77686f790101504163636f756e7449644c6f6f6b75704f663c543e0001206d696e5f72616e6bfc011052616e6b00030478536565205b6050616c6c65743a3a72656d6f76655f6d656d626572605d2e10766f7465080110706f6c6c100144506f6c6c496e6465784f663c542c20493e00010c617965d80110626f6f6c00040454536565205b6050616c6c65743a3a766f7465605d2e30636c65616e75705f706f6c6c080128706f6c6c5f696e646578100144506f6c6c496e6465784f663c542c20493e00010c6d617810010c75333200050474536565205b6050616c6c65743a3a636c65616e75705f706f6c6c605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732e15020c4070616c6c65745f7265666572656e64611870616c6c65741043616c6c080454000449000124187375626d69740c013c70726f706f73616c5f6f726967696ee101015c426f783c50616c6c6574734f726967696e4f663c543e3e00012070726f706f73616c0101014c426f756e64656443616c6c4f663c542c20493e000140656e6163746d656e745f6d6f6d656e740902017c446973706174636854696d653c426c6f636b4e756d626572466f723c543e3e0000045c536565205b6050616c6c65743a3a7375626d6974605d2e58706c6163655f6465636973696f6e5f6465706f736974040114696e64657810013c5265666572656e64756d496e6465780001049c536565205b6050616c6c65743a3a706c6163655f6465636973696f6e5f6465706f736974605d2e5c726566756e645f6465636973696f6e5f6465706f736974040114696e64657810013c5265666572656e64756d496e646578000204a0536565205b6050616c6c65743a3a726566756e645f6465636973696f6e5f6465706f736974605d2e1863616e63656c040114696e64657810013c5265666572656e64756d496e6465780003045c536565205b6050616c6c65743a3a63616e63656c605d2e106b696c6c040114696e64657810013c5265666572656e64756d496e64657800040454536565205b6050616c6c65743a3a6b696c6c605d2e406e756467655f7265666572656e64756d040114696e64657810013c5265666572656e64756d496e64657800050484536565205b6050616c6c65743a3a6e756467655f7265666572656e64756d605d2e486f6e655f66657765725f6465636964696e67040114747261636bfc013c547261636b49644f663c542c20493e0006048c536565205b6050616c6c65743a3a6f6e655f66657765725f6465636964696e67605d2e64726566756e645f7375626d697373696f6e5f6465706f736974040114696e64657810013c5265666572656e64756d496e646578000704a8536565205b6050616c6c65743a3a726566756e645f7375626d697373696f6e5f6465706f736974605d2e307365745f6d65746164617461080114696e64657810013c5265666572656e64756d496e6465780001286d617962655f686173680d02013c4f7074696f6e3c543a3a486173683e00080474536565205b6050616c6c65743a3a7365745f6d65746164617461605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732e19020c4070616c6c65745f77686974656c6973741870616c6c65741043616c6c0404540001103877686974656c6973745f63616c6c04012463616c6c5f6861736830011c543a3a486173680000047c536565205b6050616c6c65743a3a77686974656c6973745f63616c6c605d2e5c72656d6f76655f77686974656c69737465645f63616c6c04012463616c6c5f6861736830011c543a3a48617368000104a0536565205b6050616c6c65743a3a72656d6f76655f77686974656c69737465645f63616c6c605d2e6464697370617463685f77686974656c69737465645f63616c6c0c012463616c6c5f6861736830011c543a3a4861736800014063616c6c5f656e636f6465645f6c656e10010c75333200014c63616c6c5f7765696768745f7769746e657373240118576569676874000204a8536565205b6050616c6c65743a3a64697370617463685f77686974656c69737465645f63616c6c605d2e9c64697370617463685f77686974656c69737465645f63616c6c5f776974685f707265696d61676504011063616c6c0501017c426f783c3c5420617320436f6e6669673e3a3a52756e74696d6543616c6c3e000304e0536565205b6050616c6c65743a3a64697370617463685f77686974656c69737465645f63616c6c5f776974685f707265696d616765605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732e1d020c4070616c6c65745f7363686564756c65721870616c6c65741043616c6c040454000118207363686564756c651001107768656e100144426c6f636b4e756d626572466f723c543e0001386d617962655f706572696f646963210201ac4f7074696f6e3c7363686564756c653a3a506572696f643c426c6f636b4e756d626572466f723c543e3e3e0001207072696f726974790801487363686564756c653a3a5072696f7269747900011063616c6c0501017c426f783c3c5420617320436f6e6669673e3a3a52756e74696d6543616c6c3e00000464536565205b6050616c6c65743a3a7363686564756c65605d2e1863616e63656c0801107768656e100144426c6f636b4e756d626572466f723c543e000114696e64657810010c7533320001045c536565205b6050616c6c65743a3a63616e63656c605d2e387363686564756c655f6e616d656414010869640401205461736b4e616d650001107768656e100144426c6f636b4e756d626572466f723c543e0001386d617962655f706572696f646963210201ac4f7074696f6e3c7363686564756c653a3a506572696f643c426c6f636b4e756d626572466f723c543e3e3e0001207072696f726974790801487363686564756c653a3a5072696f7269747900011063616c6c0501017c426f783c3c5420617320436f6e6669673e3a3a52756e74696d6543616c6c3e0002047c536565205b6050616c6c65743a3a7363686564756c655f6e616d6564605d2e3063616e63656c5f6e616d656404010869640401205461736b4e616d6500030474536565205b6050616c6c65743a3a63616e63656c5f6e616d6564605d2e387363686564756c655f61667465721001146166746572100144426c6f636b4e756d626572466f723c543e0001386d617962655f706572696f646963210201ac4f7074696f6e3c7363686564756c653a3a506572696f643c426c6f636b4e756d626572466f723c543e3e3e0001207072696f726974790801487363686564756c653a3a5072696f7269747900011063616c6c0501017c426f783c3c5420617320436f6e6669673e3a3a52756e74696d6543616c6c3e0004047c536565205b6050616c6c65743a3a7363686564756c655f6166746572605d2e507363686564756c655f6e616d65645f616674657214010869640401205461736b4e616d650001146166746572100144426c6f636b4e756d626572466f723c543e0001386d617962655f706572696f646963210201ac4f7074696f6e3c7363686564756c653a3a506572696f643c426c6f636b4e756d626572466f723c543e3e3e0001207072696f726974790801487363686564756c653a3a5072696f7269747900011063616c6c0501017c426f783c3c5420617320436f6e6669673e3a3a52756e74696d6543616c6c3e00050494536565205b6050616c6c65743a3a7363686564756c655f6e616d65645f6166746572605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732e210204184f7074696f6e0404540125020108104e6f6e6500000010536f6d6504002502000001000025020000040810100029020c3c70616c6c65745f707265696d6167651870616c6c65741043616c6c040454000114346e6f74655f707265696d616765040114627974657334011c5665633c75383e00000478536565205b6050616c6c65743a3a6e6f74655f707265696d616765605d2e3c756e6e6f74655f707265696d6167650401106861736830011c543a3a4861736800010480536565205b6050616c6c65743a3a756e6e6f74655f707265696d616765605d2e40726571756573745f707265696d6167650401106861736830011c543a3a4861736800020484536565205b6050616c6c65743a3a726571756573745f707265696d616765605d2e48756e726571756573745f707265696d6167650401106861736830011c543a3a486173680003048c536565205b6050616c6c65743a3a756e726571756573745f707265696d616765605d2e38656e737572655f757064617465640401186861736865732d0201305665633c543a3a486173683e0004047c536565205b6050616c6c65743a3a656e737572655f75706461746564605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732e2d02000002300031020c3c70616c6c65745f6964656e746974791870616c6c65741043616c6c04045400013c346164645f72656769737472617204011c6163636f756e74790101504163636f756e7449644c6f6f6b75704f663c543e00000478536565205b6050616c6c65743a3a6164645f726567697374726172605d2e307365745f6964656e74697479040110696e666f3502016c426f783c543a3a4964656e74697479496e666f726d6174696f6e3e00010474536565205b6050616c6c65743a3a7365745f6964656e74697479605d2e207365745f7375627304011073756273c50201645665633c28543a3a4163636f756e7449642c2044617461293e00020464536565205b6050616c6c65743a3a7365745f73756273605d2e38636c6561725f6964656e746974790003047c536565205b6050616c6c65743a3a636c6561725f6964656e74697479605d2e44726571756573745f6a756467656d656e740801247265675f696e64657829010138526567697374726172496e64657800011c6d61785f666565b8013042616c616e63654f663c543e00040488536565205b6050616c6c65743a3a726571756573745f6a756467656d656e74605d2e3863616e63656c5f726571756573740401247265675f696e646578100138526567697374726172496e6465780005047c536565205b6050616c6c65743a3a63616e63656c5f72657175657374605d2e1c7365745f666565080114696e64657829010138526567697374726172496e64657800010c666565b8013042616c616e63654f663c543e00060460536565205b6050616c6c65743a3a7365745f666565605d2e387365745f6163636f756e745f6964080114696e64657829010138526567697374726172496e64657800010c6e6577790101504163636f756e7449644c6f6f6b75704f663c543e0007047c536565205b6050616c6c65743a3a7365745f6163636f756e745f6964605d2e287365745f6669656c6473080114696e64657829010138526567697374726172496e6465780001186669656c64732c0129013c543a3a4964656e74697479496e666f726d6174696f6e206173204964656e74697479496e666f726d6174696f6e50726f76696465723e3a3a0a4669656c64734964656e7469666965720008046c536565205b6050616c6c65743a3a7365745f6669656c6473605d2e4470726f766964655f6a756467656d656e741001247265675f696e64657829010138526567697374726172496e646578000118746172676574790101504163636f756e7449644c6f6f6b75704f663c543e0001246a756467656d656e74cd02015c4a756467656d656e743c42616c616e63654f663c543e3e0001206964656e7469747930011c543a3a4861736800090488536565205b6050616c6c65743a3a70726f766964655f6a756467656d656e74605d2e346b696c6c5f6964656e74697479040118746172676574790101504163636f756e7449644c6f6f6b75704f663c543e000a0478536565205b6050616c6c65743a3a6b696c6c5f6964656e74697479605d2e1c6164645f73756208010c737562790101504163636f756e7449644c6f6f6b75704f663c543e000110646174614102011044617461000b0460536565205b6050616c6c65743a3a6164645f737562605d2e2872656e616d655f73756208010c737562790101504163636f756e7449644c6f6f6b75704f663c543e000110646174614102011044617461000c046c536565205b6050616c6c65743a3a72656e616d655f737562605d2e2872656d6f76655f73756204010c737562790101504163636f756e7449644c6f6f6b75704f663c543e000d046c536565205b6050616c6c65743a3a72656d6f76655f737562605d2e20717569745f737562000e0464536565205b6050616c6c65743a3a717569745f737562605d2e04704964656e746974792070616c6c6574206465636c61726174696f6e2e35020c3c70616c6c65745f6964656e74697479186c6567616379304964656e74697479496e666f04284669656c644c696d697400002401286164646974696f6e616c39020190426f756e6465645665633c28446174612c2044617461292c204669656c644c696d69743e00011c646973706c617941020110446174610001146c6567616c410201104461746100010c776562410201104461746100011072696f744102011044617461000114656d61696c410201104461746100013c7067705f66696e6765727072696e74c10201404f7074696f6e3c5b75383b2032305d3e000114696d616765410201104461746100011c747769747465724102011044617461000039020c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e646564566563080454013d02045300000400bd0201185665633c543e00003d0200000408410241020041020c3c70616c6c65745f6964656e746974791474797065731044617461000198104e6f6e650000001052617730040045020000010010526177310400490200000200105261773204004d0200000300105261773304005102000004001052617734040044000005001052617735040055020000060010526177360400590200000700105261773704005d02000008001052617738040061020000090010526177390400650200000a001452617731300400690200000b0014526177313104006d0200000c001452617731320400710200000d001452617731330400750200000e001452617731340400790200000f0014526177313504007d020000100014526177313604008102000011001452617731370400850200001200145261773138040089020000130014526177313904008d0200001400145261773230040081010000150014526177323104009102000016001452617732320400950200001700145261773233040099020000180014526177323404009d02000019001452617732350400a10200001a001452617732360400a50200001b001452617732370400a90200001c001452617732380400ad0200001d001452617732390400b10200001e001452617733300400b50200001f001452617733310400b90200002000145261773332040004000021002c426c616b6554776f323536040004000022001853686132353604000400002300244b656363616b323536040004000024002c53686154687265653235360400040000250000450200000300000000080049020000030100000008004d020000030200000008005102000003030000000800550200000305000000080059020000030600000008005d020000030700000008006102000003080000000800650200000309000000080069020000030a00000008006d020000030b000000080071020000030c000000080075020000030d000000080079020000030e00000008007d020000030f00000008008102000003100000000800850200000311000000080089020000031200000008008d020000031300000008009102000003150000000800950200000316000000080099020000031700000008009d02000003180000000800a102000003190000000800a5020000031a0000000800a9020000031b0000000800ad020000031c0000000800b1020000031d0000000800b5020000031e0000000800b9020000031f0000000800bd020000023d0200c10204184f7074696f6e0404540181010108104e6f6e6500000010536f6d65040081010000010000c502000002c90200c9020000040800410200cd020c3c70616c6c65745f6964656e74697479147479706573244a756467656d656e74041c42616c616e63650118011c1c556e6b6e6f776e0000001c46656550616964040018011c42616c616e636500010028526561736f6e61626c65000200244b6e6f776e476f6f64000300244f75744f6644617465000400284c6f775175616c697479000500244572726f6e656f757300060000d1020c3070616c6c65745f70726f78791870616c6c65741043616c6c0404540001281470726f78790c01107265616c790101504163636f756e7449644c6f6f6b75704f663c543e000140666f7263655f70726f78795f74797065d50201504f7074696f6e3c543a3a50726f7879547970653e00011063616c6c0501017c426f783c3c5420617320436f6e6669673e3a3a52756e74696d6543616c6c3e00000458536565205b6050616c6c65743a3a70726f7879605d2e246164645f70726f78790c012064656c6567617465790101504163636f756e7449644c6f6f6b75704f663c543e00012870726f78795f74797065d9020130543a3a50726f78795479706500011464656c6179100144426c6f636b4e756d626572466f723c543e00010468536565205b6050616c6c65743a3a6164645f70726f7879605d2e3072656d6f76655f70726f78790c012064656c6567617465790101504163636f756e7449644c6f6f6b75704f663c543e00012870726f78795f74797065d9020130543a3a50726f78795479706500011464656c6179100144426c6f636b4e756d626572466f723c543e00020474536565205b6050616c6c65743a3a72656d6f76655f70726f7879605d2e3872656d6f76655f70726f786965730003047c536565205b6050616c6c65743a3a72656d6f76655f70726f78696573605d2e2c6372656174655f707572650c012870726f78795f74797065d9020130543a3a50726f78795479706500011464656c6179100144426c6f636b4e756d626572466f723c543e000114696e646578fc010c75313600040470536565205b6050616c6c65743a3a6372656174655f70757265605d2e246b696c6c5f7075726514011c737061776e6572790101504163636f756e7449644c6f6f6b75704f663c543e00012870726f78795f74797065d9020130543a3a50726f787954797065000114696e646578fc010c75313600011868656967687429010144426c6f636b4e756d626572466f723c543e0001246578745f696e6465782901010c75333200050468536565205b6050616c6c65743a3a6b696c6c5f70757265605d2e20616e6e6f756e63650801107265616c790101504163636f756e7449644c6f6f6b75704f663c543e00012463616c6c5f6861736830013443616c6c486173684f663c543e00060464536565205b6050616c6c65743a3a616e6e6f756e6365605d2e4c72656d6f76655f616e6e6f756e63656d656e740801107265616c790101504163636f756e7449644c6f6f6b75704f663c543e00012463616c6c5f6861736830013443616c6c486173684f663c543e00070490536565205b6050616c6c65743a3a72656d6f76655f616e6e6f756e63656d656e74605d2e4c72656a6563745f616e6e6f756e63656d656e7408012064656c6567617465790101504163636f756e7449644c6f6f6b75704f663c543e00012463616c6c5f6861736830013443616c6c486173684f663c543e00080490536565205b6050616c6c65743a3a72656a6563745f616e6e6f756e63656d656e74605d2e3c70726f78795f616e6e6f756e63656410012064656c6567617465790101504163636f756e7449644c6f6f6b75704f663c543e0001107265616c790101504163636f756e7449644c6f6f6b75704f663c543e000140666f7263655f70726f78795f74797065d50201504f7074696f6e3c543a3a50726f7879547970653e00011063616c6c0501017c426f783c3c5420617320436f6e6669673e3a3a52756e74696d6543616c6c3e00090480536565205b6050616c6c65743a3a70726f78795f616e6e6f756e636564605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732ed50204184f7074696f6e04045401d9020108104e6f6e6500000010536f6d650400d9020000010000d9020830766172615f72756e74696d652450726f7879547970650001180c416e790000002c4e6f6e5472616e7366657200010028476f7665726e616e63650002001c5374616b696e67000300444964656e746974794a756467656d656e740004002c43616e63656c50726f787900050000dd020c3c70616c6c65745f6d756c74697369671870616c6c65741043616c6c0404540001105061735f6d756c74695f7468726573686f6c645f310801446f746865725f7369676e61746f72696573850101445665633c543a3a4163636f756e7449643e00011063616c6c0501017c426f783c3c5420617320436f6e6669673e3a3a52756e74696d6543616c6c3e00000494536565205b6050616c6c65743a3a61735f6d756c74695f7468726573686f6c645f31605d2e2061735f6d756c74691401247468726573686f6c64fc010c7531360001446f746865725f7369676e61746f72696573850101445665633c543a3a4163636f756e7449643e00013c6d617962655f74696d65706f696e74e10201904f7074696f6e3c54696d65706f696e743c426c6f636b4e756d626572466f723c543e3e3e00011063616c6c0501017c426f783c3c5420617320436f6e6669673e3a3a52756e74696d6543616c6c3e0001286d61785f77656967687424011857656967687400010464536565205b6050616c6c65743a3a61735f6d756c7469605d2e40617070726f76655f61735f6d756c74691401247468726573686f6c64fc010c7531360001446f746865725f7369676e61746f72696573850101445665633c543a3a4163636f756e7449643e00013c6d617962655f74696d65706f696e74e10201904f7074696f6e3c54696d65706f696e743c426c6f636b4e756d626572466f723c543e3e3e00012463616c6c5f686173680401205b75383b2033325d0001286d61785f77656967687424011857656967687400020484536565205b6050616c6c65743a3a617070726f76655f61735f6d756c7469605d2e3c63616e63656c5f61735f6d756c74691001247468726573686f6c64fc010c7531360001446f746865725f7369676e61746f72696573850101445665633c543a3a4163636f756e7449643e00012474696d65706f696e74e502017054696d65706f696e743c426c6f636b4e756d626572466f723c543e3e00012463616c6c5f686173680401205b75383b2033325d00030480536565205b6050616c6c65743a3a63616e63656c5f61735f6d756c7469605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732ee10204184f7074696f6e04045401e5020108104e6f6e6500000010536f6d650400e5020000010000e502083c70616c6c65745f6d756c74697369672454696d65706f696e74042c426c6f636b4e756d62657201100008011868656967687410012c426c6f636b4e756d626572000114696e64657810010c7533320000e9020c9070616c6c65745f656c656374696f6e5f70726f76696465725f6d756c74695f70686173651870616c6c65741043616c6c0404540001143c7375626d69745f756e7369676e65640801307261775f736f6c7574696f6eed0201b0426f783c526177536f6c7574696f6e3c536f6c7574696f6e4f663c543a3a4d696e6572436f6e6669673e3e3e00011c7769746e657373c1030158536f6c7574696f6e4f72536e617073686f7453697a6500000480536565205b6050616c6c65743a3a7375626d69745f756e7369676e6564605d2e6c7365745f6d696e696d756d5f756e747275737465645f73636f72650401406d617962655f6e6578745f73636f7265c50301544f7074696f6e3c456c656374696f6e53636f72653e000104b0536565205b6050616c6c65743a3a7365745f6d696e696d756d5f756e747275737465645f73636f7265605d2e747365745f656d657267656e63795f656c656374696f6e5f726573756c74040120737570706f727473c9030158537570706f7274733c543a3a4163636f756e7449643e000204b8536565205b6050616c6c65743a3a7365745f656d657267656e63795f656c656374696f6e5f726573756c74605d2e187375626d69740401307261775f736f6c7574696f6eed0201b0426f783c526177536f6c7574696f6e3c536f6c7574696f6e4f663c543a3a4d696e6572436f6e6669673e3e3e0003045c536565205b6050616c6c65743a3a7375626d6974605d2e4c676f7665726e616e63655f66616c6c6261636b0801406d617962655f6d61785f766f74657273d501012c4f7074696f6e3c7533323e0001446d617962655f6d61785f74617267657473d501012c4f7074696f6e3c7533323e00040490536565205b6050616c6c65743a3a676f7665726e616e63655f66616c6c6261636b605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732eed02089070616c6c65745f656c656374696f6e5f70726f76696465725f6d756c74695f70686173652c526177536f6c7574696f6e04045301f102000c0120736f6c7574696f6ef10201045300011473636f7265bd030134456c656374696f6e53636f7265000114726f756e6410010c7533320000f1020830766172615f72756e74696d65384e706f73536f6c7574696f6e31360000400118766f74657331f50200000118766f74657332010300000118766f74657333150300000118766f74657334210300000118766f746573352d0300000118766f74657336390300000118766f74657337450300000118766f74657338510300000118766f746573395d030000011c766f746573313069030000011c766f746573313175030000011c766f746573313281030000011c766f74657331338d030000011c766f746573313499030000011c766f7465733135a5030000011c766f7465733136b103000000f502000002f90200f902000004082901fd0200fd02000006fc00010300000205030005030000040c29010903fd0200090300000408fd020d03000d0300000611030011030c3473705f61726974686d65746963287065725f7468696e67731850657255313600000400fc010c7531360000150300000219030019030000040c29011d03fd02001d0300000302000000090300210300000225030025030000040c29012903fd02002903000003030000000903002d0300000231030031030000040c29013503fd020035030000030400000009030039030000023d03003d030000040c29014103fd0200410300000305000000090300450300000249030049030000040c29014d03fd02004d0300000306000000090300510300000255030055030000040c29015903fd02005903000003070000000903005d0300000261030061030000040c29016503fd020065030000030800000009030069030000026d03006d030000040c29017103fd0200710300000309000000090300750300000279030079030000040c29017d03fd02007d030000030a000000090300810300000285030085030000040c29018903fd020089030000030b0000000903008d0300000291030091030000040c29019503fd020095030000030c00000009030099030000029d03009d030000040c2901a103fd0200a1030000030d000000090300a503000002a90300a9030000040c2901ad03fd0200ad030000030e000000090300b103000002b50300b5030000040c2901b903fd0200b9030000030f000000090300bd03084473705f6e706f735f656c656374696f6e7334456c656374696f6e53636f726500000c01346d696e696d616c5f7374616b6518013c457874656e64656442616c616e636500012473756d5f7374616b6518013c457874656e64656442616c616e636500014473756d5f7374616b655f7371756172656418013c457874656e64656442616c616e63650000c103089070616c6c65745f656c656374696f6e5f70726f76696465725f6d756c74695f706861736558536f6c7574696f6e4f72536e617073686f7453697a650000080118766f746572732901010c75333200011c746172676574732901010c7533320000c50304184f7074696f6e04045401bd030108104e6f6e6500000010536f6d650400bd030000010000c903000002cd0300cd030000040800d10300d103084473705f6e706f735f656c656374696f6e731c537570706f727404244163636f756e744964010000080114746f74616c18013c457874656e64656442616c616e6365000118766f74657273d50301845665633c284163636f756e7449642c20457874656e64656442616c616e6365293e0000d503000002d90300d90300000408001800dd030c3c70616c6c65745f626f756e746965731870616c6c65741043616c6c0804540004490001243870726f706f73655f626f756e747908011476616c7565b8013c42616c616e63654f663c542c20493e00012c6465736372697074696f6e34011c5665633c75383e0000047c536565205b6050616c6c65743a3a70726f706f73655f626f756e7479605d2e38617070726f76655f626f756e7479040124626f756e74795f69642901012c426f756e7479496e6465780001047c536565205b6050616c6c65743a3a617070726f76655f626f756e7479605d2e3c70726f706f73655f63757261746f720c0124626f756e74795f69642901012c426f756e7479496e64657800011c63757261746f72790101504163636f756e7449644c6f6f6b75704f663c543e00010c666565b8013c42616c616e63654f663c542c20493e00020480536565205b6050616c6c65743a3a70726f706f73655f63757261746f72605d2e40756e61737369676e5f63757261746f72040124626f756e74795f69642901012c426f756e7479496e64657800030484536565205b6050616c6c65743a3a756e61737369676e5f63757261746f72605d2e386163636570745f63757261746f72040124626f756e74795f69642901012c426f756e7479496e6465780004047c536565205b6050616c6c65743a3a6163636570745f63757261746f72605d2e3061776172645f626f756e7479080124626f756e74795f69642901012c426f756e7479496e64657800012c62656e6566696369617279790101504163636f756e7449644c6f6f6b75704f663c543e00050474536565205b6050616c6c65743a3a61776172645f626f756e7479605d2e30636c61696d5f626f756e7479040124626f756e74795f69642901012c426f756e7479496e64657800060474536565205b6050616c6c65743a3a636c61696d5f626f756e7479605d2e30636c6f73655f626f756e7479040124626f756e74795f69642901012c426f756e7479496e64657800070474536565205b6050616c6c65743a3a636c6f73655f626f756e7479605d2e50657874656e645f626f756e74795f657870697279080124626f756e74795f69642901012c426f756e7479496e64657800011872656d61726b34011c5665633c75383e00080494536565205b6050616c6c65743a3a657874656e645f626f756e74795f657870697279605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732ee1030c5470616c6c65745f6368696c645f626f756e746965731870616c6c65741043616c6c04045400011c406164645f6368696c645f626f756e74790c0140706172656e745f626f756e74795f69642901012c426f756e7479496e64657800011476616c7565b8013042616c616e63654f663c543e00012c6465736372697074696f6e34011c5665633c75383e00000484536565205b6050616c6c65743a3a6164645f6368696c645f626f756e7479605d2e3c70726f706f73655f63757261746f72100140706172656e745f626f756e74795f69642901012c426f756e7479496e64657800013c6368696c645f626f756e74795f69642901012c426f756e7479496e64657800011c63757261746f72790101504163636f756e7449644c6f6f6b75704f663c543e00010c666565b8013042616c616e63654f663c543e00010480536565205b6050616c6c65743a3a70726f706f73655f63757261746f72605d2e386163636570745f63757261746f72080140706172656e745f626f756e74795f69642901012c426f756e7479496e64657800013c6368696c645f626f756e74795f69642901012c426f756e7479496e6465780002047c536565205b6050616c6c65743a3a6163636570745f63757261746f72605d2e40756e61737369676e5f63757261746f72080140706172656e745f626f756e74795f69642901012c426f756e7479496e64657800013c6368696c645f626f756e74795f69642901012c426f756e7479496e64657800030484536565205b6050616c6c65743a3a756e61737369676e5f63757261746f72605d2e4861776172645f6368696c645f626f756e74790c0140706172656e745f626f756e74795f69642901012c426f756e7479496e64657800013c6368696c645f626f756e74795f69642901012c426f756e7479496e64657800012c62656e6566696369617279790101504163636f756e7449644c6f6f6b75704f663c543e0004048c536565205b6050616c6c65743a3a61776172645f6368696c645f626f756e7479605d2e48636c61696d5f6368696c645f626f756e7479080140706172656e745f626f756e74795f69642901012c426f756e7479496e64657800013c6368696c645f626f756e74795f69642901012c426f756e7479496e6465780005048c536565205b6050616c6c65743a3a636c61696d5f6368696c645f626f756e7479605d2e48636c6f73655f6368696c645f626f756e7479080140706172656e745f626f756e74795f69642901012c426f756e7479496e64657800013c6368696c645f626f756e74795f69642901012c426f756e7479496e6465780006048c536565205b6050616c6c65743a3a636c6f73655f6368696c645f626f756e7479605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732ee5030c5c70616c6c65745f6e6f6d696e6174696f6e5f706f6f6c731870616c6c65741043616c6c040454000158106a6f696e080118616d6f756e74b8013042616c616e63654f663c543e00011c706f6f6c5f6964100118506f6f6c496400000454536565205b6050616c6c65743a3a6a6f696e605d2e28626f6e645f65787472610401146578747261e903015c426f6e6445787472613c42616c616e63654f663c543e3e0001046c536565205b6050616c6c65743a3a626f6e645f6578747261605d2e30636c61696d5f7061796f757400020474536565205b6050616c6c65743a3a636c61696d5f7061796f7574605d2e18756e626f6e640801386d656d6265725f6163636f756e74790101504163636f756e7449644c6f6f6b75704f663c543e000140756e626f6e64696e675f706f696e7473b8013042616c616e63654f663c543e0003045c536565205b6050616c6c65743a3a756e626f6e64605d2e58706f6f6c5f77697468647261775f756e626f6e64656408011c706f6f6c5f6964100118506f6f6c49640001486e756d5f736c617368696e675f7370616e7310010c7533320004049c536565205b6050616c6c65743a3a706f6f6c5f77697468647261775f756e626f6e646564605d2e4477697468647261775f756e626f6e6465640801386d656d6265725f6163636f756e74790101504163636f756e7449644c6f6f6b75704f663c543e0001486e756d5f736c617368696e675f7370616e7310010c75333200050488536565205b6050616c6c65743a3a77697468647261775f756e626f6e646564605d2e18637265617465100118616d6f756e74b8013042616c616e63654f663c543e000110726f6f74790101504163636f756e7449644c6f6f6b75704f663c543e0001246e6f6d696e61746f72790101504163636f756e7449644c6f6f6b75704f663c543e00011c626f756e636572790101504163636f756e7449644c6f6f6b75704f663c543e0006045c536565205b6050616c6c65743a3a637265617465605d2e4c6372656174655f776974685f706f6f6c5f6964140118616d6f756e74b8013042616c616e63654f663c543e000110726f6f74790101504163636f756e7449644c6f6f6b75704f663c543e0001246e6f6d696e61746f72790101504163636f756e7449644c6f6f6b75704f663c543e00011c626f756e636572790101504163636f756e7449644c6f6f6b75704f663c543e00011c706f6f6c5f6964100118506f6f6c496400070490536565205b6050616c6c65743a3a6372656174655f776974685f706f6f6c5f6964605d2e206e6f6d696e61746508011c706f6f6c5f6964100118506f6f6c496400012876616c696461746f7273850101445665633c543a3a4163636f756e7449643e00080464536565205b6050616c6c65743a3a6e6f6d696e617465605d2e247365745f737461746508011c706f6f6c5f6964100118506f6f6c49640001147374617465ed030124506f6f6c537461746500090468536565205b6050616c6c65743a3a7365745f7374617465605d2e307365745f6d6574616461746108011c706f6f6c5f6964100118506f6f6c49640001206d6574616461746134011c5665633c75383e000a0474536565205b6050616c6c65743a3a7365745f6d65746164617461605d2e2c7365745f636f6e666967731801346d696e5f6a6f696e5f626f6e64f1030158436f6e6669674f703c42616c616e63654f663c543e3e00013c6d696e5f6372656174655f626f6e64f1030158436f6e6669674f703c42616c616e63654f663c543e3e0001246d61785f706f6f6c73f5030134436f6e6669674f703c7533323e00012c6d61785f6d656d62657273f5030134436f6e6669674f703c7533323e0001506d61785f6d656d626572735f7065725f706f6f6cf5030134436f6e6669674f703c7533323e000154676c6f62616c5f6d61785f636f6d6d697373696f6ef9030144436f6e6669674f703c50657262696c6c3e000b0470536565205b6050616c6c65743a3a7365745f636f6e66696773605d2e307570646174655f726f6c657310011c706f6f6c5f6964100118506f6f6c49640001206e65775f726f6f74fd030158436f6e6669674f703c543a3a4163636f756e7449643e0001346e65775f6e6f6d696e61746f72fd030158436f6e6669674f703c543a3a4163636f756e7449643e00012c6e65775f626f756e636572fd030158436f6e6669674f703c543a3a4163636f756e7449643e000c0474536565205b6050616c6c65743a3a7570646174655f726f6c6573605d2e146368696c6c04011c706f6f6c5f6964100118506f6f6c4964000d0458536565205b6050616c6c65743a3a6368696c6c605d2e40626f6e645f65787472615f6f746865720801186d656d626572790101504163636f756e7449644c6f6f6b75704f663c543e0001146578747261e903015c426f6e6445787472613c42616c616e63654f663c543e3e000e0484536565205b6050616c6c65743a3a626f6e645f65787472615f6f74686572605d2e507365745f636c61696d5f7065726d697373696f6e0401287065726d697373696f6e0104013c436c61696d5065726d697373696f6e000f0494536565205b6050616c6c65743a3a7365745f636c61696d5f7065726d697373696f6e605d2e48636c61696d5f7061796f75745f6f746865720401146f74686572000130543a3a4163636f756e7449640010048c536565205b6050616c6c65743a3a636c61696d5f7061796f75745f6f74686572605d2e387365745f636f6d6d697373696f6e08011c706f6f6c5f6964100118506f6f6c49640001386e65775f636f6d6d697373696f6e0504017c4f7074696f6e3c2850657262696c6c2c20543a3a4163636f756e744964293e0011047c536565205b6050616c6c65743a3a7365745f636f6d6d697373696f6e605d2e487365745f636f6d6d697373696f6e5f6d617808011c706f6f6c5f6964100118506f6f6c49640001386d61785f636f6d6d697373696f6ecc011c50657262696c6c0012048c536565205b6050616c6c65743a3a7365745f636f6d6d697373696f6e5f6d6178605d2e687365745f636f6d6d697373696f6e5f6368616e67655f7261746508011c706f6f6c5f6964100118506f6f6c496400012c6368616e67655f726174650d04019c436f6d6d697373696f6e4368616e6765526174653c426c6f636b4e756d626572466f723c543e3e001304ac536565205b6050616c6c65743a3a7365745f636f6d6d697373696f6e5f6368616e67655f72617465605d2e40636c61696d5f636f6d6d697373696f6e04011c706f6f6c5f6964100118506f6f6c496400140484536565205b6050616c6c65743a3a636c61696d5f636f6d6d697373696f6e605d2e4c61646a7573745f706f6f6c5f6465706f73697404011c706f6f6c5f6964100118506f6f6c496400150490536565205b6050616c6c65743a3a61646a7573745f706f6f6c5f6465706f736974605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732ee903085c70616c6c65745f6e6f6d696e6174696f6e5f706f6f6c7324426f6e644578747261041c42616c616e6365011801082c4672656542616c616e6365040018011c42616c616e63650000001c5265776172647300010000ed03085c70616c6c65745f6e6f6d696e6174696f6e5f706f6f6c7324506f6f6c537461746500010c104f70656e0000001c426c6f636b65640001002844657374726f79696e6700020000f103085c70616c6c65745f6e6f6d696e6174696f6e5f706f6f6c7320436f6e6669674f700404540118010c104e6f6f700000000c5365740400180104540001001852656d6f766500020000f503085c70616c6c65745f6e6f6d696e6174696f6e5f706f6f6c7320436f6e6669674f700404540110010c104e6f6f700000000c5365740400100104540001001852656d6f766500020000f903085c70616c6c65745f6e6f6d696e6174696f6e5f706f6f6c7320436f6e6669674f7004045401cc010c104e6f6f700000000c5365740400cc0104540001001852656d6f766500020000fd03085c70616c6c65745f6e6f6d696e6174696f6e5f706f6f6c7320436f6e6669674f700404540100010c104e6f6f700000000c5365740400000104540001001852656d6f7665000200000104085c70616c6c65745f6e6f6d696e6174696f6e5f706f6f6c733c436c61696d5065726d697373696f6e000110305065726d697373696f6e6564000000585065726d697373696f6e6c657373436f6d706f756e64000100585065726d697373696f6e6c6573735769746864726177000200445065726d697373696f6e6c657373416c6c00030000050404184f7074696f6e0404540109040108104e6f6e6500000010536f6d65040009040000010000090400000408cc00000d04085c70616c6c65745f6e6f6d696e6174696f6e5f706f6f6c7350436f6d6d697373696f6e4368616e676552617465042c426c6f636b4e756d6265720110000801306d61785f696e637265617365cc011c50657262696c6c0001246d696e5f64656c617910012c426c6f636b4e756d626572000011040c2c70616c6c65745f676561721870616c6c65741043616c6c0404540001242c75706c6f61645f636f6465040110636f646534011c5665633c75383e00000470536565205b6050616c6c65743a3a75706c6f61645f636f6465605d2e3875706c6f61645f70726f6772616d180110636f646534011c5665633c75383e00011073616c7434011c5665633c75383e000130696e69745f7061796c6f616434011c5665633c75383e0001246761735f6c696d69742c010c75363400011476616c756518013042616c616e63654f663c543e0001286b6565705f616c697665d80110626f6f6c0001047c536565205b6050616c6c65743a3a75706c6f61645f70726f6772616d605d2e386372656174655f70726f6772616d18011c636f64655f696415040118436f6465496400011073616c7434011c5665633c75383e000130696e69745f7061796c6f616434011c5665633c75383e0001246761735f6c696d69742c010c75363400011476616c756518013042616c616e63654f663c543e0001286b6565705f616c697665d80110626f6f6c0002047c536565205b6050616c6c65743a3a6372656174655f70726f6772616d605d2e3073656e645f6d65737361676514012c64657374696e6174696f6e1904012450726f6772616d496400011c7061796c6f616434011c5665633c75383e0001246761735f6c696d69742c010c75363400011476616c756518013042616c616e63654f663c543e0001286b6565705f616c697665d80110626f6f6c00030474536565205b6050616c6c65743a3a73656e645f6d657373616765605d2e2873656e645f7265706c7914012c7265706c795f746f5f69641d0401244d657373616765496400011c7061796c6f616434011c5665633c75383e0001246761735f6c696d69742c010c75363400011476616c756518013042616c616e63654f663c543e0001286b6565705f616c697665d80110626f6f6c0004046c536565205b6050616c6c65743a3a73656e645f7265706c79605d2e2c636c61696d5f76616c75650401286d6573736167655f69641d0401244d657373616765496400050470536565205b6050616c6c65743a3a636c61696d5f76616c7565605d2e0c72756e04011c6d61785f6761732104015c4f7074696f6e3c47617342616c616e63654f663c543e3e00060450536565205b6050616c6c65743a3a72756e605d2e507365745f657865637574655f696e686572656e7404011476616c7565d80110626f6f6c00070494536565205b6050616c6c65743a3a7365745f657865637574655f696e686572656e74605d2e60636c61696d5f76616c75655f746f5f696e68657269746f7208012870726f6772616d5f69641904012450726f6772616d49640001146465707468250401284e6f6e5a65726f553332000804a4536565205b6050616c6c65743a3a636c61696d5f76616c75655f746f5f696e68657269746f72605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732e1504082c677072696d69746976657318436f64654964000004000401205b75383b2033325d00001904082c677072696d6974697665731c4163746f724964000004000401205b75383b2033325d00001d04082c677072696d697469766573244d6573736167654964000004000401205b75383b2033325d0000210404184f7074696f6e040454012c0108104e6f6e6500000010536f6d6504002c0000010000250404284e6f6e5a65726f553332000004001000000029040c6c70616c6c65745f676561725f7374616b696e675f726577617264731870616c6c65741043616c6c04045400011018726566696c6c04011476616c756518013042616c616e63654f663c543e0000045c536565205b6050616c6c65743a3a726566696c6c605d2e30666f7263655f726566696c6c08011066726f6d790101504163636f756e7449644c6f6f6b75704f663c543e00011476616c756518013042616c616e63654f663c543e00010474536565205b6050616c6c65743a3a666f7263655f726566696c6c605d2e207769746864726177080108746f790101504163636f756e7449644c6f6f6b75704f663c543e00011476616c756518013042616c616e63654f663c543e00020464536565205b6050616c6c65743a3a7769746864726177605d2e30616c69676e5f737570706c7904011874617267657418013042616c616e63654f663c543e00030474536565205b6050616c6c65743a3a616c69676e5f737570706c79605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732e2d040c4c70616c6c65745f676561725f766f75636865721870616c6c65741043616c6c04045400011414697373756514011c7370656e6465720001384163636f756e7449644f663c543e00011c62616c616e636518013042616c616e63654f663c543e00012070726f6772616d733104016c4f7074696f6e3c42547265655365743c50726f6772616d49643e3e000138636f64655f75706c6f6164696e67d80110626f6f6c0001206475726174696f6e100144426c6f636b4e756d626572466f723c543e00000458536565205b6050616c6c65743a3a6973737565605d2e1063616c6c080128766f75636865725f69643d040124566f7563686572496400011063616c6c410401645072657061696443616c6c3c42616c616e63654f663c543e3e00010454536565205b6050616c6c65743a3a63616c6c605d2e187265766f6b6508011c7370656e6465720001384163636f756e7449644f663c543e000128766f75636865725f69643d040124566f756368657249640002045c536565205b6050616c6c65743a3a7265766f6b65605d2e187570646174651c011c7370656e6465720001384163636f756e7449644f663c543e000128766f75636865725f69643d040124566f756368657249640001386d6f76655f6f776e657273686970450401584f7074696f6e3c4163636f756e7449644f663c543e3e00013862616c616e63655f746f705f7570490401504f7074696f6e3c42616c616e63654f663c543e3e00013c617070656e645f70726f6772616d734d04018c4f7074696f6e3c4f7074696f6e3c42547265655365743c50726f6772616d49643e3e3e000138636f64655f75706c6f6164696e67510401304f7074696f6e3c626f6f6c3e00014070726f6c6f6e675f6475726174696f6ed50101644f7074696f6e3c426c6f636b4e756d626572466f723c543e3e0003045c536565205b6050616c6c65743a3a757064617465605d2e1c6465636c696e65040128766f75636865725f69643d040124566f7563686572496400040460536565205b6050616c6c65743a3a6465636c696e65605d2e040d01436f6e7461696e7320612076617269616e742070657220646973706174636861626c652065787472696e736963207468617420746869732070616c6c6574206861732e310404184f7074696f6e0404540135040108104e6f6e6500000010536f6d65040035040000010000350404204254726565536574040454011904000400390400000039040000021904003d040c4c70616c6c65745f676561725f766f756368657220696e7465726e616c24566f75636865724964000004000401205b75383b2033325d000041040c4c70616c6c65745f676561725f766f756368657220696e7465726e616c2c5072657061696443616c6c041c42616c616e6365011801102c53656e644d65737361676514012c64657374696e6174696f6e1904012450726f6772616d496400011c7061796c6f616434011c5665633c75383e0001246761735f6c696d69742c010c75363400011476616c756518011c42616c616e63650001286b6565705f616c697665d80110626f6f6c0000002453656e645265706c7914012c7265706c795f746f5f69641d0401244d657373616765496400011c7061796c6f616434011c5665633c75383e0001246761735f6c696d69742c010c75363400011476616c756518011c42616c616e63650001286b6565705f616c697665d80110626f6f6c0001002855706c6f6164436f6465040110636f646534011c5665633c75383e000200384465636c696e65566f756368657200030000450404184f7074696f6e04045401000108104e6f6e6500000010536f6d650400000000010000490404184f7074696f6e04045401180108104e6f6e6500000010536f6d6504001800000100004d0404184f7074696f6e0404540131040108104e6f6e6500000010536f6d65040031040000010000510404184f7074696f6e04045401d80108104e6f6e6500000010536f6d650400d8000001000055040c2873705f72756e74696d65187472616974732c426c616b6554776f3235360000000059040c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e64656456656308045401080453000004003401185665633c543e00005d040c6070616c6c65745f636f6e76696374696f6e5f766f74696e671474797065731454616c6c790814566f746573011814546f74616c00000c011061796573180114566f7465730001106e617973180114566f74657300011c737570706f7274180114566f746573000061040c6070616c6c65745f72616e6b65645f636f6c6c6563746976651870616c6c6574144576656e740804540004490001102c4d656d626572416464656404010c77686f000130543a3a4163636f756e7449640000047841206d656d626572206077686f6020686173206265656e2061646465642e2c52616e6b4368616e67656408010c77686f000130543a3a4163636f756e74496400011072616e6bfc011052616e6b000104f4546865206d656d626572206077686f6073652072616e6b20686173206265656e206368616e67656420746f2074686520676976656e206072616e6b602e344d656d62657252656d6f76656408010c77686f000130543a3a4163636f756e74496400011072616e6bfc011052616e6b0002041901546865206d656d626572206077686f60206f6620676976656e206072616e6b6020686173206265656e2072656d6f7665642066726f6d2074686520636f6c6c6563746976652e14566f74656410010c77686f000130543a3a4163636f756e744964000110706f6c6c100144506f6c6c496e6465784f663c542c20493e000110766f746565040128566f74655265636f726400011474616c6c796904013454616c6c794f663c542c20493e0003085501546865206d656d626572206077686f602068617320766f74656420666f72207468652060706f6c6c6020776974682074686520676976656e2060766f746560206c656164696e6720746f20616e2075706461746564206074616c6c79602e047c54686520604576656e746020656e756d206f6620746869732070616c6c65746504086070616c6c65745f72616e6b65645f636f6c6c65637469766528566f74655265636f72640001080c4179650400100114566f7465730000000c4e61790400100114566f746573000100006904086070616c6c65745f72616e6b65645f636f6c6c6563746976651454616c6c790c045400044900044d00000c0124626172655f6179657310012c4d656d626572496e64657800011061796573100114566f7465730001106e617973100114566f74657300006d040c4070616c6c65745f7265666572656e64611870616c6c6574144576656e74080454000449000140245375626d69747465640c0114696e64657810013c5265666572656e64756d496e6465780460496e646578206f6620746865207265666572656e64756d2e0114747261636bfc013c547261636b49644f663c542c20493e04250154686520747261636b2028616e6420627920657874656e73696f6e2070726f706f73616c206469737061746368206f726967696e29206f662074686973207265666572656e64756d2e012070726f706f73616c0101014c426f756e64656443616c6c4f663c542c20493e04805468652070726f706f73616c20666f7220746865207265666572656e64756d2e00048041207265666572656e64756d20686173206265656e207375626d69747465642e544465636973696f6e4465706f736974506c616365640c0114696e64657810013c5265666572656e64756d496e6465780460496e646578206f6620746865207265666572656e64756d2e010c77686f000130543a3a4163636f756e744964048c546865206163636f756e742077686f20706c6163656420746865206465706f7369742e0118616d6f756e7418013c42616c616e63654f663c542c20493e048454686520616d6f756e7420706c6163656420627920746865206163636f756e742e010494546865206465636973696f6e206465706f73697420686173206265656e20706c616365642e5c4465636973696f6e4465706f736974526566756e6465640c0114696e64657810013c5265666572656e64756d496e6465780460496e646578206f6620746865207265666572656e64756d2e010c77686f000130543a3a4163636f756e744964048c546865206163636f756e742077686f20706c6163656420746865206465706f7369742e0118616d6f756e7418013c42616c616e63654f663c542c20493e048454686520616d6f756e7420706c6163656420627920746865206163636f756e742e02049c546865206465636973696f6e206465706f73697420686173206265656e20726566756e6465642e384465706f736974536c617368656408010c77686f000130543a3a4163636f756e744964048c546865206163636f756e742077686f20706c6163656420746865206465706f7369742e0118616d6f756e7418013c42616c616e63654f663c542c20493e048454686520616d6f756e7420706c6163656420627920746865206163636f756e742e03046c41206465706f73697420686173206265656e20736c61736865642e3c4465636973696f6e53746172746564100114696e64657810013c5265666572656e64756d496e6465780460496e646578206f6620746865207265666572656e64756d2e0114747261636bfc013c547261636b49644f663c542c20493e04250154686520747261636b2028616e6420627920657874656e73696f6e2070726f706f73616c206469737061746368206f726967696e29206f662074686973207265666572656e64756d2e012070726f706f73616c0101014c426f756e64656443616c6c4f663c542c20493e04805468652070726f706f73616c20666f7220746865207265666572656e64756d2e011474616c6c7969040120543a3a54616c6c7904b85468652063757272656e742074616c6c79206f6620766f74657320696e2074686973207265666572656e64756d2e0404bc41207265666572656e64756d20686173206d6f76656420696e746f20746865206465636964696e672070686173652e38436f6e6669726d53746172746564040114696e64657810013c5265666572656e64756d496e6465780460496e646578206f6620746865207265666572656e64756d2e050038436f6e6669726d41626f72746564040114696e64657810013c5265666572656e64756d496e6465780460496e646578206f6620746865207265666572656e64756d2e060024436f6e6669726d6564080114696e64657810013c5265666572656e64756d496e6465780460496e646578206f6620746865207265666572656e64756d2e011474616c6c7969040120543a3a54616c6c7904b05468652066696e616c2074616c6c79206f6620766f74657320696e2074686973207265666572656e64756d2e0704210141207265666572656e64756d2068617320656e6465642069747320636f6e6669726d6174696f6e20706861736520616e6420697320726561647920666f7220617070726f76616c2e20417070726f766564040114696e64657810013c5265666572656e64756d496e6465780460496e646578206f6620746865207265666572656e64756d2e08040d0141207265666572656e64756d20686173206265656e20617070726f76656420616e64206974732070726f706f73616c20686173206265656e207363686564756c65642e2052656a6563746564080114696e64657810013c5265666572656e64756d496e6465780460496e646578206f6620746865207265666572656e64756d2e011474616c6c7969040120543a3a54616c6c7904b05468652066696e616c2074616c6c79206f6620766f74657320696e2074686973207265666572656e64756d2e0904ac412070726f706f73616c20686173206265656e2072656a6563746564206279207265666572656e64756d2e2054696d65644f7574080114696e64657810013c5265666572656e64756d496e6465780460496e646578206f6620746865207265666572656e64756d2e011474616c6c7969040120543a3a54616c6c7904b05468652066696e616c2074616c6c79206f6620766f74657320696e2074686973207265666572656e64756d2e0a04d841207265666572656e64756d20686173206265656e2074696d6564206f757420776974686f7574206265696e6720646563696465642e2443616e63656c6c6564080114696e64657810013c5265666572656e64756d496e6465780460496e646578206f6620746865207265666572656e64756d2e011474616c6c7969040120543a3a54616c6c7904b05468652066696e616c2074616c6c79206f6620766f74657320696e2074686973207265666572656e64756d2e0b048041207265666572656e64756d20686173206265656e2063616e63656c6c65642e184b696c6c6564080114696e64657810013c5265666572656e64756d496e6465780460496e646578206f6620746865207265666572656e64756d2e011474616c6c7969040120543a3a54616c6c7904b05468652066696e616c2074616c6c79206f6620766f74657320696e2074686973207265666572656e64756d2e0c047441207265666572656e64756d20686173206265656e206b696c6c65642e645375626d697373696f6e4465706f736974526566756e6465640c0114696e64657810013c5265666572656e64756d496e6465780460496e646578206f6620746865207265666572656e64756d2e010c77686f000130543a3a4163636f756e744964048c546865206163636f756e742077686f20706c6163656420746865206465706f7369742e0118616d6f756e7418013c42616c616e63654f663c542c20493e048454686520616d6f756e7420706c6163656420627920746865206163636f756e742e0d04a4546865207375626d697373696f6e206465706f73697420686173206265656e20726566756e6465642e2c4d65746164617461536574080114696e64657810013c5265666572656e64756d496e6465780460496e646578206f6620746865207265666572656e64756d2e01106861736830011c543a3a486173680438507265696d61676520686173682e0e049c4d6574616461746120666f722061207265666572656e64756d20686173206265656e207365742e3c4d65746164617461436c6561726564080114696e64657810013c5265666572656e64756d496e6465780460496e646578206f6620746865207265666572656e64756d2e01106861736830011c543a3a486173680438507265696d61676520686173682e0f04ac4d6574616461746120666f722061207265666572656e64756d20686173206265656e20636c65617265642e047c54686520604576656e746020656e756d206f6620746869732070616c6c657471040c4070616c6c65745f77686974656c6973741870616c6c6574144576656e7404045400010c3c43616c6c57686974656c697374656404012463616c6c5f6861736830011c543a3a486173680000005857686974656c697374656443616c6c52656d6f76656404012463616c6c5f6861736830011c543a3a486173680001006457686974656c697374656443616c6c4469737061746368656408012463616c6c5f6861736830011c543a3a48617368000118726573756c74750401684469737061746368526573756c7457697468506f7374496e666f000200047c54686520604576656e746020656e756d206f6620746869732070616c6c657475040418526573756c7408045401790404450181040108084f6b04007904000000000c45727204008104000001000079040c346672616d655f737570706f727420646973706174636840506f73744469737061746368496e666f000008013461637475616c5f7765696768747d0401384f7074696f6e3c5765696768743e000120706179735f6665656001105061797300007d0404184f7074696f6e04045401240108104e6f6e6500000010536f6d6504002400000100008104082873705f72756e74696d656444697370617463684572726f7257697468506f7374496e666f0410496e666f01790400080124706f73745f696e666f79040110496e666f0001146572726f7264013444697370617463684572726f72000085040c4070616c6c65745f7363686564756c65721870616c6c6574144576656e74040454000118245363686564756c65640801107768656e100144426c6f636b4e756d626572466f723c543e000114696e64657810010c753332000004505363686564756c656420736f6d65207461736b2e2043616e63656c65640801107768656e100144426c6f636b4e756d626572466f723c543e000114696e64657810010c7533320001044c43616e63656c656420736f6d65207461736b2e28446973706174636865640c01107461736b250201785461736b416464726573733c426c6f636b4e756d626572466f723c543e3e0001086964890401404f7074696f6e3c5461736b4e616d653e000118726573756c74f001384469737061746368526573756c74000204544469737061746368656420736f6d65207461736b2e3c43616c6c556e617661696c61626c650801107461736b250201785461736b416464726573733c426c6f636b4e756d626572466f723c543e3e0001086964890401404f7074696f6e3c5461736b4e616d653e00030429015468652063616c6c20666f72207468652070726f7669646564206861736820776173206e6f7420666f756e6420736f20746865207461736b20686173206265656e2061626f727465642e38506572696f6469634661696c65640801107461736b250201785461736b416464726573733c426c6f636b4e756d626572466f723c543e3e0001086964890401404f7074696f6e3c5461736b4e616d653e0004043d0154686520676976656e207461736b2077617320756e61626c6520746f2062652072656e657765642073696e636520746865206167656e64612069732066756c6c206174207468617420626c6f636b2e545065726d616e656e746c794f7665727765696768740801107461736b250201785461736b416464726573733c426c6f636b4e756d626572466f723c543e3e0001086964890401404f7074696f6e3c5461736b4e616d653e000504f054686520676976656e207461736b2063616e206e657665722062652065786563757465642073696e6365206974206973206f7665727765696768742e04304576656e747320747970652e890404184f7074696f6e04045401040108104e6f6e6500000010536f6d6504000400000100008d040c3c70616c6c65745f707265696d6167651870616c6c6574144576656e7404045400010c144e6f7465640401106861736830011c543a3a48617368000004684120707265696d61676520686173206265656e206e6f7465642e245265717565737465640401106861736830011c543a3a48617368000104784120707265696d61676520686173206265656e207265717565737465642e1c436c65617265640401106861736830011c543a3a486173680002046c4120707265696d616765206861732062656e20636c65617265642e047c54686520604576656e746020656e756d206f6620746869732070616c6c657491040c3c70616c6c65745f6964656e746974791870616c6c6574144576656e740404540001282c4964656e7469747953657404010c77686f000130543a3a4163636f756e744964000004ec41206e616d652077617320736574206f72207265736574202877686963682077696c6c2072656d6f766520616c6c206a756467656d656e7473292e3c4964656e74697479436c656172656408010c77686f000130543a3a4163636f756e74496400011c6465706f73697418013042616c616e63654f663c543e000104cc41206e616d652077617320636c65617265642c20616e642074686520676976656e2062616c616e63652072657475726e65642e384964656e746974794b696c6c656408010c77686f000130543a3a4163636f756e74496400011c6465706f73697418013042616c616e63654f663c543e000204c441206e616d65207761732072656d6f76656420616e642074686520676976656e2062616c616e636520736c61736865642e484a756467656d656e7452657175657374656408010c77686f000130543a3a4163636f756e74496400013c7265676973747261725f696e646578100138526567697374726172496e6465780003049c41206a756467656d656e74207761732061736b65642066726f6d2061207265676973747261722e504a756467656d656e74556e72657175657374656408010c77686f000130543a3a4163636f756e74496400013c7265676973747261725f696e646578100138526567697374726172496e6465780004048841206a756467656d656e74207265717565737420776173207265747261637465642e384a756467656d656e74476976656e080118746172676574000130543a3a4163636f756e74496400013c7265676973747261725f696e646578100138526567697374726172496e6465780005049441206a756467656d656e742077617320676976656e2062792061207265676973747261722e38526567697374726172416464656404013c7265676973747261725f696e646578100138526567697374726172496e646578000604584120726567697374726172207761732061646465642e405375624964656e7469747941646465640c010c737562000130543a3a4163636f756e7449640001106d61696e000130543a3a4163636f756e74496400011c6465706f73697418013042616c616e63654f663c543e000704f441207375622d6964656e746974792077617320616464656420746f20616e206964656e7469747920616e6420746865206465706f73697420706169642e485375624964656e7469747952656d6f7665640c010c737562000130543a3a4163636f756e7449640001106d61696e000130543a3a4163636f756e74496400011c6465706f73697418013042616c616e63654f663c543e000804090141207375622d6964656e74697479207761732072656d6f7665642066726f6d20616e206964656e7469747920616e6420746865206465706f7369742066726565642e485375624964656e746974795265766f6b65640c010c737562000130543a3a4163636f756e7449640001106d61696e000130543a3a4163636f756e74496400011c6465706f73697418013042616c616e63654f663c543e000908190141207375622d6964656e746974792077617320636c65617265642c20616e642074686520676976656e206465706f7369742072657061747269617465642066726f6d20746865c86d61696e206964656e74697479206163636f756e7420746f20746865207375622d6964656e74697479206163636f756e742e047c54686520604576656e746020656e756d206f6620746869732070616c6c657495040c3070616c6c65745f70726f78791870616c6c6574144576656e740404540001143450726f78794578656375746564040118726573756c74f001384469737061746368526573756c74000004bc412070726f78792077617320657865637574656420636f72726563746c792c20776974682074686520676976656e2e2c507572654372656174656410011070757265000130543a3a4163636f756e74496400010c77686f000130543a3a4163636f756e74496400012870726f78795f74797065d9020130543a3a50726f787954797065000150646973616d626967756174696f6e5f696e646578fc010c753136000108dc412070757265206163636f756e7420686173206265656e2063726561746564206279206e65772070726f7879207769746820676976656e90646973616d626967756174696f6e20696e64657820616e642070726f787920747970652e24416e6e6f756e6365640c01107265616c000130543a3a4163636f756e74496400011470726f7879000130543a3a4163636f756e74496400012463616c6c5f6861736830013443616c6c486173684f663c543e000204e0416e20616e6e6f756e63656d656e742077617320706c6163656420746f206d616b6520612063616c6c20696e20746865206675747572652e2850726f7879416464656410012464656c656761746f72000130543a3a4163636f756e74496400012464656c656761746565000130543a3a4163636f756e74496400012870726f78795f74797065d9020130543a3a50726f78795479706500011464656c6179100144426c6f636b4e756d626572466f723c543e00030448412070726f7879207761732061646465642e3050726f787952656d6f76656410012464656c656761746f72000130543a3a4163636f756e74496400012464656c656761746565000130543a3a4163636f756e74496400012870726f78795f74797065d9020130543a3a50726f78795479706500011464656c6179100144426c6f636b4e756d626572466f723c543e00040450412070726f7879207761732072656d6f7665642e047c54686520604576656e746020656e756d206f6620746869732070616c6c657499040c3c70616c6c65745f6d756c74697369671870616c6c6574144576656e740404540001102c4e65774d756c74697369670c0124617070726f76696e67000130543a3a4163636f756e7449640001206d756c7469736967000130543a3a4163636f756e74496400012463616c6c5f6861736804012043616c6c486173680000048c41206e6577206d756c7469736967206f7065726174696f6e2068617320626567756e2e404d756c7469736967417070726f76616c100124617070726f76696e67000130543a3a4163636f756e74496400012474696d65706f696e74e502017054696d65706f696e743c426c6f636b4e756d626572466f723c543e3e0001206d756c7469736967000130543a3a4163636f756e74496400012463616c6c5f6861736804012043616c6c48617368000104c841206d756c7469736967206f7065726174696f6e20686173206265656e20617070726f76656420627920736f6d656f6e652e404d756c74697369674578656375746564140124617070726f76696e67000130543a3a4163636f756e74496400012474696d65706f696e74e502017054696d65706f696e743c426c6f636b4e756d626572466f723c543e3e0001206d756c7469736967000130543a3a4163636f756e74496400012463616c6c5f6861736804012043616c6c48617368000118726573756c74f001384469737061746368526573756c740002049c41206d756c7469736967206f7065726174696f6e20686173206265656e2065786563757465642e444d756c746973696743616e63656c6c656410012863616e63656c6c696e67000130543a3a4163636f756e74496400012474696d65706f696e74e502017054696d65706f696e743c426c6f636b4e756d626572466f723c543e3e0001206d756c7469736967000130543a3a4163636f756e74496400012463616c6c5f6861736804012043616c6c48617368000304a041206d756c7469736967206f7065726174696f6e20686173206265656e2063616e63656c6c65642e047c54686520604576656e746020656e756d206f6620746869732070616c6c65749d040c9070616c6c65745f656c656374696f6e5f70726f76696465725f6d756c74695f70686173651870616c6c6574144576656e7404045400011838536f6c7574696f6e53746f7265640c011c636f6d70757465a104013c456c656374696f6e436f6d707574650001186f726967696e450401504f7074696f6e3c543a3a4163636f756e7449643e000130707265765f656a6563746564d80110626f6f6c00001cb44120736f6c7574696f6e207761732073746f72656420776974682074686520676976656e20636f6d707574652e00510154686520606f726967696e6020696e6469636174657320746865206f726967696e206f662074686520736f6c7574696f6e2e20496620606f726967696e602069732060536f6d65284163636f756e74496429602c55017468652073746f72656420736f6c7574696f6e20776173207375626d6974656420696e20746865207369676e65642070686173652062792061206d696e657220776974682074686520604163636f756e744964602e25014f74686572776973652c2074686520736f6c7574696f6e207761732073746f7265642065697468657220647572696e672074686520756e7369676e6564207068617365206f722062794d0160543a3a466f7263654f726967696e602e205468652060626f6f6c6020697320607472756560207768656e20612070726576696f757320736f6c7574696f6e2077617320656a656374656420746f206d616b6548726f6f6d20666f722074686973206f6e652e44456c656374696f6e46696e616c697a656408011c636f6d70757465a104013c456c656374696f6e436f6d7075746500011473636f7265bd030134456c656374696f6e53636f7265000104190154686520656c656374696f6e20686173206265656e2066696e616c697a65642c20776974682074686520676976656e20636f6d7075746174696f6e20616e642073636f72652e38456c656374696f6e4661696c656400020c4c416e20656c656374696f6e206661696c65642e0001014e6f74206d7563682063616e20626520736169642061626f757420776869636820636f6d7075746573206661696c656420696e207468652070726f636573732e20526577617264656408011c6163636f756e740001983c54206173206672616d655f73797374656d3a3a436f6e6669673e3a3a4163636f756e74496400011476616c756518013042616c616e63654f663c543e0003042501416e206163636f756e7420686173206265656e20726577617264656420666f72207468656972207369676e6564207375626d697373696f6e206265696e672066696e616c697a65642e1c536c617368656408011c6163636f756e740001983c54206173206672616d655f73797374656d3a3a436f6e6669673e3a3a4163636f756e74496400011476616c756518013042616c616e63654f663c543e0004042101416e206163636f756e7420686173206265656e20736c617368656420666f72207375626d697474696e6720616e20696e76616c6964207369676e6564207375626d697373696f6e2e4450686173655472616e736974696f6e65640c011066726f6da504016050686173653c426c6f636b4e756d626572466f723c543e3e000108746fa504016050686173653c426c6f636b4e756d626572466f723c543e3e000114726f756e6410010c753332000504b85468657265207761732061207068617365207472616e736974696f6e20696e206120676976656e20726f756e642e047c54686520604576656e746020656e756d206f6620746869732070616c6c6574a104089070616c6c65745f656c656374696f6e5f70726f76696465725f6d756c74695f70686173653c456c656374696f6e436f6d707574650001141c4f6e436861696e000000185369676e656400010020556e7369676e65640002002046616c6c6261636b00030024456d657267656e637900040000a504089070616c6c65745f656c656374696f6e5f70726f76696465725f6d756c74695f70686173651450686173650408426e011001100c4f6666000000185369676e656400010020556e7369676e65640400a904012828626f6f6c2c20426e2900020024456d657267656e637900030000a90400000408d81000ad040c3c70616c6c65745f6f6666656e6365731870616c6c6574144576656e740001041c4f6666656e63650801106b696e64810201104b696e6400012074696d65736c6f743401384f706171756554696d65536c6f7400000c5101546865726520697320616e206f6666656e6365207265706f72746564206f662074686520676976656e20606b696e64602068617070656e656420617420746865206073657373696f6e5f696e6465786020616e643501286b696e642d7370656369666963292074696d6520736c6f742e2054686973206576656e74206973206e6f74206465706f736974656420666f72206475706c696361746520736c61736865732e4c5c5b6b696e642c2074696d65736c6f745c5d2e04304576656e747320747970652eb1040c3c70616c6c65745f626f756e746965731870616c6c6574144576656e7408045400044900012c38426f756e747950726f706f736564040114696e64657810012c426f756e7479496e646578000004504e657720626f756e74792070726f706f73616c2e38426f756e747952656a6563746564080114696e64657810012c426f756e7479496e646578000110626f6e6418013c42616c616e63654f663c542c20493e000104cc4120626f756e74792070726f706f73616c207761732072656a65637465643b2066756e6473207765726520736c61736865642e48426f756e7479426563616d65416374697665040114696e64657810012c426f756e7479496e646578000204b84120626f756e74792070726f706f73616c2069732066756e64656420616e6420626563616d65206163746976652e34426f756e747941776172646564080114696e64657810012c426f756e7479496e64657800012c62656e6566696369617279000130543a3a4163636f756e744964000304944120626f756e7479206973206177617264656420746f20612062656e65666963696172792e34426f756e7479436c61696d65640c0114696e64657810012c426f756e7479496e6465780001187061796f757418013c42616c616e63654f663c542c20493e00012c62656e6566696369617279000130543a3a4163636f756e7449640004048c4120626f756e747920697320636c61696d65642062792062656e65666963696172792e38426f756e747943616e63656c6564040114696e64657810012c426f756e7479496e646578000504584120626f756e74792069732063616e63656c6c65642e38426f756e7479457874656e646564040114696e64657810012c426f756e7479496e646578000604704120626f756e74792065787069727920697320657874656e6465642e38426f756e7479417070726f766564040114696e64657810012c426f756e7479496e646578000704544120626f756e747920697320617070726f7665642e3c43757261746f7250726f706f736564080124626f756e74795f696410012c426f756e7479496e64657800011c63757261746f72000130543a3a4163636f756e744964000804744120626f756e74792063757261746f722069732070726f706f7365642e4443757261746f72556e61737369676e6564040124626f756e74795f696410012c426f756e7479496e6465780009047c4120626f756e74792063757261746f7220697320756e61737369676e65642e3c43757261746f724163636570746564080124626f756e74795f696410012c426f756e7479496e64657800011c63757261746f72000130543a3a4163636f756e744964000a04744120626f756e74792063757261746f722069732061636365707465642e047c54686520604576656e746020656e756d206f6620746869732070616c6c6574b5040c5470616c6c65745f6368696c645f626f756e746965731870616c6c6574144576656e74040454000110144164646564080114696e64657810012c426f756e7479496e64657800012c6368696c645f696e64657810012c426f756e7479496e6465780000046041206368696c642d626f756e74792069732061646465642e1c417761726465640c0114696e64657810012c426f756e7479496e64657800012c6368696c645f696e64657810012c426f756e7479496e64657800012c62656e6566696369617279000130543a3a4163636f756e744964000104ac41206368696c642d626f756e7479206973206177617264656420746f20612062656e65666963696172792e1c436c61696d6564100114696e64657810012c426f756e7479496e64657800012c6368696c645f696e64657810012c426f756e7479496e6465780001187061796f757418013042616c616e63654f663c543e00012c62656e6566696369617279000130543a3a4163636f756e744964000204a441206368696c642d626f756e747920697320636c61696d65642062792062656e65666963696172792e2043616e63656c6564080114696e64657810012c426f756e7479496e64657800012c6368696c645f696e64657810012c426f756e7479496e6465780003047041206368696c642d626f756e74792069732063616e63656c6c65642e047c54686520604576656e746020656e756d206f6620746869732070616c6c6574b9040c5c70616c6c65745f6e6f6d696e6174696f6e5f706f6f6c731870616c6c6574144576656e740404540001441c437265617465640801246465706f7369746f72000130543a3a4163636f756e74496400011c706f6f6c5f6964100118506f6f6c4964000004604120706f6f6c20686173206265656e20637265617465642e18426f6e6465641001186d656d626572000130543a3a4163636f756e74496400011c706f6f6c5f6964100118506f6f6c4964000118626f6e64656418013042616c616e63654f663c543e0001186a6f696e6564d80110626f6f6c0001049441206d656d6265722068617320626563616d6520626f6e64656420696e206120706f6f6c2e1c506169644f75740c01186d656d626572000130543a3a4163636f756e74496400011c706f6f6c5f6964100118506f6f6c49640001187061796f757418013042616c616e63654f663c543e0002048c41207061796f757420686173206265656e206d61646520746f2061206d656d6265722e20556e626f6e6465641401186d656d626572000130543a3a4163636f756e74496400011c706f6f6c5f6964100118506f6f6c496400011c62616c616e636518013042616c616e63654f663c543e000118706f696e747318013042616c616e63654f663c543e00010c657261100120457261496e64657800032c9841206d656d6265722068617320756e626f6e6465642066726f6d20746865697220706f6f6c2e0039012d206062616c616e6365602069732074686520636f72726573706f6e64696e672062616c616e6365206f6620746865206e756d626572206f6620706f696e7473207468617420686173206265656e5501202072657175657374656420746f20626520756e626f6e646564202874686520617267756d656e74206f66207468652060756e626f6e6460207472616e73616374696f6e292066726f6d2074686520626f6e6465641c2020706f6f6c2e45012d2060706f696e74736020697320746865206e756d626572206f6620706f696e747320746861742061726520697373756564206173206120726573756c74206f66206062616c616e636560206265696e67c0646973736f6c76656420696e746f2074686520636f72726573706f6e64696e6720756e626f6e64696e6720706f6f6c2ee42d206065726160206973207468652065726120696e207768696368207468652062616c616e63652077696c6c20626520756e626f6e6465642e5501496e2074686520616273656e6365206f6620736c617368696e672c2074686573652076616c7565732077696c6c206d617463682e20496e207468652070726573656e6365206f6620736c617368696e672c207468654d016e756d626572206f6620706f696e74732074686174206172652069737375656420696e2074686520756e626f6e64696e6720706f6f6c2077696c6c206265206c657373207468616e2074686520616d6f756e746472657175657374656420746f20626520756e626f6e6465642e2457697468647261776e1001186d656d626572000130543a3a4163636f756e74496400011c706f6f6c5f6964100118506f6f6c496400011c62616c616e636518013042616c616e63654f663c543e000118706f696e747318013042616c616e63654f663c543e0004189c41206d656d626572206861732077697468647261776e2066726f6d20746865697220706f6f6c2e00210154686520676976656e206e756d626572206f662060706f696e7473602068617665206265656e20646973736f6c76656420696e2072657475726e206f66206062616c616e6365602e00590153696d696c617220746f2060556e626f6e64656460206576656e742c20696e2074686520616273656e6365206f6620736c617368696e672c2074686520726174696f206f6620706f696e7420746f2062616c616e63652877696c6c20626520312e2444657374726f79656404011c706f6f6c5f6964100118506f6f6c4964000504684120706f6f6c20686173206265656e2064657374726f7965642e3053746174654368616e67656408011c706f6f6c5f6964100118506f6f6c49640001246e65775f7374617465ed030124506f6f6c53746174650006047c546865207374617465206f66206120706f6f6c20686173206368616e676564344d656d62657252656d6f76656408011c706f6f6c5f6964100118506f6f6c49640001186d656d626572000130543a3a4163636f756e74496400070c9841206d656d62657220686173206265656e2072656d6f7665642066726f6d206120706f6f6c2e0051015468652072656d6f76616c2063616e20626520766f6c756e74617279202877697468647261776e20616c6c20756e626f6e6465642066756e647329206f7220696e766f6c756e7461727920286b69636b6564292e30526f6c6573557064617465640c0110726f6f74450401504f7074696f6e3c543a3a4163636f756e7449643e00011c626f756e636572450401504f7074696f6e3c543a3a4163636f756e7449643e0001246e6f6d696e61746f72450401504f7074696f6e3c543a3a4163636f756e7449643e000808550154686520726f6c6573206f66206120706f6f6c2068617665206265656e207570646174656420746f2074686520676976656e206e657720726f6c65732e204e6f7465207468617420746865206465706f7369746f724463616e206e65766572206368616e67652e2c506f6f6c536c617368656408011c706f6f6c5f6964100118506f6f6c496400011c62616c616e636518013042616c616e63654f663c543e0009040d01546865206163746976652062616c616e6365206f6620706f6f6c2060706f6f6c5f69646020686173206265656e20736c617368656420746f206062616c616e6365602e50556e626f6e64696e67506f6f6c536c61736865640c011c706f6f6c5f6964100118506f6f6c496400010c657261100120457261496e64657800011c62616c616e636518013042616c616e63654f663c543e000a04250154686520756e626f6e6420706f6f6c206174206065726160206f6620706f6f6c2060706f6f6c5f69646020686173206265656e20736c617368656420746f206062616c616e6365602e54506f6f6c436f6d6d697373696f6e5570646174656408011c706f6f6c5f6964100118506f6f6c496400011c63757272656e740504017c4f7074696f6e3c2850657262696c6c2c20543a3a4163636f756e744964293e000b04b44120706f6f6c277320636f6d6d697373696f6e2073657474696e6720686173206265656e206368616e6765642e60506f6f6c4d6178436f6d6d697373696f6e5570646174656408011c706f6f6c5f6964100118506f6f6c49640001386d61785f636f6d6d697373696f6ecc011c50657262696c6c000c04d44120706f6f6c2773206d6178696d756d20636f6d6d697373696f6e2073657474696e6720686173206265656e206368616e6765642e7c506f6f6c436f6d6d697373696f6e4368616e6765526174655570646174656408011c706f6f6c5f6964100118506f6f6c496400012c6368616e67655f726174650d04019c436f6d6d697373696f6e4368616e6765526174653c426c6f636b4e756d626572466f723c543e3e000d04cc4120706f6f6c277320636f6d6d697373696f6e20606368616e67655f726174656020686173206265656e206368616e6765642e54506f6f6c436f6d6d697373696f6e436c61696d656408011c706f6f6c5f6964100118506f6f6c4964000128636f6d6d697373696f6e18013042616c616e63654f663c543e000e0484506f6f6c20636f6d6d697373696f6e20686173206265656e20636c61696d65642e644d696e42616c616e63654465666963697441646a757374656408011c706f6f6c5f6964100118506f6f6c4964000118616d6f756e7418013042616c616e63654f663c543e000f04c8546f70706564207570206465666963697420696e2066726f7a656e204544206f66207468652072657761726420706f6f6c2e604d696e42616c616e636545786365737341646a757374656408011c706f6f6c5f6964100118506f6f6c4964000118616d6f756e7418013042616c616e63654f663c543e001004bc436c61696d6564206578636573732066726f7a656e204544206f66206166207468652072657761726420706f6f6c2e04584576656e7473206f6620746869732070616c6c65742ebd040c2c70616c6c65745f676561721870616c6c6574144576656e74040454000124344d65737361676551756575656410010869641d0401244d6573736167654964047047656e657261746564206964206f6620746865206d6573736167652e0118736f75726365000130543a3a4163636f756e74496404a04163636f756e74206964206f662074686520736f75726365206f6620746865206d6573736167652e012c64657374696e6174696f6e1904012450726f6772616d496404b450726f6772616d2069642c2077686f20697320746865206d65737361676527732064657374696e6174696f6e2e0114656e747279c10401304d657373616765456e7472790ca8456e74727920706f696e7420666f722070726f63657373696e67206f6620746865206d6573736167652eb44f6e207468652073656e64696e672073746167652c207468652070726f63657373696e672066756e6374696f6e7c6f66207468652070726f6772616d20697320616c77617973206b6e6f776e2e0008d4557365722073656e6473206d65737361676520746f2070726f6772616d2c20776869636820776173207375636365737366756c6c7980616464656420746f207468652047656172206d6573736167652071756575652e3c557365724d65737361676553656e7408011c6d657373616765c504012c557365724d65737361676504344d6573736167652073656e742e012865787069726174696f6ed50101644f7074696f6e3c426c6f636b4e756d626572466f723c543e3e20a8426c6f636b206e756d626572206f662065787069726174696f6e2066726f6d20604d61696c626f78602e00bc457175616c732060536f6d65285f2960207769746820626c6f636b206e756d626572207768656e206d657373616765a877696c6c2062652072656d6f7665642066726f6d20604d61696c626f78602064756520746f20736f6d658c726561736f6e73202873656520233634322c202336343620616e64202331303130292e00ac457175616c7320604e6f6e6560206966206d657373616765207761736e277420696e73657274656420746f98604d61696c626f786020616e642061707065617273206173206f6e6c7920604576656e74602e010490536f6d65626f64792073656e742061206d65737361676520746f2074686520757365722e3c557365724d6573736167655265616408010869641d0401244d6573736167654964045c4964206f6620746865206d65737361676520726561642e0118726561736f6eed040154557365724d65737361676552656164526561736f6e0cd054686520726561736f6e20666f72207468652072656164696e67202872656d6f76616c2066726f6d20604d61696c626f7860292e00e84e4f54453a20536565206d6f726520646f63732061626f757420726561736f6e732061742060676561725f636f6d6d6f6e3a3a6576656e74602e020cdc4d657373616765206d61726b65642061732022726561642220616e642072656d6f7665732069742066726f6d20604d61696c626f78602ea854686973206576656e74206f6e6c792061666665637473206d657373616765732074686174207765726578616c726561647920696e73657274656420696e20604d61696c626f78602e484d65737361676573446973706174636865640c0114746f74616c1001584d657373656e67657243617061636974794f663c543e04d0546f74616c20616d6f756e74206f66206d657373616765732072656d6f7665642066726f6d206d6573736167652071756575652e01207374617475736573f904018c42547265654d61703c4d65737361676549642c2044697370617463685374617475733e08f0457865637574696f6e207374617475736573206f6620746865206d657373616765732c207768696368207765726520616c7265616479206b6e6f776ed8627920604576656e743a3a4d65737361676551756575656460202873656e742066726f6d207573657220746f2070726f6772616d292e013473746174655f6368616e6765733504014c42547265655365743c50726f6772616d49643e04f4496473206f662070726f6772616d732c207768696368207374617465206368616e67656420647572696e672071756575652070726f63657373696e672e0304dc54686520726573756c74206f662070726f63657373696e6720746865206d657373616765732077697468696e2074686520626c6f636b2e344d65737361676557616974656410010869641d0401244d657373616765496404644964206f6620746865206d657373616765207761697465642e01186f726967696e090501ac4f7074696f6e3c4761734e6f646549643c4d65737361676549642c205265736572766174696f6e49643e3e14fc4f726967696e206d6573736167652069642c2077686963682073746172746564206d6573736167696e6720636861696e20776974682070726f6772616d732cac77686572652063757272656e746c7920776169746564206d6573736167652077617320637265617465642e00e45573656420746f206964656e7469667920627920746865207573657220746861742074686973206d657373616765206173736f636961746564a8776974682068696d20616e642074686520636f6e637265746520696e697469616c206d6573736167652e0118726561736f6e1505014c4d657373616765576169746564526561736f6e0ccc54686520726561736f6e206f66207468652077616974696e6720286164646974696f6e20746f2060576169746c69737460292e00e84e4f54453a20536565206d6f726520646f63732061626f757420726561736f6e732061742060676561725f636f6d6d6f6e3a3a6576656e74602e012865787069726174696f6e100144426c6f636b4e756d626572466f723c543e10ac426c6f636b206e756d626572206f662065787069726174696f6e2066726f6d2060576169746c697374602e000101457175616c7320626c6f636b206e756d626572207768656e206d6573736167652077696c6c2062652072656d6f7665642066726f6d2060576169746c69737460bc64756520746f20736f6d6520726561736f6e73202873656520233634322c202336343620616e64202331303130292e0408d04d6573736167657320657865637574696f6e2064656c6179656420287761697465642920616e64207375636365737366756c6c795c616464656420746f206765617220776169746c6973742e304d657373616765576f6b656e08010869641d0401244d657373616765496404604964206f6620746865206d65737361676520776f6b656e2e0118726561736f6e210501484d657373616765576f6b656e526561736f6e0ccc54686520726561736f6e206f66207468652077616b696e67202872656d6f76616c2066726f6d2060576169746c69737460292e00e84e4f54453a20536565206d6f726520646f63732061626f757420726561736f6e732061742060676561725f636f6d6d6f6e3a3a6576656e74602e0508a84d65737361676520697320726561647920746f20636f6e74696e75652069747320657865637574696f6e80616e64207761732072656d6f7665642066726f6d2060576169746c697374602e2c436f64654368616e676564080108696415040118436f6465496404604964206f662074686520636f64652061666665637465642e01186368616e67652d050184436f64654368616e67654b696e643c426c6f636b4e756d626572466f723c543e3e0c9c4368616e6765206170706c696564206f6e20636f646520776974682063757272656e742069642e00fc4e4f54453a20536565206d6f726520646f63732061626f7574206368616e6765206b696e64732061742060676561725f636f6d6d6f6e3a3a6576656e74602e0604a8416e7920646174612072656c6174656420746f2070726f6772616d20636f646573206368616e6765642e3850726f6772616d4368616e67656408010869641904012450726f6772616d4964046c4964206f66207468652070726f6772616d2061666665637465642e01186368616e67653105019050726f6772616d4368616e67654b696e643c426c6f636b4e756d626572466f723c543e3e0ca84368616e6765206170706c696564206f6e2070726f6772616d20776974682063757272656e742069642e00fc4e4f54453a20536565206d6f726520646f63732061626f7574206368616e6765206b696e64732061742060676561725f636f6d6d6f6e3a3a6576656e74602e070494416e7920646174612072656c6174656420746f2070726f6772616d73206368616e6765642e4451756575654e6f7450726f63657373656400080455015468652070736575646f2d696e686572656e742065787472696e73696320746861742072756e732071756575652070726f63657373696e6720726f6c6c6564206261636b206f72206e6f742065786563757465642e047c54686520604576656e746020656e756d206f6620746869732070616c6c6574c1040c2c676561725f636f6d6d6f6e146576656e74304d657373616765456e74727900011010496e69740000001848616e646c65000100145265706c7904001d0401244d6573736167654964000200185369676e616c00030000c5041024676561725f636f72651c6d65737361676510757365722c557365724d657373616765000018010869641d0401244d6573736167654964000118736f757263651904012450726f6772616d496400012c64657374696e6174696f6e1904012450726f6772616d496400011c7061796c6f6164c904011c5061796c6f616400011476616c7565b8011456616c756500011c64657461696c73d10401504f7074696f6e3c5265706c7944657461696c733e0000c9040c24676561725f636f726518627566666572284c696d697465645665630804540108044501cd040004003401185665633c543e0000cd040c24676561725f636f72651c6d657373616765405061796c6f616453697a654572726f7200000000d10404184f7074696f6e04045401d5040108104e6f6e6500000010536f6d650400d5040000010000d5041024676561725f636f72651c6d65737361676518636f6d6d6f6e305265706c7944657461696c730000080108746f1d0401244d6573736167654964000110636f6465d90401245265706c79436f64650000d9040c40676561725f636f72655f6572726f72731873696d706c65245265706c79436f646500010c1c537563636573730400dd040148537563636573735265706c79526561736f6e000000144572726f720400e10401404572726f725265706c79526561736f6e0001002c556e737570706f7274656400ff0000dd040c40676561725f636f72655f6572726f72731873696d706c6548537563636573735265706c79526561736f6e00010c104175746f000000184d616e75616c0001002c556e737570706f7274656400ff0000e1040c40676561725f636f72655f6572726f72731873696d706c65404572726f725265706c79526561736f6e00011824457865637574696f6e0400e504015053696d706c65457865637574696f6e4572726f72000000544661696c6564546f43726561746550726f6772616d0400e904016853696d706c6550726f6772616d4372656174696f6e4572726f7200010034496e6163746976654163746f720002004c52656d6f76656446726f6d576169746c697374000300605265696e737472756d656e746174696f6e4661696c7572650004002c556e737570706f7274656400ff0000e5040c40676561725f636f72655f6572726f72731873696d706c655053696d706c65457865637574696f6e4572726f7200011c2c52616e4f75744f66476173000000384d656d6f72794f766572666c6f77000100304261636b656e644572726f720002003855736572737061636550616e696300030058556e726561636861626c65496e737472756374696f6e00040048537461636b4c696d697445786365656465640005002c556e737570706f7274656400ff0000e9040c40676561725f636f72655f6572726f72731873696d706c656853696d706c6550726f6772616d4372656174696f6e4572726f7200010834436f64654e6f744578697374730000002c556e737570706f7274656400ff0000ed040c2c676561725f636f6d6d6f6e146576656e7418526561736f6e08045201f104045301f50401081c52756e74696d650400f1040104520000001853797374656d0400f50401045300010000f1040c2c676561725f636f6d6d6f6e146576656e7470557365724d6573736167655265616452756e74696d65526561736f6e000108384d6573736167655265706c696564000000384d657373616765436c61696d656400010000f5040c2c676561725f636f6d6d6f6e146576656e746c557365724d6573736167655265616453797374656d526561736f6e000104244f75744f6652656e7400000000f904042042547265654d617008044b011d04045601fd040004000105000000fd040c2c676561725f636f6d6d6f6e146576656e7438446973706174636853746174757300010c1c53756363657373000000184661696c65640001002c4e6f7445786563757465640002000001050000020505000505000004081d04fd0400090504184f7074696f6e040454010d050108104e6f6e6500000010536f6d6504000d0500000100000d05102c676561725f636f6d6d6f6e306761735f70726f7669646572106e6f6465244761734e6f64654964080454011d0404550111050108104e6f646504001d040104540000002c5265736572766174696f6e04001105010455000100001105082c677072696d697469766573345265736572766174696f6e4964000004000401205b75383b2033325d000015050c2c676561725f636f6d6d6f6e146576656e7418526561736f6e0804520119050453011d0501081c52756e74696d65040019050104520000001853797374656d04001d050104530001000019050c2c676561725f636f6d6d6f6e146576656e74684d65737361676557616974656452756e74696d65526561736f6e000110285761697443616c6c65640000003457616974466f7243616c6c656400010038576169745570546f43616c6c656400020048576169745570546f43616c6c656446756c6c000300001d050c2c676561725f636f6d6d6f6e146576656e74644d65737361676557616974656453797374656d526561736f6e0001000021050c2c676561725f636f6d6d6f6e146576656e7418526561736f6e080452012505045301290501081c52756e74696d65040025050104520000001853797374656d040029050104530001000025050c2c676561725f636f6d6d6f6e146576656e74644d657373616765576f6b656e52756e74696d65526561736f6e0001042857616b6543616c6c65640000000029050c2c676561725f636f6d6d6f6e146576656e74604d657373616765576f6b656e53797374656d526561736f6e00010c5450726f6772616d476f74496e697469616c697a65640000003854696d656f7574486173436f6d65000100244f75744f6652656e74000200002d050c2c676561725f636f6d6d6f6e146576656e7438436f64654368616e67654b696e64042c426c6f636b4e756d6265720110010c1841637469766504012865787069726174696f6ed501014c4f7074696f6e3c426c6f636b4e756d6265723e00000020496e616374697665000100385265696e737472756d656e7465640002000031050c2c676561725f636f6d6d6f6e146576656e744450726f6772616d4368616e67654b696e64042c426c6f636b4e756d626572011001181841637469766504012865787069726174696f6e10012c426c6f636b4e756d62657200000020496e61637469766500010018506175736564000200285465726d696e617465640003004445787069726174696f6e4368616e67656404012865787069726174696f6e10012c426c6f636b4e756d6265720004002850726f6772616d53657404012865787069726174696f6e10012c426c6f636b4e756d6265720005000035050c6c70616c6c65745f676561725f7374616b696e675f726577617264731870616c6c6574144576656e74040454000110244465706f7369746564040118616d6f756e7418013042616c616e63654f663c543e000004584465706f736974656420746f2074686520706f6f6c2e2457697468647261776e040118616d6f756e7418013042616c616e63654f663c543e000104c45472616e736665727265642066726f6d2074686520706f6f6c20746f20616e2065787465726e616c206163636f756e742e184275726e6564040118616d6f756e7418013042616c616e63654f663c543e000204544275726e65642066726f6d2074686520706f6f6c2e184d696e746564040118616d6f756e7418013042616c616e63654f663c543e0003044c4d696e74656420746f2074686520706f6f6c2e047c54686520604576656e746020656e756d206f6620746869732070616c6c657439050c4c70616c6c65745f676561725f766f75636865721870616c6c6574144576656e7404045400011034566f75636865724973737565640c01146f776e65720001384163636f756e7449644f663c543e04bc4163636f756e74206964206f66206f776e657220616e64206d616e61676572206f662074686520766f75636865722e011c7370656e6465720001384163636f756e7449644f663c543e04bc4163636f756e74206964206f66207573657220656c696769626c6520746f207573652074686520766f75636865722e0128766f75636865725f69643d040124566f75636865724964044c566f7563686572206964656e7469666965722e000460566f756368657220686173206265656e206973737565642e38566f75636865725265766f6b656408011c7370656e6465720001384163636f756e7449644f663c543e04c44163636f756e74206964206f662074686520757365722077686f736520766f756368657220776173207265766f6b65642e0128766f75636865725f69643d040124566f75636865724964044c566f7563686572206964656e7469666965722e010c88566f756368657220686173206265656e207265766f6b6564206279206f776e65722e00984e4f54453a2063757272656e746c79206d65616e73206f6e6c792022726566756e646564222e38566f7563686572557064617465640c011c7370656e6465720001384163636f756e7449644f663c543e04b44163636f756e74206964206f6620757365722077686f736520766f75636865722077617320757064617465642e0128766f75636865725f69643d040124566f75636865724964044c566f7563686572206964656e7469666965722e01246e65775f6f776e6572450401584f7074696f6e3c4163636f756e7449644f663c543e3e04f04f7074696f6e616c206669656c6420646566696e696e672077617320746865206f776e6572206368616e67656420647572696e67207570646174652e020464566f756368657220686173206265656e20757064617465642e3c566f75636865724465636c696e656408011c7370656e6465720001384163636f756e7449644f663c543e04c04163636f756e74206964206f6620757365722077686f206465636c696e656420697473206f776e20766f75636865722e0128766f75636865725f69643d040124566f75636865724964044c566f7563686572206964656e7469666965722e0304c4566f756368657220686173206265656e206465636c696e6564202873657420746f2065787069726564207374617465292e046850616c6c6574204765617220566f7563686572206576656e742e3d0508306672616d655f73797374656d14506861736500010c384170706c7945787472696e736963040010010c7533320000003046696e616c697a6174696f6e00010038496e697469616c697a6174696f6e000200004105000002250200450508306672616d655f73797374656d584c61737452756e74696d6555706772616465496e666f0000080130737065635f76657273696f6e2901014c636f6465633a3a436f6d706163743c7533323e000124737065635f6e616d654905016473705f72756e74696d653a3a52756e74696d65537472696e670000490500000502004d050c306672616d655f73797374656d186c696d69747330426c6f636b5765696768747300000c0128626173655f626c6f636b2401185765696768740001246d61785f626c6f636b2401185765696768740001247065725f636c617373510501845065724469737061746368436c6173733c57656967687473506572436c6173733e000051050c346672616d655f737570706f7274206469737061746368405065724469737061746368436c617373040454015505000c01186e6f726d616c550501045400012c6f7065726174696f6e616c55050104540001246d616e6461746f72795505010454000055050c306672616d655f73797374656d186c696d6974733c57656967687473506572436c6173730000100138626173655f65787472696e7369632401185765696768740001346d61785f65787472696e7369637d0401384f7074696f6e3c5765696768743e0001246d61785f746f74616c7d0401384f7074696f6e3c5765696768743e00012072657365727665647d0401384f7074696f6e3c5765696768743e000059050c306672616d655f73797374656d186c696d6974732c426c6f636b4c656e677468000004010c6d61785d0501545065724469737061746368436c6173733c7533323e00005d050c346672616d655f737570706f7274206469737061746368405065724469737061746368436c6173730404540110000c01186e6f726d616c1001045400012c6f7065726174696f6e616c100104540001246d616e6461746f72791001045400006105082873705f776569676874733c52756e74696d6544625765696768740000080110726561642c010c75363400011477726974652c010c75363400006505082873705f76657273696f6e3852756e74696d6556657273696f6e0000200124737065635f6e616d654905013452756e74696d65537472696e67000124696d706c5f6e616d654905013452756e74696d65537472696e67000144617574686f72696e675f76657273696f6e10010c753332000130737065635f76657273696f6e10010c753332000130696d706c5f76657273696f6e10010c753332000110617069736905011c4170697356656300014c7472616e73616374696f6e5f76657273696f6e10010c75333200013473746174655f76657273696f6e080108753800006905040c436f77040454016d050004006d050000006d050000027105007105000004086102100075050c306672616d655f73797374656d1870616c6c6574144572726f720404540001183c496e76616c6964537065634e616d650000081101546865206e616d65206f662073706563696669636174696f6e20646f6573206e6f74206d61746368206265747765656e207468652063757272656e742072756e74696d6550616e6420746865206e65772072756e74696d652e685370656356657273696f6e4e65656473546f496e63726561736500010841015468652073706563696669636174696f6e2076657273696f6e206973206e6f7420616c6c6f77656420746f206465637265617365206265747765656e207468652063757272656e742072756e74696d6550616e6420746865206e65772072756e74696d652e744661696c6564546f4578747261637452756e74696d6556657273696f6e00020cec4661696c656420746f2065787472616374207468652072756e74696d652076657273696f6e2066726f6d20746865206e65772072756e74696d652e0009014569746865722063616c6c696e672060436f72655f76657273696f6e60206f72206465636f64696e67206052756e74696d6556657273696f6e60206661696c65642e4c4e6f6e44656661756c74436f6d706f73697465000304fc537569636964652063616c6c6564207768656e20746865206163636f756e7420686173206e6f6e2d64656661756c7420636f6d706f7369746520646174612e3c4e6f6e5a65726f526566436f756e74000404350154686572652069732061206e6f6e2d7a65726f207265666572656e636520636f756e742070726576656e74696e6720746865206163636f756e742066726f6d206265696e67207075726765642e3043616c6c46696c7465726564000504d0546865206f726967696e2066696c7465722070726576656e74207468652063616c6c20746f20626520646973706174636865642e046c4572726f7220666f72207468652053797374656d2070616c6c657479050c4c626f756e6465645f636f6c6c656374696f6e73407765616b5f626f756e6465645f766563385765616b426f756e64656456656308045401cd010453000004007d0501185665633c543e00007d05000002cd010081050c4c626f756e6465645f636f6c6c656374696f6e73407765616b5f626f756e6465645f766563385765616b426f756e646564566563080454018505045300000400890501185665633c543e00008505000004082d012c0089050000028505008d050c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e6465645665630804540104045300000400910501185665633c543e000091050000020400950504184f7074696f6e0404540199050108104e6f6e6500000010536f6d6504009905000001000099050c4473705f636f6e73656e7375735f626162651c646967657374732450726544696765737400010c1c5072696d61727904009d0501405072696d617279507265446967657374000100385365636f6e64617279506c61696e0400a505015c5365636f6e64617279506c61696e507265446967657374000200305365636f6e646172795652460400a90501545365636f6e64617279565246507265446967657374000300009d050c4473705f636f6e73656e7375735f626162651c64696765737473405072696d61727950726544696765737400000c013c617574686f726974795f696e64657810015473757065723a3a417574686f72697479496e646578000110736c6f7431010110536c6f740001347672665f7369676e6174757265a10501305672665369676e61747572650000a105101c73705f636f72651c737232353531390c767266305672665369676e617475726500000801186f75747075740401245672664f757470757400011470726f6f666101012056726650726f6f660000a5050c4473705f636f6e73656e7375735f626162651c646967657374735c5365636f6e64617279506c61696e507265446967657374000008013c617574686f726974795f696e64657810015473757065723a3a417574686f72697479496e646578000110736c6f7431010110536c6f740000a9050c4473705f636f6e73656e7375735f626162651c64696765737473545365636f6e6461727956524650726544696765737400000c013c617574686f726974795f696e64657810015473757065723a3a417574686f72697479496e646578000110736c6f7431010110536c6f740001347672665f7369676e6174757265a10501305672665369676e61747572650000ad05084473705f636f6e73656e7375735f62616265584261626545706f6368436f6e66696775726174696f6e0000080104633d010128287536342c2075363429000134616c6c6f7765645f736c6f747341010130416c6c6f776564536c6f74730000b1050c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e64656456656308045401b505045300000400b90501185665633c543e0000b505000004082c1000b905000002b50500bd050c2c70616c6c65745f626162651870616c6c6574144572726f7204045400011060496e76616c696445717569766f636174696f6e50726f6f660000043101416e2065717569766f636174696f6e2070726f6f662070726f76696465642061732070617274206f6620616e2065717569766f636174696f6e207265706f727420697320696e76616c69642e60496e76616c69644b65794f776e65727368697050726f6f66000104310141206b6579206f776e6572736869702070726f6f662070726f76696465642061732070617274206f6620616e2065717569766f636174696f6e207265706f727420697320696e76616c69642e584475706c69636174654f6666656e63655265706f727400020415014120676976656e2065717569766f636174696f6e207265706f72742069732076616c69642062757420616c72656164792070726576696f75736c79207265706f727465642e50496e76616c6964436f6e66696775726174696f6e0003048c5375626d697474656420636f6e66696775726174696f6e20697320696e76616c69642e048054686520604572726f726020656e756d206f6620746869732070616c6c65742ec105083870616c6c65745f6772616e6470612c53746f726564537461746504044e01100110104c6976650000003050656e64696e6750617573650801307363686564756c65645f61741001044e00011464656c61791001044e000100185061757365640002003450656e64696e67526573756d650801307363686564756c65645f61741001044e00011464656c61791001044e00030000c505083870616c6c65745f6772616e6470614c53746f72656450656e64696e674368616e676508044e0110144c696d697400001001307363686564756c65645f61741001044e00011464656c61791001044e0001406e6578745f617574686f726974696573c905016c426f756e646564417574686f726974794c6973743c4c696d69743e000118666f72636564d50101244f7074696f6e3c4e3e0000c9050c4c626f756e6465645f636f6c6c656374696f6e73407765616b5f626f756e6465645f766563385765616b426f756e64656456656308045401800453000004007c01185665633c543e0000cd050c3870616c6c65745f6772616e6470611870616c6c6574144572726f7204045400011c2c50617573654661696c65640000080501417474656d707420746f207369676e616c204752414e445041207061757365207768656e2074686520617574686f72697479207365742069736e2774206c697665a42865697468657220706175736564206f7220616c72656164792070656e64696e67207061757365292e30526573756d654661696c65640001081101417474656d707420746f207369676e616c204752414e44504120726573756d65207768656e2074686520617574686f72697479207365742069736e277420706175736564a028656974686572206c697665206f7220616c72656164792070656e64696e6720726573756d65292e344368616e676550656e64696e67000204e8417474656d707420746f207369676e616c204752414e445041206368616e67652077697468206f6e6520616c72656164792070656e64696e672e1c546f6f536f6f6e000304bc43616e6e6f74207369676e616c20666f72636564206368616e676520736f20736f6f6e206166746572206c6173742e60496e76616c69644b65794f776e65727368697050726f6f66000404310141206b6579206f776e6572736869702070726f6f662070726f76696465642061732070617274206f6620616e2065717569766f636174696f6e207265706f727420697320696e76616c69642e60496e76616c696445717569766f636174696f6e50726f6f660005043101416e2065717569766f636174696f6e2070726f6f662070726f76696465642061732070617274206f6620616e2065717569766f636174696f6e207265706f727420697320696e76616c69642e584475706c69636174654f6666656e63655265706f727400060415014120676976656e2065717569766f636174696f6e207265706f72742069732076616c69642062757420616c72656164792070726576696f75736c79207265706f727465642e048054686520604572726f726020656e756d206f6620746869732070616c6c65742ed1050c4c626f756e6465645f636f6c6c656374696f6e73407765616b5f626f756e6465645f766563385765616b426f756e64656456656308045401d505045300000400dd0501185665633c543e0000d5050c3c70616c6c65745f62616c616e6365731474797065732c42616c616e63654c6f636b041c42616c616e63650118000c01086964610201384c6f636b4964656e746966696572000118616d6f756e7418011c42616c616e636500011c726561736f6e73d905011c526561736f6e730000d9050c3c70616c6c65745f62616c616e6365731474797065731c526561736f6e7300010c0c466565000000104d6973630001000c416c6c00020000dd05000002d50500e1050c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e64656456656308045401e505045300000400e90501185665633c543e0000e5050c3c70616c6c65745f62616c616e6365731474797065732c52657365727665446174610844526573657276654964656e7469666965720161021c42616c616e6365011800080108696461020144526573657276654964656e746966696572000118616d6f756e7418011c42616c616e63650000e905000002e50500ed050c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e64656456656308045401f105045300000400fd0501185665633c543e0000f1050c3c70616c6c65745f62616c616e636573147479706573204964416d6f756e740808496401f5051c42616c616e63650118000801086964f50501084964000118616d6f756e7418011c42616c616e63650000f5050830766172615f72756e74696d654452756e74696d65486f6c64526561736f6e00010420507265696d6167650400f905016c70616c6c65745f707265696d6167653a3a486f6c64526561736f6e00170000f9050c3c70616c6c65745f707265696d6167651870616c6c657428486f6c64526561736f6e00010420507265696d61676500000000fd05000002f1050001060c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e646564566563080454010506045300000400110601185665633c543e000005060c3c70616c6c65745f62616c616e636573147479706573204964416d6f756e74080849640109061c42616c616e63650118000801086964090601084964000118616d6f756e7418011c42616c616e6365000009060830766172615f72756e74696d654c52756e74696d65467265657a65526561736f6e0001043c4e6f6d696e6174696f6e506f6f6c7304000d06019470616c6c65745f6e6f6d696e6174696f6e5f706f6f6c733a3a467265657a65526561736f6e001f00000d060c5c70616c6c65745f6e6f6d696e6174696f6e5f706f6f6c731870616c6c657430467265657a65526561736f6e00010438506f6f6c4d696e42616c616e636500000000110600000205060015060c3c70616c6c65745f62616c616e6365731870616c6c6574144572726f720804540004490001283856657374696e6742616c616e63650000049c56657374696e672062616c616e636520746f6f206869676820746f2073656e642076616c75652e544c69717569646974795265737472696374696f6e73000104c84163636f756e74206c6971756964697479207265737472696374696f6e732070726576656e74207769746864726177616c2e4c496e73756666696369656e7442616c616e63650002047842616c616e636520746f6f206c6f7720746f2073656e642076616c75652e484578697374656e7469616c4465706f736974000304ec56616c756520746f6f206c6f7720746f20637265617465206163636f756e742064756520746f206578697374656e7469616c206465706f7369742e34457870656e646162696c697479000404905472616e736665722f7061796d656e7420776f756c64206b696c6c206163636f756e742e5c4578697374696e6756657374696e675363686564756c65000504cc412076657374696e67207363686564756c6520616c72656164792065786973747320666f722074686973206163636f756e742e2c446561644163636f756e740006048c42656e6566696369617279206163636f756e74206d757374207072652d65786973742e3c546f6f4d616e795265736572766573000704b84e756d626572206f66206e616d65642072657365727665732065786365656420604d61785265736572766573602e30546f6f4d616e79486f6c6473000804884e756d626572206f6620686f6c64732065786365656420604d6178486f6c6473602e38546f6f4d616e79467265657a6573000904984e756d626572206f6620667265657a65732065786365656420604d6178467265657a6573602e048054686520604572726f726020656e756d206f6620746869732070616c6c65742e19060c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e646564566563080454018d010453000004001d0601185665633c543e00001d060000028d01002106083870616c6c65745f76657374696e672052656c65617365730001080856300000000856310001000025060c3870616c6c65745f76657374696e671870616c6c6574144572726f72040454000114284e6f7456657374696e6700000484546865206163636f756e7420676976656e206973206e6f742076657374696e672e5441744d617856657374696e675363686564756c65730001082501546865206163636f756e7420616c72656164792068617320604d617856657374696e675363686564756c65736020636f756e74206f66207363686564756c657320616e642074687573510163616e6e6f742061646420616e6f74686572206f6e652e20436f6e7369646572206d657267696e67206578697374696e67207363686564756c657320696e206f7264657220746f2061646420616e6f746865722e24416d6f756e744c6f770002040501416d6f756e74206265696e67207472616e7366657272656420697320746f6f206c6f7720746f2063726561746520612076657374696e67207363686564756c652e605363686564756c65496e6465784f75744f66426f756e6473000304d0416e20696e64657820776173206f7574206f6620626f756e6473206f66207468652076657374696e67207363686564756c65732e54496e76616c69645363686564756c65506172616d730004040d014661696c656420746f206372656174652061206e6577207363686564756c65206265636175736520736f6d6520706172616d657465722077617320696e76616c69642e04744572726f7220666f72207468652076657374696e672070616c6c65742e29060c3473705f61726974686d657469632c66697865645f706f696e7424466978656455313238000004001801107531323800002d06086870616c6c65745f7472616e73616374696f6e5f7061796d656e742052656c6561736573000108245631416e6369656e740000000856320001000031060c4070616c6c65745f626167735f6c697374106c697374104e6f646508045400044900001401086964000130543a3a4163636f756e74496400011070726576450401504f7074696f6e3c543a3a4163636f756e7449643e0001106e657874450401504f7074696f6e3c543a3a4163636f756e7449643e0001246261675f75707065722c0120543a3a53636f726500011473636f72652c0120543a3a53636f7265000035060c4070616c6c65745f626167735f6c697374106c6973740c426167080454000449000008011068656164450401504f7074696f6e3c543a3a4163636f756e7449643e0001107461696c450401504f7074696f6e3c543a3a4163636f756e7449643e000039060000022c003d060c4070616c6c65745f626167735f6c6973741870616c6c6574144572726f72080454000449000104104c6973740400410601244c6973744572726f72000004b441206572726f7220696e20746865206c69737420696e7465726661636520696d706c656d656e746174696f6e2e048054686520604572726f726020656e756d206f6620746869732070616c6c65742e41060c4070616c6c65745f626167735f6c697374106c697374244c6973744572726f72000110244475706c6963617465000000284e6f7448656176696572000100304e6f74496e53616d65426167000200304e6f64654e6f74466f756e640003000045060c4c626f756e6465645f636f6c6c656374696f6e73407765616b5f626f756e6465645f766563385765616b426f756e64656456656308045401a4045300000400490601185665633c543e00004906000002a4004d060000040810000051060c4070616c6c65745f696d5f6f6e6c696e651870616c6c6574144572726f7204045400010828496e76616c69644b6579000004604e6f6e206578697374656e74207075626c6963206b65792e4c4475706c696361746564486561727462656174000104544475706c696361746564206865617274626561742e048054686520604572726f726020656e756d206f6620746869732070616c6c65742e5506083870616c6c65745f7374616b696e67345374616b696e674c656467657204045400001401147374617368000130543a3a4163636f756e744964000114746f74616cb8013042616c616e63654f663c543e000118616374697665b8013042616c616e63654f663c543e000124756e6c6f636b696e67590601f0426f756e6465645665633c556e6c6f636b4368756e6b3c42616c616e63654f663c543e3e2c20543a3a4d6178556e6c6f636b696e674368756e6b733e0001586c65676163795f636c61696d65645f7265776172647365060194426f756e6465645665633c457261496e6465782c20543a3a486973746f727944657074683e000059060c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e646564566563080454015d06045300000400610601185665633c543e00005d06083870616c6c65745f7374616b696e672c556e6c6f636b4368756e6b041c42616c616e636501180008011476616c7565b8011c42616c616e636500010c65726129010120457261496e646578000061060000025d060065060c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e6465645665630804540110045300000400b10101185665633c543e00006906083870616c6c65745f7374616b696e672c4e6f6d696e6174696f6e7304045400000c011c746172676574736d0601b4426f756e6465645665633c543a3a4163636f756e7449642c204d61784e6f6d696e6174696f6e734f663c543e3e0001307375626d69747465645f696e100120457261496e64657800012873757070726573736564d80110626f6f6c00006d060c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e6465645665630804540100045300000400850101185665633c543e00007106083870616c6c65745f7374616b696e6734416374697665457261496e666f0000080114696e646578100120457261496e64657800011473746172742104012c4f7074696f6e3c7536343e00007506082873705f7374616b696e675450616765644578706f737572654d65746164617461041c42616c616e6365011800100114746f74616cb8011c42616c616e636500010c6f776eb8011c42616c616e636500013c6e6f6d696e61746f725f636f756e7410010c753332000128706167655f636f756e7410011050616765000079060000040c100010007d06082873705f7374616b696e67304578706f737572655061676508244163636f756e74496401001c42616c616e6365011800080128706167655f746f74616cb8011c42616c616e63650001186f7468657273bc01ac5665633c496e646976696475616c4578706f737572653c4163636f756e7449642c2042616c616e63653e3e00008106083870616c6c65745f7374616b696e673c457261526577617264506f696e747304244163636f756e744964010000080114746f74616c10012c526577617264506f696e74000128696e646976696475616c8506018042547265654d61703c4163636f756e7449642c20526577617264506f696e743e00008506042042547265654d617008044b010004560110000400890600000089060000028d06008d060000040800100091060000029506009506083870616c6c65745f7374616b696e6738556e6170706c696564536c61736808244163636f756e74496401001c42616c616e636501180014012476616c696461746f720001244163636f756e74496400010c6f776e18011c42616c616e63650001186f7468657273d50301645665633c284163636f756e7449642c2042616c616e6365293e0001247265706f7274657273850101385665633c4163636f756e7449643e0001187061796f757418011c42616c616e63650000990600000408cc18009d060c3870616c6c65745f7374616b696e6720736c617368696e6734536c617368696e675370616e7300001001287370616e5f696e6465781001245370616e496e6465780001286c6173745f7374617274100120457261496e6465780001486c6173745f6e6f6e7a65726f5f736c617368100120457261496e6465780001147072696f72b10101345665633c457261496e6465783e0000a1060c3870616c6c65745f7374616b696e6720736c617368696e67285370616e5265636f7264041c42616c616e636501180008011c736c617368656418011c42616c616e6365000120706169645f6f757418011c42616c616e63650000a506000002a90600a9060000040810d800ad06103870616c6c65745f7374616b696e671870616c6c65741870616c6c6574144572726f72040454000168344e6f74436f6e74726f6c6c6572000004644e6f74206120636f6e74726f6c6c6572206163636f756e742e204e6f745374617368000104504e6f742061207374617368206163636f756e742e34416c7265616479426f6e64656400020460537461736820697320616c726561647920626f6e6465642e34416c726561647950616972656400030474436f6e74726f6c6c657220697320616c7265616479207061697265642e30456d7074795461726765747300040460546172676574732063616e6e6f7420626520656d7074792e384475706c6963617465496e646578000504404475706c696361746520696e6465782e44496e76616c6964536c617368496e64657800060484536c617368207265636f726420696e646578206f7574206f6620626f756e64732e40496e73756666696369656e74426f6e6400070c590143616e6e6f74206861766520612076616c696461746f72206f72206e6f6d696e61746f7220726f6c652c20776974682076616c7565206c657373207468616e20746865206d696e696d756d20646566696e65642062793d01676f7665726e616e6365202873656520604d696e56616c696461746f72426f6e646020616e6420604d696e4e6f6d696e61746f72426f6e6460292e20496620756e626f6e64696e67206973207468651501696e74656e74696f6e2c20606368696c6c6020666972737420746f2072656d6f7665206f6e65277320726f6c652061732076616c696461746f722f6e6f6d696e61746f722e304e6f4d6f72654368756e6b730008049043616e206e6f74207363686564756c65206d6f726520756e6c6f636b206368756e6b732e344e6f556e6c6f636b4368756e6b000904a043616e206e6f74207265626f6e6420776974686f757420756e6c6f636b696e67206368756e6b732e3046756e646564546172676574000a04c8417474656d7074696e6720746f2074617267657420612073746173682074686174207374696c6c206861732066756e64732e48496e76616c6964457261546f526577617264000b0458496e76616c69642065726120746f207265776172642e68496e76616c69644e756d6265724f664e6f6d696e6174696f6e73000c0478496e76616c6964206e756d626572206f66206e6f6d696e6174696f6e732e484e6f74536f72746564416e64556e69717565000d04804974656d7320617265206e6f7420736f7274656420616e6420756e697175652e38416c7265616479436c61696d6564000e0409015265776172647320666f72207468697320657261206861766520616c7265616479206265656e20636c61696d656420666f7220746869732076616c696461746f722e2c496e76616c696450616765000f04844e6f206e6f6d696e61746f7273206578697374206f6e207468697320706167652e54496e636f7272656374486973746f72794465707468001004c0496e636f72726563742070726576696f757320686973746f727920646570746820696e7075742070726f76696465642e58496e636f7272656374536c617368696e675370616e73001104b0496e636f7272656374206e756d626572206f6620736c617368696e67207370616e732070726f76696465642e2042616453746174650012043901496e7465726e616c20737461746520686173206265636f6d6520736f6d65686f7720636f7272757074656420616e6420746865206f7065726174696f6e2063616e6e6f7420636f6e74696e75652e38546f6f4d616e795461726765747300130494546f6f206d616e79206e6f6d696e6174696f6e207461726765747320737570706c6965642e244261645461726765740014043d0141206e6f6d696e6174696f6e207461726765742077617320737570706c69656420746861742077617320626c6f636b6564206f72206f7468657277697365206e6f7420612076616c696461746f722e4043616e6e6f744368696c6c4f74686572001504550154686520757365722068617320656e6f75676820626f6e6420616e6420746875732063616e6e6f74206265206368696c6c656420666f72636566756c6c7920627920616e2065787465726e616c20706572736f6e2e44546f6f4d616e794e6f6d696e61746f72730016084d0154686572652061726520746f6f206d616e79206e6f6d696e61746f727320696e207468652073797374656d2e20476f7665726e616e6365206e6565647320746f2061646a75737420746865207374616b696e67b473657474696e677320746f206b656570207468696e6773207361666520666f72207468652072756e74696d652e44546f6f4d616e7956616c696461746f7273001708550154686572652061726520746f6f206d616e792076616c696461746f722063616e6469646174657320696e207468652073797374656d2e20476f7665726e616e6365206e6565647320746f2061646a75737420746865d47374616b696e672073657474696e677320746f206b656570207468696e6773207361666520666f72207468652072756e74696d652e40436f6d6d697373696f6e546f6f4c6f77001804e0436f6d6d697373696f6e20697320746f6f206c6f772e204d757374206265206174206c6561737420604d696e436f6d6d697373696f6e602e2c426f756e644e6f744d657400190458536f6d6520626f756e64206973206e6f74206d65742e048054686520604572726f726020656e756d206f6620746869732070616c6c65742eb106000002b50600b5060000040800c90100b90600000408bd063400bd060c1c73705f636f72651863727970746f244b65795479706549640000040044011c5b75383b20345d0000c1060c3870616c6c65745f73657373696f6e1870616c6c6574144572726f7204045400011430496e76616c696450726f6f6600000460496e76616c6964206f776e6572736869702070726f6f662e5c4e6f4173736f63696174656456616c696461746f7249640001049c4e6f206173736f6369617465642076616c696461746f7220494420666f72206163636f756e742e344475706c6963617465644b65790002046452656769737465726564206475706c6963617465206b65792e184e6f4b657973000304a44e6f206b65797320617265206173736f63696174656420776974682074686973206163636f756e742e244e6f4163636f756e7400040419014b65792073657474696e67206163636f756e74206973206e6f74206c6976652c20736f206974277320696d706f737369626c6520746f206173736f6369617465206b6579732e04744572726f7220666f72207468652073657373696f6e2070616c6c65742ec506083c70616c6c65745f74726561737572792050726f706f73616c08244163636f756e74496401001c42616c616e636501180010012070726f706f7365720001244163636f756e74496400011476616c756518011c42616c616e636500012c62656e65666963696172790001244163636f756e744964000110626f6e6418011c42616c616e63650000c9060c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e6465645665630804540110045300000400b10101185665633c543e0000cd06083c70616c6c65745f74726561737572792c5370656e64537461747573142441737365744b696e6401e830417373657442616c616e636501182c42656e656669636961727901002c426c6f636b4e756d6265720110245061796d656e74496401e80018012861737365745f6b696e64e8012441737365744b696e64000118616d6f756e74180130417373657442616c616e636500012c62656e656669636961727900012c42656e656669636961727900012876616c69645f66726f6d10012c426c6f636b4e756d6265720001246578706972655f617410012c426c6f636b4e756d626572000118737461747573d106015c5061796d656e7453746174653c5061796d656e7449643e0000d106083c70616c6c65745f7472656173757279305061796d656e7453746174650408496401e8010c1c50656e64696e6700000024417474656d707465640401086964e801084964000100184661696c656400020000d5060c3473705f61726974686d65746963287065725f7468696e67731c5065726d696c6c0000040010010c7533320000d90608346672616d655f737570706f72742050616c6c65744964000004006102011c5b75383b20385d0000dd060c3c70616c6c65745f74726561737572791870616c6c6574144572726f7208045400044900013070496e73756666696369656e7450726f706f7365727342616c616e63650000047850726f706f73657227732062616c616e636520697320746f6f206c6f772e30496e76616c6964496e646578000104ac4e6f2070726f706f73616c2c20626f756e7479206f72207370656e64206174207468617420696e6465782e40546f6f4d616e79417070726f76616c7300020480546f6f206d616e7920617070726f76616c7320696e207468652071756575652e58496e73756666696369656e745065726d697373696f6e0003084501546865207370656e64206f726967696e2069732076616c6964206275742074686520616d6f756e7420697420697320616c6c6f77656420746f207370656e64206973206c6f776572207468616e207468654c616d6f756e7420746f206265207370656e742e4c50726f706f73616c4e6f74417070726f7665640004047c50726f706f73616c20686173206e6f74206265656e20617070726f7665642e584661696c6564546f436f6e7665727442616c616e636500050451015468652062616c616e6365206f6620746865206173736574206b696e64206973206e6f7420636f6e7665727469626c6520746f207468652062616c616e6365206f6620746865206e61746976652061737365742e305370656e6445787069726564000604b0546865207370656e6420686173206578706972656420616e642063616e6e6f7420626520636c61696d65642e2c4561726c795061796f7574000704a4546865207370656e64206973206e6f742079657420656c696769626c6520666f72207061796f75742e40416c7265616479417474656d707465640008049c546865207061796d656e742068617320616c7265616479206265656e20617474656d707465642e2c5061796f75744572726f72000904cc54686572652077617320736f6d65206973737565207769746820746865206d656368616e69736d206f66207061796d656e742e304e6f74417474656d70746564000a04a4546865207061796f757420776173206e6f742079657420617474656d707465642f636c61696d65642e30496e636f6e636c7573697665000b04c4546865207061796d656e7420686173206e656974686572206661696c6564206e6f7220737563636565646564207965742e04784572726f7220666f72207468652074726561737572792070616c6c65742ee10600000408301000e5060c3870616c6c65745f7574696c6974791870616c6c6574144572726f7204045400010430546f6f4d616e7943616c6c730000045c546f6f206d616e792063616c6c7320626174636865642e048054686520604572726f726020656e756d206f6620746869732070616c6c65742ee9060000040800fc00ed060c6070616c6c65745f636f6e76696374696f6e5f766f74696e6710766f746518566f74696e67141c42616c616e63650118244163636f756e74496401002c426c6f636b4e756d626572011024506f6c6c496e6465780110204d6178566f7465730001081c43617374696e670400f10601c843617374696e673c42616c616e63652c20426c6f636b4e756d6265722c20506f6c6c496e6465782c204d6178566f7465733e0000002844656c65676174696e670400090701ac44656c65676174696e673c42616c616e63652c204163636f756e7449642c20426c6f636b4e756d6265723e00010000f1060c6070616c6c65745f636f6e76696374696f6e5f766f74696e6710766f74651c43617374696e67101c42616c616e636501182c426c6f636b4e756d626572011024506f6c6c496e6465780110204d6178566f74657300000c0114766f746573f50601dc426f756e6465645665633c28506f6c6c496e6465782c204163636f756e74566f74653c42616c616e63653e292c204d6178566f7465733e00012c64656c65676174696f6e730107015044656c65676174696f6e733c42616c616e63653e0001147072696f720507017c5072696f724c6f636b3c426c6f636b4e756d6265722c2042616c616e63653e0000f5060c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e64656456656308045401f906045300000400fd0601185665633c543e0000f9060000040810f50100fd06000002f9060001070c6070616c6c65745f636f6e76696374696f6e5f766f74696e671474797065732c44656c65676174696f6e73041c42616c616e6365011800080114766f74657318011c42616c616e636500011c6361706974616c18011c42616c616e6365000005070c6070616c6c65745f636f6e76696374696f6e5f766f74696e6710766f7465245072696f724c6f636b082c426c6f636b4e756d62657201101c42616c616e6365011800080010012c426c6f636b4e756d626572000018011c42616c616e6365000009070c6070616c6c65745f636f6e76696374696f6e5f766f74696e6710766f74652844656c65676174696e670c1c42616c616e63650118244163636f756e74496401002c426c6f636b4e756d62657201100014011c62616c616e636518011c42616c616e63650001187461726765740001244163636f756e744964000128636f6e76696374696f6efd010128436f6e76696374696f6e00012c64656c65676174696f6e730107015044656c65676174696f6e733c42616c616e63653e0001147072696f720507017c5072696f724c6f636b3c426c6f636b4e756d6265722c2042616c616e63653e00000d070c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e646564566563080454011107045300000400150701185665633c543e0000110700000408fc1800150700000211070019070c6070616c6c65745f636f6e76696374696f6e5f766f74696e671870616c6c6574144572726f72080454000449000130284e6f744f6e676f696e6700000450506f6c6c206973206e6f74206f6e676f696e672e204e6f74566f746572000104ac54686520676976656e206163636f756e7420646964206e6f7420766f7465206f6e2074686520706f6c6c2e304e6f5065726d697373696f6e000204c8546865206163746f7220686173206e6f207065726d697373696f6e20746f20636f6e647563742074686520616374696f6e2e3c4e6f5065726d697373696f6e5965740003045901546865206163746f7220686173206e6f207065726d697373696f6e20746f20636f6e647563742074686520616374696f6e207269676874206e6f77206275742077696c6c20646f20696e20746865206675747572652e44416c726561647944656c65676174696e6700040488546865206163636f756e7420697320616c72656164792064656c65676174696e672e34416c7265616479566f74696e670005085501546865206163636f756e742063757272656e746c792068617320766f74657320617474616368656420746f20697420616e6420746865206f7065726174696f6e2063616e6e6f74207375636365656420756e74696ce87468657365206172652072656d6f7665642c20656974686572207468726f7567682060756e766f746560206f722060726561705f766f7465602e44496e73756666696369656e7446756e6473000604fc546f6f206869676820612062616c616e6365207761732070726f7669646564207468617420746865206163636f756e742063616e6e6f74206166666f72642e344e6f7444656c65676174696e67000704a0546865206163636f756e74206973206e6f742063757272656e746c792064656c65676174696e672e204e6f6e73656e73650008049444656c65676174696f6e20746f206f6e6573656c66206d616b6573206e6f2073656e73652e3c4d6178566f74657352656163686564000904804d6178696d756d206e756d626572206f6620766f74657320726561636865642e2c436c6173734e6565646564000a04390154686520636c617373206d75737420626520737570706c6965642073696e6365206974206973206e6f7420656173696c792064657465726d696e61626c652066726f6d207468652073746174652e20426164436c617373000b048454686520636c61737320494420737570706c69656420697320696e76616c69642e048054686520604572726f726020656e756d206f6620746869732070616c6c65742e1d070c4070616c6c65745f7265666572656e6461147479706573385265666572656e64756d496e666f201c547261636b496401fc3452756e74696d654f726967696e01e101184d6f6d656e7401101043616c6c0101011c42616c616e636501181454616c6c79015d04244163636f756e74496401003c5363686564756c654164647265737301250201181c4f6e676f696e6704002107018d015265666572656e64756d5374617475733c547261636b49642c2052756e74696d654f726967696e2c204d6f6d656e742c2043616c6c2c2042616c616e63652c2054616c6c792c0a4163636f756e7449642c205363686564756c65416464726573732c3e00000020417070726f7665640c001001184d6f6d656e7400002907018c4f7074696f6e3c4465706f7369743c4163636f756e7449642c2042616c616e63653e3e00002907018c4f7074696f6e3c4465706f7369743c4163636f756e7449642c2042616c616e63653e3e0001002052656a65637465640c001001184d6f6d656e7400002907018c4f7074696f6e3c4465706f7369743c4163636f756e7449642c2042616c616e63653e3e00002907018c4f7074696f6e3c4465706f7369743c4163636f756e7449642c2042616c616e63653e3e0002002443616e63656c6c65640c001001184d6f6d656e7400002907018c4f7074696f6e3c4465706f7369743c4163636f756e7449642c2042616c616e63653e3e00002907018c4f7074696f6e3c4465706f7369743c4163636f756e7449642c2042616c616e63653e3e0003002054696d65644f75740c001001184d6f6d656e7400002907018c4f7074696f6e3c4465706f7369743c4163636f756e7449642c2042616c616e63653e3e00002907018c4f7074696f6e3c4465706f7369743c4163636f756e7449642c2042616c616e63653e3e000400184b696c6c656404001001184d6f6d656e740005000021070c4070616c6c65745f7265666572656e6461147479706573405265666572656e64756d537461747573201c547261636b496401fc3452756e74696d654f726967696e01e101184d6f6d656e7401101043616c6c0101011c42616c616e636501181454616c6c79015d04244163636f756e74496401003c5363686564756c6541646472657373012502002c0114747261636bfc011c547261636b49640001186f726967696ee101013452756e74696d654f726967696e00012070726f706f73616c0101011043616c6c000124656e6163746d656e7409020150446973706174636854696d653c4d6f6d656e743e0001247375626d69747465641001184d6f6d656e740001487375626d697373696f6e5f6465706f7369742507016c4465706f7369743c4163636f756e7449642c2042616c616e63653e0001406465636973696f6e5f6465706f7369742907018c4f7074696f6e3c4465706f7369743c4163636f756e7449642c2042616c616e63653e3e0001206465636964696e672d0701784f7074696f6e3c4465636964696e675374617475733c4d6f6d656e743e3e00011474616c6c795d04011454616c6c79000120696e5f7175657565d80110626f6f6c000114616c61726d350701844f7074696f6e3c284d6f6d656e742c205363686564756c6541646472657373293e000025070c4070616c6c65745f7265666572656e64611474797065731c4465706f73697408244163636f756e74496401001c42616c616e636501180008010c77686f0001244163636f756e744964000118616d6f756e7418011c42616c616e63650000290704184f7074696f6e0404540125070108104e6f6e6500000010536f6d650400250700000100002d0704184f7074696f6e0404540131070108104e6f6e6500000010536f6d6504003107000001000031070c4070616c6c65745f7265666572656e6461147479706573384465636964696e67537461747573042c426c6f636b4e756d62657201100008011473696e636510012c426c6f636b4e756d626572000128636f6e6669726d696e67d501014c4f7074696f6e3c426c6f636b4e756d6265723e0000350704184f7074696f6e0404540139070108104e6f6e6500000010536f6d65040039070000010000390700000408102502003d070c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e646564566563080454014107045300000400450701185665633c543e0000410700000408101800450700000241070049070000024d07004d0700000408fc51070051070c4070616c6c65745f7265666572656e646114747970657324547261636b496e666f081c42616c616e63650118184d6f6d656e740110002401106e616d65490501302627737461746963207374720001306d61785f6465636964696e6710010c7533320001406465636973696f6e5f6465706f73697418011c42616c616e6365000138707265706172655f706572696f641001184d6f6d656e7400013c6465636973696f6e5f706572696f641001184d6f6d656e74000138636f6e6669726d5f706572696f641001184d6f6d656e740001506d696e5f656e6163746d656e745f706572696f641001184d6f6d656e740001306d696e5f617070726f76616c55070114437572766500012c6d696e5f737570706f7274550701144375727665000055070c4070616c6c65745f7265666572656e646114747970657314437572766500010c404c696e65617244656372656173696e670c01186c656e677468cc011c50657262696c6c000114666c6f6f72cc011c50657262696c6c0001106365696ccc011c50657262696c6c000000445374657070656444656372656173696e67100114626567696ecc011c50657262696c6c00010c656e64cc011c50657262696c6c00011073746570cc011c50657262696c6c000118706572696f64cc011c50657262696c6c000100285265636970726f63616c0c0118666163746f72590701204669786564493634000120785f6f6666736574590701204669786564493634000120795f6f66667365745907012046697865644936340002000059070c3473705f61726974686d657469632c66697865645f706f696e74204669786564493634000004005d07010c69363400005d070000050c0061070c4070616c6c65745f7265666572656e64611870616c6c6574144572726f72080454000449000134284e6f744f6e676f696e67000004685265666572656e64756d206973206e6f74206f6e676f696e672e284861734465706f736974000104b85265666572656e64756d2773206465636973696f6e206465706f73697420697320616c726561647920706169642e20426164547261636b0002049c54686520747261636b206964656e74696669657220676976656e2077617320696e76616c69642e1046756c6c000304310154686572652061726520616c726561647920612066756c6c20636f6d706c656d656e74206f66207265666572656e646120696e2070726f677265737320666f72207468697320747261636b2e285175657565456d70747900040480546865207175657565206f662074686520747261636b20697320656d7074792e344261645265666572656e64756d000504e4546865207265666572656e64756d20696e6465782070726f766964656420697320696e76616c696420696e207468697320636f6e746578742e2c4e6f7468696e67546f446f000604ac546865726520776173206e6f7468696e6720746f20646f20696e2074686520616476616e63656d656e742e1c4e6f547261636b000704a04e6f20747261636b2065786973747320666f72207468652070726f706f73616c206f726967696e2e28556e66696e69736865640008040101416e79206465706f7369742063616e6e6f7420626520726566756e64656420756e74696c20616674657220746865206465636973696f6e206973206f7665722e304e6f5065726d697373696f6e000904a8546865206465706f73697420726566756e646572206973206e6f7420746865206465706f7369746f722e244e6f4465706f736974000a04cc546865206465706f7369742063616e6e6f7420626520726566756e6465642073696e6365206e6f6e6520776173206d6164652e24426164537461747573000b04d0546865207265666572656e64756d2073746174757320697320696e76616c696420666f722074686973206f7065726174696f6e2e40507265696d6167654e6f744578697374000c047054686520707265696d61676520646f6573206e6f742065786973742e048054686520604572726f726020656e756d206f6620746869732070616c6c65742e6507086070616c6c65745f72616e6b65645f636f6c6c656374697665304d656d6265725265636f7264000004011072616e6bfc011052616e6b0000690700000408fc00006d0700000408fc100071070c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e64656456656308045401080453000004003401185665633c543e000075070c6070616c6c65745f72616e6b65645f636f6c6c6563746976651870616c6c6574144572726f7208045400044900012434416c72656164794d656d626572000004704163636f756e7420697320616c72656164792061206d656d6265722e244e6f744d656d626572000104604163636f756e74206973206e6f742061206d656d6265722e284e6f74506f6c6c696e67000204b854686520676976656e20706f6c6c20696e64657820697320756e6b6e6f776e206f722068617320636c6f7365642e1c4f6e676f696e670003048054686520676976656e20706f6c6c206973207374696c6c206f6e676f696e672e344e6f6e6552656d61696e696e67000404ac546865726520617265206e6f2066757274686572207265636f72647320746f2062652072656d6f7665642e28436f7272757074696f6e00050468556e6578706563746564206572726f7220696e2073746174652e2852616e6b546f6f4c6f7700060494546865206d656d62657227732072616e6b20697320746f6f206c6f7720746f20766f74652e38496e76616c69645769746e6573730007049854686520696e666f726d6174696f6e2070726f766964656420697320696e636f72726563742e304e6f5065726d697373696f6e000804f8546865206f726967696e206973206e6f742073756666696369656e746c792070726976696c6567656420746f20646f20746865206f7065726174696f6e2e048054686520604572726f726020656e756d206f6620746869732070616c6c65742e79070c4070616c6c65745f7265666572656e6461147479706573385265666572656e64756d496e666f201c547261636b496401fc3452756e74696d654f726967696e01e101184d6f6d656e7401101043616c6c0101011c42616c616e636501181454616c6c79016904244163636f756e74496401003c5363686564756c654164647265737301250201181c4f6e676f696e6704007d07018d015265666572656e64756d5374617475733c547261636b49642c2052756e74696d654f726967696e2c204d6f6d656e742c2043616c6c2c2042616c616e63652c2054616c6c792c0a4163636f756e7449642c205363686564756c65416464726573732c3e00000020417070726f7665640c001001184d6f6d656e7400002907018c4f7074696f6e3c4465706f7369743c4163636f756e7449642c2042616c616e63653e3e00002907018c4f7074696f6e3c4465706f7369743c4163636f756e7449642c2042616c616e63653e3e0001002052656a65637465640c001001184d6f6d656e7400002907018c4f7074696f6e3c4465706f7369743c4163636f756e7449642c2042616c616e63653e3e00002907018c4f7074696f6e3c4465706f7369743c4163636f756e7449642c2042616c616e63653e3e0002002443616e63656c6c65640c001001184d6f6d656e7400002907018c4f7074696f6e3c4465706f7369743c4163636f756e7449642c2042616c616e63653e3e00002907018c4f7074696f6e3c4465706f7369743c4163636f756e7449642c2042616c616e63653e3e0003002054696d65644f75740c001001184d6f6d656e7400002907018c4f7074696f6e3c4465706f7369743c4163636f756e7449642c2042616c616e63653e3e00002907018c4f7074696f6e3c4465706f7369743c4163636f756e7449642c2042616c616e63653e3e000400184b696c6c656404001001184d6f6d656e74000500007d070c4070616c6c65745f7265666572656e6461147479706573405265666572656e64756d537461747573201c547261636b496401fc3452756e74696d654f726967696e01e101184d6f6d656e7401101043616c6c0101011c42616c616e636501181454616c6c79016904244163636f756e74496401003c5363686564756c6541646472657373012502002c0114747261636bfc011c547261636b49640001186f726967696ee101013452756e74696d654f726967696e00012070726f706f73616c0101011043616c6c000124656e6163746d656e7409020150446973706174636854696d653c4d6f6d656e743e0001247375626d69747465641001184d6f6d656e740001487375626d697373696f6e5f6465706f7369742507016c4465706f7369743c4163636f756e7449642c2042616c616e63653e0001406465636973696f6e5f6465706f7369742907018c4f7074696f6e3c4465706f7369743c4163636f756e7449642c2042616c616e63653e3e0001206465636964696e672d0701784f7074696f6e3c4465636964696e675374617475733c4d6f6d656e743e3e00011474616c6c796904011454616c6c79000120696e5f7175657565d80110626f6f6c000114616c61726d350701844f7074696f6e3c284d6f6d656e742c205363686564756c6541646472657373293e000081070c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e646564566563080454012502045300000400410501185665633c543e000085070c4070616c6c65745f7265666572656e64611870616c6c6574144572726f72080454000449000134284e6f744f6e676f696e67000004685265666572656e64756d206973206e6f74206f6e676f696e672e284861734465706f736974000104b85265666572656e64756d2773206465636973696f6e206465706f73697420697320616c726561647920706169642e20426164547261636b0002049c54686520747261636b206964656e74696669657220676976656e2077617320696e76616c69642e1046756c6c000304310154686572652061726520616c726561647920612066756c6c20636f6d706c656d656e74206f66207265666572656e646120696e2070726f677265737320666f72207468697320747261636b2e285175657565456d70747900040480546865207175657565206f662074686520747261636b20697320656d7074792e344261645265666572656e64756d000504e4546865207265666572656e64756d20696e6465782070726f766964656420697320696e76616c696420696e207468697320636f6e746578742e2c4e6f7468696e67546f446f000604ac546865726520776173206e6f7468696e6720746f20646f20696e2074686520616476616e63656d656e742e1c4e6f547261636b000704a04e6f20747261636b2065786973747320666f72207468652070726f706f73616c206f726967696e2e28556e66696e69736865640008040101416e79206465706f7369742063616e6e6f7420626520726566756e64656420756e74696c20616674657220746865206465636973696f6e206973206f7665722e304e6f5065726d697373696f6e000904a8546865206465706f73697420726566756e646572206973206e6f7420746865206465706f7369746f722e244e6f4465706f736974000a04cc546865206465706f7369742063616e6e6f7420626520726566756e6465642073696e6365206e6f6e6520776173206d6164652e24426164537461747573000b04d0546865207265666572656e64756d2073746174757320697320696e76616c696420666f722074686973206f7065726174696f6e2e40507265696d6167654e6f744578697374000c047054686520707265696d61676520646f6573206e6f742065786973742e048054686520604572726f726020656e756d206f6620746869732070616c6c65742e89070c4070616c6c65745f77686974656c6973741870616c6c6574144572726f720404540001144c556e617661696c61626c65507265496d616765000004c854686520707265696d616765206f66207468652063616c6c206861736820636f756c64206e6f74206265206c6f616465642e3c556e6465636f6461626c6543616c6c000104785468652063616c6c20636f756c64206e6f74206265206465636f6465642e60496e76616c696443616c6c5765696768745769746e657373000204ec54686520776569676874206f6620746865206465636f6465642063616c6c2077617320686967686572207468616e20746865207769746e6573732e5043616c6c49734e6f7457686974656c6973746564000304745468652063616c6c20776173206e6f742077686974656c69737465642e5843616c6c416c726561647957686974656c6973746564000404a05468652063616c6c2077617320616c72656164792077686974656c69737465643b204e6f2d4f702e048054686520604572726f726020656e756d206f6620746869732070616c6c65742e8d070c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e646564566563080454019107045300000400990701185665633c543e0000910704184f7074696f6e0404540195070108104e6f6e6500000010536f6d650400950700000100009507084070616c6c65745f7363686564756c6572245363686564756c656414104e616d6501041043616c6c0101012c426c6f636b4e756d62657201103450616c6c6574734f726967696e01e101244163636f756e7449640100001401206d617962655f6964890401304f7074696f6e3c4e616d653e0001207072696f726974790801487363686564756c653a3a5072696f7269747900011063616c6c0101011043616c6c0001386d617962655f706572696f646963210201944f7074696f6e3c7363686564756c653a3a506572696f643c426c6f636b4e756d6265723e3e0001186f726967696ee101013450616c6c6574734f726967696e000099070000029107009d070c4070616c6c65745f7363686564756c65721870616c6c6574144572726f72040454000114404661696c6564546f5363686564756c65000004644661696c656420746f207363686564756c6520612063616c6c204e6f74466f756e640001047c43616e6e6f742066696e6420746865207363686564756c65642063616c6c2e5c546172676574426c6f636b4e756d626572496e50617374000204a4476976656e2074617267657420626c6f636b206e756d62657220697320696e2074686520706173742e4852657363686564756c654e6f4368616e6765000304f052657363686564756c65206661696c6564206265636175736520697420646f6573206e6f74206368616e6765207363686564756c65642074696d652e144e616d6564000404d0417474656d707420746f207573652061206e6f6e2d6e616d65642066756e6374696f6e206f6e2061206e616d6564207461736b2e048054686520604572726f726020656e756d206f6620746869732070616c6c65742ea107083c70616c6c65745f707265696d616765404f6c645265717565737453746174757308244163636f756e74496401001c42616c616e6365011801082c556e72657175657374656408011c6465706f736974d9030150284163636f756e7449642c2042616c616e63652900010c6c656e10010c753332000000245265717565737465640c011c6465706f736974a50701704f7074696f6e3c284163636f756e7449642c2042616c616e6365293e000114636f756e7410010c75333200010c6c656ed501012c4f7074696f6e3c7533323e00010000a50704184f7074696f6e04045401d9030108104e6f6e6500000010536f6d650400d9030000010000a907083c70616c6c65745f707265696d616765345265717565737453746174757308244163636f756e7449640100185469636b657401ad0701082c556e7265717565737465640801187469636b6574b107014c284163636f756e7449642c205469636b65742900010c6c656e10010c753332000000245265717565737465640c01306d617962655f7469636b6574b507016c4f7074696f6e3c284163636f756e7449642c205469636b6574293e000114636f756e7410010c7533320001246d617962655f6c656ed501012c4f7074696f6e3c7533323e00010000ad0714346672616d655f737570706f72741874726169747318746f6b656e732066756e6769626c6544486f6c64436f6e73696465726174696f6e10044100044600045200044400000400180128463a3a42616c616e63650000b1070000040800ad0700b50704184f7074696f6e04045401b1070108104e6f6e6500000010536f6d650400b1070000010000b9070c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e64656456656308045401080453000004003401185665633c543e0000bd070c3c70616c6c65745f707265696d6167651870616c6c6574144572726f7204045400012018546f6f426967000004a0507265696d61676520697320746f6f206c6172676520746f2073746f7265206f6e2d636861696e2e30416c72656164794e6f746564000104a4507265696d6167652068617320616c7265616479206265656e206e6f746564206f6e2d636861696e2e344e6f74417574686f72697a6564000204c85468652075736572206973206e6f7420617574686f72697a656420746f20706572666f726d207468697320616374696f6e2e204e6f744e6f746564000304fc54686520707265696d6167652063616e6e6f742062652072656d6f7665642073696e636520697420686173206e6f7420796574206265656e206e6f7465642e2452657175657374656400040409014120707265696d616765206d6179206e6f742062652072656d6f766564207768656e20746865726520617265206f75747374616e64696e672072657175657374732e304e6f745265717565737465640005042d0154686520707265696d61676520726571756573742063616e6e6f742062652072656d6f7665642073696e6365206e6f206f75747374616e64696e672072657175657374732065786973742e1c546f6f4d616e7900060455014d6f7265207468616e20604d41585f484153485f555047524144455f42554c4b5f434f554e54602068617368657320776572652072657175657374656420746f206265207570677261646564206174206f6e63652e18546f6f466577000704e4546f6f206665772068617368657320776572652072657175657374656420746f2062652075706772616465642028692e652e207a65726f292e048054686520604572726f726020656e756d206f6620746869732070616c6c65742ec1070c3c70616c6c65745f6964656e7469747914747970657330526567697374726174696f6e0c1c42616c616e63650118344d61784a756467656d656e747300304964656e74697479496e666f013502000c01286a756467656d656e7473c50701fc426f756e6465645665633c28526567697374726172496e6465782c204a756467656d656e743c42616c616e63653e292c204d61784a756467656d656e74733e00011c6465706f73697418011c42616c616e6365000110696e666f350201304964656e74697479496e666f0000c5070c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e64656456656308045401c907045300000400cd0701185665633c543e0000c9070000040810cd0200cd07000002c90700d1070000040818d50700d5070c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e6465645665630804540100045300000400850101185665633c543e0000d9070c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e64656456656308045401dd07045300000400e50701185665633c543e0000dd0704184f7074696f6e04045401e1070108104e6f6e6500000010536f6d650400e1070000010000e1070c3c70616c6c65745f6964656e7469747914747970657334526567697374726172496e666f0c1c42616c616e63650118244163636f756e74496401001c49644669656c64012c000c011c6163636f756e740001244163636f756e74496400010c66656518011c42616c616e63650001186669656c64732c011c49644669656c640000e507000002dd0700e9070c3c70616c6c65745f6964656e746974791870616c6c6574144572726f7204045400014448546f6f4d616e795375624163636f756e74730000045c546f6f206d616e7920737562732d6163636f756e74732e204e6f74466f756e64000104504163636f756e742069736e277420666f756e642e204e6f744e616d6564000204504163636f756e742069736e2774206e616d65642e28456d707479496e64657800030430456d70747920696e6465782e284665654368616e6765640004043c466565206973206368616e6765642e284e6f4964656e74697479000504484e6f206964656e7469747920666f756e642e3c537469636b794a756467656d656e7400060444537469636b79206a756467656d656e742e384a756467656d656e74476976656e000704404a756467656d656e7420676976656e2e40496e76616c69644a756467656d656e7400080448496e76616c6964206a756467656d656e742e30496e76616c6964496e6465780009045454686520696e64657820697320696e76616c69642e34496e76616c6964546172676574000a04585468652074617267657420697320696e76616c69642e44546f6f4d616e7952656769737472617273000b04e84d6178696d756d20616d6f756e74206f66207265676973747261727320726561636865642e2043616e6e6f742061646420616e79206d6f72652e38416c7265616479436c61696d6564000c04704163636f756e7420494420697320616c7265616479206e616d65642e184e6f74537562000d047053656e646572206973206e6f742061207375622d6163636f756e742e204e6f744f776e6564000e04885375622d6163636f756e742069736e2774206f776e65642062792073656e6465722e744a756467656d656e74466f72446966666572656e744964656e74697479000f04d05468652070726f7669646564206a756467656d656e742077617320666f72206120646966666572656e74206964656e746974792e584a756467656d656e745061796d656e744661696c6564001004f84572726f722074686174206f6363757273207768656e20746865726520697320616e20697373756520706179696e6720666f72206a756467656d656e742e048054686520604572726f726020656e756d206f6620746869732070616c6c65742eed0700000408f1071800f1070c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e64656456656308045401f507045300000400f90701185665633c543e0000f507083070616c6c65745f70726f78793c50726f7879446566696e6974696f6e0c244163636f756e74496401002450726f78795479706501d9022c426c6f636b4e756d6265720110000c012064656c65676174650001244163636f756e74496400012870726f78795f74797065d902012450726f78795479706500011464656c617910012c426c6f636b4e756d6265720000f907000002f50700fd07000004080108180001080c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e646564566563080454010508045300000400090801185665633c543e00000508083070616c6c65745f70726f787930416e6e6f756e63656d656e740c244163636f756e7449640100104861736801302c426c6f636b4e756d6265720110000c01107265616c0001244163636f756e74496400012463616c6c5f686173683001104861736800011868656967687410012c426c6f636b4e756d626572000009080000020508000d080c3070616c6c65745f70726f78791870616c6c6574144572726f720404540001201c546f6f4d616e79000004210154686572652061726520746f6f206d616e792070726f786965732072656769737465726564206f7220746f6f206d616e7920616e6e6f756e63656d656e74732070656e64696e672e204e6f74466f756e640001047450726f787920726567697374726174696f6e206e6f7420666f756e642e204e6f7450726f7879000204cc53656e646572206973206e6f7420612070726f7879206f6620746865206163636f756e7420746f2062652070726f786965642e2c556e70726f787961626c650003042101412063616c6c20776869636820697320696e636f6d70617469626c652077697468207468652070726f7879207479706527732066696c7465722077617320617474656d707465642e244475706c69636174650004046c4163636f756e7420697320616c726561647920612070726f78792e304e6f5065726d697373696f6e000504150143616c6c206d6179206e6f74206265206d6164652062792070726f78792062656361757365206974206d617920657363616c617465206974732070726976696c656765732e2c556e616e6e6f756e636564000604d0416e6e6f756e63656d656e742c206966206d61646520617420616c6c2c20776173206d61646520746f6f20726563656e746c792e2c4e6f53656c6650726f78790007046443616e6e6f74206164642073656c662061732070726f78792e048054686520604572726f726020656e756d206f6620746869732070616c6c65742e1108000004080004001508083c70616c6c65745f6d756c7469736967204d756c7469736967102c426c6f636b4e756d62657201101c42616c616e63650118244163636f756e7449640100304d6178417070726f76616c7300001001107768656ee502015854696d65706f696e743c426c6f636b4e756d6265723e00011c6465706f73697418011c42616c616e63650001246465706f7369746f720001244163636f756e744964000124617070726f76616c731908018c426f756e6465645665633c4163636f756e7449642c204d6178417070726f76616c733e000019080c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e6465645665630804540100045300000400850101185665633c543e00001d080c3c70616c6c65745f6d756c74697369671870616c6c6574144572726f72040454000138404d696e696d756d5468726573686f6c640000047c5468726573686f6c64206d7573742062652032206f7220677265617465722e3c416c7265616479417070726f766564000104ac43616c6c20697320616c726561647920617070726f7665642062792074686973207369676e61746f72792e444e6f417070726f76616c734e65656465640002049c43616c6c20646f65736e2774206e65656420616e7920286d6f72652920617070726f76616c732e44546f6f4665775369676e61746f72696573000304a854686572652061726520746f6f20666577207369676e61746f7269657320696e20746865206c6973742e48546f6f4d616e795369676e61746f72696573000404ac54686572652061726520746f6f206d616e79207369676e61746f7269657320696e20746865206c6973742e545369676e61746f726965734f75744f664f726465720005040d01546865207369676e61746f7269657320776572652070726f7669646564206f7574206f66206f726465723b20746865792073686f756c64206265206f7264657265642e4c53656e646572496e5369676e61746f726965730006040d015468652073656e6465722077617320636f6e7461696e656420696e20746865206f74686572207369676e61746f726965733b2069742073686f756c646e27742062652e204e6f74466f756e64000704dc4d756c7469736967206f7065726174696f6e206e6f7420666f756e64207768656e20617474656d7074696e6720746f2063616e63656c2e204e6f744f776e65720008042d014f6e6c7920746865206163636f756e742074686174206f726967696e616c6c79206372656174656420746865206d756c74697369672069732061626c6520746f2063616e63656c2069742e2c4e6f54696d65706f696e740009041d014e6f2074696d65706f696e742077617320676976656e2c2079657420746865206d756c7469736967206f7065726174696f6e20697320616c726561647920756e6465727761792e3857726f6e6754696d65706f696e74000a042d014120646966666572656e742074696d65706f696e742077617320676976656e20746f20746865206d756c7469736967206f7065726174696f6e207468617420697320756e6465727761792e4c556e657870656374656454696d65706f696e74000b04f4412074696d65706f696e742077617320676976656e2c20796574206e6f206d756c7469736967206f7065726174696f6e20697320756e6465727761792e3c4d6178576569676874546f6f4c6f77000c04d0546865206d6178696d756d2077656967687420696e666f726d6174696f6e2070726f76696465642077617320746f6f206c6f772e34416c726561647953746f726564000d04a0546865206461746120746f2062652073746f72656420697320616c72656164792073746f7265642e048054686520604572726f726020656e756d206f6620746869732070616c6c65742e2108089070616c6c65745f656c656374696f6e5f70726f76696465725f6d756c74695f7068617365345265616479536f6c7574696f6e08244163636f756e74496400284d617857696e6e65727300000c0120737570706f72747325080198426f756e646564537570706f7274733c4163636f756e7449642c204d617857696e6e6572733e00011473636f7265bd030134456c656374696f6e53636f726500011c636f6d70757465a104013c456c656374696f6e436f6d70757465000025080c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e64656456656308045401cd03045300000400c90301185665633c543e00002908089070616c6c65745f656c656374696f6e5f70726f76696465725f6d756c74695f706861736534526f756e64536e617073686f7408244163636f756e7449640100304461746150726f7669646572012d0800080118766f74657273310801445665633c4461746150726f76696465723e00011c74617267657473850101385665633c4163636f756e7449643e00002d080000040c002c6d060031080000022d080035080c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e6465645665630804540139080453000004003d0801185665633c543e000039080000040cbd031010003d0800000239080041080c9070616c6c65745f656c656374696f6e5f70726f76696465725f6d756c74695f7068617365187369676e6564405369676e65645375626d697373696f6e0c244163636f756e74496401001c42616c616e6365011820536f6c7574696f6e01f1020010010c77686f0001244163636f756e74496400011c6465706f73697418011c42616c616e63650001307261775f736f6c7574696f6eed020154526177536f6c7574696f6e3c536f6c7574696f6e3e00012063616c6c5f66656518011c42616c616e6365000045080c9070616c6c65745f656c656374696f6e5f70726f76696465725f6d756c74695f70686173651870616c6c6574144572726f720404540001386850726544697370617463684561726c795375626d697373696f6e000004645375626d697373696f6e2077617320746f6f206561726c792e6c507265446973706174636857726f6e6757696e6e6572436f756e740001048857726f6e67206e756d626572206f662077696e6e6572732070726573656e7465642e6450726544697370617463685765616b5375626d697373696f6e000204905375626d697373696f6e2077617320746f6f207765616b2c2073636f72652d776973652e3c5369676e6564517565756546756c6c0003044901546865207175657565207761732066756c6c2c20616e642074686520736f6c7574696f6e20776173206e6f7420626574746572207468616e20616e79206f6620746865206578697374696e67206f6e65732e585369676e656443616e6e6f745061794465706f73697400040494546865206f726967696e206661696c656420746f2070617920746865206465706f7369742e505369676e6564496e76616c69645769746e657373000504a05769746e657373206461746120746f20646973706174636861626c6520697320696e76616c69642e4c5369676e6564546f6f4d756368576569676874000604b8546865207369676e6564207375626d697373696f6e20636f6e73756d657320746f6f206d756368207765696768743c4f637743616c6c57726f6e67457261000704984f4357207375626d697474656420736f6c7574696f6e20666f722077726f6e6720726f756e645c4d697373696e67536e617073686f744d65746164617461000804a8536e617073686f74206d657461646174612073686f756c6420657869737420627574206469646e27742e58496e76616c69645375626d697373696f6e496e646578000904d06053656c663a3a696e736572745f7375626d697373696f6e602072657475726e656420616e20696e76616c696420696e6465782e3843616c6c4e6f74416c6c6f776564000a04985468652063616c6c206973206e6f7420616c6c6f776564206174207468697320706f696e742e3846616c6c6261636b4661696c6564000b044c5468652066616c6c6261636b206661696c65642c426f756e644e6f744d6574000c0448536f6d6520626f756e64206e6f74206d657438546f6f4d616e7957696e6e657273000d049c5375626d697474656420736f6c7574696f6e2068617320746f6f206d616e792077696e6e657273040d014572726f72206f66207468652070616c6c657420746861742063616e2062652072657475726e656420696e20726573706f6e736520746f20646973706174636865732e49080c2873705f7374616b696e671c6f6666656e6365384f6666656e636544657461696c7308205265706f727465720100204f6666656e64657201b0000801206f6666656e646572b001204f6666656e6465720001247265706f7274657273850101345665633c5265706f727465723e00004d0800000408810234005108083c70616c6c65745f626f756e7469657318426f756e74790c244163636f756e74496401001c42616c616e636501182c426c6f636b4e756d62657201100018012070726f706f7365720001244163636f756e74496400011476616c756518011c42616c616e636500010c66656518011c42616c616e636500013c63757261746f725f6465706f73697418011c42616c616e6365000110626f6e6418011c42616c616e636500011873746174757355080190426f756e74795374617475733c4163636f756e7449642c20426c6f636b4e756d6265723e00005508083c70616c6c65745f626f756e7469657330426f756e747953746174757308244163636f756e74496401002c426c6f636b4e756d626572011001182050726f706f73656400000020417070726f7665640001001846756e6465640002003c43757261746f7250726f706f73656404011c63757261746f720001244163636f756e7449640003001841637469766508011c63757261746f720001244163636f756e7449640001287570646174655f64756510012c426c6f636b4e756d6265720004003450656e64696e675061796f75740c011c63757261746f720001244163636f756e74496400012c62656e65666963696172790001244163636f756e744964000124756e6c6f636b5f617410012c426c6f636b4e756d6265720005000059080c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e64656456656308045401080453000004003401185665633c543e00005d080c3c70616c6c65745f626f756e746965731870616c6c6574144572726f7208045400044900012c70496e73756666696369656e7450726f706f7365727342616c616e63650000047850726f706f73657227732062616c616e636520697320746f6f206c6f772e30496e76616c6964496e646578000104904e6f2070726f706f73616c206f7220626f756e7479206174207468617420696e6465782e30526561736f6e546f6f4269670002048454686520726561736f6e20676976656e206973206a75737420746f6f206269672e40556e65787065637465645374617475730003048054686520626f756e74792073746174757320697320756e65787065637465642e385265717569726543757261746f720004045c5265717569726520626f756e74792063757261746f722e30496e76616c696456616c756500050454496e76616c696420626f756e74792076616c75652e28496e76616c69644665650006044c496e76616c696420626f756e7479206665652e3450656e64696e675061796f75740007086c4120626f756e7479207061796f75742069732070656e64696e672ef8546f2063616e63656c2074686520626f756e74792c20796f75206d75737420756e61737369676e20616e6420736c617368207468652063757261746f722e245072656d6174757265000804450154686520626f756e746965732063616e6e6f7420626520636c61696d65642f636c6f73656420626563617573652069742773207374696c6c20696e2074686520636f756e74646f776e20706572696f642e504861734163746976654368696c64426f756e7479000904050154686520626f756e74792063616e6e6f7420626520636c6f73656420626563617573652069742068617320616374697665206368696c6420626f756e746965732e34546f6f4d616e79517565756564000a0498546f6f206d616e7920617070726f76616c732061726520616c7265616479207175657565642e048054686520604572726f726020656e756d206f6620746869732070616c6c65742e6108085470616c6c65745f6368696c645f626f756e746965732c4368696c64426f756e74790c244163636f756e74496401001c42616c616e636501182c426c6f636b4e756d626572011000140134706172656e745f626f756e747910012c426f756e7479496e64657800011476616c756518011c42616c616e636500010c66656518011c42616c616e636500013c63757261746f725f6465706f73697418011c42616c616e6365000118737461747573650801a44368696c64426f756e74795374617475733c4163636f756e7449642c20426c6f636b4e756d6265723e00006508085470616c6c65745f6368696c645f626f756e74696573444368696c64426f756e747953746174757308244163636f756e74496401002c426c6f636b4e756d626572011001101441646465640000003c43757261746f7250726f706f73656404011c63757261746f720001244163636f756e7449640001001841637469766504011c63757261746f720001244163636f756e7449640002003450656e64696e675061796f75740c011c63757261746f720001244163636f756e74496400012c62656e65666963696172790001244163636f756e744964000124756e6c6f636b5f617410012c426c6f636b4e756d6265720003000069080c5470616c6c65745f6368696c645f626f756e746965731870616c6c6574144572726f7204045400010c54506172656e74426f756e74794e6f74416374697665000004a454686520706172656e7420626f756e7479206973206e6f7420696e206163746976652073746174652e64496e73756666696369656e74426f756e747942616c616e6365000104e454686520626f756e74792062616c616e6365206973206e6f7420656e6f75676820746f20616464206e6577206368696c642d626f756e74792e50546f6f4d616e794368696c64426f756e746965730002040d014e756d626572206f66206368696c6420626f756e746965732065786365656473206c696d697420604d61784163746976654368696c64426f756e7479436f756e74602e048054686520604572726f726020656e756d206f6620746869732070616c6c65742e6d08085c70616c6c65745f6e6f6d696e6174696f6e5f706f6f6c7328506f6f6c4d656d626572040454000010011c706f6f6c5f6964100118506f6f6c4964000118706f696e747318013042616c616e63654f663c543e0001706c6173745f7265636f726465645f7265776172645f636f756e74657229060140543a3a526577617264436f756e746572000138756e626f6e64696e675f65726173710801e0426f756e64656442547265654d61703c457261496e6465782c2042616c616e63654f663c543e2c20543a3a4d6178556e626f6e64696e673e000071080c4c626f756e6465645f636f6c6c656374696f6e7344626f756e6465645f62747265655f6d61703c426f756e64656442547265654d61700c044b0110045601180453000004007508013842547265654d61703c4b2c20563e00007508042042547265654d617008044b01100456011800040045070000007908085c70616c6c65745f6e6f6d696e6174696f6e5f706f6f6c733c426f6e646564506f6f6c496e6e65720404540000140128636f6d6d697373696f6e7d080134436f6d6d697373696f6e3c543e0001386d656d6265725f636f756e74657210010c753332000118706f696e747318013042616c616e63654f663c543e000114726f6c65738908015c506f6f6c526f6c65733c543a3a4163636f756e7449643e0001147374617465ed030124506f6f6c537461746500007d08085c70616c6c65745f6e6f6d696e6174696f6e5f706f6f6c7328436f6d6d697373696f6e040454000010011c63757272656e740504017c4f7074696f6e3c2850657262696c6c2c20543a3a4163636f756e744964293e00010c6d61788108013c4f7074696f6e3c50657262696c6c3e00012c6368616e67655f72617465850801bc4f7074696f6e3c436f6d6d697373696f6e4368616e6765526174653c426c6f636b4e756d626572466f723c543e3e3e0001347468726f74746c655f66726f6dd50101644f7074696f6e3c426c6f636b4e756d626572466f723c543e3e0000810804184f7074696f6e04045401cc0108104e6f6e6500000010536f6d650400cc0000010000850804184f7074696f6e040454010d040108104e6f6e6500000010536f6d6504000d0400000100008908085c70616c6c65745f6e6f6d696e6174696f6e5f706f6f6c7324506f6f6c526f6c657304244163636f756e7449640100001001246465706f7369746f720001244163636f756e744964000110726f6f74450401444f7074696f6e3c4163636f756e7449643e0001246e6f6d696e61746f72450401444f7074696f6e3c4163636f756e7449643e00011c626f756e636572450401444f7074696f6e3c4163636f756e7449643e00008d08085c70616c6c65745f6e6f6d696e6174696f6e5f706f6f6c7328526577617264506f6f6c04045400001401706c6173745f7265636f726465645f7265776172645f636f756e74657229060140543a3a526577617264436f756e74657200016c6c6173745f7265636f726465645f746f74616c5f7061796f75747318013042616c616e63654f663c543e000154746f74616c5f726577617264735f636c61696d656418013042616c616e63654f663c543e000160746f74616c5f636f6d6d697373696f6e5f70656e64696e6718013042616c616e63654f663c543e000160746f74616c5f636f6d6d697373696f6e5f636c61696d656418013042616c616e63654f663c543e00009108085c70616c6c65745f6e6f6d696e6174696f6e5f706f6f6c7320537562506f6f6c7304045400000801186e6f5f65726195080134556e626f6e64506f6f6c3c543e000120776974685f6572619908010101426f756e64656442547265654d61703c457261496e6465782c20556e626f6e64506f6f6c3c543e2c20546f74616c556e626f6e64696e67506f6f6c733c543e3e00009508085c70616c6c65745f6e6f6d696e6174696f6e5f706f6f6c7328556e626f6e64506f6f6c0404540000080118706f696e747318013042616c616e63654f663c543e00011c62616c616e636518013042616c616e63654f663c543e000099080c4c626f756e6465645f636f6c6c656374696f6e7344626f756e6465645f62747265655f6d61703c426f756e64656442547265654d61700c044b011004560195080453000004009d08013842547265654d61703c4b2c20563e00009d08042042547265654d617008044b01100456019508000400a108000000a108000002a50800a5080000040810950800a9080c4c626f756e6465645f636f6c6c656374696f6e732c626f756e6465645f76656328426f756e64656456656308045401080453000004003401185665633c543e0000ad080c5c70616c6c65745f6e6f6d696e6174696f6e5f706f6f6c731870616c6c6574144572726f7204045400018030506f6f6c4e6f74466f756e6400000488412028626f6e6465642920706f6f6c20696420646f6573206e6f742065786973742e48506f6f6c4d656d6265724e6f74466f756e640001046c416e206163636f756e74206973206e6f742061206d656d6265722e48526577617264506f6f6c4e6f74466f756e640002042101412072657761726420706f6f6c20646f6573206e6f742065786973742e20496e20616c6c206361736573207468697320697320612073797374656d206c6f676963206572726f722e40537562506f6f6c734e6f74466f756e6400030468412073756220706f6f6c20646f6573206e6f742065786973742e644163636f756e7442656c6f6e6773546f4f74686572506f6f6c0004084d01416e206163636f756e7420697320616c72656164792064656c65676174696e6720696e20616e6f7468657220706f6f6c2e20416e206163636f756e74206d6179206f6e6c792062656c6f6e6720746f206f6e653c706f6f6c20617420612074696d652e3846756c6c79556e626f6e64696e670005083d01546865206d656d6265722069732066756c6c7920756e626f6e6465642028616e6420746875732063616e6e6f74206163636573732074686520626f6e64656420616e642072657761726420706f6f6ca8616e796d6f726520746f2c20666f72206578616d706c652c20636f6c6c6563742072657761726473292e444d6178556e626f6e64696e674c696d69740006040901546865206d656d6265722063616e6e6f7420756e626f6e642066757274686572206368756e6b732064756520746f207265616368696e6720746865206c696d69742e4443616e6e6f745769746864726177416e790007044d014e6f6e65206f66207468652066756e64732063616e2062652077697468647261776e2079657420626563617573652074686520626f6e64696e67206475726174696f6e20686173206e6f74207061737365642e444d696e696d756d426f6e644e6f744d6574000814290154686520616d6f756e7420646f6573206e6f74206d65657420746865206d696e696d756d20626f6e6420746f20656974686572206a6f696e206f7220637265617465206120706f6f6c2e005501546865206465706f7369746f722063616e206e6576657220756e626f6e6420746f20612076616c7565206c657373207468616e206050616c6c65743a3a6465706f7369746f725f6d696e5f626f6e64602e205468655d0163616c6c657220646f6573206e6f742068617665206e6f6d696e6174696e67207065726d697373696f6e7320666f722074686520706f6f6c2e204d656d626572732063616e206e6576657220756e626f6e6420746f20616876616c75652062656c6f7720604d696e4a6f696e426f6e64602e304f766572666c6f775269736b0009042101546865207472616e73616374696f6e20636f756c64206e6f742062652065786563757465642064756520746f206f766572666c6f77207269736b20666f722074686520706f6f6c2e344e6f7444657374726f79696e67000a085d014120706f6f6c206d75737420626520696e205b60506f6f6c53746174653a3a44657374726f79696e67605d20696e206f7264657220666f7220746865206465706f7369746f7220746f20756e626f6e64206f7220666f72b86f74686572206d656d6265727320746f206265207065726d697373696f6e6c6573736c7920756e626f6e6465642e304e6f744e6f6d696e61746f72000b04f45468652063616c6c657220646f6573206e6f742068617665206e6f6d696e6174696e67207065726d697373696f6e7320666f722074686520706f6f6c2e544e6f744b69636b65724f7244657374726f79696e67000c043d01456974686572206129207468652063616c6c65722063616e6e6f74206d616b6520612076616c6964206b69636b206f722062292074686520706f6f6c206973206e6f742064657374726f79696e672e1c4e6f744f70656e000d047054686520706f6f6c206973206e6f74206f70656e20746f206a6f696e204d6178506f6f6c73000e04845468652073797374656d206973206d61786564206f7574206f6e20706f6f6c732e384d6178506f6f6c4d656d62657273000f049c546f6f206d616e79206d656d6265727320696e2074686520706f6f6c206f722073797374656d2e4443616e4e6f744368616e676553746174650010048854686520706f6f6c732073746174652063616e6e6f74206265206368616e6765642e54446f65734e6f74486176655065726d697373696f6e001104b85468652063616c6c657220646f6573206e6f742068617665206164657175617465207065726d697373696f6e732e544d65746164617461457863656564734d61784c656e001204ac4d657461646174612065786365656473205b60436f6e6669673a3a4d61784d657461646174614c656e605d24446566656e736976650400b1080138446566656e736976654572726f720013083101536f6d65206572726f72206f6363757272656420746861742073686f756c64206e657665722068617070656e2e20546869732073686f756c64206265207265706f7274656420746f20746865306d61696e7461696e6572732e9c5061727469616c556e626f6e644e6f74416c6c6f7765645065726d697373696f6e6c6573736c79001404bc5061727469616c20756e626f6e64696e67206e6f7720616c6c6f776564207065726d697373696f6e6c6573736c792e5c4d6178436f6d6d697373696f6e526573747269637465640015041d0154686520706f6f6c2773206d617820636f6d6d697373696f6e2063616e6e6f742062652073657420686967686572207468616e20746865206578697374696e672076616c75652e60436f6d6d697373696f6e457863656564734d6178696d756d001604ec54686520737570706c69656420636f6d6d697373696f6e206578636565647320746865206d617820616c6c6f77656420636f6d6d697373696f6e2e78436f6d6d697373696f6e45786365656473476c6f62616c4d6178696d756d001704e854686520737570706c69656420636f6d6d697373696f6e206578636565647320676c6f62616c206d6178696d756d20636f6d6d697373696f6e2e64436f6d6d697373696f6e4368616e67655468726f74746c656400180409014e6f7420656e6f75676820626c6f636b732068617665207375727061737365642073696e636520746865206c61737420636f6d6d697373696f6e207570646174652e78436f6d6d697373696f6e4368616e6765526174654e6f74416c6c6f7765640019040101546865207375626d6974746564206368616e67657320746f20636f6d6d697373696f6e206368616e6765207261746520617265206e6f7420616c6c6f7765642e4c4e6f50656e64696e67436f6d6d697373696f6e001a04a05468657265206973206e6f2070656e64696e6720636f6d6d697373696f6e20746f20636c61696d2e584e6f436f6d6d697373696f6e43757272656e74536574001b048c4e6f20636f6d6d697373696f6e2063757272656e7420686173206265656e207365742e2c506f6f6c4964496e557365001c0464506f6f6c2069642063757272656e746c7920696e207573652e34496e76616c6964506f6f6c4964001d049c506f6f6c2069642070726f7669646564206973206e6f7420636f72726563742f757361626c652e4c426f6e64457874726152657374726963746564001e04fc426f6e64696e67206578747261206973207265737472696374656420746f207468652065786163742070656e64696e672072657761726420616d6f756e742e3c4e6f7468696e67546f41646a757374001f04b04e6f20696d62616c616e636520696e20746865204544206465706f73697420666f722074686520706f6f6c2e048054686520604572726f726020656e756d206f6620746869732070616c6c65742eb1080c5c70616c6c65745f6e6f6d696e6174696f6e5f706f6f6c731870616c6c657438446566656e736976654572726f72000114684e6f74456e6f7567685370616365496e556e626f6e64506f6f6c00000030506f6f6c4e6f74466f756e6400010048526577617264506f6f6c4e6f74466f756e6400020040537562506f6f6c734e6f74466f756e6400030070426f6e64656453746173684b696c6c65645072656d61747572656c7900040000b5081024676561725f636f726510636f646530696e737472756d656e74656440496e737472756d656e746564436f646500001c0110636f646534011c5665633c75383e0001446f726967696e616c5f636f64655f6c656e10010c75333200011c6578706f727473b908015842547265655365743c44697370617463684b696e643e0001307374617469635f7061676573c508013c5761736d5061676573416d6f756e74000124737461636b5f656e64c90801404f7074696f6e3c5761736d506167653e000168696e7374616e7469617465645f73656374696f6e5f73697a6573d1080160496e7374616e74696174656453656374696f6e53697a657300011c76657273696f6e10010c7533320000b9080420425472656553657404045401bd08000400c108000000bd080c24676561725f636f72651c6d6573736167653044697370617463684b696e6400011010496e69740000001848616e646c65000100145265706c79000200185369676e616c00030000c108000002bd0800c5080c24676561725f636f72651470616765732c5061676573416d6f756e740000040010010c7533320000c90804184f7074696f6e04045401cd080108104e6f6e6500000010536f6d650400cd080000010000cd080c24676561725f636f726514706167657310506167650000040010010c7533320000d1081024676561725f636f726510636f646530696e737472756d656e74656460496e7374616e74696174656453656374696f6e53697a65730000180130636f64655f73656374696f6e10010c753332000130646174615f73656374696f6e10010c753332000138676c6f62616c5f73656374696f6e10010c7533320001347461626c655f73656374696f6e10010c75333200013c656c656d656e745f73656374696f6e10010c753332000130747970655f73656374696f6e10010c7533320000d508082c676561725f636f6d6d6f6e30436f64654d657461646174610000080118617574686f7230011048323536000130626c6f636b5f6e756d6265722901010c7533320000d9080c246e756d657261746564107472656534496e74657276616c735472656504045401cd0800040114696e6e6572dd08013842547265654d61703c542c20543e0000dd08042042547265654d617008044b01cd08045601cd08000400e108000000e108000002e50800e50800000408cd08cd0800e9080c24676561725f636f72651c70726f6772616d1c50726f6772616d042c426c6f636b4e756d6265720110010c184163746976650400ed08016841637469766550726f6772616d3c426c6f636b4e756d6265723e0000001845786974656404001904012450726f6772616d4964000100285465726d696e6174656404001904012450726f6772616d496400020000ed080c24676561725f636f72651c70726f6772616d3441637469766550726f6772616d042c426c6f636b4e756d626572011000200150616c6c6f636174696f6e735f747265655f6c656e10010c7533320001306d656d6f72795f696e666978f108012c4d656d6f7279496e66697800014c6761735f7265736572766174696f6e5f6d6170f50801444761735265736572766174696f6e4d6170000124636f64655f6861736830011048323536000130636f64655f6578706f727473b908015842547265655365743c44697370617463684b696e643e0001307374617469635f7061676573c508013c5761736d5061676573416d6f756e7400011473746174650509013050726f6772616d537461746500014065787069726174696f6e5f626c6f636b10012c426c6f636b4e756d6265720000f1080c24676561725f636f72651c70726f6772616d2c4d656d6f7279496e6669780000040010010c7533320000f508042042547265654d617008044b011105045601f908000400fd08000000f9080c24676561725f636f72652c7265736572766174696f6e484761735265736572766174696f6e536c6f7400000c0118616d6f756e742c010c753634000114737461727410010c75333200011866696e69736810010c7533320000fd080000020109000109000004081105f9080005090c24676561725f636f72651c70726f6772616d3050726f6772616d537461746500010834556e696e697469616c697a65640401286d6573736167655f69641d0401244d65737361676549640000002c496e697469616c697a65640001000009090000040c1904f1080d09000d090c24676561725f636f726514706167657310506167650000040010010c753332000011090c24676561725f636f7265186d656d6f72791c50616765427566000004001509013050616765427566496e6e6572000015090c24676561725f636f726518627566666572284c696d69746564566563080454010804450119090004003401185665633c543e000019090c24676561725f636f7265186d656d6f727940496e746f506167654275664572726f72000000001d090c4c70616c6c65745f676561725f70726f6772616d1870616c6c6574144572726f72040454000114344475706c69636174654974656d0000003c50726f6772616d4e6f74466f756e64000100404e6f7441637469766550726f6772616d0002005443616e6e6f7446696e6444617461466f72506167650003004c50726f6772616d436f64654e6f74466f756e64000400048054686520604572726f726020656e756d206f6620746869732070616c6c65742e2109142c676561725f636f6d6d6f6e1c73746f726167652c636f6d706c6963617465641c64657175657565284c696e6b65644e6f646508044b011d040456012509000801106e657874590901244f7074696f6e3c4b3e00011476616c75652509010456000025091024676561725f636f72651c6d6573736167651873746f7265643853746f726564446973706174636800000c01106b696e64bd08013044697370617463684b696e6400011c6d6573736167652909013453746f7265644d65737361676500011c636f6e746578743d0901504f7074696f6e3c436f6e7465787453746f72653e000029091024676561725f636f72651c6d6573736167651873746f7265643453746f7265644d657373616765000018010869641d0401244d6573736167654964000118736f757263651904012450726f6772616d496400012c64657374696e6174696f6e1904012450726f6772616d496400011c7061796c6f6164c904011c5061796c6f616400011476616c7565b8011456616c756500011c64657461696c732d0901584f7074696f6e3c4d65737361676544657461696c733e00002d0904184f7074696f6e0404540131090108104e6f6e6500000010536f6d6504003109000001000031091024676561725f636f72651c6d65737361676518636f6d6d6f6e384d65737361676544657461696c73000108145265706c790400d50401305265706c7944657461696c73000000185369676e616c0400350901345369676e616c44657461696c730001000035091024676561725f636f72651c6d65737361676518636f6d6d6f6e345369676e616c44657461696c730000080108746f1d0401244d6573736167654964000110636f6465390901285369676e616c436f6465000039090c40676561725f636f72655f6572726f72731873696d706c65285369676e616c436f646500010824457865637574696f6e0400e504015053696d706c65457865637574696f6e4572726f720000004c52656d6f76656446726f6d576169746c697374000100003d0904184f7074696f6e0404540141090108104e6f6e6500000010536f6d6504004109000001000041091024676561725f636f72651c6d6573736167651c636f6e7465787430436f6e7465787453746f726500001401206f7574676f696e674509017842547265654d61703c7533322c204f7074696f6e3c5061796c6f61643e3e0001147265706c794909013c4f7074696f6e3c5061796c6f61643e00012c696e697469616c697a65643504014c42547265655365743c50726f6772616d49643e0001447265736572766174696f6e5f6e6f6e6365550901405265736572766174696f6e4e6f6e636500014873797374656d5f7265736572766174696f6e2104012c4f7074696f6e3c7536343e00004509042042547265654d617008044b011004560149090004004d09000000490904184f7074696f6e04045401c9040108104e6f6e6500000010536f6d650400c90400000100004d090000025109005109000004081049090055090c24676561725f636f72652c7265736572766174696f6e405265736572766174696f6e4e6f6e6365000004002c010c7536340000590904184f7074696f6e040454011d040108104e6f6e6500000010536f6d6504001d0400000100005d0900000408001d0400610900000408650969090065091024676561725f636f72651c6d6573736167651075736572445573657253746f7265644d657373616765000014010869641d0401244d6573736167654964000118736f757263651904012450726f6772616d496400012c64657374696e6174696f6e1904012450726f6772616d496400011c7061796c6f6164c904011c5061796c6f616400011476616c7565b8011456616c756500006909102c676561725f636f6d6d6f6e1c73746f72616765287072696d69746976657320496e74657276616c04045401100008011473746172741001045400011866696e6973681001045400006d090000040819041d04007109000004082509690900750900000408790969090079091024676561725f636f72651c6d6573736167651873746f7265645453746f72656444656c61796564446973706174636800000801106b696e64bd08013044697370617463684b696e6400011c6d6573736167652909013453746f7265644d65737361676500007d090c5470616c6c65745f676561725f6d657373656e6765721870616c6c6574144572726f720404540001304451756575654475706c69636174654b6579000004b84f6363757273207768656e20676976656e206b657920616c72656164792065786973747320696e2071756575652e505175657565456c656d656e744e6f74466f756e64000104d04f6363757273207768656e207175657565277320656c656d656e74207761736e277420666f756e6420696e2073746f726167652e5051756575654865616453686f756c644265536574000208b84f6363757273207768656e207175657565277320686561642073686f756c6420636f6e7461696e2076616c75652c7c627574206974277320656d70747920666f7220736f6d6520726561736f6e2e5c51756575654865616453686f756c644e6f744265536574000308a44f6363757273207768656e207175657565277320686561642073686f756c6420626520656d7074792c9862757420697420636f6e7461696e732076616c756520666f7220736f6d6520726561736f6e2e4c51756575655461696c4861734e6578744b6579000408b84f6363757273207768656e2071756575652773207461696c20656c656d656e7420636f6e7461696e73206c696e6b50746f20746865206e65787420656c656d656e742e5c51756575655461696c506172656e744e6f74466f756e64000508b44f6363757273207768656e207768696c6520736561726368696e672071756575652773207072652d7461696c2c54656c656d656e74207761736e277420666f756e642e5051756575655461696c53686f756c644265536574000608b84f6363757273207768656e2071756575652773207461696c2073686f756c6420636f6e7461696e2076616c75652c7c627574206974277320656d70747920666f7220736f6d6520726561736f6e2e5c51756575655461696c53686f756c644e6f744265536574000708a44f6363757273207768656e2071756575652773207461696c2073686f756c6420626520656d7074792c9862757420697420636f6e7461696e732076616c756520666f7220736f6d6520726561736f6e2e4c4d61696c626f784475706c69636174654b6579000804c84f6363757273207768656e20676976656e2076616c756520616c72656164792065786973747320696e206d61696c626f782e584d61696c626f78456c656d656e744e6f74466f756e64000904d84f6363757273207768656e206d61696c626f78277320656c656d656e74207761736e277420666f756e6420696e2073746f726167652e50576169746c6973744475706c69636174654b6579000a04cc4f6363757273207768656e20676976656e2076616c756520616c72656164792065786973747320696e20776169746c6973742e5c576169746c697374456c656d656e744e6f74466f756e64000b04dc4f6363757273207768656e20776169746c697374277320656c656d656e74207761736e277420666f756e6420696e2073746f726167652e048054686520604572726f726020656e756d206f6620746869732070616c6c65742e8109000004081085090085090c24676561725f636f7265147461736b73345363686564756c65645461736b04244163636f756e7449640100012830506175736550726f6772616d04001904012450726f6772616d49640000002852656d6f7665436f6465040015040118436f646549640001004452656d6f766546726f6d4d61696c626f7808000001244163636f756e74496400001d0401244d65737361676549640002004852656d6f766546726f6d576169746c69737408001904012450726f6772616d496400001d0401244d65737361676549640003004c52656d6f766550617573656450726f6772616d04001904012450726f6772616d49640004002c57616b654d65737361676508001904012450726f6772616d496400001d0401244d65737361676549640005003053656e64446973706174636804001d0401244d65737361676549640006003c53656e64557365724d6573736167650801286d6573736167655f69641d0401244d6573736167654964000128746f5f6d61696c626f78d80110626f6f6c0007005052656d6f76654761735265736572766174696f6e08001904012450726f6772616d49640000110501345265736572766174696f6e49640008004c52656d6f7665526573756d6553657373696f6e040010010c7533320009000089090c5470616c6c65745f676561725f7363686564756c65721870616c6c6574144572726f72040454000108344475706c69636174655461736b000004cc4f6363757273207768656e20676976656e207461736b20616c72656164792065786973747320696e207461736b20706f6f6c2e305461736b4e6f74466f756e64000104a44f6363757273207768656e207461736b207761736e277420666f756e6420696e2073746f726167652e048054686520604572726f726020656e756d206f6620746869732070616c6c65742e8d09102c676561725f636f6d6d6f6e306761735f70726f7669646572106e6f64651c4761734e6f6465102845787465726e616c49640100084964010d051c42616c616e6365012c1446756e6473011801142045787465726e616c200108696400012845787465726e616c49640001286d756c7469706c696572910901744761734d756c7469706c6965723c46756e64732c2042616c616e63653e00011476616c75652c011c42616c616e63650001106c6f636b950901444e6f64654c6f636b3c42616c616e63653e00013873797374656d5f726573657276652c011c42616c616e6365000110726566739d0901304368696c6472656e52656673000120636f6e73756d6564d80110626f6f6c00011c6465706f736974d80110626f6f6c0000000c437574100108696400012845787465726e616c49640001286d756c7469706c696572910901744761734d756c7469706c6965723c46756e64732c2042616c616e63653e00011476616c75652c011c42616c616e63650001106c6f636b950901444e6f64654c6f636b3c42616c616e63653e000100205265736572766564180108696400012845787465726e616c49640001286d756c7469706c696572910901744761734d756c7469706c6965723c46756e64732c2042616c616e63653e00011476616c75652c011c42616c616e63650001106c6f636b950901444e6f64654c6f636b3c42616c616e63653e000110726566739d0901304368696c6472656e52656673000120636f6e73756d6564d80110626f6f6c000200385370656369666965644c6f63616c1c0118706172656e740d0501084964000110726f6f740d050108496400011476616c75652c011c42616c616e63650001106c6f636b950901444e6f64654c6f636b3c42616c616e63653e00013873797374656d5f726573657276652c011c42616c616e6365000110726566739d0901304368696c6472656e52656673000120636f6e73756d6564d80110626f6f6c00030040556e7370656369666965644c6f63616c100118706172656e740d0501084964000110726f6f740d05010849640001106c6f636b950901444e6f64654c6f636b3c42616c616e63653e00013873797374656d5f726573657276652c011c42616c616e6365000400009109082c676561725f636f6d6d6f6e344761734d756c7469706c696572081c42616c616e636501180c476173012c01082c56616c7565506572476173040018011c42616c616e63650000002c47617350657256616c756504002c010c476173000100009509102c676561725f636f6d6d6f6e306761735f70726f7669646572106e6f6465204e6f64654c6f636b041c42616c616e6365012c000400990901885b42616c616e63653b2063617264696e616c6974793a3a3c4c6f636b49643e28295d00009909000003040000002c009d09102c676561725f636f6d6d6f6e306761735f70726f7669646572106e6f6465304368696c6472656e526566730000080124737065635f7265667310010c75333200012c756e737065635f7265667310010c7533320000a1090c3c70616c6c65745f676561725f6761731870616c6c6574144572726f7204045400014024466f7262696464656e000000444e6f6465416c72656164794578697374730001004c496e73756666696369656e7442616c616e6365000200304e6f64654e6f74466f756e640003003c4e6f6465576173436f6e73756d656400040030506172656e7449734c6f7374000504c44572726f72732073746174696e67207468617420676173207472656520686173206265656e20696e76616c6964617465644c506172656e744861734e6f4368696c6472656e0006005c556e6578706563746564436f6e73756d654f7574707574000714e44f7574707574206f662060547265653a3a636f6e73756d65602070726f6365647572652074686174207761736e27742065787065637465642e0019014f757470757473206f6620636f6e73756d7074696f6e2070726f636564757265206172652064657465726d696e65642e20546865206572726f722069732072657475726e656419017768656e20756e6578706563746564206f6e65206f636375727265642e2054686174207369676e616c732c207468617420616c676f726974686d20776f726b732077726f6e67a0616e6420657870656374656420696e76617269616e747320617265206e6f7420636f72726563742e48556e65787065637465644e6f646554797065000804c44e6f6465207479706520746861742063616e2774206f6363757220696620616c676f726974686d20776f726b2077656c6c4056616c756549734e6f74436175676874000904910156616c7565206d7573742068617665206265656e206361756768742c2062757420776173206d6973736564206f7220626c6f636b65642028666f72206d6f726520696e666f20736565206056616c75654e6f64653a3a63617463685f76616c756560292e3856616c75654973426c6f636b6564000a04b10156616c7565206d7573742068617665206265656e20636175676874206f72206d6f76656420757073747265616d2c206275742077617320626c6f636b65642028666f72206d6f726520696e666f20736565206056616c75654e6f64653a3a63617463685f76616c756560292e4456616c756549734e6f74426c6f636b6564000b04a90156616c7565206d7573742068617665206265656e20626c6f636b65642c206275742077617320656974686572206d6f766564206f72206361756768742028666f72206d6f726520696e666f20736565206056616c75654e6f64653a3a63617463685f76616c756560292e40436f6e73756d6564576974684c6f636b000c04050160476173547265653a3a636f6e73756d65602063616c6c6564206f6e206e6f64652c2077686963682068617320736f6d652062616c616e6365206c6f636b65642e74436f6e73756d65645769746853797374656d5265736572766174696f6e000d04150160476173547265653a3a636f6e73756d65602063616c6c6564206f6e206e6f64652c2077686963682068617320736f6d652073797374656d207265736572766174696f6e2e58546f74616c56616c756549734f766572666c6f776564000e08e860476173547265653a3a637265617465602063616c6c6564207769746820736f6d652076616c756520616d6f756e74206c656164696e6720746f6474686520746f74616c2076616c7565206f766572666c6f772e5c546f74616c56616c75654973556e646572666c6f776564000f081d014569746865722060476173547265653a3a636f6e73756d6560206f722060476173547265653a3a7370656e74602063616c6c6564206f6e2061206e6f6465206372656174696e67fc6e6567617469766520696d62616c616e6365207768696368206c6561647320746f2074686520746f74616c2076616c75652064726f702062656c6f7720302e048054686520604572726f726020656e756d206f6620746869732070616c6c65742ea5090c2c70616c6c65745f67656172207363686564756c65205363686564756c6504045400002c01186c696d697473a90901184c696d69747300014c696e737472756374696f6e5f77656967687473ad090154496e737472756374696f6e576569676874733c543e00013c73797363616c6c5f77656967687473b109014453797363616c6c576569676874733c543e0001386d656d6f72795f77656967687473b50901404d656d6f7279576569676874733c543e00013072656e745f77656967687473b909013852656e74576569676874733c543e00012864625f77656967687473bd0901304462576569676874733c543e0001307461736b5f77656967687473c10901385461736b576569676874733c543e000154696e7374616e74696174696f6e5f77656967687473c509015c496e7374616e74696174696f6e576569676874733c543e000164636f64655f696e737472756d656e746174696f6e5f636f7374240118576569676874000178636f64655f696e737472756d656e746174696f6e5f627974655f636f737424011857656967687400015c6c6f61645f616c6c6f636174696f6e735f7765696768742401185765696768740000a9090c2c70616c6c65745f67656172207363686564756c65184c696d6974730000340130737461636b5f686569676874d501012c4f7074696f6e3c7533323e00011c676c6f62616c7310010c7533320001186c6f63616c7310010c753332000128706172616d657465727310010c7533320001306d656d6f72795f7061676573fc010c7531360001287461626c655f73697a6510010c7533320001307461626c655f6e756d62657210010c75333200013462725f7461626c655f73697a6510010c75333200012c7375626a6563745f6c656e10010c75333200012863616c6c5f646570746810010c75333200012c7061796c6f61645f6c656e10010c753332000120636f64655f6c656e10010c753332000150646174615f7365676d656e74735f616d6f756e7410010c7533320000ad090c2c70616c6c65745f67656172207363686564756c6548496e737472756374696f6e5765696768747304045400006101011c76657273696f6e10010c753332000120693634636f6e737410010c75333200011c6936346c6f616410010c75333200011c6933326c6f616410010c75333200012069363473746f726510010c75333200012069333273746f726510010c75333200011873656c65637410010c7533320001107223696610010c753332000108627210010c75333200011462725f696610010c75333200012062725f7461626c6510010c75333200014862725f7461626c655f7065725f656e74727910010c75333200011063616c6c10010c75333200013463616c6c5f696e64697265637410010c75333200015c63616c6c5f696e6469726563745f7065725f706172616d10010c75333200013863616c6c5f7065725f6c6f63616c10010c7533320001246c6f63616c5f67657410010c7533320001246c6f63616c5f73657410010c7533320001246c6f63616c5f74656510010c753332000128676c6f62616c5f67657410010c753332000128676c6f62616c5f73657410010c7533320001386d656d6f72795f63757272656e7410010c753332000118693634636c7a10010c753332000118693332636c7a10010c75333200011869363463747a10010c75333200011869333263747a10010c753332000124693634706f70636e7410010c753332000124693332706f70636e7410010c75333200011869363465717a10010c75333200011869333265717a10010c75333200012c693332657874656e64387310010c753332000130693332657874656e6431367310010c75333200012c693634657874656e64387310010c753332000130693634657874656e6431367310010c753332000130693634657874656e6433327310010c753332000134693634657874656e647369333210010c753332000134693634657874656e647569333210010c7533320001286933327772617069363410010c753332000114693634657110010c753332000114693332657110010c7533320001146936346e6510010c7533320001146933326e6510010c7533320001186936346c747310010c7533320001186933326c747310010c7533320001186936346c747510010c7533320001186933326c747510010c75333200011869363467747310010c75333200011869333267747310010c75333200011869363467747510010c75333200011869333267747510010c7533320001186936346c657310010c7533320001186933326c657310010c7533320001186936346c657510010c7533320001186933326c657510010c75333200011869363467657310010c75333200011869333267657310010c75333200011869363467657510010c75333200011869333267657510010c75333200011869363461646410010c75333200011869333261646410010c75333200011869363473756210010c75333200011869333273756210010c7533320001186936346d756c10010c7533320001186933326d756c10010c75333200011c6936346469767310010c75333200011c6933326469767310010c75333200011c6936346469767510010c75333200011c6933326469767510010c75333200011c69363472656d7310010c75333200011c69333272656d7310010c75333200011c69363472656d7510010c75333200011c69333272656d7510010c753332000118693634616e6410010c753332000118693332616e6410010c7533320001146936346f7210010c7533320001146933326f7210010c753332000118693634786f7210010c753332000118693332786f7210010c75333200011869363473686c10010c75333200011869333273686c10010c75333200011c6936347368727310010c75333200011c6933327368727310010c75333200011c6936347368727510010c75333200011c6933327368727510010c75333200011c693634726f746c10010c75333200011c693332726f746c10010c75333200011c693634726f747210010c75333200011c693332726f747210010c7533320000b1090c2c70616c6c65745f67656172207363686564756c653853797363616c6c57656967687473040454000019010114616c6c6f6324011857656967687400011066726565240118576569676874000128667265655f72616e676524011857656967687400014c667265655f72616e67655f7065725f7061676524011857656967687400013867725f726573657276655f67617324011857656967687400014067725f756e726573657276655f67617324011857656967687400015467725f73797374656d5f726573657276655f67617324011857656967687400014067725f6761735f617661696c61626c6524011857656967687400013467725f6d6573736167655f696424011857656967687400013467725f70726f6772616d5f696424011857656967687400012467725f736f7572636524011857656967687400012067725f76616c756524011857656967687400014867725f76616c75655f617661696c61626c6524011857656967687400011c67725f73697a6524011857656967687400011c67725f7265616424011857656967687400014067725f726561645f7065725f6279746524011857656967687400012c67725f656e765f7661727324011857656967687400013c67725f626c6f636b5f68656967687424011857656967687400014867725f626c6f636b5f74696d657374616d7024011857656967687400012467725f72616e646f6d24011857656967687400014067725f7265706c795f6465706f73697424011857656967687400011c67725f73656e6424011857656967687400014067725f73656e645f7065725f6279746524011857656967687400013067725f73656e645f7767617324011857656967687400015467725f73656e645f776761735f7065725f6279746524011857656967687400013067725f73656e645f696e697424011857656967687400013067725f73656e645f7075736824011857656967687400015467725f73656e645f707573685f7065725f6279746524011857656967687400013867725f73656e645f636f6d6d697424011857656967687400014c67725f73656e645f636f6d6d69745f7767617324011857656967687400014c67725f7265736572766174696f6e5f73656e6424011857656967687400017067725f7265736572766174696f6e5f73656e645f7065725f6279746524011857656967687400016867725f7265736572766174696f6e5f73656e645f636f6d6d697424011857656967687400013c67725f7265706c795f636f6d6d697424011857656967687400015067725f7265706c795f636f6d6d69745f7767617324011857656967687400015067725f7265736572766174696f6e5f7265706c7924011857656967687400017467725f7265736572766174696f6e5f7265706c795f7065725f6279746524011857656967687400016c67725f7265736572766174696f6e5f7265706c795f636f6d6d697424011857656967687400013467725f7265706c795f7075736824011857656967687400012067725f7265706c7924011857656967687400014467725f7265706c795f7065725f6279746524011857656967687400013467725f7265706c795f7767617324011857656967687400015867725f7265706c795f776761735f7065725f6279746524011857656967687400015867725f7265706c795f707573685f7065725f6279746524011857656967687400012c67725f7265706c795f746f24011857656967687400013867725f7369676e616c5f636f646524011857656967687400013867725f7369676e616c5f66726f6d24011857656967687400013867725f7265706c795f696e70757424011857656967687400014c67725f7265706c795f696e7075745f7767617324011857656967687400014c67725f7265706c795f707573685f696e70757424011857656967687400017067725f7265706c795f707573685f696e7075745f7065725f6279746524011857656967687400013467725f73656e645f696e70757424011857656967687400014867725f73656e645f696e7075745f7767617324011857656967687400014867725f73656e645f707573685f696e70757424011857656967687400016c67725f73656e645f707573685f696e7075745f7065725f6279746524011857656967687400012067725f646562756724011857656967687400014467725f64656275675f7065725f6279746524011857656967687400013467725f7265706c795f636f646524011857656967687400011c67725f6578697424011857656967687400012067725f6c6561766524011857656967687400011c67725f7761697424011857656967687400012c67725f776169745f666f7224011857656967687400013467725f776169745f75705f746f24011857656967687400011c67725f77616b6524011857656967687400014467725f6372656174655f70726f6772616d24011857656967687400018867725f6372656174655f70726f6772616d5f7061796c6f61645f7065725f6279746524011857656967687400017c67725f6372656174655f70726f6772616d5f73616c745f7065725f6279746524011857656967687400015867725f6372656174655f70726f6772616d5f7767617324011857656967687400019c67725f6372656174655f70726f6772616d5f776761735f7061796c6f61645f7065725f6279746524011857656967687400019067725f6372656174655f70726f6772616d5f776761735f73616c745f7065725f627974652401185765696768740000b5090c2c70616c6c65745f67656172207363686564756c65344d656d6f72795765696768747304045400002c01586c617a795f70616765735f7369676e616c5f7265616424011857656967687400015c6c617a795f70616765735f7369676e616c5f77726974652401185765696768740001886c617a795f70616765735f7369676e616c5f77726974655f61667465725f726561642401185765696768740001646c617a795f70616765735f686f73745f66756e635f726561642401185765696768740001686c617a795f70616765735f686f73745f66756e635f77726974652401185765696768740001946c617a795f70616765735f686f73745f66756e635f77726974655f61667465725f726561642401185765696768740001386c6f61645f706167655f6461746124011857656967687400014075706c6f61645f706167655f646174612401185765696768740001206d656d5f67726f772401185765696768740001446d656d5f67726f775f7065725f7061676524011857656967687400016070617261636861696e5f726561645f6865757269737469632401185765696768740000b9090c2c70616c6c65745f67656172207363686564756c652c52656e74576569676874730404540000140120776169746c69737424011857656967687400013864697370617463685f737461736824011857656967687400012c7265736572766174696f6e24011857656967687400011c6d61696c626f782401185765696768740001446d61696c626f785f7468726573686f6c642401185765696768740000bd090c2c70616c6c65745f67656172207363686564756c6524446257656967687473040454000010011072656164240118576569676874000134726561645f7065725f62797465240118576569676874000114777269746524011857656967687400013877726974655f7065725f627974652401185765696768740000c1090c2c70616c6c65745f67656172207363686564756c652c5461736b57656967687473040454000020015872656d6f76655f6761735f7265736572766174696f6e24011857656967687400017073656e645f757365725f6d6573736167655f746f5f6d61696c626f7824011857656967687400014473656e645f757365725f6d65737361676524011857656967687400013473656e645f646973706174636824011857656967687400013077616b655f6d65737361676524011857656967687400015077616b655f6d6573736167655f6e6f5f77616b6524011857656967687400015072656d6f76655f66726f6d5f776169746c69737424011857656967687400014c72656d6f76655f66726f6d5f6d61696c626f782401185765696768740000c5090c2c70616c6c65745f67656172207363686564756c6550496e7374616e74696174696f6e576569676874730404540000180154636f64655f73656374696f6e5f7065725f62797465240118576569676874000154646174615f73656374696f6e5f7065725f6279746524011857656967687400015c676c6f62616c5f73656374696f6e5f7065725f627974652401185765696768740001587461626c655f73656374696f6e5f7065725f62797465240118576569676874000160656c656d656e745f73656374696f6e5f7065725f62797465240118576569676874000154747970655f73656374696f6e5f7065725f627974652401185765696768740000c9090c24676561725f636f72651c70657263656e741c50657263656e740000040010010c7533320000cd090c2c70616c6c65745f676561721870616c6c6574144572726f720404540001403c4d6573736167654e6f74466f756e64000004904d657373616765207761736e277420666f756e6420696e20746865206d61696c626f782e4c496e73756666696369656e7442616c616e636500010ca04e6f7420656e6f7567682062616c616e636520746f206578656375746520616e20616374696f6e2e009501557375616c6c79206f6363757273207768656e20746865206761735f6c696d6974207370656369666965642069732073756368207468617420746865206f726967696e206163636f756e742063616e2774206166666f726420746865206d6573736167652e3c4761734c696d6974546f6f4869676800020c4c476173206c696d697420746f6f20686967682e0071014f6363757273207768656e20616e2065787472696e7369632773206465636c6172656420606761735f6c696d6974602069732067726561746572207468616e206120626c6f636b2773206d6178696d756d20676173206c696d69742e5050726f6772616d416c726561647945786973747300030c5c50726f6772616d20616c7265616479206578697374732e0051014f636375727320696620612070726f6772616d207769746820736f6d652073706563696669632070726f6772616d20696420616c72656164792065786973747320696e2070726f6772616d2073746f726167652e3c496e61637469766550726f6772616d00040c5850726f6772616d206973207465726d696e617465642e00290150726f6772616d20696e6974206661696c65642c20736f2073756368206d6573736167652064657374696e6174696f6e206973206e6f206c6f6e67657220756e617661696c61626c652e344e6f4d6573736167655472656500050c784d657373616765206761732074726565206973206e6f7420666f756e642e0069015768656e2061206d65737361676520636c61696d65642066726f6d20746865206d61696c626f7820686173206120636f72727570746564206f72206e6f6e2d657874616e74206761732074726565206173736f6369617465642e44436f6465416c726561647945786973747300060c50436f646520616c7265616479206578697374732e003d014f6363757273207768656e20747279696e6720746f207361766520746f2073746f7261676520612070726f6772616d20636f6465207468617420686173206265656e2073617665642074686572652e3c436f6465446f65736e74457869737400070c50436f646520646f6573206e6f742065786973742e0029014f6363757273207768656e20747279696e6720746f2067657420612070726f6772616d20636f64652066726f6d2073746f726167652c207468617420646f65736e27742065786973742e30436f6465546f6f4c61726765000808650154686520636f646520737570706c69656420746f206075706c6f61645f636f646560206f72206075706c6f61645f70726f6772616d60206578636565647320746865206c696d69742073706563696669656420696e207468654463757272656e74207363686564756c652e6450726f6772616d436f6e737472756374696f6e4661696c65640009046c4661696c656420746f2063726561746520612070726f6772616d2e784d657373616765517565756550726f63657373696e6744697361626c6564000a04944d6573736167652071756575652070726f63657373696e672069732064697361626c65642e6c526573756d65506572696f644c6573735468616e4d696e696d616c000b04b8426c6f636b20636f756e7420646f65736e277420636f766572204d696e696d616c526573756d65506572696f642e3c50726f6772616d4e6f74466f756e64000c04ac50726f6772616d20776974682074686520737065636966696564206964206973206e6f7420666f756e642e544765617252756e416c7265616479496e426c6f636b000d04b8476561723a3a72756e282920616c726561647920696e636c7564656420696e2063757272656e7420626c6f636b2e4c50726f6772616d52656e7444697361626c6564000e048c5468652070726f6772616d2072656e74206c6f6769632069732064697361626c65642e3441637469766550726f6772616d000f044850726f6772616d206973206163746976652e048054686520604572726f726020656e756d206f6620746869732070616c6c65742ed1090c3473705f61726974686d65746963287065725f7468696e67732c5065727175696e74696c6c000004002c010c7536340000d5090420425472656553657404045401000004008501000000d9090c6c70616c6c65745f676561725f7374616b696e675f726577617264731870616c6c6574144572726f720404540001084c4661696c757265546f526566696c6c506f6f6c00000488506f6f6c206e6f74207265706c656e69736865642064756520746f206572726f722e644661696c757265546f576974686472617746726f6d506f6f6c000104c04661696c75726520746f2077697468647261772066756e64732066726f6d20746865207265776172647320706f6f6c2e04944572726f7220666f7220746865207374616b696e6720726577617264732070616c6c65742edd0900000408003d0400e1090c4c70616c6c65745f676561725f766f756368657220696e7465726e616c2c566f7563686572496e666f08244163636f756e74496401002c426c6f636b4e756d6265720110001001146f776e65720001244163636f756e74496400012070726f6772616d733104016c4f7074696f6e3c42547265655365743c50726f6772616d49643e3e000138636f64655f75706c6f6164696e67d80110626f6f6c00011865787069727910012c426c6f636b4e756d6265720000e5090c4c70616c6c65745f676561725f766f75636865721870616c6c6574144572726f7204045400012c244261644f726967696e000004ac546865206f726967696e206973206e6f7420656c696769626c6520746f20657865637574652063616c6c2e3c42616c616e63655472616e73666572000104d84572726f7220747279696e67207472616e736665722062616c616e636520746f2f66726f6d20766f7563686572206163636f756e742e60496e617070726f70726961746544657374696e6174696f6e000204e844657374696e6174696f6e2070726f6772616d206973206e6f7420696e2077686974656c69737465642073657420666f7220766f75636865722e44496e6578697374656e74566f75636865720003040501566f7563686572207769746820676976656e206964656e74696669657220646f65736e277420657869737420666f7220676976656e207370656e6465722069642e3849727265766f6361626c65596574000404b0566f7563686572207374696c6c2076616c696420616e6420636f756c646e2774206265207265766f6b65642e604d617850726f6772616d734c696d69744578636565646564000504b054727920746f2077686974656c697374206d6f72652070726f6772616d73207468616e20616c6c6f7765642e48556e6b6e6f776e44657374696e6174696f6e000604c04661696c656420746f2071756572792064657374696e6174696f6e206f662074686520707265706169642063616c6c2e38566f756368657245787069726564000704a4566f756368657220686173206578706972656420616e6420636f756c646e277420626520757365642e4c4475726174696f6e4f75744f66426f756e64730008040101566f75636865722069737375652f70726f6c6f6e676174696f6e206475726174696f6e206f7574206f66205b6d696e3b206d61785d20636f6e7374616e74732e50436f646555706c6f6164696e67456e61626c65640009041101566f7563686572207570646174652066756e6374696f6e20747269657320746f2063757420766f7563686572206162696c697479206f6620636f64652075706c6f61642e54436f646555706c6f6164696e6744697361626c6564000a04d8566f75636865722069732064697361626c656420666f7220636f64652075706c6f6164696e672c20627574207265717565737465642e048054686520604572726f726020656e756d206f6620746869732070616c6c65742ee9090c4070616c6c65745f676561725f62616e6b1870616c6c65742c42616e6b4163636f756e74041c42616c616e636501180008010c67617318011c42616c616e636500011476616c756518011c42616c616e63650000ed090c4070616c6c65745f676561725f62616e6b1870616c6c6574144572726f720404540001184c496e73756666696369656e7442616c616e636500000468496e73756666696369656e7420757365722062616c616e63652e58496e73756666696369656e7447617342616c616e6365000104b4496e73756666696369656e74207573657227732062616e6b206163636f756e74206761732062616c616e63652e60496e73756666696369656e7456616c756542616c616e6365000204b4496e73756666696369656e74207573657227732062616e6b206163636f756e74206761732062616c616e63652e5c496e73756666696369656e7442616e6b42616c616e636500030888496e73756666696369656e742062616e6b206163636f756e742062616c616e63652eb82a2a4d75737420626520756e726561636861626c6520696e2047656172206d61696e2070726f746f636f6c2e2a2a4c496e73756666696369656e744465706f736974000408dc4465706f736974206f662066756e647320746861742077696c6c206e6f74206b6565702062616e6b206163636f756e7420616c6976652eb82a2a4d75737420626520756e726561636861626c6520696e2047656172206d61696e2070726f746f636f6c2e2a2a204f766572666c6f770005087c4f766572666c6f7720647572696e672066756e6473207472616e736665722eb82a2a4d75737420626520756e726561636861626c6520696e2047656172206d61696e2070726f746f636f6c2e2a2a048054686520604572726f726020656e756d206f6620746869732070616c6c65742ef109102873705f72756e74696d651c67656e657269634c756e636865636b65645f65787472696e73696348556e636865636b656445787472696e736963101c416464726573730179011043616c6c010501245369676e617475726501f50914457874726101010a00040034000000f509082873705f72756e74696d65384d756c74695369676e617475726500010c1c4564323535313904005d010148656432353531393a3a5369676e61747572650000001c537232353531390400a1010148737232353531393a3a5369676e61747572650001001445636473610400f909014065636473613a3a5369676e617475726500020000f9090c1c73705f636f7265146563647361245369676e617475726500000400fd09017c5b75383b205349474e41545552455f53455249414c495a45445f53495a455d0000fd09000003410000000800010a00000424050a090a0d0a110a150a190a210a250a290a00050a0c6c70616c6c65745f676561725f7374616b696e675f7265776172647324657874656e73696f6e405374616b696e67426c61636b4c69737404045400000000090a10306672616d655f73797374656d28657874656e73696f6e7354636865636b5f6e6f6e5f7a65726f5f73656e64657248436865636b4e6f6e5a65726f53656e646572040454000000000d0a10306672616d655f73797374656d28657874656e73696f6e7348636865636b5f737065635f76657273696f6e40436865636b5370656356657273696f6e04045400000000110a10306672616d655f73797374656d28657874656e73696f6e7340636865636b5f74785f76657273696f6e38436865636b547856657273696f6e04045400000000150a10306672616d655f73797374656d28657874656e73696f6e7334636865636b5f67656e6573697330436865636b47656e6573697304045400000000190a10306672616d655f73797374656d28657874656e73696f6e733c636865636b5f6d6f7274616c69747938436865636b4d6f7274616c697479040454000004001d0a010c45726100001d0a102873705f72756e74696d651c67656e657269630c6572610c4572610001010420496d6d6f7274616c0000001c4d6f7274616c31040008000001001c4d6f7274616c32040008000002001c4d6f7274616c33040008000003001c4d6f7274616c34040008000004001c4d6f7274616c35040008000005001c4d6f7274616c36040008000006001c4d6f7274616c37040008000007001c4d6f7274616c38040008000008001c4d6f7274616c3904000800000900204d6f7274616c313004000800000a00204d6f7274616c313104000800000b00204d6f7274616c313204000800000c00204d6f7274616c313304000800000d00204d6f7274616c313404000800000e00204d6f7274616c313504000800000f00204d6f7274616c313604000800001000204d6f7274616c313704000800001100204d6f7274616c313804000800001200204d6f7274616c313904000800001300204d6f7274616c323004000800001400204d6f7274616c323104000800001500204d6f7274616c323204000800001600204d6f7274616c323304000800001700204d6f7274616c323404000800001800204d6f7274616c323504000800001900204d6f7274616c323604000800001a00204d6f7274616c323704000800001b00204d6f7274616c323804000800001c00204d6f7274616c323904000800001d00204d6f7274616c333004000800001e00204d6f7274616c333104000800001f00204d6f7274616c333204000800002000204d6f7274616c333304000800002100204d6f7274616c333404000800002200204d6f7274616c333504000800002300204d6f7274616c333604000800002400204d6f7274616c333704000800002500204d6f7274616c333804000800002600204d6f7274616c333904000800002700204d6f7274616c343004000800002800204d6f7274616c343104000800002900204d6f7274616c343204000800002a00204d6f7274616c343304000800002b00204d6f7274616c343404000800002c00204d6f7274616c343504000800002d00204d6f7274616c343604000800002e00204d6f7274616c343704000800002f00204d6f7274616c343804000800003000204d6f7274616c343904000800003100204d6f7274616c353004000800003200204d6f7274616c353104000800003300204d6f7274616c353204000800003400204d6f7274616c353304000800003500204d6f7274616c353404000800003600204d6f7274616c353504000800003700204d6f7274616c353604000800003800204d6f7274616c353704000800003900204d6f7274616c353804000800003a00204d6f7274616c353904000800003b00204d6f7274616c363004000800003c00204d6f7274616c363104000800003d00204d6f7274616c363204000800003e00204d6f7274616c363304000800003f00204d6f7274616c363404000800004000204d6f7274616c363504000800004100204d6f7274616c363604000800004200204d6f7274616c363704000800004300204d6f7274616c363804000800004400204d6f7274616c363904000800004500204d6f7274616c373004000800004600204d6f7274616c373104000800004700204d6f7274616c373204000800004800204d6f7274616c373304000800004900204d6f7274616c373404000800004a00204d6f7274616c373504000800004b00204d6f7274616c373604000800004c00204d6f7274616c373704000800004d00204d6f7274616c373804000800004e00204d6f7274616c373904000800004f00204d6f7274616c383004000800005000204d6f7274616c383104000800005100204d6f7274616c383204000800005200204d6f7274616c383304000800005300204d6f7274616c383404000800005400204d6f7274616c383504000800005500204d6f7274616c383604000800005600204d6f7274616c383704000800005700204d6f7274616c383804000800005800204d6f7274616c383904000800005900204d6f7274616c393004000800005a00204d6f7274616c393104000800005b00204d6f7274616c393204000800005c00204d6f7274616c393304000800005d00204d6f7274616c393404000800005e00204d6f7274616c393504000800005f00204d6f7274616c393604000800006000204d6f7274616c393704000800006100204d6f7274616c393804000800006200204d6f7274616c393904000800006300244d6f7274616c31303004000800006400244d6f7274616c31303104000800006500244d6f7274616c31303204000800006600244d6f7274616c31303304000800006700244d6f7274616c31303404000800006800244d6f7274616c31303504000800006900244d6f7274616c31303604000800006a00244d6f7274616c31303704000800006b00244d6f7274616c31303804000800006c00244d6f7274616c31303904000800006d00244d6f7274616c31313004000800006e00244d6f7274616c31313104000800006f00244d6f7274616c31313204000800007000244d6f7274616c31313304000800007100244d6f7274616c31313404000800007200244d6f7274616c31313504000800007300244d6f7274616c31313604000800007400244d6f7274616c31313704000800007500244d6f7274616c31313804000800007600244d6f7274616c31313904000800007700244d6f7274616c31323004000800007800244d6f7274616c31323104000800007900244d6f7274616c31323204000800007a00244d6f7274616c31323304000800007b00244d6f7274616c31323404000800007c00244d6f7274616c31323504000800007d00244d6f7274616c31323604000800007e00244d6f7274616c31323704000800007f00244d6f7274616c31323804000800008000244d6f7274616c31323904000800008100244d6f7274616c31333004000800008200244d6f7274616c31333104000800008300244d6f7274616c31333204000800008400244d6f7274616c31333304000800008500244d6f7274616c31333404000800008600244d6f7274616c31333504000800008700244d6f7274616c31333604000800008800244d6f7274616c31333704000800008900244d6f7274616c31333804000800008a00244d6f7274616c31333904000800008b00244d6f7274616c31343004000800008c00244d6f7274616c31343104000800008d00244d6f7274616c31343204000800008e00244d6f7274616c31343304000800008f00244d6f7274616c31343404000800009000244d6f7274616c31343504000800009100244d6f7274616c31343604000800009200244d6f7274616c31343704000800009300244d6f7274616c31343804000800009400244d6f7274616c31343904000800009500244d6f7274616c31353004000800009600244d6f7274616c31353104000800009700244d6f7274616c31353204000800009800244d6f7274616c31353304000800009900244d6f7274616c31353404000800009a00244d6f7274616c31353504000800009b00244d6f7274616c31353604000800009c00244d6f7274616c31353704000800009d00244d6f7274616c31353804000800009e00244d6f7274616c31353904000800009f00244d6f7274616c3136300400080000a000244d6f7274616c3136310400080000a100244d6f7274616c3136320400080000a200244d6f7274616c3136330400080000a300244d6f7274616c3136340400080000a400244d6f7274616c3136350400080000a500244d6f7274616c3136360400080000a600244d6f7274616c3136370400080000a700244d6f7274616c3136380400080000a800244d6f7274616c3136390400080000a900244d6f7274616c3137300400080000aa00244d6f7274616c3137310400080000ab00244d6f7274616c3137320400080000ac00244d6f7274616c3137330400080000ad00244d6f7274616c3137340400080000ae00244d6f7274616c3137350400080000af00244d6f7274616c3137360400080000b000244d6f7274616c3137370400080000b100244d6f7274616c3137380400080000b200244d6f7274616c3137390400080000b300244d6f7274616c3138300400080000b400244d6f7274616c3138310400080000b500244d6f7274616c3138320400080000b600244d6f7274616c3138330400080000b700244d6f7274616c3138340400080000b800244d6f7274616c3138350400080000b900244d6f7274616c3138360400080000ba00244d6f7274616c3138370400080000bb00244d6f7274616c3138380400080000bc00244d6f7274616c3138390400080000bd00244d6f7274616c3139300400080000be00244d6f7274616c3139310400080000bf00244d6f7274616c3139320400080000c000244d6f7274616c3139330400080000c100244d6f7274616c3139340400080000c200244d6f7274616c3139350400080000c300244d6f7274616c3139360400080000c400244d6f7274616c3139370400080000c500244d6f7274616c3139380400080000c600244d6f7274616c3139390400080000c700244d6f7274616c3230300400080000c800244d6f7274616c3230310400080000c900244d6f7274616c3230320400080000ca00244d6f7274616c3230330400080000cb00244d6f7274616c3230340400080000cc00244d6f7274616c3230350400080000cd00244d6f7274616c3230360400080000ce00244d6f7274616c3230370400080000cf00244d6f7274616c3230380400080000d000244d6f7274616c3230390400080000d100244d6f7274616c3231300400080000d200244d6f7274616c3231310400080000d300244d6f7274616c3231320400080000d400244d6f7274616c3231330400080000d500244d6f7274616c3231340400080000d600244d6f7274616c3231350400080000d700244d6f7274616c3231360400080000d800244d6f7274616c3231370400080000d900244d6f7274616c3231380400080000da00244d6f7274616c3231390400080000db00244d6f7274616c3232300400080000dc00244d6f7274616c3232310400080000dd00244d6f7274616c3232320400080000de00244d6f7274616c3232330400080000df00244d6f7274616c3232340400080000e000244d6f7274616c3232350400080000e100244d6f7274616c3232360400080000e200244d6f7274616c3232370400080000e300244d6f7274616c3232380400080000e400244d6f7274616c3232390400080000e500244d6f7274616c3233300400080000e600244d6f7274616c3233310400080000e700244d6f7274616c3233320400080000e800244d6f7274616c3233330400080000e900244d6f7274616c3233340400080000ea00244d6f7274616c3233350400080000eb00244d6f7274616c3233360400080000ec00244d6f7274616c3233370400080000ed00244d6f7274616c3233380400080000ee00244d6f7274616c3233390400080000ef00244d6f7274616c3234300400080000f000244d6f7274616c3234310400080000f100244d6f7274616c3234320400080000f200244d6f7274616c3234330400080000f300244d6f7274616c3234340400080000f400244d6f7274616c3234350400080000f500244d6f7274616c3234360400080000f600244d6f7274616c3234370400080000f700244d6f7274616c3234380400080000f800244d6f7274616c3234390400080000f900244d6f7274616c3235300400080000fa00244d6f7274616c3235310400080000fb00244d6f7274616c3235320400080000fc00244d6f7274616c3235330400080000fd00244d6f7274616c3235340400080000fe00244d6f7274616c3235350400080000ff0000210a0830766172615f72756e74696d6540437573746f6d436865636b4e6f6e63650404540000040029010120543a3a4e6f6e63650000250a10306672616d655f73797374656d28657874656e73696f6e7330636865636b5f7765696768742c436865636b57656967687404045400000000290a084c70616c6c65745f676561725f7061796d656e7478437573746f6d4368617267655472616e73616374696f6e5061796d656e74040454012d0a000400310a016c4368617267655472616e73616374696f6e5061796d656e743c543e00002d0a0830766172615f72756e74696d651c52756e74696d6500000000310a086870616c6c65745f7472616e73616374696f6e5f7061796d656e74604368617267655472616e73616374696f6e5061796d656e7404045400000400b8013042616c616e63654f663c543e0000a81853797374656d011853797374656d401c4163636f756e7401010402000c4101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008004e8205468652066756c6c206163636f756e7420696e666f726d6174696f6e20666f72206120706172746963756c6172206163636f756e742049442e3845787472696e736963436f756e74000010040004b820546f74616c2065787472696e7369637320636f756e7420666f72207468652063757272656e7420626c6f636b2e2c426c6f636b576569676874010020180000000000000488205468652063757272656e742077656967687420666f722074686520626c6f636b2e40416c6c45787472696e736963734c656e000010040004410120546f74616c206c656e6774682028696e2062797465732920666f7220616c6c2065787472696e736963732070757420746f6765746865722c20666f72207468652063757272656e7420626c6f636b2e24426c6f636b486173680101040510308000000000000000000000000000000000000000000000000000000000000000000498204d6170206f6620626c6f636b206e756d6265727320746f20626c6f636b206861736865732e3445787472696e736963446174610101040510340400043d012045787472696e73696373206461746120666f72207468652063757272656e7420626c6f636b20286d61707320616e2065787472696e736963277320696e64657820746f206974732064617461292e184e756d6265720100101000000000040901205468652063757272656e7420626c6f636b206e756d626572206265696e672070726f6365737365642e205365742062792060657865637574655f626c6f636b602e28506172656e744861736801003080000000000000000000000000000000000000000000000000000000000000000004702048617368206f66207468652070726576696f757320626c6f636b2e18446967657374010038040004f020446967657374206f66207468652063757272656e7420626c6f636b2c20616c736f2070617274206f662074686520626c6f636b206865616465722e184576656e747301004804001ca0204576656e7473206465706f736974656420666f72207468652063757272656e7420626c6f636b2e001d01204e4f54453a20546865206974656d20697320756e626f756e6420616e642073686f756c64207468657265666f7265206e657665722062652072656164206f6e20636861696e2ed020497420636f756c64206f746865727769736520696e666c6174652074686520506f562073697a65206f66206120626c6f636b2e002d01204576656e747320686176652061206c6172676520696e2d6d656d6f72792073697a652e20426f7820746865206576656e747320746f206e6f7420676f206f75742d6f662d6d656d6f7279fc206a75737420696e206361736520736f6d656f6e65207374696c6c207265616473207468656d2066726f6d2077697468696e207468652072756e74696d652e284576656e74436f756e74010010100000000004b820546865206e756d626572206f66206576656e747320696e2074686520604576656e74733c543e60206c6973742e2c4576656e74546f70696373010104023041050400282501204d617070696e67206265747765656e206120746f7069632028726570726573656e74656420627920543a3a486173682920616e64206120766563746f72206f6620696e646578657394206f66206576656e747320696e2074686520603c4576656e74733c543e3e60206c6973742e00510120416c6c20746f70696320766563746f727320686176652064657465726d696e69737469632073746f72616765206c6f636174696f6e7320646570656e64696e67206f6e2074686520746f7069632e2054686973450120616c6c6f7773206c696768742d636c69656e747320746f206c6576657261676520746865206368616e67657320747269652073746f7261676520747261636b696e67206d656368616e69736d20616e64e420696e2063617365206f66206368616e67657320666574636820746865206c697374206f66206576656e7473206f6620696e7465726573742e005901205468652076616c756520686173207468652074797065206028426c6f636b4e756d626572466f723c543e2c204576656e74496e646578296020626563617573652069662077652075736564206f6e6c79206a7573744d012074686520604576656e74496e64657860207468656e20696e20636173652069662074686520746f70696320686173207468652073616d6520636f6e74656e7473206f6e20746865206e65787420626c6f636b0101206e6f206e6f74696669636174696f6e2077696c6c20626520747269676765726564207468757320746865206576656e74206d69676874206265206c6f73742e484c61737452756e74696d65557067726164650000450504000455012053746f726573207468652060737065635f76657273696f6e6020616e642060737065635f6e616d6560206f66207768656e20746865206c6173742072756e74696d6520757067726164652068617070656e65642e545570677261646564546f553332526566436f756e740100d80400044d012054727565206966207765206861766520757067726164656420736f207468617420607479706520526566436f756e74602069732060753332602e2046616c7365202864656661756c7429206966206e6f742e605570677261646564546f547269706c65526566436f756e740100d80400085d012054727565206966207765206861766520757067726164656420736f2074686174204163636f756e74496e666f20636f6e7461696e73207468726565207479706573206f662060526566436f756e74602e2046616c736548202864656661756c7429206966206e6f742e38457865637574696f6e506861736500003d05040004882054686520657865637574696f6e207068617365206f662074686520626c6f636b2e01090101541830426c6f636b576569676874734d05e501025b1f5d00070010a5d4e813ffffffffffffffffc2a0a91d000107d02f9b313313ec51b81e85eb51380107004429353a130000000000000040010000c2a0a91d000107d0fb16d1e113eb51b81e85eb51f801070010a5d4e813ffffffffffffffff010700cc7b9fae13ffffffffffffffbfc2a0a91d0000000004d020426c6f636b20262065787472696e7369637320776569676874733a20626173652076616c75657320616e64206c696d6974732e2c426c6f636b4c656e67746859053000002800000050000000500004a820546865206d6178696d756d206c656e677468206f66206120626c6f636b2028696e206279746573292e38426c6f636b48617368436f756e74101060090000045501204d6178696d756d206e756d626572206f6620626c6f636b206e756d62657220746f20626c6f636b2068617368206d617070696e677320746f206b65657020286f6c64657374207072756e6564206669727374292e20446257656967687461054040787d010000000000e1f505000000000409012054686520776569676874206f662072756e74696d65206461746162617365206f7065726174696f6e73207468652072756e74696d652063616e20696e766f6b652e1c56657273696f6e6505d1031076617261107661726101000000540600000100000048cbca25e39f14238702000000f3ff14d5ab5270590300000017a6bc0d0062aeb30100000018ef58a3b67ba7700100000029ca33476f4108aa01000000f757f704c8ea14fe01000000fe1bbc43de74baec01000000fbc577b9d747efd601000000df6acb689907609b0400000037e397fc7c91f5e40200000040fe3ad401f8959a06000000d2bc9897eed08f1503000000f78b278be53f454c02000000ab3c0572291feb8b01000000ed99c5acb25eedf503000000bc9d89904f5b923f0100000037c8bb1350a9a2a804000000ff8dc88037f262230200000001000000010484204765742074686520636861696e27732063757272656e742076657273696f6e2e2853533538507265666978fc08890014a8205468652064657369676e61746564205353353820707265666978206f66207468697320636861696e2e0039012054686973207265706c6163657320746865202273733538466f726d6174222070726f7065727479206465636c6172656420696e2074686520636861696e20737065632e20526561736f6e20697331012074686174207468652072756e74696d652073686f756c64206b6e6f772061626f7574207468652070726566697820696e206f7264657220746f206d616b6520757365206f662069742061737020616e206964656e746966696572206f662074686520636861696e2e017505002454696d657374616d70012454696d657374616d70080c4e6f7701002c20000000000000000004a0205468652063757272656e742074696d6520666f72207468652063757272656e7420626c6f636b2e244469645570646174650100d8040010d82057686574686572207468652074696d657374616d7020686173206265656e207570646174656420696e207468697320626c6f636b2e00550120546869732076616c7565206973207570646174656420746f206074727565602075706f6e207375636365737366756c207375626d697373696f6e206f6620612074696d657374616d702062792061206e6f64652e4501204974206973207468656e20636865636b65642061742074686520656e64206f66206561636820626c6f636b20657865637574696f6e20696e2074686520606f6e5f66696e616c697a656020686f6f6b2e0119010004344d696e696d756d506572696f642c20dc05000000000000188c20546865206d696e696d756d20706572696f64206265747765656e20626c6f636b732e004d012042652061776172652074686174207468697320697320646966666572656e7420746f20746865202a65787065637465642a20706572696f6420746861742074686520626c6f636b2070726f64756374696f6e4901206170706172617475732070726f76696465732e20596f75722063686f73656e20636f6e73656e7375732073797374656d2077696c6c2067656e6572616c6c7920776f726b2077697468207468697320746f61012064657465726d696e6520612073656e7369626c6520626c6f636b2074696d652e20466f72206578616d706c652c20696e2074686520417572612070616c6c65742069742077696c6c20626520646f75626c6520746869737020706572696f64206f6e2064656661756c742073657474696e67732e000128417574686f72736869700128417574686f72736869700418417574686f720000000400046420417574686f72206f662063757272656e7420626c6f636b2e000000000248417574686f72697479446973636f766572790148417574686f72697479446973636f7665727908104b657973010079050400048c204b657973206f66207468652063757272656e7420617574686f72697479207365742e204e6578744b6579730100790504000480204b657973206f6620746865206e65787420617574686f72697479207365742e00000000091042616265011042616265442845706f6368496e64657801002c20000000000000000004542043757272656e742065706f636820696e6465782e2c417574686f726974696573010081050400046c2043757272656e742065706f636820617574686f7269746965732e2c47656e65736973536c6f740100310120000000000000000008f82054686520736c6f74206174207768696368207468652066697273742065706f63682061637475616c6c7920737461727465642e205468697320697320309020756e74696c2074686520666972737420626c6f636b206f662074686520636861696e2e2c43757272656e74536c6f740100310120000000000000000004542043757272656e7420736c6f74206e756d6265722e2852616e646f6d6e65737301000480000000000000000000000000000000000000000000000000000000000000000028b8205468652065706f63682072616e646f6d6e65737320666f7220746865202a63757272656e742a2065706f63682e002c20232053656375726974790005012054686973204d555354204e4f54206265207573656420666f722067616d626c696e672c2061732069742063616e20626520696e666c75656e6365642062792061f8206d616c6963696f75732076616c696461746f7220696e207468652073686f7274207465726d2e204974204d4159206265207573656420696e206d616e7915012063727970746f677261706869632070726f746f636f6c732c20686f77657665722c20736f206c6f6e67206173206f6e652072656d656d6265727320746861742074686973150120286c696b652065766572797468696e6720656c7365206f6e2d636861696e29206974206973207075626c69632e20466f72206578616d706c652c2069742063616e206265050120757365642077686572652061206e756d626572206973206e656564656420746861742063616e6e6f742068617665206265656e2063686f73656e20627920616e0d01206164766572736172792c20666f7220707572706f7365732073756368206173207075626c69632d636f696e207a65726f2d6b6e6f776c656467652070726f6f66732e6050656e64696e6745706f6368436f6e6669674368616e67650000390104000461012050656e64696e672065706f636820636f6e66696775726174696f6e206368616e676520746861742077696c6c206265206170706c696564207768656e20746865206e6578742065706f636820697320656e61637465642e384e65787452616e646f6d6e657373010004800000000000000000000000000000000000000000000000000000000000000000045c204e6578742065706f63682072616e646f6d6e6573732e3c4e657874417574686f7269746965730100810504000460204e6578742065706f636820617574686f7269746965732e305365676d656e74496e6465780100101000000000247c2052616e646f6d6e65737320756e64657220636f6e737472756374696f6e2e00f8205765206d616b6520612074726164652d6f6666206265747765656e2073746f7261676520616363657373657320616e64206c697374206c656e6774682e01012057652073746f72652074686520756e6465722d636f6e737472756374696f6e2072616e646f6d6e65737320696e207365676d656e7473206f6620757020746f942060554e4445525f434f4e535452554354494f4e5f5345474d454e545f4c454e475448602e00ec204f6e63652061207365676d656e7420726561636865732074686973206c656e6774682c20776520626567696e20746865206e657874206f6e652e090120576520726573657420616c6c207365676d656e747320616e642072657475726e20746f206030602061742074686520626567696e6e696e67206f662065766572791c2065706f63682e44556e646572436f6e737472756374696f6e01010405108d0504000415012054574f582d4e4f54453a20605365676d656e74496e6465786020697320616e20696e6372656173696e6720696e74656765722c20736f2074686973206973206f6b61792e2c496e697469616c697a65640000950504000801012054656d706f726172792076616c75652028636c656172656420617420626c6f636b2066696e616c697a6174696f6e292077686963682069732060536f6d65601d01206966207065722d626c6f636b20696e697469616c697a6174696f6e2068617320616c7265616479206265656e2063616c6c656420666f722063757272656e7420626c6f636b2e4c417574686f7256726652616e646f6d6e6573730100890404001015012054686973206669656c642073686f756c6420616c7761797320626520706f70756c6174656420647572696e6720626c6f636b2070726f63657373696e6720756e6c6573731901207365636f6e6461727920706c61696e20736c6f74732061726520656e61626c65642028776869636820646f6e277420636f6e7461696e206120565246206f7574707574292e0049012049742069732073657420696e20606f6e5f66696e616c697a65602c206265666f72652069742077696c6c20636f6e7461696e207468652076616c75652066726f6d20746865206c61737420626c6f636b2e2845706f6368537461727401002502200000000000000000145d012054686520626c6f636b206e756d62657273207768656e20746865206c61737420616e642063757272656e742065706f6368206861766520737461727465642c20726573706563746976656c7920604e2d316020616e641420604e602e4901204e4f54453a20576520747261636b207468697320697320696e206f7264657220746f20616e6e6f746174652074686520626c6f636b206e756d626572207768656e206120676976656e20706f6f6c206f66590120656e74726f7079207761732066697865642028692e652e20697420776173206b6e6f776e20746f20636861696e206f6273657276657273292e2053696e63652065706f6368732061726520646566696e656420696e590120736c6f74732c207768696368206d617920626520736b69707065642c2074686520626c6f636b206e756d62657273206d6179206e6f74206c696e6520757020776974682074686520736c6f74206e756d626572732e204c6174656e657373010010100000000014d820486f77206c617465207468652063757272656e7420626c6f636b20697320636f6d706172656420746f2069747320706172656e742e001501205468697320656e74727920697320706f70756c617465642061732070617274206f6620626c6f636b20657865637574696f6e20616e6420697320636c65616e65642075701101206f6e20626c6f636b2066696e616c697a6174696f6e2e205175657279696e6720746869732073746f7261676520656e747279206f757473696465206f6620626c6f636bb020657865637574696f6e20636f6e746578742073686f756c6420616c77617973207969656c64207a65726f2e2c45706f6368436f6e6669670000ad0504000861012054686520636f6e66696775726174696f6e20666f72207468652063757272656e742065706f63682e2053686f756c64206e6576657220626520604e6f6e656020617320697420697320696e697469616c697a656420696e242067656e657369732e3c4e65787445706f6368436f6e6669670000ad050400082d012054686520636f6e66696775726174696f6e20666f7220746865206e6578742065706f63682c20604e6f6e65602069662074686520636f6e6669672077696c6c206e6f74206368616e6765e82028796f752063616e2066616c6c6261636b20746f206045706f6368436f6e6669676020696e737465616420696e20746861742063617365292e34536b697070656445706f6368730100b10504002029012041206c697374206f6620746865206c6173742031303020736b69707065642065706f63687320616e642074686520636f72726573706f6e64696e672073657373696f6e20696e64657870207768656e207468652065706f63682077617320736b69707065642e0031012054686973206973206f6e6c79207573656420666f722076616c69646174696e672065717569766f636174696f6e2070726f6f66732e20416e2065717569766f636174696f6e2070726f6f663501206d75737420636f6e7461696e732061206b65792d6f776e6572736869702070726f6f6620666f72206120676976656e2073657373696f6e2c207468657265666f7265207765206e656564206139012077617920746f2074696520746f6765746865722073657373696f6e7320616e642065706f636820696e64696365732c20692e652e207765206e65656420746f2076616c69646174652074686174290120612076616c696461746f722077617320746865206f776e6572206f66206120676976656e206b6579206f6e206120676976656e2073657373696f6e2c20616e64207768617420746865b0206163746976652065706f636820696e6465782077617320647572696e6720746861742073657373696f6e2e011d0100103445706f63684475726174696f6e2c2060090000000000000cec2054686520616d6f756e74206f662074696d652c20696e20736c6f74732c207468617420656163682065706f63682073686f756c64206c6173742e1901204e4f54453a2043757272656e746c79206974206973206e6f7420706f737369626c6520746f206368616e6765207468652065706f6368206475726174696f6e20616674657221012074686520636861696e2068617320737461727465642e20417474656d7074696e6720746f20646f20736f2077696c6c20627269636b20626c6f636b2070726f64756374696f6e2e444578706563746564426c6f636b54696d652c20b80b00000000000014050120546865206578706563746564206176657261676520626c6f636b2074696d6520617420776869636820424142452073686f756c64206265206372656174696e67110120626c6f636b732e2053696e636520424142452069732070726f626162696c6973746963206974206973206e6f74207472697669616c20746f20666967757265206f75740501207768617420746865206578706563746564206176657261676520626c6f636b2074696d652073686f756c64206265206261736564206f6e2074686520736c6f740901206475726174696f6e20616e642074686520736563757269747920706172616d657465722060636020287768657265206031202d20636020726570726573656e7473a0207468652070726f626162696c697479206f66206120736c6f74206265696e6720656d707479292e384d6178417574686f7269746965731010a08601000488204d6178206e756d626572206f6620617574686f72697469657320616c6c6f776564344d61784e6f6d696e61746f727310100002000004d420546865206d6178696d756d206e756d626572206f66206e6f6d696e61746f727320666f7220656163682076616c696461746f722e01bd05031c4772616e647061011c4772616e6470611c1453746174650100c10504000490205374617465206f66207468652063757272656e7420617574686f72697479207365742e3450656e64696e674368616e67650000c505040004c42050656e64696e67206368616e67653a20287369676e616c65642061742c207363686564756c6564206368616e6765292e284e657874466f72636564000010040004bc206e65787420626c6f636b206e756d6265722077686572652077652063616e20666f7263652061206368616e67652e1c5374616c6c6564000025020400049020607472756560206966207765206172652063757272656e746c79207374616c6c65642e3043757272656e74536574496401002c200000000000000000085d0120546865206e756d626572206f66206368616e6765732028626f746820696e207465726d73206f66206b65797320616e6420756e6465726c79696e672065636f6e6f6d696320726573706f6e736962696c697469657329c420696e20746865202273657422206f66204772616e6470612076616c696461746f72732066726f6d2067656e657369732e30536574496453657373696f6e000104052c1004002859012041206d617070696e672066726f6d206772616e6470612073657420494420746f2074686520696e646578206f6620746865202a6d6f737420726563656e742a2073657373696f6e20666f722077686963682069747368206d656d62657273207765726520726573706f6e7369626c652e0045012054686973206973206f6e6c79207573656420666f722076616c69646174696e672065717569766f636174696f6e2070726f6f66732e20416e2065717569766f636174696f6e2070726f6f66206d7573744d0120636f6e7461696e732061206b65792d6f776e6572736869702070726f6f6620666f72206120676976656e2073657373696f6e2c207468657265666f7265207765206e65656420612077617920746f20746965450120746f6765746865722073657373696f6e7320616e64204752414e44504120736574206964732c20692e652e207765206e65656420746f2076616c6964617465207468617420612076616c696461746f7241012077617320746865206f776e6572206f66206120676976656e206b6579206f6e206120676976656e2073657373696f6e2c20616e642077686174207468652061637469766520736574204944207761735420647572696e6720746861742073657373696f6e2e00b82054574f582d4e4f54453a2060536574496460206973206e6f7420756e646572207573657220636f6e74726f6c2e2c417574686f7269746965730100c90504000484205468652063757272656e74206c697374206f6620617574686f7269746965732e01450101780c384d6178417574686f7269746965731010a0860100045c204d617820417574686f72697469657320696e20757365344d61784e6f6d696e61746f727310100002000004d420546865206d6178696d756d206e756d626572206f66206e6f6d696e61746f727320666f7220656163682076616c696461746f722e584d6178536574496453657373696f6e456e74726965732c20540000000000000018390120546865206d6178696d756d206e756d626572206f6620656e747269657320746f206b65657020696e207468652073657420696420746f2073657373696f6e20696e646578206d617070696e672e0031012053696e6365207468652060536574496453657373696f6e60206d6170206973206f6e6c79207573656420666f722076616c69646174696e672065717569766f636174696f6e73207468697329012076616c75652073686f756c642072656c61746520746f2074686520626f6e64696e67206475726174696f6e206f66207768617465766572207374616b696e672073797374656d2069733501206265696e6720757365642028696620616e79292e2049662065717569766f636174696f6e2068616e646c696e67206973206e6f7420656e61626c6564207468656e20746869732076616c7565342063616e206265207a65726f2e01cd05042042616c616e636573012042616c616e6365731c34546f74616c49737375616e6365010018400000000000000000000000000000000004982054686520746f74616c20756e6974732069737375656420696e207468652073797374656d2e40496e61637469766549737375616e636501001840000000000000000000000000000000000409012054686520746f74616c20756e697473206f66206f75747374616e64696e672064656163746976617465642062616c616e636520696e207468652073797374656d2e1c4163636f756e74010104020014010100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080600901205468652042616c616e6365732070616c6c6574206578616d706c65206f662073746f72696e67207468652062616c616e6365206f6620616e206163636f756e742e00282023204578616d706c650034206060606e6f636f6d70696c65b02020696d706c2070616c6c65745f62616c616e6365733a3a436f6e66696720666f722052756e74696d65207b19022020202074797065204163636f756e7453746f7265203d2053746f726167654d61705368696d3c53656c663a3a4163636f756e743c52756e74696d653e2c206672616d655f73797374656d3a3a50726f76696465723c52756e74696d653e2c204163636f756e7449642c2053656c663a3a4163636f756e74446174613c42616c616e63653e3e0c20207d102060606000150120596f752063616e20616c736f2073746f7265207468652062616c616e6365206f6620616e206163636f756e7420696e20746865206053797374656d602070616c6c65742e00282023204578616d706c650034206060606e6f636f6d70696c65b02020696d706c2070616c6c65745f62616c616e6365733a3a436f6e66696720666f722052756e74696d65207b7420202074797065204163636f756e7453746f7265203d2053797374656d0c20207d102060606000510120427574207468697320636f6d657320776974682074726164656f6666732c2073746f72696e67206163636f756e742062616c616e63657320696e207468652073797374656d2070616c6c65742073746f7265736d0120606672616d655f73797374656d60206461746120616c6f6e677369646520746865206163636f756e74206461746120636f6e747261727920746f2073746f72696e67206163636f756e742062616c616e63657320696e207468652901206042616c616e636573602070616c6c65742c20776869636820757365732061206053746f726167654d61706020746f2073746f72652062616c616e6365732064617461206f6e6c792e4101204e4f54453a2054686973206973206f6e6c79207573656420696e207468652063617365207468617420746869732070616c6c6574206973207573656420746f2073746f72652062616c616e6365732e144c6f636b730101040200d105040008b820416e79206c6971756964697479206c6f636b73206f6e20736f6d65206163636f756e742062616c616e6365732e2501204e4f54453a2053686f756c64206f6e6c79206265206163636573736564207768656e2073657474696e672c206368616e67696e6720616e642066726565696e672061206c6f636b2e2052657365727665730101040200e105040004a4204e616d6564207265736572766573206f6e20736f6d65206163636f756e742062616c616e6365732e14486f6c64730101040200ed050400046c20486f6c6473206f6e206163636f756e742062616c616e6365732e1c467265657a6573010104020001060400048820467265657a65206c6f636b73206f6e206163636f756e742062616c616e6365732e017501018c14484578697374656e7469616c4465706f73697418400010a5d4e8000000000000000000000020410120546865206d696e696d756d20616d6f756e7420726571756972656420746f206b65657020616e206163636f756e74206f70656e2e204d5553542042452047524541544552205448414e205a45524f2100590120496620796f75202a7265616c6c792a206e65656420697420746f206265207a65726f2c20796f752063616e20656e61626c652074686520666561747572652060696e7365637572655f7a65726f5f65646020666f72610120746869732070616c6c65742e20486f77657665722c20796f7520646f20736f20617420796f7572206f776e207269736b3a20746869732077696c6c206f70656e2075702061206d616a6f7220446f5320766563746f722e590120496e206361736520796f752068617665206d756c7469706c6520736f7572636573206f662070726f7669646572207265666572656e6365732c20796f75206d617920616c736f2067657420756e65787065637465648c206265686176696f757220696620796f7520736574207468697320746f207a65726f2e00f020426f74746f6d206c696e653a20446f20796f757273656c662061206661766f757220616e64206d616b65206974206174206c65617374206f6e6521204d61784c6f636b7310103200000008f420546865206d6178696d756d206e756d626572206f66206c6f636b7320746861742073686f756c64206578697374206f6e20616e206163636f756e742edc204e6f74207374726963746c7920656e666f726365642c20627574207573656420666f722077656967687420657374696d6174696f6e2e2c4d61785265736572766573101032000000040d0120546865206d6178696d756d206e756d626572206f66206e616d656420726573657276657320746861742063616e206578697374206f6e20616e206163636f756e742e204d6178486f6c647310100200000004190120546865206d6178696d756d206e756d626572206f6620686f6c647320746861742063616e206578697374206f6e20616e206163636f756e7420617420616e792074696d652e284d6178467265657a657310100800000004610120546865206d6178696d756d206e756d626572206f6620696e646976696475616c20667265657a65206c6f636b7320746861742063616e206578697374206f6e20616e206163636f756e7420617420616e792074696d652e011506051c56657374696e67011c56657374696e67081c56657374696e6700010402001906040004d820496e666f726d6174696f6e20726567617264696e67207468652076657374696e67206f66206120676976656e206163636f756e742e3853746f7261676556657273696f6e0100210604000c7c2053746f726167652076657273696f6e206f66207468652070616c6c65742e003101204e6577206e6574776f726b732073746172742077697468206c61746573742076657273696f6e2c2061732064657465726d696e6564206279207468652067656e65736973206275696c642e018901019408444d696e5665737465645472616e73666572184000a0724e18090000000000000000000004e820546865206d696e696d756d20616d6f756e74207472616e7366657272656420746f2063616c6c20607665737465645f7472616e73666572602e4c4d617856657374696e675363686564756c657310101c000000000125060a485472616e73616374696f6e5061796d656e7401485472616e73616374696f6e5061796d656e7408444e6578744665654d756c7469706c6965720100290640000064a7b3b6e00d0000000000000000003853746f7261676556657273696f6e01002d0604000000019804604f7065726174696f6e616c4665654d756c7469706c696572080405545901204120666565206d756c7469706c69657220666f7220604f7065726174696f6e616c602065787472696e7369637320746f20636f6d7075746520227669727475616c207469702220746f20626f6f73742074686569722c20607072696f726974796000510120546869732076616c7565206973206d756c7469706c69656420627920746865206066696e616c5f6665656020746f206f627461696e206120227669727475616c20746970222074686174206973206c61746572f420616464656420746f20612074697020636f6d706f6e656e7420696e20726567756c617220607072696f72697479602063616c63756c6174696f6e732e4d01204974206d65616e732074686174206120604e6f726d616c60207472616e73616374696f6e2063616e2066726f6e742d72756e20612073696d696c61726c792d73697a656420604f7065726174696f6e616c6041012065787472696e736963202877697468206e6f20746970292c20627920696e636c7564696e672061207469702076616c75652067726561746572207468616e20746865207669727475616c207469702e003c20606060727573742c69676e6f726540202f2f20466f7220604e6f726d616c608c206c6574207072696f72697479203d207072696f726974795f63616c6328746970293b0054202f2f20466f7220604f7065726174696f6e616c601101206c6574207669727475616c5f746970203d2028696e636c7573696f6e5f666565202b2074697029202a204f7065726174696f6e616c4665654d756c7469706c6965723bc4206c6574207072696f72697479203d207072696f726974795f63616c6328746970202b207669727475616c5f746970293b1020606060005101204e6f746520746861742073696e636520776520757365206066696e616c5f6665656020746865206d756c7469706c696572206170706c69657320616c736f20746f2074686520726567756c61722060746970605d012073656e74207769746820746865207472616e73616374696f6e2e20536f2c206e6f74206f6e6c7920646f657320746865207472616e73616374696f6e206765742061207072696f726974792062756d702062617365646101206f6e207468652060696e636c7573696f6e5f666565602c2062757420776520616c736f20616d706c6966792074686520696d70616374206f662074697073206170706c69656420746f20604f7065726174696f6e616c6038207472616e73616374696f6e732e000620426167734c6973740120426167734c6973740c244c6973744e6f6465730001040500310604000c8020412073696e676c65206e6f64652c2077697468696e20736f6d65206261672e000501204e6f6465732073746f7265206c696e6b7320666f727761726420616e64206261636b2077697468696e207468656972207265737065637469766520626167732e4c436f756e746572466f724c6973744e6f646573010010100000000004ac436f756e74657220666f72207468652072656c6174656420636f756e7465642073746f72616765206d6170204c69737442616773000104052c350604000c642041206261672073746f72656420696e2073746f726167652e0019012053746f7265732061206042616760207374727563742c2077686963682073746f726573206865616420616e64207461696c20706f696e7465727320746f20697473656c662e019101019c04344261675468726573686f6c647339060919210300a0724e1809000007a1dc61c70900007005739f830a00000df0a0044e0b00008cc4dfa1270c0000d3f8259c110d0000877b712e0d0e0000b6c26fab1b0f00007fbd457f3e100000940e7a317711000083230467c712000067ee82e430140000ef3c9e90b51500000fe1957657170000601d02c9181900008109c9e4fb1a000017ea4c54031d0000c7c4d7d2311f0000daca48508a210000f98d08f50f240000ab514926c6260000b332998ab0290000ae4bcc0ed32c0000a87445eb31300000d4baa4a9d13300007736e32ab73700005578e4ade73b00003e6686d668400000940839b540450000988128cf754a0000232c04270f500000f7b26e461456000053d523488d5c0000fb81e1e282630000fff82275fe6a000025bfbd110a730000f65d718db07b000044327c8dfd84000070ea4897fd8e000099cf4921be990000258b18a54da50000eecef2b2bbb100000a1cae0619bf000028dd3e9e77cd00007628f1d1eadc0000cdc4736e87ed0000a481d8d063ff00001b94af04981201002d8166e43d2701004729163c713d010060d0eeee4f550100ad83741ffa6e0100d907c25a928a0100598d0cc73da801008fc9a65524c80100edc8c6f870ea010041de56dd510f0200f1841fa9f836020024e69dbd9a610200e2fbe07f718f02004111cea5bac0020019a53489b8f5020015872181b22e0300f06fe941f56b030088606c44d3ad030055cc1c35a5f40300e507606bca4004004cb1e869a992040013deb768b0ea040087d87ee955490500922e295719af0500bad965b1831c0600366e1645289206007b9c9c72a510070035fc1083a5980700a62a828ddf2a0800d3db706d18c80800dcb2d4cb2371090072a90e3ce5260a006aa2486e51ea0a00bc9bde786fbc0b00faf78c3a5a9e0c00e7af40d741910d007d178a516d960e00736ed9423caf0f0026e7d5b428dd10008d5f4c1ec921120074f26286d27e1300360cf2d01af61400ec121b379b891600074170ef723b1800d55a4109ea0d1a00b8c1e57e74031c005f6f2683b51e1e0010fc390e8362200002681aafe9d12200f06358a630702500ecc4f24fde402800682f23e2bc472b0056658387df882e00ce9c69dba7083200567ddecfcbcb3500f88b1d055cd73900f2a8299bca303e00c89aa386f2dd42003c57c1721fe54700f8b8023b164d4d0038980c081e1d5300a8e0ee1b0a5d5900b866065b441560007c28a99fd84e6700d4a7dce780136f00b0947b6db26d7700a0996bbaab6880000074d7cb83108a00c05bce583a729400b8093252c99b9f00207582b3379cab0040e2dbbdad83b800987763b88a63c60088d46a537c4ed500c8d5c6cd9758e50010c933fe7497f600b0f82c654b220901801f5a6e11121d01a0ada60b9e81320120c240d7cc8d490140a424eda4556201f0e681b082fa7c01902d36b544a09901f006d4097c6db80140393823a08bd901904393af4627fd01605c0e9c5f70230220e5d99d759a4c02a0c38695f3dc78022080142a6f73a80200392400f99ddb02e0e44df972a11203e024b4efecc74d03e002ae6a08618d03e022c1d263c2d10340cd3eb50d481b044063b0b200556a0480e0eabea853bf0440b82c6672b61a05409026d864f87c05c02b5088c79de605c0e58242d4345806404b97a37656d2060059caf719a7550700de109486d7e207009656d4cfa57a0800d30eff53de1d0900249466cf5ccd0980c0bb3a840d8a0a8087db9878ee540b807c7386cc102f0c8046dea2299a190d809e0a7f4ec6150e805878afb7e8240f000db9d4686e48100013bc01d8df8111007a7115fee2d21200630ecf8e3d3d14002cb9995bd7c21500c6e545e4bc651700367f24192228190051763a52650c1b007fc88a7f12151d00f6ebc196e6441f001631e042d39e21004681d9da02262400d66a80a4dcdd26005c1f796909ca29002a795f6478ee2c007ed9c18c644f30008a5b12495af13300f01c398e3dd9370094f20575500c3c006c905e4e3a90400044c9b03f0f6b4500e0fde77158a34a001011eadd1c4050000c4974c2ea485600b48b14d0e1c55c00b48df018bebf6300c42614d3e33f6b0034691bfd6b5073004cd73df631fc7b00d8b6071ce24e8500d0cc6e8109558f00a8916ad4261c9a00e830cf88bcb2a500b888e0606428b200582ce96de48dbf0030a31ba545f5cd0068632427ec71dd00883b1c5bb118eeffffffffffffffffacd020546865206c697374206f66207468726573686f6c64732073657061726174696e672074686520766172696f757320626167732e00490120496473206172652073657061726174656420696e746f20756e736f727465642062616773206163636f7264696e6720746f2074686569722073636f72652e205468697320737065636966696573207468656101207468726573686f6c64732073657061726174696e672074686520626167732e20416e20696427732062616720697320746865206c6172676573742062616720666f722077686963682074686520696427732073636f7265b8206973206c657373207468616e206f7220657175616c20746f20697473207570706572207468726573686f6c642e006501205768656e20696473206172652069746572617465642c2068696768657220626167732061726520697465726174656420636f6d706c6574656c79206265666f7265206c6f77657220626167732e2054686973206d65616e735901207468617420697465726174696f6e206973205f73656d692d736f727465645f3a20696473206f66206869676865722073636f72652074656e6420746f20636f6d65206265666f726520696473206f66206c6f7765722d012073636f72652c206275742070656572206964732077697468696e206120706172746963756c6172206261672061726520736f7274656420696e20696e73657274696f6e206f726465722e006820232045787072657373696e672074686520636f6e7374616e74004d01205468697320636f6e7374616e74206d75737420626520736f7274656420696e207374726963746c7920696e6372656173696e67206f726465722e204475706c6963617465206974656d7320617265206e6f742c207065726d69747465642e00410120546865726520697320616e20696d706c696564207570706572206c696d6974206f66206053636f72653a3a4d4158603b20746861742076616c756520646f6573206e6f74206e65656420746f2062652101207370656369666965642077697468696e20746865206261672e20466f7220616e792074776f207468726573686f6c64206c697374732c206966206f6e6520656e647320776974683101206053636f72653a3a4d4158602c20746865206f74686572206f6e6520646f6573206e6f742c20616e64207468657920617265206f746865727769736520657175616c2c207468652074776f7c206c697374732077696c6c20626568617665206964656e746963616c6c792e003820232043616c63756c6174696f6e005501204974206973207265636f6d6d656e64656420746f2067656e65726174652074686520736574206f66207468726573686f6c647320696e20612067656f6d6574726963207365726965732c2073756368207468617441012074686572652065786973747320736f6d6520636f6e7374616e7420726174696f2073756368207468617420607468726573686f6c645b6b202b20315d203d3d20287468726573686f6c645b6b5d202ad020636f6e7374616e745f726174696f292e6d6178287468726573686f6c645b6b5d202b2031296020666f7220616c6c20606b602e005901205468652068656c7065727320696e2074686520602f7574696c732f6672616d652f67656e65726174652d6261677360206d6f64756c652063616e2073696d706c69667920746869732063616c63756c6174696f6e2e002c2023204578616d706c6573005101202d20496620604261675468726573686f6c64733a3a67657428292e69735f656d7074792829602c207468656e20616c6c20696473206172652070757420696e746f207468652073616d65206261672c20616e64b0202020697465726174696f6e206973207374726963746c7920696e20696e73657274696f6e206f726465722e6101202d20496620604261675468726573686f6c64733a3a67657428292e6c656e2829203d3d203634602c20616e6420746865207468726573686f6c6473206172652064657465726d696e6564206163636f7264696e6720746f11012020207468652070726f63656475726520676976656e2061626f76652c207468656e2074686520636f6e7374616e7420726174696f20697320657175616c20746f20322e6501202d20496620604261675468726573686f6c64733a3a67657428292e6c656e2829203d3d20323030602c20616e6420746865207468726573686f6c6473206172652064657465726d696e6564206163636f7264696e6720746f59012020207468652070726f63656475726520676976656e2061626f76652c207468656e2074686520636f6e7374616e7420726174696f20697320617070726f78696d6174656c7920657175616c20746f20312e3234382e6101202d20496620746865207468726573686f6c64206c69737420626567696e7320605b312c20322c20332c202e2e2e5d602c207468656e20616e20696420776974682073636f72652030206f7220312077696c6c2066616c6cf0202020696e746f2062616720302c20616e20696420776974682073636f726520322077696c6c2066616c6c20696e746f2062616720312c206574632e00302023204d6967726174696f6e00610120496e20746865206576656e7420746861742074686973206c6973742065766572206368616e6765732c206120636f7079206f6620746865206f6c642062616773206c697374206d7573742062652072657461696e65642e5d012057697468207468617420604c6973743a3a6d696772617465602063616e2062652063616c6c65642c2077686963682077696c6c20706572666f726d2074686520617070726f707269617465206d6967726174696f6e2e013d060b20496d4f6e6c696e650120496d4f6e6c696e651038486561727462656174416674657201001010000000002c1d012054686520626c6f636b206e756d6265722061667465722077686963682069742773206f6b20746f2073656e64206865617274626561747320696e207468652063757272656e74242073657373696f6e2e0025012041742074686520626567696e6e696e67206f6620656163682073657373696f6e20776520736574207468697320746f20612076616c756520746861742073686f756c642066616c6c350120726f7567686c7920696e20746865206d6964646c65206f66207468652073657373696f6e206475726174696f6e2e20546865206964656120697320746f206669727374207761697420666f721901207468652076616c696461746f727320746f2070726f64756365206120626c6f636b20696e207468652063757272656e742073657373696f6e2c20736f207468617420746865a820686561727462656174206c61746572206f6e2077696c6c206e6f74206265206e65636573736172792e00390120546869732076616c75652077696c6c206f6e6c79206265207573656420617320612066616c6c6261636b206966207765206661696c20746f2067657420612070726f7065722073657373696f6e2d012070726f677265737320657374696d6174652066726f6d20604e65787453657373696f6e526f746174696f6e602c2061732074686f736520657374696d617465732073686f756c642062650101206d6f7265206163637572617465207468656e207468652076616c75652077652063616c63756c61746520666f7220604865617274626561744166746572602e104b65797301004506040004d0205468652063757272656e7420736574206f66206b6579732074686174206d61792069737375652061206865617274626561742e4852656365697665644865617274626561747300010805052502d8040004350120466f7220656163682073657373696f6e20696e6465782c207765206b6565702061206d617070696e67206f66206053657373696f6e496e6465786020616e64206041757468496e646578602e38417574686f726564426c6f636b7301010805054d0610100000000008150120466f7220656163682073657373696f6e20696e6465782c207765206b6565702061206d617070696e67206f66206056616c696461746f7249643c543e6020746f20746865c8206e756d626572206f6620626c6f636b7320617574686f7265642062792074686520676976656e20617574686f726974792e01950101a00440556e7369676e65645072696f726974792c20ffffffffffffffff10f0204120636f6e66696775726174696f6e20666f722062617365207072696f72697479206f6620756e7369676e6564207472616e73616374696f6e732e0015012054686973206973206578706f73656420736f20746861742069742063616e2062652074756e656420666f7220706172746963756c61722072756e74696d652c207768656eb4206d756c7469706c652070616c6c6574732073656e6420756e7369676e6564207472616e73616374696f6e732e0151060c1c5374616b696e67011c5374616b696e67a03856616c696461746f72436f756e740100101000000000049c2054686520696465616c206e756d626572206f66206163746976652076616c696461746f72732e544d696e696d756d56616c696461746f72436f756e740100101000000000044101204d696e696d756d206e756d626572206f66207374616b696e67207061727469636970616e7473206265666f726520656d657267656e637920636f6e646974696f6e732061726520696d706f7365642e34496e76756c6e657261626c65730100850104000c590120416e792076616c696461746f72732074686174206d6179206e6576657220626520736c6173686564206f7220666f726369626c79206b69636b65642e20497427732061205665632073696e636520746865792772654d01206561737920746f20696e697469616c697a6520616e642074686520706572666f726d616e636520686974206973206d696e696d616c2028776520657870656374206e6f206d6f7265207468616e20666f7572ac20696e76756c6e657261626c65732920616e64207265737472696374656420746f20746573746e6574732e18426f6e64656400010405000004000c0101204d61702066726f6d20616c6c206c6f636b65642022737461736822206163636f756e747320746f2074686520636f6e74726f6c6c6572206163636f756e742e00d02054574f582d4e4f54453a20534146452073696e636520604163636f756e7449646020697320612073656375726520686173682e404d696e4e6f6d696e61746f72426f6e64010018400000000000000000000000000000000004210120546865206d696e696d756d2061637469766520626f6e6420746f206265636f6d6520616e64206d61696e7461696e2074686520726f6c65206f662061206e6f6d696e61746f722e404d696e56616c696461746f72426f6e64010018400000000000000000000000000000000004210120546865206d696e696d756d2061637469766520626f6e6420746f206265636f6d6520616e64206d61696e7461696e2074686520726f6c65206f6620612076616c696461746f722e484d696e696d756d4163746976655374616b65010018400000000000000000000000000000000004110120546865206d696e696d756d20616374697665206e6f6d696e61746f72207374616b65206f6620746865206c617374207375636365737366756c20656c656374696f6e2e344d696e436f6d6d697373696f6e0100cc10000000000ce820546865206d696e696d756d20616d6f756e74206f6620636f6d6d697373696f6e20746861742076616c696461746f72732063616e207365742e00802049662073657420746f206030602c206e6f206c696d6974206578697374732e184c6564676572000104020055060400104501204d61702066726f6d20616c6c2028756e6c6f636b6564292022636f6e74726f6c6c657222206163636f756e747320746f2074686520696e666f20726567617264696e6720746865207374616b696e672e007501204e6f74653a20416c6c2074686520726561647320616e64206d75746174696f6e7320746f20746869732073746f72616765202a4d5553542a20626520646f6e65207468726f75676820746865206d6574686f6473206578706f736564e8206279205b605374616b696e674c6564676572605d20746f20656e73757265206461746120616e64206c6f636b20636f6e73697374656e63792e1450617965650101040500c804000ce42057686572652074686520726577617264207061796d656e742073686f756c64206265206d6164652e204b657965642062792073746173682e00d02054574f582d4e4f54453a20534146452073696e636520604163636f756e7449646020697320612073656375726520686173682e2856616c696461746f72730101040500d00800000c450120546865206d61702066726f6d202877616e6e616265292076616c696461746f72207374617368206b657920746f2074686520707265666572656e636573206f6620746861742076616c696461746f722e00d02054574f582d4e4f54453a20534146452073696e636520604163636f756e7449646020697320612073656375726520686173682e50436f756e746572466f7256616c696461746f7273010010100000000004ac436f756e74657220666f72207468652072656c6174656420636f756e7465642073746f72616765206d6170484d617856616c696461746f7273436f756e7400001004000c310120546865206d6178696d756d2076616c696461746f7220636f756e74206265666f72652077652073746f7020616c6c6f77696e67206e65772076616c696461746f727320746f206a6f696e2e00d0205768656e20746869732076616c7565206973206e6f74207365742c206e6f206c696d6974732061726520656e666f726365642e284e6f6d696e61746f72730001040500690604004c750120546865206d61702066726f6d206e6f6d696e61746f72207374617368206b657920746f207468656972206e6f6d696e6174696f6e20707265666572656e6365732c206e616d656c79207468652076616c696461746f72732074686174582074686579207769736820746f20737570706f72742e003901204e6f7465207468617420746865206b657973206f6620746869732073746f72616765206d6170206d69676874206265636f6d65206e6f6e2d6465636f6461626c6520696e2063617365207468652d01206163636f756e742773205b604e6f6d696e6174696f6e7351756f74613a3a4d61784e6f6d696e6174696f6e73605d20636f6e66696775726174696f6e206973206465637265617365642e9020496e2074686973207261726520636173652c207468657365206e6f6d696e61746f7273650120617265207374696c6c206578697374656e7420696e2073746f726167652c207468656972206b657920697320636f727265637420616e64207265747269657661626c652028692e652e2060636f6e7461696e735f6b657960710120696e6469636174657320746861742074686579206578697374292c206275742074686569722076616c75652063616e6e6f74206265206465636f6465642e205468657265666f72652c20746865206e6f6e2d6465636f6461626c656d01206e6f6d696e61746f72732077696c6c206566666563746976656c79206e6f742d65786973742c20756e74696c20746865792072652d7375626d697420746865697220707265666572656e6365732073756368207468617420697401012069732077697468696e2074686520626f756e6473206f6620746865206e65776c79207365742060436f6e6669673a3a4d61784e6f6d696e6174696f6e73602e006101205468697320696d706c696573207468617420603a3a697465725f6b65797328292e636f756e7428296020616e6420603a3a6974657228292e636f756e74282960206d696768742072657475726e20646966666572656e746d012076616c75657320666f722074686973206d61702e204d6f72656f7665722c20746865206d61696e20603a3a636f756e7428296020697320616c69676e656420776974682074686520666f726d65722c206e616d656c79207468656c206e756d626572206f66206b65797320746861742065786973742e006d01204c6173746c792c20696620616e79206f6620746865206e6f6d696e61746f7273206265636f6d65206e6f6e2d6465636f6461626c652c20746865792063616e206265206368696c6c656420696d6d6564696174656c7920766961b8205b6043616c6c3a3a6368696c6c5f6f74686572605d20646973706174636861626c6520627920616e796f6e652e00d02054574f582d4e4f54453a20534146452073696e636520604163636f756e7449646020697320612073656375726520686173682e50436f756e746572466f724e6f6d696e61746f7273010010100000000004ac436f756e74657220666f72207468652072656c6174656420636f756e7465642073746f72616765206d6170484d61784e6f6d696e61746f7273436f756e7400001004000c310120546865206d6178696d756d206e6f6d696e61746f7220636f756e74206265666f72652077652073746f7020616c6c6f77696e67206e65772076616c696461746f727320746f206a6f696e2e00d0205768656e20746869732076616c7565206973206e6f74207365742c206e6f206c696d6974732061726520656e666f726365642e2843757272656e744572610000100400105c205468652063757272656e742065726120696e6465782e006501205468697320697320746865206c617465737420706c616e6e6564206572612c20646570656e64696e67206f6e20686f77207468652053657373696f6e2070616c6c657420717565756573207468652076616c696461746f7280207365742c206974206d6967687420626520616374697665206f72206e6f742e2441637469766545726100007106040010d820546865206163746976652065726120696e666f726d6174696f6e2c20697420686f6c647320696e64657820616e642073746172742e0059012054686520616374697665206572612069732074686520657261206265696e672063757272656e746c792072657761726465642e2056616c696461746f7220736574206f66207468697320657261206d757374206265ac20657175616c20746f205b6053657373696f6e496e746572666163653a3a76616c696461746f7273605d2e5445726173537461727453657373696f6e496e6465780001040510100400105501205468652073657373696f6e20696e646578206174207768696368207468652065726120737461727420666f7220746865206c617374205b60436f6e6669673a3a486973746f72794465707468605d20657261732e006101204e6f74653a205468697320747261636b7320746865207374617274696e672073657373696f6e2028692e652e2073657373696f6e20696e646578207768656e20657261207374617274206265696e672061637469766529f020666f7220746865206572617320696e20605b43757272656e74457261202d20484953544f52595f44455054482c2043757272656e744572615d602e2c457261735374616b65727301010805054d06b40c0000002078204578706f73757265206f662076616c696461746f72206174206572612e0061012054686973206973206b65796564206669727374206279207468652065726120696e64657820746f20616c6c6f772062756c6b2064656c6574696f6e20616e64207468656e20746865207374617368206163636f756e742e00cc2049732069742072656d6f766564206166746572205b60436f6e6669673a3a486973746f72794465707468605d20657261732e4101204966207374616b657273206861736e2774206265656e20736574206f7220686173206265656e2072656d6f766564207468656e20656d707479206578706f737572652069732072657475726e65642e002901204e6f74653a20446570726563617465642073696e6365207631342e205573652060457261496e666f6020696e737465616420746f20776f726b2077697468206578706f73757265732e4c457261735374616b6572734f7665727669657700010805054d067506040030b82053756d6d617279206f662076616c696461746f72206578706f73757265206174206120676976656e206572612e007101205468697320636f6e7461696e732074686520746f74616c207374616b6520696e20737570706f7274206f66207468652076616c696461746f7220616e64207468656972206f776e207374616b652e20496e206164646974696f6e2c75012069742063616e20616c736f206265207573656420746f2067657420746865206e756d626572206f66206e6f6d696e61746f7273206261636b696e6720746869732076616c696461746f7220616e6420746865206e756d626572206f666901206578706f73757265207061676573207468657920617265206469766964656420696e746f2e20546865207061676520636f756e742069732075736566756c20746f2064657465726d696e6520746865206e756d626572206f66ac207061676573206f6620726577617264732074686174206e6565647320746f20626520636c61696d65642e0061012054686973206973206b65796564206669727374206279207468652065726120696e64657820746f20616c6c6f772062756c6b2064656c6574696f6e20616e64207468656e20746865207374617368206163636f756e742eac2053686f756c64206f6e6c79206265206163636573736564207468726f7567682060457261496e666f602e00cc2049732069742072656d6f766564206166746572205b60436f6e6669673a3a486973746f72794465707468605d20657261732e4101204966207374616b657273206861736e2774206265656e20736574206f7220686173206265656e2072656d6f766564207468656e20656d707479206f766572766965772069732072657475726e65642e48457261735374616b657273436c697070656401010805054d06b40c000000409820436c6970706564204578706f73757265206f662076616c696461746f72206174206572612e006501204e6f74653a205468697320697320646570726563617465642c2073686f756c64206265207573656420617320726561642d6f6e6c7920616e642077696c6c2062652072656d6f76656420696e20746865206675747572652e3101204e657720604578706f737572656073206172652073746f72656420696e2061207061676564206d616e6e657220696e2060457261735374616b65727350616765646020696e73746561642e00590120546869732069732073696d696c617220746f205b60457261735374616b657273605d20627574206e756d626572206f66206e6f6d696e61746f7273206578706f736564206973207265647563656420746f20746865a82060543a3a4d61784578706f737572655061676553697a65602062696767657374207374616b6572732e1d0120284e6f74653a20746865206669656c642060746f74616c6020616e6420606f776e60206f6620746865206578706f737572652072656d61696e7320756e6368616e676564292ef42054686973206973207573656420746f206c696d69742074686520692f6f20636f737420666f7220746865206e6f6d696e61746f72207061796f75742e005d012054686973206973206b657965642066697374206279207468652065726120696e64657820746f20616c6c6f772062756c6b2064656c6574696f6e20616e64207468656e20746865207374617368206163636f756e742e00cc2049742069732072656d6f766564206166746572205b60436f6e6669673a3a486973746f72794465707468605d20657261732e4101204966207374616b657273206861736e2774206265656e20736574206f7220686173206265656e2072656d6f766564207468656e20656d707479206578706f737572652069732072657475726e65642e002901204e6f74653a20446570726563617465642073696e6365207631342e205573652060457261496e666f6020696e737465616420746f20776f726b2077697468206578706f73757265732e40457261735374616b657273506167656400010c05050579067d06040018c020506167696e61746564206578706f73757265206f6620612076616c696461746f7220617420676976656e206572612e0071012054686973206973206b65796564206669727374206279207468652065726120696e64657820746f20616c6c6f772062756c6b2064656c6574696f6e2c207468656e207374617368206163636f756e7420616e642066696e616c6c79d42074686520706167652e2053686f756c64206f6e6c79206265206163636573736564207468726f7567682060457261496e666f602e00d4205468697320697320636c6561726564206166746572205b60436f6e6669673a3a486973746f72794465707468605d20657261732e38436c61696d65645265776172647301010805054d06b101040018dc20486973746f7279206f6620636c61696d656420706167656420726577617264732062792065726120616e642076616c696461746f722e0069012054686973206973206b657965642062792065726120616e642076616c696461746f72207374617368207768696368206d61707320746f2074686520736574206f66207061676520696e6465786573207768696368206861766538206265656e20636c61696d65642e00cc2049742069732072656d6f766564206166746572205b60436f6e6669673a3a486973746f72794465707468605d20657261732e484572617356616c696461746f72507265667301010805054d06d00800001411012053696d696c617220746f2060457261735374616b657273602c207468697320686f6c64732074686520707265666572656e636573206f662076616c696461746f72732e0061012054686973206973206b65796564206669727374206279207468652065726120696e64657820746f20616c6c6f772062756c6b2064656c6574696f6e20616e64207468656e20746865207374617368206163636f756e742e00cc2049732069742072656d6f766564206166746572205b60436f6e6669673a3a486973746f72794465707468605d20657261732e4c4572617356616c696461746f7252657761726400010405101804000c2d012054686520746f74616c2076616c696461746f7220657261207061796f757420666f7220746865206c617374205b60436f6e6669673a3a486973746f72794465707468605d20657261732e0021012045726173207468617420686176656e27742066696e697368656420796574206f7220686173206265656e2072656d6f76656420646f65736e27742068617665207265776172642e4045726173526577617264506f696e74730101040510810614000000000008d0205265776172647320666f7220746865206c617374205b60436f6e6669673a3a486973746f72794465707468605d20657261732e250120496620726577617264206861736e2774206265656e20736574206f7220686173206265656e2072656d6f766564207468656e2030207265776172642069732072657475726e65642e3845726173546f74616c5374616b6501010405101840000000000000000000000000000000000811012054686520746f74616c20616d6f756e74207374616b656420666f7220746865206c617374205b60436f6e6669673a3a486973746f72794465707468605d20657261732e1d0120496620746f74616c206861736e2774206265656e20736574206f7220686173206265656e2072656d6f766564207468656e2030207374616b652069732072657475726e65642e20466f7263654572610100dc04000454204d6f6465206f662065726120666f7263696e672e4c536c6173685265776172644672616374696f6e0100cc10000000000cf8205468652070657263656e74616765206f662074686520736c617368207468617420697320646973747269627574656420746f207265706f72746572732e00e4205468652072657374206f662074686520736c61736865642076616c75652069732068616e646c6564206279207468652060536c617368602e4c43616e63656c6564536c6173685061796f757401001840000000000000000000000000000000000815012054686520616d6f756e74206f662063757272656e637920676976656e20746f207265706f7274657273206f66206120736c617368206576656e7420776869636820776173ec2063616e63656c65642062792065787472616f7264696e6172792063697263756d7374616e6365732028652e672e20676f7665726e616e6365292e40556e6170706c696564536c617368657301010405109106040004c420416c6c20756e6170706c69656420736c61736865732074686174206172652071756575656420666f72206c617465722e28426f6e646564457261730100410504001025012041206d617070696e672066726f6d207374696c6c2d626f6e646564206572617320746f207468652066697273742073657373696f6e20696e646578206f662074686174206572612e00c8204d75737420636f6e7461696e7320696e666f726d6174696f6e20666f72206572617320666f72207468652072616e67653abc20605b6163746976655f657261202d20626f756e64696e675f6475726174696f6e3b206163746976655f6572615d604c56616c696461746f72536c617368496e45726100010805054d069906040008450120416c6c20736c617368696e67206576656e7473206f6e2076616c696461746f72732c206d61707065642062792065726120746f20746865206869676865737420736c6173682070726f706f7274696f6e7020616e6420736c6173682076616c7565206f6620746865206572612e4c4e6f6d696e61746f72536c617368496e45726100010805054d0618040004610120416c6c20736c617368696e67206576656e7473206f6e206e6f6d696e61746f72732c206d61707065642062792065726120746f20746865206869676865737420736c6173682076616c7565206f6620746865206572612e34536c617368696e675370616e7300010405009d060400048c20536c617368696e67207370616e7320666f72207374617368206163636f756e74732e245370616e536c617368010104058d06a106800000000000000000000000000000000000000000000000000000000000000000083d01205265636f72647320696e666f726d6174696f6e2061626f757420746865206d6178696d756d20736c617368206f6620612073746173682077697468696e206120736c617368696e67207370616e2cb82061732077656c6c20617320686f77206d7563682072657761726420686173206265656e2070616964206f75742e5443757272656e74506c616e6e656453657373696f6e01001010000000000ce820546865206c61737420706c616e6e65642073657373696f6e207363686564756c6564206279207468652073657373696f6e2070616c6c65742e0071012054686973206973206261736963616c6c7920696e2073796e632077697468207468652063616c6c20746f205b6070616c6c65745f73657373696f6e3a3a53657373696f6e4d616e616765723a3a6e65775f73657373696f6e605d2e4c4f6666656e64696e6756616c696461746f72730100a506040024690120496e6469636573206f662076616c696461746f727320746861742068617665206f6666656e64656420696e20746865206163746976652065726120616e6420776865746865722074686579206172652063757272656e746c79282064697361626c65642e00690120546869732076616c75652073686f756c642062652061207375706572736574206f662064697361626c65642076616c696461746f72732073696e6365206e6f7420616c6c206f6666656e636573206c65616420746f2074686571012076616c696461746f72206265696e672064697361626c65642028696620746865726520776173206e6f20736c617368292e2054686973206973206e656564656420746f20747261636b207468652070657263656e74616765206f6649012076616c696461746f727320746861742068617665206f6666656e64656420696e207468652063757272656e74206572612c20656e737572696e672061206e65772065726120697320666f72636564206966750120604f6666656e64696e6756616c696461746f72735468726573686f6c646020697320726561636865642e205468652076656320697320616c77617973206b65707420736f7274656420736f20746861742077652063616e2066696e6471012077686574686572206120676976656e2076616c696461746f72206861732070726576696f75736c79206f6666656e646564207573696e672062696e617279207365617263682e204974206765747320636c6561726564207768656e38207468652065726120656e64732e384368696c6c5468726573686f6c640000ad0104000c510120546865207468726573686f6c6420666f72207768656e2075736572732063616e2073746172742063616c6c696e6720606368696c6c5f6f746865726020666f72206f746865722076616c696461746f7273202f5901206e6f6d696e61746f72732e20546865207468726573686f6c6420697320636f6d706172656420746f207468652061637475616c206e756d626572206f662076616c696461746f7273202f206e6f6d696e61746f72732901202860436f756e74466f722a602920696e207468652073797374656d20636f6d706172656420746f2074686520636f6e66696775726564206d61782028604d61782a436f756e7460292e01a50101c41830486973746f72794465707468101054000000508c204e756d626572206f66206572617320746f206b65657020696e20686973746f72792e00e820466f6c6c6f77696e6720696e666f726d6174696f6e206973206b65707420666f72206572617320696e20605b63757272656e745f657261202d090120486973746f727944657074682c2063757272656e745f6572615d603a2060457261735374616b657273602c2060457261735374616b657273436c6970706564602c050120604572617356616c696461746f725072656673602c20604572617356616c696461746f72526577617264602c206045726173526577617264506f696e7473602c4501206045726173546f74616c5374616b65602c206045726173537461727453657373696f6e496e646578602c2060436c61696d656452657761726473602c2060457261735374616b6572735061676564602c5c2060457261735374616b6572734f76657276696577602e00e4204d757374206265206d6f7265207468616e20746865206e756d626572206f6620657261732064656c617965642062792073657373696f6e2ef820492e652e2061637469766520657261206d75737420616c7761797320626520696e20686973746f72792e20492e652e20606163746976655f657261203ec42063757272656e745f657261202d20686973746f72795f646570746860206d7573742062652067756172616e746565642e001101204966206d6967726174696e6720616e206578697374696e672070616c6c65742066726f6d2073746f726167652076616c756520746f20636f6e6669672076616c75652cec20746869732073686f756c642062652073657420746f2073616d652076616c7565206f72206772656174657220617320696e2073746f726167652e001501204e6f74653a2060486973746f727944657074686020697320757365642061732074686520757070657220626f756e6420666f72207468652060426f756e646564566563602d01206974656d20605374616b696e674c65646765722e6c65676163795f636c61696d65645f72657761726473602e2053657474696e6720746869732076616c7565206c6f776572207468616ed820746865206578697374696e672076616c75652063616e206c65616420746f20696e636f6e73697374656e6369657320696e20746865150120605374616b696e674c65646765726020616e642077696c6c206e65656420746f2062652068616e646c65642070726f7065726c7920696e2061206d6967726174696f6e2ef020546865207465737420607265647563696e675f686973746f72795f64657074685f616272757074602073686f77732074686973206566666563742e3853657373696f6e735065724572611010060000000470204e756d626572206f662073657373696f6e7320706572206572612e3c426f6e64696e674475726174696f6e10100e00000004e4204e756d626572206f6620657261732074686174207374616b65642066756e6473206d7573742072656d61696e20626f6e64656420666f722e48536c61736844656665724475726174696f6e10100d000000100101204e756d626572206f662065726173207468617420736c6173686573206172652064656665727265642062792c20616674657220636f6d7075746174696f6e2e000d0120546869732073686f756c64206265206c657373207468616e2074686520626f6e64696e67206475726174696f6e2e2053657420746f203020696620736c617368657315012073686f756c64206265206170706c69656420696d6d6564696174656c792c20776974686f7574206f70706f7274756e69747920666f7220696e74657276656e74696f6e2e4c4d61784578706f737572655061676553697a651010000100002cb020546865206d6178696d756d2073697a65206f6620656163682060543a3a4578706f7375726550616765602e00290120416e20604578706f737572655061676560206973207765616b6c7920626f756e64656420746f2061206d6178696d756d206f6620604d61784578706f737572655061676553697a656030206e6f6d696e61746f72732e00210120466f72206f6c646572206e6f6e2d7061676564206578706f737572652c206120726577617264207061796f757420776173207265737472696374656420746f2074686520746f70210120604d61784578706f737572655061676553697a6560206e6f6d696e61746f72732e205468697320697320746f206c696d69742074686520692f6f20636f737420666f722074686548206e6f6d696e61746f72207061796f75742e005901204e6f74653a20604d61784578706f737572655061676553697a6560206973207573656420746f20626f756e642060436c61696d6564526577617264736020616e6420697320756e7361666520746f207265647563659020776974686f75742068616e646c696e6720697420696e2061206d6967726174696f6e2e484d6178556e6c6f636b696e674368756e6b7310102000000028050120546865206d6178696d756d206e756d626572206f662060756e6c6f636b696e6760206368756e6b732061205b605374616b696e674c6564676572605d2063616e090120686176652e204566666563746976656c792064657465726d696e657320686f77206d616e7920756e6971756520657261732061207374616b6572206d61792062653820756e626f6e64696e6720696e2e00f8204e6f74653a20604d6178556e6c6f636b696e674368756e6b736020697320757365642061732074686520757070657220626f756e6420666f722074686501012060426f756e64656456656360206974656d20605374616b696e674c65646765722e756e6c6f636b696e67602e2053657474696e6720746869732076616c75650501206c6f776572207468616e20746865206578697374696e672076616c75652063616e206c65616420746f20696e636f6e73697374656e6369657320696e20746865090120605374616b696e674c65646765726020616e642077696c6c206e65656420746f2062652068616e646c65642070726f7065726c7920696e20612072756e74696d650501206d6967726174696f6e2e20546865207465737420607265647563696e675f6d61785f756e6c6f636b696e675f6368756e6b735f616272757074602073686f7773342074686973206566666563742e01ad060d1c53657373696f6e011c53657373696f6e1c2856616c696461746f7273010085010400047c205468652063757272656e7420736574206f662076616c696461746f72732e3043757272656e74496e646578010010100000000004782043757272656e7420696e646578206f66207468652073657373696f6e2e345175657565644368616e6765640100d8040008390120547275652069662074686520756e6465726c79696e672065636f6e6f6d6963206964656e746974696573206f7220776569676874696e6720626568696e64207468652076616c696461746f7273a420686173206368616e67656420696e20746865207175657565642076616c696461746f72207365742e285175657565644b6579730100b1060400083d012054686520717565756564206b65797320666f7220746865206e6578742073657373696f6e2e205768656e20746865206e6578742073657373696f6e20626567696e732c207468657365206b657973e02077696c6c206265207573656420746f2064657465726d696e65207468652076616c696461746f7227732073657373696f6e206b6579732e4844697361626c656456616c696461746f72730100b1010400148020496e6469636573206f662064697361626c65642076616c696461746f72732e003d01205468652076656320697320616c77617973206b65707420736f7274656420736f20746861742077652063616e2066696e642077686574686572206120676976656e2076616c696461746f722069733d012064697361626c6564207573696e672062696e617279207365617263682e204974206765747320636c6561726564207768656e20606f6e5f73657373696f6e5f656e64696e67602072657475726e73642061206e657720736574206f66206964656e7469746965732e204e6578744b6579730001040500c9010400049c20546865206e6578742073657373696f6e206b65797320666f7220612076616c696461746f722e204b65794f776e657200010405b90600040004090120546865206f776e6572206f662061206b65792e20546865206b65792069732074686520604b657954797065496460202b2074686520656e636f646564206b65792e01c50101e00001c1060720547265617375727901205472656173757279183450726f706f73616c436f756e74010010100000000004a4204e756d626572206f662070726f706f73616c7320746861742068617665206265656e206d6164652e2450726f706f73616c730001040510c5060400047c2050726f706f73616c7320746861742068617665206265656e206d6164652e2c4465616374697661746564010018400000000000000000000000000000000004f02054686520616d6f756e7420776869636820686173206265656e207265706f7274656420617320696e61637469766520746f2043757272656e63792e24417070726f76616c730100c906040004f82050726f706f73616c20696e646963657320746861742068617665206265656e20617070726f76656420627574206e6f742079657420617761726465642e285370656e64436f756e74010010100000000004a42054686520636f756e74206f66207370656e647320746861742068617665206265656e206d6164652e185370656e64730001040510cd06040004d0205370656e647320746861742068617665206265656e20617070726f76656420616e64206265696e672070726f6365737365642e01d10101e4203050726f706f73616c426f6e64d5061050c30000085501204672616374696f6e206f6620612070726f706f73616c27732076616c756520746861742073686f756c6420626520626f6e64656420696e206f7264657220746f20706c616365207468652070726f706f73616c2e110120416e2061636365707465642070726f706f73616c2067657473207468657365206261636b2e20412072656a65637465642070726f706f73616c20646f6573206e6f742e4c50726f706f73616c426f6e644d696e696d756d184000a0724e180900000000000000000000044901204d696e696d756d20616d6f756e74206f662066756e647320746861742073686f756c6420626520706c6163656420696e2061206465706f73697420666f72206d616b696e6720612070726f706f73616c2e4c50726f706f73616c426f6e644d6178696d756d49040400044901204d6178696d756d20616d6f756e74206f662066756e647320746861742073686f756c6420626520706c6163656420696e2061206465706f73697420666f72206d616b696e6720612070726f706f73616c2e2c5370656e64506572696f64101080700000048820506572696f64206265747765656e2073756363657373697665207370656e64732e104275726ed50610000000000411012050657263656e74616765206f662073706172652066756e64732028696620616e7929207468617420617265206275726e7420706572207370656e6420706572696f642e2050616c6c65744964d9062070792f74727372790419012054686520747265617375727927732070616c6c65742069642c207573656420666f72206465726976696e672069747320736f7665726569676e206163636f756e742049442e304d6178417070726f76616c731010640000000c150120546865206d6178696d756d206e756d626572206f6620617070726f76616c7320746861742063616e207761697420696e20746865207370656e64696e672071756575652e004d01204e4f54453a205468697320706172616d6574657220697320616c736f20757365642077697468696e2074686520426f756e746965732050616c6c657420657874656e73696f6e20696620656e61626c65642e305061796f7574506572696f641010002f0d000419012054686520706572696f6420647572696e6720776869636820616e20617070726f766564207472656173757279207370656e642068617320746f20626520636c61696d65642e01dd060e28486973746f726963616c0128486973746f726963616c0848486973746f726963616c53657373696f6e730001040510e1060400045d01204d617070696e672066726f6d20686973746f726963616c2073657373696f6e20696e646963657320746f2073657373696f6e2d6461746120726f6f74206861736820616e642076616c696461746f7220636f756e742e2c53746f72656452616e676500002502040004e4205468652072616e6765206f6620686973746f726963616c2073657373696f6e732077652073746f72652e205b66697273742c206c61737429000000000f1c5574696c6974790001d90101ec044c626174636865645f63616c6c735f6c696d69741010aa2a000004a820546865206c696d6974206f6e20746865206e756d626572206f6620626174636865642063616c6c732e01e5060840436f6e76696374696f6e566f74696e670140436f6e76696374696f6e566f74696e670824566f74696e67466f720101080505e906ed06d800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008750120416c6c20766f74696e6720666f72206120706172746963756c617220766f74657220696e206120706172746963756c617220766f74696e6720636c6173732e2057652073746f7265207468652062616c616e636520666f72207468659c206e756d626572206f6620766f74657320746861742077652068617665207265636f726465642e34436c6173734c6f636b73466f7201010405000d0704000c69012054686520766f74696e6720636c617373657320776869636820686176652061206e6f6e2d7a65726f206c6f636b20726571756972656d656e7420616e6420746865206c6f636b20616d6f756e747320776869636820746865796d0120726571756972652e205468652061637475616c20616d6f756e74206c6f636b6564206f6e20626568616c66206f6620746869732070616c6c65742073686f756c6420616c7761797320626520746865206d6178696d756d206f662c2074686973206c6973742e01f10101f408204d6178566f74657310100002000010f020546865206d6178696d756d206e756d626572206f6620636f6e63757272656e7420766f74657320616e206163636f756e74206d617920686176652e00550120416c736f207573656420746f20636f6d70757465207765696768742c20616e206f7665726c79206c617267652076616c75652063616e206c65616420746f2065787472696e736963732077697468206c61726765c02077656967687420657374696d6174696f6e3a20736565206064656c65676174656020666f7220696e7374616e63652e44566f74654c6f636b696e67506572696f64101080130300109020546865206d696e696d756d20706572696f64206f6620766f7465206c6f636b696e672e0065012049742073686f756c64206265206e6f2073686f72746572207468616e20656e6163746d656e7420706572696f6420746f20656e73757265207468617420696e207468652063617365206f6620616e20617070726f76616c2c49012074686f7365207375636365737366756c20766f7465727320617265206c6f636b656420696e746f2074686520636f6e73657175656e636573207468617420746865697220766f74657320656e7461696c2e01190710245265666572656e646101245265666572656e6461143c5265666572656e64756d436f756e74010010100000000004310120546865206e6578742066726565207265666572656e64756d20696e6465782c20616b6120746865206e756d626572206f66207265666572656e6461207374617274656420736f206661722e445265666572656e64756d496e666f466f7200010402101d07040004b420496e666f726d6174696f6e20636f6e6365726e696e6720616e7920676976656e207265666572656e64756d2e28547261636b517565756501010405fc3d070400105d012054686520736f72746564206c697374206f66207265666572656e646120726561647920746f206265206465636964656420627574206e6f7420796574206265696e6720646563696465642c206f7264657265642062797c20636f6e76696374696f6e2d776569676874656420617070726f76616c732e00410120546869732073686f756c6420626520656d70747920696620604465636964696e67436f756e7460206973206c657373207468616e2060547261636b496e666f3a3a6d61785f6465636964696e67602e344465636964696e67436f756e7401010405fc10100000000004c420546865206e756d626572206f66207265666572656e6461206265696e6720646563696465642063757272656e746c792e284d657461646174614f66000104021030040018050120546865206d6574616461746120697320612067656e6572616c20696e666f726d6174696f6e20636f6e6365726e696e6720746865207265666572656e64756d2e490120546865206048617368602072656665727320746f2074686520707265696d616765206f66207468652060507265696d61676573602070726f76696465722077686963682063616e2062652061204a534f4e882064756d70206f7220495046532068617368206f662061204a534f4e2066696c652e00750120436f6e73696465722061206761726261676520636f6c6c656374696f6e20666f722061206d65746164617461206f662066696e6973686564207265666572656e64756d7320746f2060756e7265717565737460202872656d6f76652944206c6172676520707265696d616765732e01050201f814445375626d697373696f6e4465706f736974184000407a10f35a0000000000000000000004350120546865206d696e696d756d20616d6f756e7420746f20626520757365642061732061206465706f73697420666f722061207075626c6963207265666572656e64756d2070726f706f73616c2e244d617851756575656410106400000004e4204d6178696d756d2073697a65206f6620746865207265666572656e64756d20717565756520666f7220612073696e676c6520747261636b2e44556e6465636964696e6754696d656f757410100027060008550120546865206e756d626572206f6620626c6f636b73206166746572207375626d697373696f6e20746861742061207265666572656e64756d206d75737420626567696e206265696e6720646563696465642062792ee4204f6e63652074686973207061737365732c207468656e20616e796f6e65206d61792063616e63656c20746865207265666572656e64756d2e34416c61726d496e74657276616c1010010000000c5d01205175616e74697a6174696f6e206c6576656c20666f7220746865207265666572656e64756d2077616b657570207363686564756c65722e204120686967686572206e756d6265722077696c6c20726573756c7420696e5d012066657765722073746f726167652072656164732f777269746573206e656564656420666f7220736d616c6c657220766f746572732c2062757420616c736f20726573756c7420696e2064656c61797320746f207468655501206175746f6d61746963207265666572656e64756d20737461747573206368616e6765732e204578706c6963697420736572766963696e6720696e737472756374696f6e732061726520756e61666665637465642e18547261636b734907b11234000010726f6f7401000000000064a7b3b6e00d0000000000000000600900000027060080700000807000000290d73e0d000000005743de13000000005443de13000000000000ca9a3b000000000065cd1d01004877686974656c69737465645f63616c6c65726400000000008a5d7845630100000000000000005802000000270600c8000000c800000002ec972510000000007b573c170000000042392f1200000000020e00840000000000d6e61f010000000039627902000000000a00347374616b696e675f61646d696e0a0000000000c52ebca2b10000000000000000006009000000270600100e0000c800000000c94330240065cd1d00ca9a3b025d6f780000000000e82eed00000000008c6889ffffffffff0b00247472656173757265720a0000000000c16ff286230000000000000000006009000000270600100e0000807000000290d73e0d000000005743de13000000005443de13000000000000ca9a3b000000000065cd1d0c004066656c6c6f77736869705f61646d696e0a0000000000c52ebca2b10000000000000000006009000000270600100e0000c800000000c94330240065cd1d00ca9a3b025d6f780000000000e82eed00000000008c6889ffffffffff0d003467656e6572616c5f61646d696e0a0000000000c52ebca2b10000000000000000006009000000270600100e0000c80000000290d73e0d000000005743de13000000005443de13000000000259a2f40200000000a3296b05000000002e6b4afdffffffff1400507265666572656e64756d5f63616e63656c6c6572e803000000008a5d7845630100000000000000006009000080130300100e0000c800000000c94330240065cd1d00ca9a3b025d6f780000000000e82eed00000000008c6889ffffffffff1500447265666572656e64756d5f6b696c6c6572e80300000000b2d3595bf00600000000000000006009000000270600100e0000c800000000c94330240065cd1d00ca9a3b025d6f780000000000e82eed00000000008c6889ffffffffff1e0030736d616c6c5f746970706572c800000000a0724e1809000000000000000000001400000080130300c80000001400000000499149150065cd1d00ca9a3b02f9ba1800000000002a4d3100000000006b59e7ffffffffff1f00286269675f7469707065726400000000407a10f35a00000000000000000000c800000080130300b0040000c800000000499149150065cd1d00ca9a3b02694f3f000000000035967d0000000000e534c1ffffffffff200034736d616c6c5f7370656e646572320000000080c6a47e8d03000000000000000000c012000000270600403800008070000000c94330240065cd1d00ca9a3b025d6f780000000000e82eed00000000008c6889ffffffffff2100386d656469756d5f7370656e6465723200000000008d49fd1a07000000000000000000c0120000002706008070000080700000005b01f6300065cd1d00ca9a3b021161db0000000000bfd1aa010000000020972affffffffff22002c6269675f7370656e6465723200000000001a93fa350e000000000000000000c01200000027060000e10000807000000000ca9a3b0065cd1d00ca9a3b02413cb00100000000755d34030000000045d165feffffffff04e020496e666f726d6174696f6e20636f6e6365726e696e672074686520646966666572656e74207265666572656e64756d20747261636b732e016107115046656c6c6f7773686970436f6c6c656374697665015046656c6c6f7773686970436f6c6c656374697665182c4d656d626572436f756e7401010405fc10100000000008690120546865206e756d626572206f66206d656d6265727320696e2074686520636f6c6c6563746976652077686f2068617665206174206c65617374207468652072616e6b206163636f7264696e6720746f2074686520696e64657830206f6620746865207665632e1c4d656d62657273000104050065070400049c205468652063757272656e74206d656d62657273206f662074686520636f6c6c6563746976652e244964546f496e646578000108050569071004000461012054686520696e646578206f6620656163682072616e6b732773206d656d62657220696e746f207468652067726f7570206f66206d656d626572732077686f2068617665206174206c6561737420746861742072616e6b2e24496e646578546f496400010805056d07000400085d0120546865206d656d6265727320696e2074686520636f6c6c65637469766520627920696e6465782e20416c6c20696e646963657320696e207468652072616e67652060302e2e4d656d626572436f756e74602077696c6c65012072657475726e2060536f6d65602c20686f77657665722061206d656d626572277320696e646578206973206e6f742067756172616e7465656420746f2072656d61696e20756e6368616e676564206f7665722074696d652e18566f74696e6700010802054d066504040004b420566f746573206f6e206120676976656e2070726f706f73616c2c206966206974206973206f6e676f696e672e34566f74696e67436c65616e75700001040210710704000001110201610400017507124c46656c6c6f77736869705265666572656e6461014c46656c6c6f77736869705265666572656e6461143c5265666572656e64756d436f756e74010010100000000004310120546865206e6578742066726565207265666572656e64756d20696e6465782c20616b6120746865206e756d626572206f66207265666572656e6461207374617274656420736f206661722e445265666572656e64756d496e666f466f7200010402107907040004b420496e666f726d6174696f6e20636f6e6365726e696e6720616e7920676976656e207265666572656e64756d2e28547261636b517565756501010405fc81070400105d012054686520736f72746564206c697374206f66207265666572656e646120726561647920746f206265206465636964656420627574206e6f7420796574206265696e6720646563696465642c206f7264657265642062797c20636f6e76696374696f6e2d776569676874656420617070726f76616c732e00410120546869732073686f756c6420626520656d70747920696620604465636964696e67436f756e7460206973206c657373207468616e2060547261636b496e666f3a3a6d61785f6465636964696e67602e344465636964696e67436f756e7401010405fc10100000000004c420546865206e756d626572206f66207265666572656e6461206265696e6720646563696465642063757272656e746c792e284d657461646174614f66000104021030040018050120546865206d6574616461746120697320612067656e6572616c20696e666f726d6174696f6e20636f6e6365726e696e6720746865207265666572656e64756d2e490120546865206048617368602072656665727320746f2074686520707265696d616765206f66207468652060507265696d61676573602070726f76696465722077686963682063616e2062652061204a534f4e882064756d70206f7220495046532068617368206f662061204a534f4e2066696c652e00750120436f6e73696465722061206761726261676520636f6c6c656374696f6e20666f722061206d65746164617461206f662066696e6973686564207265666572656e64756d7320746f2060756e7265717565737460202872656d6f76652944206c6172676520707265696d616765732e011502016d0414445375626d697373696f6e4465706f73697418400000000000000000000000000000000004350120546865206d696e696d756d20616d6f756e7420746f20626520757365642061732061206465706f73697420666f722061207075626c6963207265666572656e64756d2070726f706f73616c2e244d617851756575656410106400000004e4204d6178696d756d2073697a65206f6620746865207265666572656e64756d20717565756520666f7220612073696e676c6520747261636b2e44556e6465636964696e6754696d656f757410108013030008550120546865206e756d626572206f6620626c6f636b73206166746572207375626d697373696f6e20746861742061207265666572656e64756d206d75737420626567696e206265696e6720646563696465642062792ee4204f6e63652074686973207061737365732c207468656e20616e796f6e65206d61792063616e63656c20746865207265666572656e64756d2e34416c61726d496e74657276616c1010010000000c5d01205175616e74697a6174696f6e206c6576656c20666f7220746865207265666572656e64756d2077616b657570207363686564756c65722e204120686967686572206e756d6265722077696c6c20726573756c7420696e5d012066657765722073746f726167652072656164732f777269746573206e656564656420666f7220736d616c6c657220766f746572732c2062757420616c736f20726573756c7420696e2064656c61797320746f207468655501206175746f6d61746963207265666572656e64756d20737461747573206368616e6765732e204578706c6963697420736572766963696e6720696e737472756374696f6e732061726520756e61666665637465642e18547261636b734907cd0b2800002863616e646964617465730a0000000080c6a47e8d03000000000000000000580200008013030058020000140000000000ca9a3b0065cd1d00ca9a3b0000ca9a3b000000000065cd1d01001c6d656d626572730a00000000407a10f35a00000000000000000000580200008013030058020000140000000000ca9a3b0065cd1d00ca9a3b0000ca9a3b000000000065cd1d02002c70726f66696369656e74730a00000000407a10f35a00000000000000000000580200008013030058020000140000000000ca9a3b0065cd1d00ca9a3b0000ca9a3b000000000065cd1d03001c66656c6c6f77730a00000000407a10f35a00000000000000000000580200008013030058020000140000000000ca9a3b0065cd1d00ca9a3b0000ca9a3b000000000065cd1d04003873656e696f722066656c6c6f77730a00000000407a10f35a00000000000000000000580200008013030058020000140000000000ca9a3b0065cd1d00ca9a3b0000ca9a3b000000000065cd1d05001c657870657274730a00000000a0724e180900000000000000000000580200008013030058020000140000000000ca9a3b0065cd1d00ca9a3b0000ca9a3b000000000065cd1d06003873656e696f7220657870657274730a00000000a0724e180900000000000000000000580200008013030058020000140000000000ca9a3b0065cd1d00ca9a3b0000ca9a3b000000000065cd1d07001c6d6173746572730a00000000a0724e180900000000000000000000580200008013030058020000140000000000ca9a3b0065cd1d00ca9a3b0000ca9a3b000000000065cd1d08003873656e696f72206d6173746572730a00000000a0724e180900000000000000000000580200008013030058020000140000000000ca9a3b0065cd1d00ca9a3b0000ca9a3b000000000065cd1d0900346772616e64206d6173746572730a00000000a0724e180900000000000000000000580200008013030058020000140000000000ca9a3b0065cd1d00ca9a3b0000ca9a3b000000000065cd1d04e020496e666f726d6174696f6e20636f6e6365726e696e672074686520646966666572656e74207265666572656e64756d20747261636b732e018507131c4f726967696e730000000000142457686974656c697374012457686974656c697374043c57686974656c697374656443616c6c0001040530e80400000119020171040001890715245363686564756c657201245363686564756c65720c3c496e636f6d706c65746553696e6365000010040000184167656e646101010405108d070400044d01204974656d7320746f2062652065786563757465642c20696e64657865642062792074686520626c6f636b206e756d626572207468617420746865792073686f756c64206265206578656375746564206f6e2e184c6f6f6b757000010405042502040010f8204c6f6f6b75702066726f6d2061206e616d6520746f2074686520626c6f636b206e756d62657220616e6420696e646578206f6620746865207461736b2e00590120466f72207633202d3e207634207468652070726576696f75736c7920756e626f756e646564206964656e7469746965732061726520426c616b65322d3235362068617368656420746f20666f726d2074686520763430206964656e7469746965732e011d0201850408344d6178696d756d576569676874243c070040b743ba13cccccccccccccccc04290120546865206d6178696d756d207765696768742074686174206d6179206265207363686564756c65642070657220626c6f636b20666f7220616e7920646973706174636861626c65732e504d61785363686564756c6564506572426c6f636b101000020000141d0120546865206d6178696d756d206e756d626572206f66207363686564756c65642063616c6c7320696e2074686520717565756520666f7220612073696e676c6520626c6f636b2e0018204e4f54453a5101202b20446570656e64656e742070616c6c657473272062656e63686d61726b73206d696768742072657175697265206120686967686572206c696d697420666f72207468652073657474696e672e205365742061c420686967686572206c696d697420756e646572206072756e74696d652d62656e63686d61726b736020666561747572652e019d071620507265696d6167650120507265696d6167650c24537461747573466f720001040630a1070400049020546865207265717565737420737461747573206f66206120676976656e20686173682e4052657175657374537461747573466f720001040630a9070400049020546865207265717565737420737461747573206f66206120676976656e20686173682e2c507265696d616765466f7200010406e106b907040000012902018d040001bd0717204964656e7469747901204964656e7469747910284964656e746974794f660001040500c10704000c210120496e666f726d6174696f6e20746861742069732070657274696e656e7420746f206964656e746966792074686520656e7469747920626568696e6420616e206163636f756e742e00c02054574f582d4e4f54453a204f4b20e2809520604163636f756e7449646020697320612073656375726520686173682e1c53757065724f660001040200c9020400086101205468652073757065722d6964656e74697479206f6620616e20616c7465726e6174697665202273756222206964656e7469747920746f676574686572207769746820697473206e616d652c2077697468696e2074686174510120636f6e746578742e20496620746865206163636f756e74206973206e6f7420736f6d65206f74686572206163636f756e742773207375622d6964656e746974792c207468656e206a75737420604e6f6e65602e18537562734f660101040500d10744000000000000000000000000000000000014b820416c7465726e6174697665202273756222206964656e746974696573206f662074686973206163636f756e742e001d0120546865206669727374206974656d20697320746865206465706f7369742c20746865207365636f6e64206973206120766563746f72206f6620746865206163636f756e74732e00c02054574f582d4e4f54453a204f4b20e2809520604163636f756e7449646020697320612073656375726520686173682e28526567697374726172730100d9070400104d012054686520736574206f6620726567697374726172732e204e6f7420657870656374656420746f206765742076657279206269672061732063616e206f6e6c79206265206164646564207468726f7567682061a8207370656369616c206f726967696e20286c696b656c79206120636f756e63696c206d6f74696f6e292e0029012054686520696e64657820696e746f20746869732063616e206265206361737420746f2060526567697374726172496e6465786020746f2067657420612076616c69642076616c75652e013102019104143042617369634465706f736974184000407a10f35a0000000000000000000004d42054686520616d6f756e742068656c64206f6e206465706f73697420666f7220612072656769737465726564206964656e746974792c427974654465706f73697418400070c9b28b0000000000000000000000041d012054686520616d6f756e742068656c64206f6e206465706f7369742070657220656e636f646564206279746520666f7220612072656769737465726564206964656e746974792e445375624163636f756e744465706f73697418400040e59c3012000000000000000000000c65012054686520616d6f756e742068656c64206f6e206465706f73697420666f7220612072656769737465726564207375626163636f756e742e20546869732073686f756c64206163636f756e7420666f7220746865206661637465012074686174206f6e652073746f72616765206974656d27732076616c75652077696c6c20696e637265617365206279207468652073697a65206f6620616e206163636f756e742049442c20616e642074686572652077696c6c350120626520616e6f746865722074726965206974656d2077686f73652076616c7565206973207468652073697a65206f6620616e206163636f756e7420494420706c75732033322062797465732e384d61785375624163636f756e7473101064000000040d0120546865206d6178696d756d206e756d626572206f66207375622d6163636f756e747320616c6c6f77656420706572206964656e746966696564206163636f756e742e344d617852656769737472617273101014000000085101204d61786d696d756d206e756d626572206f66207265676973747261727320616c6c6f77656420696e207468652073797374656d2e204e656564656420746f20626f756e642074686520636f6d706c65786974797c206f662c20652e672e2c207570646174696e67206a756467656d656e74732e01e907181450726f7879011450726f7879081c50726f786965730101040500ed074400000000000000000000000000000000000845012054686520736574206f66206163636f756e742070726f786965732e204d61707320746865206163636f756e74207768696368206861732064656c65676174656420746f20746865206163636f756e7473210120776869636820617265206265696e672064656c65676174656420746f2c20746f67657468657220776974682074686520616d6f756e742068656c64206f6e206465706f7369742e34416e6e6f756e63656d656e74730101040500fd0744000000000000000000000000000000000004ac2054686520616e6e6f756e63656d656e7473206d616465206279207468652070726f787920286b6579292e01d102019504184050726f78794465706f736974426173651840001843d5ba050000000000000000000010110120546865206261736520616d6f756e74206f662063757272656e6379206e656564656420746f207265736572766520666f72206372656174696e6720612070726f78792e00010120546869732069732068656c6420666f7220616e206164646974696f6e616c2073746f72616765206974656d2077686f73652076616c75652073697a652069732501206073697a656f662842616c616e6365296020627974657320616e642077686f7365206b65792073697a65206973206073697a656f66284163636f756e74496429602062797465732e4850726f78794465706f736974466163746f7218400070f70b02120000000000000000000014bc2054686520616d6f756e74206f662063757272656e6379206e6565646564207065722070726f78792061646465642e00350120546869732069732068656c6420666f7220616464696e6720333220627974657320706c757320616e20696e7374616e6365206f66206050726f78795479706560206d6f726520696e746f20616101207072652d6578697374696e672073746f726167652076616c75652e20546875732c207768656e20636f6e6669677572696e67206050726f78794465706f736974466163746f7260206f6e652073686f756c642074616b65f420696e746f206163636f756e7420603332202b2070726f78795f747970652e656e636f646528292e6c656e282960206279746573206f6620646174612e284d617850726f7869657310102000000004f020546865206d6178696d756d20616d6f756e74206f662070726f7869657320616c6c6f77656420666f7220612073696e676c65206163636f756e742e284d617850656e64696e6710102000000004450120546865206d6178696d756d20616d6f756e74206f662074696d652d64656c6179656420616e6e6f756e63656d656e747320746861742061726520616c6c6f77656420746f2062652070656e64696e672e5c416e6e6f756e63656d656e744465706f736974426173651840001843d5ba050000000000000000000010310120546865206261736520616d6f756e74206f662063757272656e6379206e656564656420746f207265736572766520666f72206372656174696e6720616e20616e6e6f756e63656d656e742e00490120546869732069732068656c64207768656e2061206e65772073746f72616765206974656d20686f6c64696e672061206042616c616e636560206973206372656174656420287479706963616c6c7920313620206279746573292e64416e6e6f756e63656d656e744465706f736974466163746f72184000e0ee1704240000000000000000000010d42054686520616d6f756e74206f662063757272656e6379206e65656465642070657220616e6e6f756e63656d656e74206d6164652e00590120546869732069732068656c6420666f7220616464696e6720616e20604163636f756e744964602c2060486173686020616e642060426c6f636b4e756d6265726020287479706963616c6c79203638206279746573298c20696e746f2061207072652d6578697374696e672073746f726167652076616c75652e010d0819204d756c746973696701204d756c746973696704244d756c746973696773000108050211081508040004942054686520736574206f66206f70656e206d756c7469736967206f7065726174696f6e732e01dd020199040c2c4465706f736974426173651840001836b462310000000000000000000018590120546865206261736520616d6f756e74206f662063757272656e6379206e656564656420746f207265736572766520666f72206372656174696e672061206d756c746973696720657865637574696f6e206f7220746f842073746f726520612064697370617463682063616c6c20666f72206c617465722e00010120546869732069732068656c6420666f7220616e206164646974696f6e616c2073746f72616765206974656d2077686f73652076616c75652073697a652069733101206034202b2073697a656f662828426c6f636b4e756d6265722c2042616c616e63652c204163636f756e74496429296020627974657320616e642077686f7365206b65792073697a652069738020603332202b2073697a656f66284163636f756e74496429602062797465732e344465706f736974466163746f72184000002e597611000000000000000000000c55012054686520616d6f756e74206f662063757272656e6379206e65656465642070657220756e6974207468726573686f6c64207768656e206372656174696e672061206d756c746973696720657865637574696f6e2e00250120546869732069732068656c6420666f7220616464696e67203332206279746573206d6f726520696e746f2061207072652d6578697374696e672073746f726167652076616c75652e384d61785369676e61746f7269657310106400000004ec20546865206d6178696d756d20616d6f756e74206f66207369676e61746f7269657320616c6c6f77656420696e20746865206d756c74697369672e011d081a68456c656374696f6e50726f76696465724d756c746950686173650168456c656374696f6e50726f76696465724d756c746950686173652814526f756e64010010100100000018ac20496e7465726e616c20636f756e74657220666f7220746865206e756d626572206f6620726f756e64732e00550120546869732069732075736566756c20666f722064652d6475706c69636174696f6e206f66207472616e73616374696f6e73207375626d697474656420746f2074686520706f6f6c2c20616e642067656e6572616c6c20646961676e6f7374696373206f66207468652070616c6c65742e004d012054686973206973206d6572656c7920696e6372656d656e746564206f6e6365207065722065766572792074696d65207468617420616e20757073747265616d2060656c656374602069732063616c6c65642e3043757272656e7450686173650100a5040400043c2043757272656e742070686173652e38517565756564536f6c7574696f6e0000210804000c3d012043757272656e74206265737420736f6c7574696f6e2c207369676e6564206f7220756e7369676e65642c2071756575656420746f2062652072657475726e65642075706f6e2060656c656374602e006020416c7761797320736f727465642062792073636f72652e20536e617073686f740000290804000c7020536e617073686f742064617461206f662074686520726f756e642e005d01205468697320697320637265617465642061742074686520626567696e6e696e67206f6620746865207369676e656420706861736520616e6420636c65617265642075706f6e2063616c6c696e672060656c656374602e38446573697265645461726765747300001004000ccc2044657369726564206e756d626572206f66207461726765747320746f20656c65637420666f72207468697320726f756e642e00a8204f6e6c7920657869737473207768656e205b60536e617073686f74605d2069732070726573656e742e40536e617073686f744d657461646174610000c10304000c9820546865206d65746164617461206f6620746865205b60526f756e64536e617073686f74605d00a8204f6e6c7920657869737473207768656e205b60536e617073686f74605d2069732070726573656e742e645369676e65645375626d697373696f6e4e657874496e646578010010100000000024010120546865206e65787420696e64657820746f2062652061737369676e656420746f20616e20696e636f6d696e67207369676e6564207375626d697373696f6e2e007501204576657279206163636570746564207375626d697373696f6e2069732061737369676e6564206120756e6971756520696e6465783b207468617420696e64657820697320626f756e6420746f207468617420706172746963756c61726501207375626d697373696f6e20666f7220746865206475726174696f6e206f662074686520656c656374696f6e2e204f6e20656c656374696f6e2066696e616c697a6174696f6e2c20746865206e65787420696e6465782069733020726573657420746f20302e0069012057652063616e2774206a7573742075736520605369676e65645375626d697373696f6e496e64696365732e6c656e2829602c206265636175736520746861742773206120626f756e646564207365743b20706173742069747359012063617061636974792c2069742077696c6c2073696d706c792073617475726174652e2057652063616e2774206a7573742069746572617465206f76657220605369676e65645375626d697373696f6e734d6170602cf4206265636175736520697465726174696f6e20697320736c6f772e20496e73746561642c2077652073746f7265207468652076616c756520686572652e5c5369676e65645375626d697373696f6e496e6469636573010035080400186d01204120736f727465642c20626f756e64656420766563746f72206f6620602873636f72652c20626c6f636b5f6e756d6265722c20696e64657829602c20776865726520656163682060696e6465786020706f696e747320746f2061782076616c756520696e20605369676e65645375626d697373696f6e73602e007101205765206e65766572206e65656420746f2070726f63657373206d6f7265207468616e20612073696e676c65207369676e6564207375626d697373696f6e20617420612074696d652e205369676e6564207375626d697373696f6e7375012063616e206265207175697465206c617267652c20736f2077652772652077696c6c696e6720746f207061792074686520636f7374206f66206d756c7469706c6520646174616261736520616363657373657320746f206163636573732101207468656d206f6e6520617420612074696d6520696e7374656164206f662072656164696e6720616e64206465636f64696e6720616c6c206f66207468656d206174206f6e63652e505369676e65645375626d697373696f6e734d61700001040510410804001c7420556e636865636b65642c207369676e656420736f6c7574696f6e732e00690120546f676574686572207769746820605375626d697373696f6e496e6469636573602c20746869732073746f726573206120626f756e64656420736574206f6620605369676e65645375626d697373696f6e7360207768696c65ec20616c6c6f77696e6720757320746f206b656570206f6e6c7920612073696e676c65206f6e6520696e206d656d6f727920617420612074696d652e0069012054776f78206e6f74653a20746865206b6579206f6620746865206d617020697320616e206175746f2d696e6372656d656e74696e6720696e6465782077686963682075736572732063616e6e6f7420696e7370656374206f72f4206166666563743b2077652073686f756c646e2774206e65656420612063727970746f67726170686963616c6c7920736563757265206861736865722e544d696e696d756d556e7472757374656453636f72650000bd030400105d0120546865206d696e696d756d2073636f7265207468617420656163682027756e747275737465642720736f6c7574696f6e206d7573742061747461696e20696e206f7264657220746f20626520636f6e7369646572656428206665617369626c652e00b82043616e206265207365742076696120607365745f6d696e696d756d5f756e747275737465645f73636f7265602e01e902019d044434556e7369676e656450686173651010580200000480204475726174696f6e206f662074686520756e7369676e65642070686173652e2c5369676e656450686173651010580200000478204475726174696f6e206f6620746865207369676e65642070686173652e544265747465725369676e65645468726573686f6c64cc1000000000084d0120546865206d696e696d756d20616d6f756e74206f6620696d70726f76656d656e7420746f2074686520736f6c7574696f6e2073636f7265207468617420646566696e6573206120736f6c7574696f6e2061737820226265747465722220696e20746865205369676e65642070686173652e5c426574746572556e7369676e65645468726573686f6c64cc10a0860100084d0120546865206d696e696d756d20616d6f756e74206f6620696d70726f76656d656e7420746f2074686520736f6c7574696f6e2073636f7265207468617420646566696e6573206120736f6c7574696f6e2061738020226265747465722220696e2074686520556e7369676e65642070686173652e384f6666636861696e52657065617410102500000010b42054686520726570656174207468726573686f6c64206f6620746865206f6666636861696e20776f726b65722e00610120466f72206578616d706c652c20696620697420697320352c2074686174206d65616e732074686174206174206c65617374203520626c6f636b732077696c6c20656c61707365206265747765656e20617474656d7074738420746f207375626d69742074686520776f726b6572277320736f6c7574696f6e2e3c4d696e657254785072696f726974792c20feffffffffffff7f04250120546865207072696f72697479206f662074686520756e7369676e6564207472616e73616374696f6e207375626d697474656420696e2074686520756e7369676e65642d7068617365505369676e65644d61785375626d697373696f6e7310100a0000001ce4204d6178696d756d206e756d626572206f66207369676e6564207375626d697373696f6e7320746861742063616e206265207175657565642e005501204974206973206265737420746f2061766f69642061646a757374696e67207468697320647572696e6720616e20656c656374696f6e2c20617320697420696d706163747320646f776e73747265616d2064617461650120737472756374757265732e20496e20706172746963756c61722c20605369676e65645375626d697373696f6e496e64696365733c543e6020697320626f756e646564206f6e20746869732076616c75652e20496620796f75f42075706461746520746869732076616c756520647572696e6720616e20656c656374696f6e2c20796f75205f6d7573745f20656e7375726520746861744d0120605369676e65645375626d697373696f6e496e64696365732e6c656e282960206973206c657373207468616e206f7220657175616c20746f20746865206e65772076616c75652e204f74686572776973652cf020617474656d70747320746f207375626d6974206e657720736f6c7574696f6e73206d617920636175736520612072756e74696d652070616e69632e3c5369676e65644d6178576569676874243c071059531a3313ec51b81e85eb51381494204d6178696d756d20776569676874206f662061207369676e656420736f6c7574696f6e2e005d01204966205b60436f6e6669673a3a4d696e6572436f6e666967605d206973206265696e6720696d706c656d656e74656420746f207375626d6974207369676e656420736f6c7574696f6e7320286f757473696465206f663d0120746869732070616c6c6574292c207468656e205b604d696e6572436f6e6669673a3a736f6c7574696f6e5f776569676874605d206973207573656420746f20636f6d7061726520616761696e73743020746869732076616c75652e405369676e65644d6178526566756e647310100300000004190120546865206d6178696d756d20616d6f756e74206f6620756e636865636b656420736f6c7574696f6e7320746f20726566756e64207468652063616c6c2066656520666f722e405369676e656452657761726442617365184000a0724e180900000000000000000000048820426173652072657761726420666f722061207369676e656420736f6c7574696f6e445369676e65644465706f73697442797465184000e8764817000000000000000000000004a0205065722d62797465206465706f73697420666f722061207369676e656420736f6c7574696f6e2e4c5369676e65644465706f73697457656967687418400000000000000000000000000000000004a8205065722d776569676874206465706f73697420666f722061207369676e656420736f6c7574696f6e2e284d617857696e6e6572731010e803000010350120546865206d6178696d756d206e756d626572206f662077696e6e65727320746861742063616e20626520656c656374656420627920746869732060456c656374696f6e50726f7669646572604020696d706c656d656e746174696f6e2e005101204e6f74653a2054686973206d75737420616c776179732062652067726561746572206f7220657175616c20746f2060543a3a4461746150726f76696465723a3a646573697265645f746172676574732829602e384d696e65724d61784c656e67746810100000240000384d696e65724d6178576569676874243c071059531a3313ec51b81e85eb513800544d696e65724d6178566f746573506572566f746572101010000000003c4d696e65724d617857696e6e6572731010e8030000000145081b204f6666656e63657301204f6666656e636573081c5265706f72747300010405304908040004490120546865207072696d61727920737472756374757265207468617420686f6c647320616c6c206f6666656e6365207265636f726473206b65796564206279207265706f7274206964656e746966696572732e58436f6e63757272656e745265706f727473496e64657801010805054d082d020400042901204120766563746f72206f66207265706f727473206f66207468652073616d65206b696e6420746861742068617070656e6564206174207468652073616d652074696d6520736c6f742e0001ad0400001c20426f756e746965730120426f756e74696573102c426f756e7479436f756e74010010100000000004c0204e756d626572206f6620626f756e74792070726f706f73616c7320746861742068617665206265656e206d6164652e20426f756e74696573000104051051080400047820426f756e7469657320746861742068617665206265656e206d6164652e48426f756e74794465736372697074696f6e73000104051059080400048020546865206465736372697074696f6e206f66206561636820626f756e74792e3c426f756e7479417070726f76616c730100c906040004ec20426f756e747920696e646963657320746861742068617665206265656e20617070726f76656420627574206e6f74207965742066756e6465642e01dd0301b1042444426f756e74794465706f73697442617365184000a0724e18090000000000000000000004e82054686520616d6f756e742068656c64206f6e206465706f73697420666f7220706c6163696e67206120626f756e74792070726f706f73616c2e60426f756e74794465706f7369745061796f757444656c6179101080700000045901205468652064656c617920706572696f6420666f72207768696368206120626f756e74792062656e6566696369617279206e65656420746f2077616974206265666f726520636c61696d20746865207061796f75742e48426f756e7479557064617465506572696f64101000270600046c20426f756e7479206475726174696f6e20696e20626c6f636b732e6043757261746f724465706f7369744d756c7469706c696572d5061020a10700101901205468652063757261746f72206465706f7369742069732063616c63756c6174656420617320612070657263656e74616765206f66207468652063757261746f72206665652e0039012054686973206465706f73697420686173206f7074696f6e616c20757070657220616e64206c6f77657220626f756e64732077697468206043757261746f724465706f7369744d61786020616e6454206043757261746f724465706f7369744d696e602e4443757261746f724465706f7369744d6178490444010080c6a47e8d03000000000000000000044901204d6178696d756d20616d6f756e74206f662066756e647320746861742073686f756c6420626520706c6163656420696e2061206465706f73697420666f72206d616b696e6720612070726f706f73616c2e4443757261746f724465706f7369744d696e4904440100a0724e180900000000000000000000044901204d696e696d756d20616d6f756e74206f662066756e647320746861742073686f756c6420626520706c6163656420696e2061206465706f73697420666f72206d616b696e6720612070726f706f73616c2e48426f756e747956616c75654d696e696d756d184000203d88792d000000000000000000000470204d696e696d756d2076616c756520666f72206120626f756e74792e48446174614465706f73697450657242797465184000e876481700000000000000000000000461012054686520616d6f756e742068656c64206f6e206465706f7369742070657220627974652077697468696e2074686520746970207265706f727420726561736f6e206f7220626f756e7479206465736372697074696f6e2e4c4d6178696d756d526561736f6e4c656e67746810102c0100000c88204d6178696d756d2061636365707461626c6520726561736f6e206c656e6774682e0065012042656e63686d61726b7320646570656e64206f6e20746869732076616c75652c206265207375726520746f2075706461746520776569676874732066696c65207768656e206368616e67696e6720746869732076616c7565015d081d344368696c64426f756e7469657301344368696c64426f756e7469657314404368696c64426f756e7479436f756e7401001010000000000480204e756d626572206f6620746f74616c206368696c6420626f756e746965732e4c506172656e744368696c64426f756e74696573010104051010100000000008b0204e756d626572206f66206368696c6420626f756e746965732070657220706172656e7420626f756e74792ee0204d6170206f6620706172656e7420626f756e747920696e64657820746f206e756d626572206f66206368696c6420626f756e746965732e344368696c64426f756e7469657300010805052502610804000494204368696c6420626f756e7469657320746861742068617665206265656e2061646465642e5c4368696c64426f756e74794465736372697074696f6e73000104051059080400049820546865206465736372697074696f6e206f662065616368206368696c642d626f756e74792e4c4368696c6472656e43757261746f72466565730101040510184000000000000000000000000000000000040101205468652063756d756c6174697665206368696c642d626f756e74792063757261746f722066656520666f72206561636820706172656e7420626f756e74792e01e10301b50408644d61784163746976654368696c64426f756e7479436f756e74101005000000041d01204d6178696d756d206e756d626572206f66206368696c6420626f756e7469657320746861742063616e20626520616464656420746f206120706172656e7420626f756e74792e5c4368696c64426f756e747956616c75654d696e696d756d184000a0724e1809000000000000000000000488204d696e696d756d2076616c756520666f722061206368696c642d626f756e74792e0169081e3c4e6f6d696e6174696f6e506f6f6c73013c4e6f6d696e6174696f6e506f6f6c735440546f74616c56616c75654c6f636b65640100184000000000000000000000000000000000148c205468652073756d206f662066756e6473206163726f737320616c6c20706f6f6c732e0071012054686973206d69676874206265206c6f77657220627574206e6576657220686967686572207468616e207468652073756d206f662060746f74616c5f62616c616e636560206f6620616c6c205b60506f6f6c4d656d62657273605d590120626563617573652063616c6c696e672060706f6f6c5f77697468647261775f756e626f6e64656460206d696768742064656372656173652074686520746f74616c207374616b65206f662074686520706f6f6c277329012060626f6e6465645f6163636f756e746020776974686f75742061646a757374696e67207468652070616c6c65742d696e7465726e616c2060556e626f6e64696e67506f6f6c6027732e2c4d696e4a6f696e426f6e640100184000000000000000000000000000000000049c204d696e696d756d20616d6f756e7420746f20626f6e6420746f206a6f696e206120706f6f6c2e344d696e437265617465426f6e6401001840000000000000000000000000000000001ca0204d696e696d756d20626f6e6420726571756972656420746f20637265617465206120706f6f6c2e00650120546869732069732074686520616d6f756e74207468617420746865206465706f7369746f72206d7573742070757420617320746865697220696e697469616c207374616b6520696e2074686520706f6f6c2c20617320616e8820696e6469636174696f6e206f662022736b696e20696e207468652067616d65222e0069012054686973206973207468652076616c756520746861742077696c6c20616c7761797320657869737420696e20746865207374616b696e67206c6564676572206f662074686520706f6f6c20626f6e646564206163636f756e7480207768696c6520616c6c206f74686572206163636f756e7473206c656176652e204d6178506f6f6c730000100400086901204d6178696d756d206e756d626572206f66206e6f6d696e6174696f6e20706f6f6c7320746861742063616e2065786973742e20496620604e6f6e65602c207468656e20616e20756e626f756e646564206e756d626572206f664420706f6f6c732063616e2065786973742e384d6178506f6f6c4d656d626572730000100400084901204d6178696d756d206e756d626572206f66206d656d6265727320746861742063616e20657869737420696e207468652073797374656d2e20496620604e6f6e65602c207468656e2074686520636f756e74b8206d656d6265727320617265206e6f7420626f756e64206f6e20612073797374656d20776964652062617369732e544d6178506f6f6c4d656d62657273506572506f6f6c0000100400084101204d6178696d756d206e756d626572206f66206d656d626572732074686174206d61792062656c6f6e6720746f20706f6f6c2e20496620604e6f6e65602c207468656e2074686520636f756e74206f66a8206d656d62657273206973206e6f7420626f756e64206f6e20612070657220706f6f6c2062617369732e4c476c6f62616c4d6178436f6d6d697373696f6e0000cc04000c690120546865206d6178696d756d20636f6d6d697373696f6e20746861742063616e2062652063686172676564206279206120706f6f6c2e2055736564206f6e20636f6d6d697373696f6e207061796f75747320746f20626f756e64250120706f6f6c20636f6d6d697373696f6e73207468617420617265203e2060476c6f62616c4d6178436f6d6d697373696f6e602c206e65636573736172792069662061206675747572650d012060476c6f62616c4d6178436f6d6d697373696f6e60206973206c6f776572207468616e20736f6d652063757272656e7420706f6f6c20636f6d6d697373696f6e732e2c506f6f6c4d656d6265727300010405006d0804000c4020416374697665206d656d626572732e00d02054574f582d4e4f54453a20534146452073696e636520604163636f756e7449646020697320612073656375726520686173682e54436f756e746572466f72506f6f6c4d656d62657273010010100000000004ac436f756e74657220666f72207468652072656c6174656420636f756e7465642073746f72616765206d61702c426f6e646564506f6f6c7300010405107908040004682053746f7261676520666f7220626f6e64656420706f6f6c732e54436f756e746572466f72426f6e646564506f6f6c73010010100000000004ac436f756e74657220666f72207468652072656c6174656420636f756e7465642073746f72616765206d61702c526577617264506f6f6c7300010405108d0804000875012052657761726420706f6f6c732e2054686973206973207768657265207468657265207265776172647320666f72206561636820706f6f6c20616363756d756c6174652e205768656e2061206d656d62657273207061796f7574206973590120636c61696d65642c207468652062616c616e636520636f6d6573206f757420666f207468652072657761726420706f6f6c2e204b657965642062792074686520626f6e64656420706f6f6c73206163636f756e742e54436f756e746572466f72526577617264506f6f6c73010010100000000004ac436f756e74657220666f72207468652072656c6174656420636f756e7465642073746f72616765206d61703c537562506f6f6c7353746f726167650001040510910804000819012047726f757073206f6620756e626f6e64696e6720706f6f6c732e20456163682067726f7570206f6620756e626f6e64696e6720706f6f6c732062656c6f6e677320746f2061290120626f6e64656420706f6f6c2c2068656e636520746865206e616d65207375622d706f6f6c732e204b657965642062792074686520626f6e64656420706f6f6c73206163636f756e742e64436f756e746572466f72537562506f6f6c7353746f72616765010010100000000004ac436f756e74657220666f72207468652072656c6174656420636f756e7465642073746f72616765206d6170204d657461646174610101040510a9080400045c204d6574616461746120666f722074686520706f6f6c2e48436f756e746572466f724d65746164617461010010100000000004ac436f756e74657220666f72207468652072656c6174656420636f756e7465642073746f72616765206d6170284c617374506f6f6c4964010010100000000004d0204576657220696e6372656173696e67206e756d626572206f6620616c6c20706f6f6c73206372656174656420736f206661722e4c52657665727365506f6f6c49644c6f6f6b7570000104050010040010dc20412072657665727365206c6f6f6b75702066726f6d2074686520706f6f6c2773206163636f756e7420696420746f206974732069642e0055012054686973206973206f6e6c79207573656420666f7220736c617368696e672e20496e20616c6c206f7468657220696e7374616e6365732c2074686520706f6f6c20696420697320757365642c20616e6420746865c0206163636f756e7473206172652064657465726d696e6973746963616c6c7920646572697665642066726f6d2069742e74436f756e746572466f7252657665727365506f6f6c49644c6f6f6b7570010010100000000004ac436f756e74657220666f72207468652072656c6174656420636f756e7465642073746f72616765206d617040436c61696d5065726d697373696f6e73010104050001040400040101204d61702066726f6d206120706f6f6c206d656d626572206163636f756e7420746f207468656972206f7074656420636c61696d207065726d697373696f6e2e01e50301b904082050616c6c65744964d9062070792f6e6f706c73048420546865206e6f6d696e6174696f6e20706f6f6c27732070616c6c65742069642e484d6178506f696e7473546f42616c616e636508040a301d0120546865206d6178696d756d20706f6f6c20706f696e74732d746f2d62616c616e636520726174696f207468617420616e20606f70656e6020706f6f6c2063616e20686176652e005501205468697320697320696d706f7274616e7420696e20746865206576656e7420736c617368696e672074616b657320706c61636520616e642074686520706f6f6c277320706f696e74732d746f2d62616c616e63657c20726174696f206265636f6d65732064697370726f706f7274696f6e616c2e006501204d6f72656f7665722c20746869732072656c6174657320746f207468652060526577617264436f756e7465726020747970652061732077656c6c2c206173207468652061726974686d65746963206f7065726174696f6e7355012061726520612066756e6374696f6e206f66206e756d626572206f6620706f696e74732c20616e642062792073657474696e6720746869732076616c756520746f20652e672e2031302c20796f7520656e73757265650120746861742074686520746f74616c206e756d626572206f6620706f696e747320696e207468652073797374656d20617265206174206d6f73742031302074696d65732074686520746f74616c5f69737375616e6365206f669c2074686520636861696e2c20696e20746865206162736f6c75746520776f72736520636173652e00490120466f7220612076616c7565206f662031302c20746865207468726573686f6c6420776f756c64206265206120706f6f6c20706f696e74732d746f2d62616c616e636520726174696f206f662031303a312e310120537563682061207363656e6172696f20776f756c6420616c736f20626520746865206571756976616c656e74206f662074686520706f6f6c206265696e672039302520736c61736865642e01ad081f2c4765617250726f6772616d012c4765617250726f6772616d1c2c436f646553746f72616765000104061504b50804000038436f64654c656e53746f72616765000104061504100400004c4f726967696e616c436f646553746f72616765000104061504340400003c4d6574616461746153746f72616765000104061504d50804000048416c6c6f636174696f6e7353746f72616765000104061904d9080400003850726f6772616d53746f72616765000104061904e9080400002c4d656d6f7279506167657300010c06060609091109040000000000011d096434476561724d657373656e6765720134476561724d657373656e676572282044657175657565640000100400002844697370617463686573000104061d04210904000050436f756e746572466f7244697370617463686573010010100000000004ac436f756e74657220666f72207468652072656c6174656420636f756e7465642073746f72616765206d6170104865616400001d040400001c4d61696c626f7800010806065d0961090400003c517565756550726f63657373696e670000d80400001053656e74000010040000105461696c00001d0404000020576169746c69737400010806066d0971090400003444697370617463685374617368000104061d047509040000000000017d096534476561725363686564756c65720134476561725363686564756c657208644669727374496e636f6d706c6574655461736b73426c6f636b000010040000205461736b506f6f6c00010806068109e804000000001440526573657276655468726573686f6c6410100100000004150120416d6f756e74206f6620626c6f636b7320666f722065787472612064656c6179207573656420746f207365637572652066726f6d206f75746461746564207461736b732e30576169746c697374436f73742c20640000000000000004a020436f737420666f722073746f72696e6720696e20776169746c6973742070657220626c6f636b2e2c4d61696c626f78436f73742c206400000000000000049c20436f737420666f722073746f72696e6720696e206d61696c626f782070657220626c6f636b2e3c5265736572766174696f6e436f73742c206400000000000000047820436f737420666f72207265736572766174696f6e20686f6c64696e672e404469737061746368486f6c64436f73742c206400000000000000047820436f737420666f72207265736572766174696f6e20686f6c64696e672e018909661c47656172476173011c476561724761730c34546f74616c49737375616e636500002c040000204761734e6f646573000104060d058d0904000024416c6c6f77616e636501002c2000cc7b9fae0000000000000434426c6f636b4761734c696d69742c2000cc7b9fae00000004090120546865206d6178696d756d20616d6f756e74206f662067617320746861742063616e20626520757365642077697468696e20612073696e676c6520626c6f636b2e01a1096710476561720110476561720c3c45786563757465496e686572656e740100d80401105901204120666c616720696e6469636174696e67207768657468657220746865206d6573736167652071756575652073686f756c642062652070726f6365737365642061742074686520656e64206f66206120626c6f636b006101204966206e6f74207365742c2074686520696e686572656e742065787472696e73696320746861742070726f636573736573207468652071756575652077696c6c206b656570207468726f77696e6720616e206572726f72f02074686572656279206d616b696e672074686520626c6f636b206275696c646572206578636c7564652069742066726f6d2074686520626c6f636b2e2c426c6f636b4e756d626572010010100000000010a8205468652063757272656e7420626c6f636b206e756d626572206265696e672070726f6365737365642e00cc2049742073686f777320626c6f636b206e756d62657220696e2077686963682071756575652069732070726f6365737365642e2901204d6179206265206c657373207468616e2073797374656d2070616c6c657420626c6f636b206e756d6265722069662070616e6963206f636375727265642070726576696f75736c792e384765617252756e496e426c6f636b0000e80400146501204120677561726420746f2070726f686962697420616c6c206275742074686520666972737420657865637574696f6e206f66206070616c6c65745f676561723a3a72756e2829602063616c6c20696e206120626c6f636b2e0039012053657420746f2060536f6d652828292960206966207468652065787472696e73696320697320657865637574656420666f72207468652066697273742074696d6520696e206120626c6f636b2e4d0120416c6c2073756273657175656e7420617474656d70747320776f756c64206661696c207769746820604572726f723a3a3c543e3a3a4765617252756e416c7265616479496e426c6f636b60206572726f722e210120536574206261636b20746f20604e6f6e656020696e2074686520606f6e5f66696e616c697a6528296020686f6f6b2061742074686520656e64206f662074686520626c6f636b2e01110401bd0434205363686564756c65a509e10d01878f000000010000000400008000000000800010000064000000000100002000000020000000000080000000080000040000540600009f000000cb1a0000461a0000da260000c82a0000ec17000036120000eb0c0000cc1400000c280000880000006312000068550000eb040000000000007d0200001a050000060500005402000048040000c23000007e010000fa000000a6010000db00000079010000f1000000c306000008040000c4000000d2000000580100006a01000053010000a2000000b5000000b700000052060000ec030000590600007b0300005006000095030000df0600006503000035060000c5030000a4070000da0300008d070000ba040000e5060000c4030000cc060000cd030000210600008303000094030000bf01000058030000b301000096050000270300004e0d0000b3090000000e0000b4090000294a0000aa3c0000fa0e000000090000ba0300001302000053030000bf0100006a030000ee0100000a030000d700000093020000da000000c502000018010000df020000de000000cf020000f8000000e6195c00001ed736000036053a0000824d0200002eed8d00003a639200006e1f4b00003e7c40000082eb4000003a14420000d29a410000ded7420000f28f410000b2bb4100003ae87400001d0300baf9490000a257410000c6714100008a3a7d0000ae2f420100a63cb700003908007e50ba00002d0800060f4800009a8c8500002d08004a29980000969c9d00003a94d800002d08006672bb00006a7fa60200f256bc02006ab40802001e312a0000baebc901005e917000002257f30200a10a00eaf1e30200a50a00a50a005e70420000128d4100009e724200009a10f7040032db24070036124f0000b50100829fb100000ebbb400004afd610000410200e25d500000c107000e45410000aab53b040092653c030052200f03000a878103002a4e6e03006281c90000deaee200000d020045160002cbe5000005020069160016bac50600b2105c080082bf630200fe731a07001679e50800a260f202007e22250200c222a21800520d33000000000000910100910100910100910100e12e0002e1f505001d0a000284d71700290300e21400d8d160e23f99a58d430310cd8754d160624c29c0fd4062ace3c8c9446227350765370310ef0f6ee57603409ebf6ba9723d2100310700bd1c00110a00992700b1fd00ca205248453bc6ca2500009a3f010000046820436f7374207363686564756c6520616e64206c696d6974732e344f7574676f696e674c696d697410100004000004590120546865206d6178696d756d20616d6f756e74206f66206d6573736167657320746861742063616e2062652070726f647563656420696e20647572696e6720616c6c206d65737361676520657865637574696f6e732e484f7574676f696e6742797465734c696d6974101000000004042d0120546865206d6178696d756d20616d6f756e74206f6620627974657320696e206f7574676f696e67206d6573736167657320647572696e67206d65737361676520657865637574696f6e2e54506572666f726d616e63654d756c7469706c696572c9091064000000046020506572666f726d616e6365206d756c7469706c6965722e404d61696c626f785468726573686f6c642c20b80b0000000000001cf820546865206d696e696d616c2067617320616d6f756e7420666f72206d65737361676520746f20626520696e73657274656420696e206d61696c626f782e0035012054686973206761732077696c6c20626520636f6e73756d696e672061732072656e7420666f722073746f72696e6720616e64206d6573736167652077696c6c20626520617661696c61626c65d020666f72207265706c79206f7220636c61696d2c206f6e63652067617320656e64732c206d6573736167652072656d6f7665732e003501204d65737361676573207769746820676173206c696d6974206c657373207468616e2074686174206d696e696d756d2077696c6c206e6f7420626520616464656420696e206d61696c626f782c70206275742077696c6c206265207365656e20696e206576656e74732e445265736572766174696f6e734c696d69742c20000100000000000004c020416d6f756e74206f66207265736572766174696f6e732063616e20657869737420666f7220312070726f6772616d2e5450726f6772616d52656e7446726565506572696f64101000d44900048c205468652066726565206f662063686172676520706572696f64206f662072656e742e7850726f6772616d526573756d654d696e696d616c52656e74506572696f641010004e0c0004a020546865206d696e696d616c20616d6f756e74206f6620626c6f636b7320746f20726573756d652e5c50726f6772616d52656e74436f7374506572426c6f636b1840405973070000000000000000000000000484205468652070726f6772616d2072656e7420636f73742070657220626c6f636b2e7050726f6772616d526573756d6553657373696f6e4475726174696f6e1010b004000004d02054686520616d6f756e74206f6620626c6f636b7320666f722070726f63657373696e6720726573756d652073657373696f6e2e4850726f6772616d52656e74456e61626c6564d8040004dc2054686520666c61672064657465726d696e65732069662070726f6772616d2072656e74206d656368616e69736d20656e61626c65642e6050726f6772616d52656e7444697361626c656444656c746110108013030008e02054686520636f6e7374616e7420646566696e65732076616c75652074686174206973206164646564206966207468652070726f6772616d482072656e742069732064697361626c65642e2852656e74506f6f6c496445048401e68325a26f5e8ea5c6c93bbdcfa596ac3ec8b69301c0cc54029dc7bc891bc51504a020546865206163636f756e74206964206f66207468652072656e7420706f6f6c20696620616e792e01cd09682c476561725061796d656e74000000000069385374616b696e675265776172647301385374616b696e6752657761726473103c546172676574496e666c6174696f6e0100d10920000000000000000004882054617267657420696e666c6174696f6e2028617420696465616c207374616b652944496465616c5374616b696e67526174696f0100d109200000000000000000045020496465616c207374616b696e6720726174696f444e6f6e5374616b6561626c6553686172650100d1092000000000000000000c3501205468652063757272656e74207368617265206f662069737375656420746f6b656e7320746861742063616e6e6f74206265207374616b65642028652e672e206265696e672076657374656429610120546869732076616c75652069732067756172616e7465656420746f2072656d61696e20756e6368616e67656420666f7220746865206669727374207965617220756e74696c2076657374696e67206b69636b7320696e2e69012053756273657175656e746c792c20746865206e6f6e2d7374616b6561626c652073686172652073686f756c642062652063616c63756c61746564206261736564206f6e207468652076657374696e672062616c616e6365732e4046696c74657265644163636f756e74730100d50904000c6901204c697374206f66206163636f756e74732077686f7365206c6f636b65642062616c616e6365202864756520746f20696e636f6d706c6574652076657374696e67292073686f756c64206265206578636c756465642066726f6d782074686520746f74616c207374616b6561626c65207175616e746974792e690120447572696e672074686520317374207965617220746865206e6f6e2d7374616b6561626c6520616d6f756e74206973206163636f756e74656420666f722061732061206669786564206672616374696f6e206f66205454532e012904013505142050616c6c65744964d9062070792f737472776404310120546865207374616b696e672072657761726473272070616c6c65742069642c207573656420666f72206465726976696e672069747320736f7665726569676e206163636f756e742049442e4c4d696c6c697365636f6e6473506572596561722c2000c3fa580700000004b8204d696c6c697365636f6e647320706572207965617220746f2063616c63756c61746520696e666c6174696f6e2e304d696e496e666c6174696f6ed109200000c16ff28623000468204d696e696d756d20616e6e75616c20696e666c6174696f6e2e184d6178524f49d1092000009e1869d02904042420524f49206361702e1c46616c6c6f6666d10920000082dfe40d470004a0204578706f6e656e7469616c206465636179202866616c6c2d6f66662920706172616d657465722e01d9096a2c47656172566f7563686572012c47656172566f7563686572081849737375656400002c04000ce02053746f7261676520636f6e7461696e696e6720616d6f756e74206f662074686520746f74616c20766f756368657273206973737565642e008c2055736564206173206e6f6e636520696e20766f7563686572206372656174696f6e2e20566f7563686572730001080606dd09e109040008cc20446f75626c65206d61702073746f7261676520636f6e7461696e696e672064617461206f662074686520766f75636865722cb8206173736f636961746564207769746820736f6d65207370656e64657220616e6420766f7563686572206964732e012d04013905102050616c6c65744964d9062070792f766f75636804ec205468652070616c6c65742069642c207573656420666f72206465726976696e672069747320736f7665726569676e206163636f756e742049442e444d617850726f6772616d73416d6f756e7408042004f4204d6178696d616c20616d6f756e74206f662070726f6772616d7320746f2062652073706563696669656420746f20696e74657261637420776974682e2c4d696e4475726174696f6e101014000000040901204d696e696d616c206475726174696f6e20696e20626c6f636b7320766f756368657220636f756c64206265206973737565642f70726f6c6f6e67656420666f722e2c4d61784475726174696f6e101000ea2400040901204d6178696d616c206475726174696f6e20696e20626c6f636b7320766f756368657220636f756c64206265206973737565642f70726f6c6f6e67656420666f722e01e5096b204765617242616e6b01204765617242616e6b101042616e6b0001040600e9090400002c556e7573656456616c75650100184000000000000000000000000000000000004c4f6e46696e616c697a655472616e73666572730001040600180400003c4f6e46696e616c697a6556616c75650100184000000000000000000000000000000000000000082c42616e6b4164647265737300806765617262616e6b6765617262616e6b6765617262616e6b6765617262616e6b04e42042616e6b206163636f756e7420616464726573732c20746861742077696c6c206b65657020616c6c2072657365727665642066756e64732e344761734d756c7469706c696572910944000600000000000000000000000000000004542047617320707269636520636f6e7665727465722e01ed096c2c476561724275696c74696e00000000006df1090424405374616b696e67426c61636b4c697374050ae848436865636b4e6f6e5a65726f53656e646572090ae840436865636b5370656356657273696f6e0d0a1038436865636b547856657273696f6e110a1030436865636b47656e65736973150a3038436865636b4d6f7274616c697479190a3028436865636b4e6f6e6365210ae82c436865636b576569676874250ae8604368617267655472616e73616374696f6e5061796d656e74290ae82d0a \ No newline at end of file diff --git a/net/src/.substrate/runtime.txt b/net/src/.substrate/runtime.txt new file mode 100644 index 00000000..8f875874 --- /dev/null +++ b/net/src/.substrate/runtime.txt @@ -0,0 +1 @@ +vara_runtime \ No newline at end of file diff --git a/net/src/.substrate/substrate-config.json b/net/src/.substrate/substrate-config.json new file mode 100644 index 00000000..323dfc89 --- /dev/null +++ b/net/src/.substrate/substrate-config.json @@ -0,0 +1,14 @@ + { + "projects": { + "net_api": "Substrate.Gear.Api", + "rest_service": "Substrate.Gear.Api.RestService", + "rest_client": "Substrate.Gear.Api.RestClient", + "net_integration": "Substrate.Gear.Api.NetIntegration" + }, + "metadata": { + "websocket": "wss://rpc.vara.network", + }, + "rest_client_settings": { + "service_assembly": "Substrate.Gear.Api.RestService.dll" + } + } diff --git a/net/src/Substrate.Gear.Api/Api/Client/BaseClient.cs b/net/src/Substrate.Gear.Api/Api/Client/BaseClient.cs new file mode 100644 index 00000000..81c886a8 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Client/BaseClient.cs @@ -0,0 +1,296 @@ + +using System; +using System.Diagnostics.CodeAnalysis; +using System.Linq; +using System.Threading; +using System.Threading.Tasks; +using Serilog; +using StreamJsonRpc; +using Substrate.Gear.Api.Generated; +using Substrate.Gear.Api.Generated.Model.frame_system; +using Substrate.Gear.Api.Generated.Storage; +using Substrate.Gear.Api.Helper; +using Substrate.NET.Schnorrkel.Keys; +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Rpc; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Primitive; + +namespace Substrate.Gear.Api.Client +{ + /// + /// Base client + /// + public class BaseClient + { + private readonly int _maxConcurrentCalls; + + private readonly ChargeType _chargeTypeDefault; + + private static MiniSecret MiniSecretAlice => new MiniSecret(Utils.HexToByteArray("0xe5be9a5092b81bca64be81d212e7f2f9eba183bb7a90954f7b76361f6edb5c0a"), ExpandMode.Ed25519); + + /// + /// Alice account + /// + public static Account Alice => Account.Build(KeyType.Sr25519, MiniSecretAlice.ExpandToSecret().ToEd25519Bytes(), MiniSecretAlice.GetPair().Public.Key); + + /// + /// Extrinsic manager, used to manage extrinsic subscriptions and the corresponding states. + /// + public ExtrinsicManager ExtrinsicManager { get; } + + /// + /// Subscription manager, used to manage subscriptions of storage elements. + /// + public SubscriptionManager SubscriptionManager { get; } + + /// + /// Substrate Extension Client + /// + public SubstrateClientExt SubstrateClient { get; } + + /// + /// Is connected to the network + /// + public bool IsConnected => SubstrateClient.IsConnected; + + /// + /// Base Client Constructor + /// + /// + /// + public BaseClient(string url, int maxConcurrentCalls = 10) + { + _chargeTypeDefault = ChargeTransactionPayment.Default(); + + _maxConcurrentCalls = maxConcurrentCalls; + + SubstrateClient = new SubstrateClientExt(new Uri(url), _chargeTypeDefault); + + ExtrinsicManager = new ExtrinsicManager(); + + SubscriptionManager = new SubscriptionManager(); + } + + /// + /// Connect to the network + /// + /// + /// + /// + /// + public async Task ConnectAsync(bool useMetadata, bool standardSubstrate, CancellationToken token) + { + if (!IsConnected) + { + try + { + await SubstrateClient.ConnectAsync(useMetadata, standardSubstrate, token).ConfigureAwait(false); + } + catch (Exception e) + { + Log.Error("BaseClient.ConnectAsync: {0}", + e.ToString()); + } + } + + return IsConnected; + } + + /// + /// Disconnect from the network + /// + /// + public async Task DisconnectAsync() + { + if (!IsConnected) + { + return false; + } + + await SubstrateClient.CloseAsync().ConfigureAwait(false); + return true; + } + + /// + /// Check if extrinsic can be sent + /// + /// + /// + /// + public bool CanExtrinsic(string extrinsicType, int concurrentTasks) + => IsConnected && !HasMaxConcurentTaskRunning() && !HasToManyConcurentTaskRunning(extrinsicType, concurrentTasks); + + /// + /// Check if we have maximum of concurrent tasks running reached + /// + /// + public bool HasMaxConcurentTaskRunning() + => ExtrinsicManager.Running.Count() >= _maxConcurrentCalls; + + /// + /// Check if we have maximum of concurrent tasks running reached + /// + /// + /// + /// + public bool HasToManyConcurentTaskRunning(string extrinsicType, int concurrentTasks) + => ExtrinsicManager.Running.Count(p => p.ExtrinsicType == extrinsicType) >= concurrentTasks; + + /// + /// Generic extrinsic sender + /// + /// + /// + /// + /// + /// + public async Task GenericExtrinsicAsync(Account account, string extrinsicType, Method extrinsicMethod, int concurrentTasks, CancellationToken token) + { + if (account == null) + { + Log.Warning("Account is null!"); + return null; + } + + if (!IsConnected) + { + Log.Warning("Currently not connected to the network!"); + return null; + } + + if (HasMaxConcurentTaskRunning()) + { + Log.Warning("There can not be more then {0} concurrent tasks overall!", _maxConcurrentCalls); + return null; + } + + if (HasToManyConcurentTaskRunning(extrinsicType, concurrentTasks)) + { + Log.Warning("There can not be more then {0} concurrent tasks of {1}!", concurrentTasks, extrinsicType); + return null; + } + + string subscription = null; + try + { + subscription = await SubstrateClient.TransactionWatchCalls.TransactionWatchV1SubmitAndWatchAsync(ActionExtrinsicUpdate, extrinsicMethod, account, _chargeTypeDefault, 64, token).ConfigureAwait(false); + } + catch (RemoteInvocationException e) + { + Log.Error("RemoteInvocationException: {0}", e.Message); + return subscription; + } + + if (subscription == null) + { + return null; + } + + Log.Debug("Generic extrinsic sent {0} with {1}.", extrinsicMethod.ModuleName + "_" + extrinsicMethod.CallName, subscription); + + if (ExtrinsicManager.TryAdd(subscription, extrinsicType)) + { + Log.Debug("Generic extrinsic sent {0} with {1}.", extrinsicMethod.ModuleName + "_" + extrinsicMethod.CallName, subscription); + } + else + { + Log.Warning("ExtrinsicManager.Add failed for {0} with {1}.", extrinsicMethod.ModuleName + "_" + extrinsicMethod.CallName, subscription); + } + + return subscription; + } + + /// + /// Callback for extrinsic update + /// + /// + /// + [SuppressMessage("", "VSTHRD100")] + public async void ActionExtrinsicUpdate(string subscriptionId, TransactionEventInfo extrinsicUpdate) + { + try + { + ExtrinsicManager.UpdateExtrinsicInfo(subscriptionId, extrinsicUpdate); + + // proccessing events scrapping + if (ExtrinsicManager.TryGet(subscriptionId, out ExtrinsicInfo extrinsicInfo) && !extrinsicInfo.HasEvents && extrinsicUpdate.Hash != null && extrinsicUpdate.Index != null) + { + string parameters = SystemStorage.EventsParams(); + + BaseVec events = await SubstrateClient.GetStorageAsync>(parameters, extrinsicUpdate.Hash.Value, CancellationToken.None).ConfigureAwait(false); + if (events == null) + { + ExtrinsicManager.UpdateExtrinsicError(subscriptionId, "No block events"); + return; + } + + System.Collections.Generic.IEnumerable allExtrinsicEvents = events.Value.Where(p => p.Phase.Value == Phase.ApplyExtrinsic && ((U32)p.Phase.Value2).Value == extrinsicUpdate.Index); + if (!allExtrinsicEvents.Any()) + { + ExtrinsicManager.UpdateExtrinsicError(subscriptionId, "No extrinsic events"); + return; + } + + ExtrinsicManager.UpdateExtrinsicEvents(subscriptionId, allExtrinsicEvents); + } + } + catch (Exception ex) + { + Log.Warning("ActionExtrinsicUpdate: {0}", ex.Message); + } + } + + /// + /// Subscribe to event storage + /// + /// + /// + public async Task SubscribeEventsAsync(CancellationToken token) + { + if (!IsConnected) + { + Log.Warning("Currently not connected to the network!"); + return null; + } + + if (SubscriptionManager.IsSubscribed) + { + Log.Warning("Already active subscription to events!"); + return null; + } + + string subscription = await SubstrateClient.SubscribeStorageKeyAsync(SystemStorage.EventsParams(), SubscriptionManager.ActionSubscrptionEvent, token).ConfigureAwait(false); + if (subscription == null) + { + return null; + } + + SubscriptionManager.IsSubscribed = true; + + Log.Debug("SystemStorage.Events subscription id [{0}] registred.", subscription); + + return subscription; + } + + /// + /// Generate a random account + /// + /// + /// + /// + /// + public static Account RandomAccount(int seed, string derivationPsw = "", KeyType keyType = KeyType.Sr25519) + { + var random = new Random(seed); + byte[] randomBytes = new byte[16]; + random.NextBytes(randomBytes); + string mnemonic = string.Join(" ", Mnemonic.MnemonicFromEntropy(randomBytes, Mnemonic.BIP39Wordlist.English)); + Log.Debug("mnemonic[Sr25519]: {0} ", mnemonic); + return Mnemonic.GetAccountFromMnemonic(mnemonic, derivationPsw, keyType); + } + } +} + diff --git a/net/src/Substrate.Gear.Api/Api/Client/ExtrinsicInfo.cs b/net/src/Substrate.Gear.Api/Api/Client/ExtrinsicInfo.cs new file mode 100644 index 00000000..9af6f956 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Client/ExtrinsicInfo.cs @@ -0,0 +1,196 @@ + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Numerics; +using System.Text; +using Substrate.NetApi; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Rpc; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Primitive; +using Substrate.Gear.Api.Generated.Model.primitive_types; +using Substrate.Gear.Api.Generated.Model.sp_core.crypto; +using Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress; +using Substrate.Gear.Api.Generated.Model.frame_support.dispatch; +using Substrate.Gear.Api.Generated.Model.frame_system; +using Substrate.Gear.Api.Generated.Model.frame_system.pallet; +using Substrate.Gear.Api.Generated.Model.sp_arithmetic; +using Substrate.Gear.Api.Generated.Model.sp_runtime; +using Substrate.Gear.Api.Helper; +using Substrate.Gear.Api.Generated.Model.vara_runtime; + +namespace Substrate.Gear.Api.Client +{ + public class ExtrinsicInfo + { + public int ExtrinsicTimeOutSec { get; } + + public TransactionEvent? TransactionEvent { get; private set; } + + public string ExtrinsicType { get; } + + public DateTime Created { get; } + + public DateTime LastUpdated { get; private set; } + + public Hash Hash { get; private set; } + + public uint? Index { get; set; } + + public bool IsReady { get; private set; } + + public bool IsInBlock { get; private set; } + + public bool IsSuccess { get; private set; } + + public bool IsCompleted { get; private set; } + + public bool IsTimeout => TimeElapsed > ExtrinsicTimeOutSec; + + public bool HasEvents => EventRecords != null; + + public string Error { get; set; } + + public List EventRecords { get; set; } + + public double TimeElapsed => DateTime.UtcNow.Subtract(LastUpdated).TotalSeconds; + + public ExtrinsicInfo(string extrinsicType, int timeOutSec) + { + ExtrinsicTimeOutSec = timeOutSec; + ExtrinsicType = extrinsicType; + Created = DateTime.UtcNow; + LastUpdated = Created; + TransactionEvent = null; + Hash = null; + IsReady = false; + IsInBlock = false; + IsSuccess = false; + IsCompleted = false; + + EventRecords = null; + } + + internal void Update(TransactionEventInfo transactionEventInfo) + { + LastUpdated = DateTime.UtcNow; + + TransactionEvent = transactionEventInfo.TransactionEvent; + Hash = transactionEventInfo.Hash; + Index = transactionEventInfo.Index; + Error = transactionEventInfo.Error; + + switch (TransactionEvent) + { + case NetApi.Model.Rpc.TransactionEvent.Validated: + IsReady = true; + break; + + case NetApi.Model.Rpc.TransactionEvent.BestChainBlockIncluded: + IsInBlock = true; + break; + + case NetApi.Model.Rpc.TransactionEvent.Finalized: + IsSuccess = true; + IsCompleted = true; + break; + + case NetApi.Model.Rpc.TransactionEvent.Error: + IsCompleted = true; + break; + + case NetApi.Model.Rpc.TransactionEvent.Invalid: + IsCompleted = true; + break; + + case NetApi.Model.Rpc.TransactionEvent.Dropped: + IsCompleted = true; + break; + + default: + throw new NotSupportedException($"Unknown TransactionEvent {TransactionEvent}"); + } + } + + public bool SystemExtrinsicEvent(out Event? systemExtrinsicEvent, out string errorMsg) + { + systemExtrinsicEvent = null; + errorMsg = null; + + if (!AllEvents(RuntimeEvent.System, out IEnumerable allEnumEvents)) + { + return false; + } + + EnumEvent systemEnumEvent = allEnumEvents.LastOrDefault(); + if (systemEnumEvent == null) + { + return false; + } + + switch (systemEnumEvent.Value) + { + case Event.ExtrinsicSuccess: + break; + + case Event.ExtrinsicFailed: + var systemEnumEventData = (BaseTuple)systemEnumEvent.Value2; + var enumDispatchError = (EnumDispatchError)systemEnumEventData.Value[0]; + errorMsg = MessageFromDispatchError(enumDispatchError); + break; + + default: + return false; + } + + systemExtrinsicEvent = systemEnumEvent.Value; + return true; + } + + private string MessageFromDispatchError(EnumDispatchError dispatchError) + { + switch (dispatchError.Value) + { + case DispatchError.Module: + var moduleError = (ModuleError)dispatchError.Value2; + return $"{dispatchError.Value};{(RuntimeEvent)moduleError.Index.Value};{moduleError.Index.Value};{Utils.Bytes2HexString(moduleError.Error.Value.ToBytes())}"; + + case DispatchError.Token: + var enumTokenError = (EnumTokenError)dispatchError.Value2; + return $"{dispatchError.Value};{enumTokenError.Value}"; + + case DispatchError.Arithmetic: + var enumArithmeticError = (EnumArithmeticError)dispatchError.Value2; + return $"{dispatchError.Value};{enumArithmeticError.Value}"; + + case DispatchError.Transactional: + var enumTransactionalError = (EnumTransactionalError)dispatchError.Value2; + return $"{dispatchError.Value};{enumTransactionalError.Value}"; + + default: + return dispatchError.Value.ToString(); + } + } + + public bool AllEvents(RuntimeEvent runtimeEvent, out IEnumerable allEnumEvents) + { + allEnumEvents = null; + + if (EventRecords == null || !EventRecords.Any()) + { + return false; + } + + IEnumerable allevents = EventRecords.Where(p => p.Event.Value == runtimeEvent); + if (!allevents.Any()) + { + return false; + } + + allEnumEvents = allevents.Select(p => (T)p.Event.Value2); + return true; + } + } +} + diff --git a/net/src/Substrate.Gear.Api/Api/Client/ExtrinsicManager.cs b/net/src/Substrate.Gear.Api/Api/Client/ExtrinsicManager.cs new file mode 100644 index 00000000..5446535b --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Client/ExtrinsicManager.cs @@ -0,0 +1,183 @@ + +using System; +using System.Collections.Concurrent; +using System.Collections.Generic; +using System.Linq; +using Substrate.NetApi.Model.Rpc; +using Substrate.Gear.Api.Generated.Model.frame_system; +using Substrate.Gear.Api.Generated; +using Substrate.Gear.Api.Helper; +using Serilog; + +namespace Substrate.Gear.Api.Client +{ + public delegate void ExtrinsicUpdateEvent(string subscriptionId, ExtrinsicInfo queueInfo); + + public class ExtrinsicManager + { + public event ExtrinsicUpdateEvent ExtrinsicUpdated; + + public IEnumerable Running => _data.Values.Where(p => !p.IsCompleted && !p.IsTimeout); + + public IEnumerable PreInblock => _data.Values.Where(p => !p.IsInBlock && !p.IsCompleted && !p.IsTimeout); + + private readonly ConcurrentDictionary _data; + + private readonly int _retentationTimeSec; + + private readonly int _extrinsicTimeOut; + + /// + /// Extrinsic manager + /// + /// + /// + public ExtrinsicManager(int extrinsicTimeOut = 30, int retentationTime = 60) + { + _data = new ConcurrentDictionary(); + _retentationTimeSec = retentationTime; + _extrinsicTimeOut = extrinsicTimeOut; + ExtrinsicUpdated += OnExtrinsicUpdated; + } + + /// + /// Try to add a new extrinsic to the manager. + /// + /// + /// + public bool TryAdd(string subscription, string extrinsicType) + { + return _data.TryAdd(subscription, new ExtrinsicInfo(extrinsicType, _extrinsicTimeOut)); + } + + /// + /// Get extrinsic info by subscriptionId. + /// + /// + /// + /// + public bool TryGet(string id, out ExtrinsicInfo extrinsicInfo) + { + if (!_data.TryGetValue(id, out extrinsicInfo)) + { + Log.Debug("ExtrinsicInfo not available for subscriptionId {id}", id); + return false; + } + return true; + } + + /// + /// Update extrinsic info. + /// + /// + /// + public void UpdateExtrinsicInfo(string subscriptionId, TransactionEventInfo extrinsicUpdate) + { + if (!_data.TryGetValue(subscriptionId, out ExtrinsicInfo queueInfo) || queueInfo == null) + { + queueInfo = new ExtrinsicInfo("Unknown", _extrinsicTimeOut); + } + queueInfo.Update(extrinsicUpdate); + + /// Possible transaction status events. + /// + /// The status events can be grouped based on their kinds as: + /// + /// 1. Runtime validated the transaction: + /// - `Validated` + /// + /// 2. Inside the `Ready` queue: + /// - `Broadcast` + /// + /// 3. Leaving the pool: + /// - `BestChainBlockIncluded` + /// - `Invalid` + /// + /// 4. Block finalized: + /// - `Finalized` + /// + /// 5. At any time: + /// - `Dropped` + /// - `Error` + /// + /// The subscription's stream is considered finished whenever the following events are + /// received: `Finalized`, `Error`, `Invalid` or `Dropped`. However, the user is allowed + /// to unsubscribe at any moment. + + ExtrinsicUpdated?.Invoke(subscriptionId, queueInfo); + + if (!queueInfo.HasEvents && queueInfo.Hash != null && queueInfo.Index != null) + { + Log.Debug("Extrinsic {id} completed with {state}", subscriptionId, queueInfo.TransactionEvent); + } + + CleanUp(false); + } + + /// + /// Clean up completed and time outed extrinsics. + /// + /// + public void CleanUp(bool timeOut) + { + var removeKeys = _data + .Where(p => (p.Value.TimeElapsed > _retentationTimeSec && p.Value.IsCompleted) || (timeOut && p.Value.IsTimeout)) + .Select(p => p.Key) + .ToList(); + + Log.Debug("Remove {count} completed and time outed extrinsics, after {time}", removeKeys.Count, _retentationTimeSec); + + foreach (string key in removeKeys) + { + _data.TryRemove(key, out _); + } + } + + /// + /// Update extrinsic events. + /// + /// + /// + internal void UpdateExtrinsicEvents(string subscriptionId, IEnumerable allExtrinsicEvents) + { + if (!_data.TryGetValue(subscriptionId, out ExtrinsicInfo queueInfo)) + { + return; + } + + queueInfo.EventRecords = allExtrinsicEvents.ToList(); + ExtrinsicUpdated?.Invoke(subscriptionId, queueInfo); + } + + /// + /// Update extrinsic error. + /// + /// + /// + internal void UpdateExtrinsicError(string subscriptionId, string errorMsg) + { + if (!_data.TryGetValue(subscriptionId, out ExtrinsicInfo queueInfo)) + { + return; + } + + queueInfo.Error = errorMsg; + ExtrinsicUpdated?.Invoke(subscriptionId, queueInfo); + } + + /// + /// Simple extrinsic tester + /// + /// + /// + /// + private void OnExtrinsicUpdated(string subscriptionId, ExtrinsicInfo queueInfo) + { + Log.Debug("{name}[{id}] updated {state}", + queueInfo.ExtrinsicType, + subscriptionId, + queueInfo.TransactionEvent); + } + } +} + diff --git a/net/src/Substrate.Gear.Api/Api/Client/SubscriptionManager.cs b/net/src/Substrate.Gear.Api/Api/Client/SubscriptionManager.cs new file mode 100644 index 00000000..d98bec8d --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Client/SubscriptionManager.cs @@ -0,0 +1,49 @@ + +using System; +using Serilog; +using Substrate.NetApi.Model.Rpc; +using Substrate.Gear.Api.Helper; + +namespace Substrate.Gear.Api.Client +{ + public delegate void SubscriptionOnEvent(string subscriptionId, StorageChangeSet storageChangeSet); + + public class SubscriptionManager + { + public bool IsSubscribed { get; set; } + + public event SubscriptionOnEvent SubscrptionEvent; + + public SubscriptionManager() + { + SubscrptionEvent += OnSystemEvents; + } + + /// + /// Simple extrinsic tester + /// + /// + /// + public void ActionSubscrptionEvent(string subscriptionId, StorageChangeSet storageChangeSet) + { + IsSubscribed = false; + + Log.Information("System.Events: {0}", storageChangeSet); + + SubscrptionEvent?.Invoke(subscriptionId, storageChangeSet); + } + + /// + /// Handle system events + /// + /// + /// + private void OnSystemEvents(string subscriptionId, StorageChangeSet storageChangeSet) + { + Log.Debug("OnExtrinsicUpdated[{id}] updated {state}", + subscriptionId, + storageChangeSet); + } + } +} + diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_btree_map/BoundedBTreeMapT1.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_btree_map/BoundedBTreeMapT1.cs new file mode 100644 index 00000000..d35bdcb8 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_btree_map/BoundedBTreeMapT1.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_btree_map +{ + + + /// + /// >> 540 - Composite[bounded_collections.bounded_btree_map.BoundedBTreeMapT1] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BoundedBTreeMapT1 : BaseType + { + + /// + /// >> value + /// + public Substrate.Gear.Api.Generated.Types.Base.BTreeMapT3 Value { get; set; } + + /// + public override string TypeName() + { + return "BoundedBTreeMapT1"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.Gear.Api.Generated.Types.Base.BTreeMapT3(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_btree_map/BoundedBTreeMapT2.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_btree_map/BoundedBTreeMapT2.cs new file mode 100644 index 00000000..59374080 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_btree_map/BoundedBTreeMapT2.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_btree_map +{ + + + /// + /// >> 550 - Composite[bounded_collections.bounded_btree_map.BoundedBTreeMapT2] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BoundedBTreeMapT2 : BaseType + { + + /// + /// >> value + /// + public Substrate.Gear.Api.Generated.Types.Base.BTreeMapT4 Value { get; set; } + + /// + public override string TypeName() + { + return "BoundedBTreeMapT2"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.Gear.Api.Generated.Types.Base.BTreeMapT4(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT1.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT1.cs new file mode 100644 index 00000000..896b686d --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT1.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec +{ + + + /// + /// >> 142 - Composite[bounded_collections.bounded_vec.BoundedVecT1] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BoundedVecT1 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec> Value { get; set; } + + /// + public override string TypeName() + { + return "BoundedVecT1"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec>(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT10.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT10.cs new file mode 100644 index 00000000..397ac2ff --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT10.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec +{ + + + /// + /// >> 409 - Composite[bounded_collections.bounded_vec.BoundedVecT10] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BoundedVecT10 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec Value { get; set; } + + /// + public override string TypeName() + { + return "BoundedVecT10"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT11.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT11.cs new file mode 100644 index 00000000..5fc3aaf0 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT11.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec +{ + + + /// + /// >> 411 - Composite[bounded_collections.bounded_vec.BoundedVecT11] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BoundedVecT11 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec Value { get; set; } + + /// + public override string TypeName() + { + return "BoundedVecT11"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT12.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT12.cs new file mode 100644 index 00000000..988cfb39 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT12.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec +{ + + + /// + /// >> 434 - Composite[bounded_collections.bounded_vec.BoundedVecT12] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BoundedVecT12 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec Value { get; set; } + + /// + public override string TypeName() + { + return "BoundedVecT12"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT13.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT13.cs new file mode 100644 index 00000000..e5f392b8 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT13.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec +{ + + + /// + /// >> 445 - Composite[bounded_collections.bounded_vec.BoundedVecT13] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BoundedVecT13 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec> Value { get; set; } + + /// + public override string TypeName() + { + return "BoundedVecT13"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec>(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT14.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT14.cs new file mode 100644 index 00000000..cbe964b8 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT14.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec +{ + + + /// + /// >> 451 - Composite[bounded_collections.bounded_vec.BoundedVecT14] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BoundedVecT14 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec> Value { get; set; } + + /// + public override string TypeName() + { + return "BoundedVecT14"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec>(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT15.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT15.cs new file mode 100644 index 00000000..46425232 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT15.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec +{ + + + /// + /// >> 463 - Composite[bounded_collections.bounded_vec.BoundedVecT15] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BoundedVecT15 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec> Value { get; set; } + + /// + public override string TypeName() + { + return "BoundedVecT15"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec>(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT16.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT16.cs new file mode 100644 index 00000000..68a0c62f --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT16.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec +{ + + + /// + /// >> 476 - Composite[bounded_collections.bounded_vec.BoundedVecT16] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BoundedVecT16 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec Value { get; set; } + + /// + public override string TypeName() + { + return "BoundedVecT16"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT17.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT17.cs new file mode 100644 index 00000000..c200bb69 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT17.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec +{ + + + /// + /// >> 480 - Composite[bounded_collections.bounded_vec.BoundedVecT17] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BoundedVecT17 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec> Value { get; set; } + + /// + public override string TypeName() + { + return "BoundedVecT17"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec>(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT18.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT18.cs new file mode 100644 index 00000000..0cf0d704 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT18.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec +{ + + + /// + /// >> 483 - Composite[bounded_collections.bounded_vec.BoundedVecT18] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BoundedVecT18 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec> Value { get; set; } + + /// + public override string TypeName() + { + return "BoundedVecT18"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec>(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT19.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT19.cs new file mode 100644 index 00000000..6a3a4f5a --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT19.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec +{ + + + /// + /// >> 494 - Composite[bounded_collections.bounded_vec.BoundedVecT19] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BoundedVecT19 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec Value { get; set; } + + /// + public override string TypeName() + { + return "BoundedVecT19"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT2.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT2.cs new file mode 100644 index 00000000..594e8980 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT2.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec +{ + + + /// + /// >> 278 - Composite[bounded_collections.bounded_vec.BoundedVecT2] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BoundedVecT2 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec Value { get; set; } + + /// + public override string TypeName() + { + return "BoundedVecT2"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT20.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT20.cs new file mode 100644 index 00000000..803b0ab4 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT20.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec +{ + + + /// + /// >> 497 - Composite[bounded_collections.bounded_vec.BoundedVecT20] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BoundedVecT20 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec> Value { get; set; } + + /// + public override string TypeName() + { + return "BoundedVecT20"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec>(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT21.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT21.cs new file mode 100644 index 00000000..ea216f9c --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT21.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec +{ + + + /// + /// >> 501 - Composite[bounded_collections.bounded_vec.BoundedVecT21] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BoundedVecT21 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec Value { get; set; } + + /// + public override string TypeName() + { + return "BoundedVecT21"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT22.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT22.cs new file mode 100644 index 00000000..0c805306 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT22.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec +{ + + + /// + /// >> 502 - Composite[bounded_collections.bounded_vec.BoundedVecT22] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BoundedVecT22 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec> Value { get; set; } + + /// + public override string TypeName() + { + return "BoundedVecT22"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec>(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT23.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT23.cs new file mode 100644 index 00000000..39d32421 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT23.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec +{ + + + /// + /// >> 508 - Composite[bounded_collections.bounded_vec.BoundedVecT23] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BoundedVecT23 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec Value { get; set; } + + /// + public override string TypeName() + { + return "BoundedVecT23"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT24.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT24.cs new file mode 100644 index 00000000..3d5384ea --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT24.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec +{ + + + /// + /// >> 512 - Composite[bounded_collections.bounded_vec.BoundedVecT24] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BoundedVecT24 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec Value { get; set; } + + /// + public override string TypeName() + { + return "BoundedVecT24"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT25.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT25.cs new file mode 100644 index 00000000..7eb550ee --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT25.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec +{ + + + /// + /// >> 518 - Composite[bounded_collections.bounded_vec.BoundedVecT25] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BoundedVecT25 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec Value { get; set; } + + /// + public override string TypeName() + { + return "BoundedVecT25"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT26.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT26.cs new file mode 100644 index 00000000..eef07c03 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT26.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec +{ + + + /// + /// >> 521 - Composite[bounded_collections.bounded_vec.BoundedVecT26] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BoundedVecT26 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec> Value { get; set; } + + /// + public override string TypeName() + { + return "BoundedVecT26"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec>(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT27.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT27.cs new file mode 100644 index 00000000..c8dcb5b7 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT27.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec +{ + + + /// + /// >> 525 - Composite[bounded_collections.bounded_vec.BoundedVecT27] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BoundedVecT27 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec> Value { get; set; } + + /// + public override string TypeName() + { + return "BoundedVecT27"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec>(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT28.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT28.cs new file mode 100644 index 00000000..d3c7b0af --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT28.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec +{ + + + /// + /// >> 534 - Composite[bounded_collections.bounded_vec.BoundedVecT28] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BoundedVecT28 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec Value { get; set; } + + /// + public override string TypeName() + { + return "BoundedVecT28"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT29.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT29.cs new file mode 100644 index 00000000..386e4def --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT29.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec +{ + + + /// + /// >> 554 - Composite[bounded_collections.bounded_vec.BoundedVecT29] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BoundedVecT29 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec Value { get; set; } + + /// + public override string TypeName() + { + return "BoundedVecT29"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT3.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT3.cs new file mode 100644 index 00000000..49ef5893 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT3.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec +{ + + + /// + /// >> 355 - Composite[bounded_collections.bounded_vec.BoundedVecT3] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BoundedVecT3 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec Value { get; set; } + + /// + public override string TypeName() + { + return "BoundedVecT3"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT4.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT4.cs new file mode 100644 index 00000000..77d73c8e --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT4.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec +{ + + + /// + /// >> 364 - Composite[bounded_collections.bounded_vec.BoundedVecT4] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BoundedVecT4 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec> Value { get; set; } + + /// + public override string TypeName() + { + return "BoundedVecT4"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec>(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT5.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT5.cs new file mode 100644 index 00000000..1378c0fd --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT5.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec +{ + + + /// + /// >> 376 - Composite[bounded_collections.bounded_vec.BoundedVecT5] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BoundedVecT5 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec Value { get; set; } + + /// + public override string TypeName() + { + return "BoundedVecT5"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT6.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT6.cs new file mode 100644 index 00000000..3c261ed8 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT6.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec +{ + + + /// + /// >> 379 - Composite[bounded_collections.bounded_vec.BoundedVecT6] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BoundedVecT6 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec Value { get; set; } + + /// + public override string TypeName() + { + return "BoundedVecT6"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT7.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT7.cs new file mode 100644 index 00000000..783e77d7 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT7.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec +{ + + + /// + /// >> 384 - Composite[bounded_collections.bounded_vec.BoundedVecT7] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BoundedVecT7 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec Value { get; set; } + + /// + public override string TypeName() + { + return "BoundedVecT7"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT8.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT8.cs new file mode 100644 index 00000000..6d1d64ed --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT8.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec +{ + + + /// + /// >> 390 - Composite[bounded_collections.bounded_vec.BoundedVecT8] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BoundedVecT8 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec Value { get; set; } + + /// + public override string TypeName() + { + return "BoundedVecT8"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT9.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT9.cs new file mode 100644 index 00000000..7f389afc --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/bounded_vec/BoundedVecT9.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec +{ + + + /// + /// >> 406 - Composite[bounded_collections.bounded_vec.BoundedVecT9] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BoundedVecT9 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec Value { get; set; } + + /// + public override string TypeName() + { + return "BoundedVecT9"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/weak_bounded_vec/WeakBoundedVecT1.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/weak_bounded_vec/WeakBoundedVecT1.cs new file mode 100644 index 00000000..1fff08ef --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/weak_bounded_vec/WeakBoundedVecT1.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.bounded_collections.weak_bounded_vec +{ + + + /// + /// >> 350 - Composite[bounded_collections.weak_bounded_vec.WeakBoundedVecT1] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class WeakBoundedVecT1 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec Value { get; set; } + + /// + public override string TypeName() + { + return "WeakBoundedVecT1"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/weak_bounded_vec/WeakBoundedVecT2.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/weak_bounded_vec/WeakBoundedVecT2.cs new file mode 100644 index 00000000..010db8aa --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/weak_bounded_vec/WeakBoundedVecT2.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.bounded_collections.weak_bounded_vec +{ + + + /// + /// >> 352 - Composite[bounded_collections.weak_bounded_vec.WeakBoundedVecT2] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class WeakBoundedVecT2 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec> Value { get; set; } + + /// + public override string TypeName() + { + return "WeakBoundedVecT2"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec>(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/weak_bounded_vec/WeakBoundedVecT3.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/weak_bounded_vec/WeakBoundedVecT3.cs new file mode 100644 index 00000000..367a6d78 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/weak_bounded_vec/WeakBoundedVecT3.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.bounded_collections.weak_bounded_vec +{ + + + /// + /// >> 370 - Composite[bounded_collections.weak_bounded_vec.WeakBoundedVecT3] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class WeakBoundedVecT3 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec> Value { get; set; } + + /// + public override string TypeName() + { + return "WeakBoundedVecT3"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec>(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/weak_bounded_vec/WeakBoundedVecT4.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/weak_bounded_vec/WeakBoundedVecT4.cs new file mode 100644 index 00000000..a5d7caef --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/weak_bounded_vec/WeakBoundedVecT4.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.bounded_collections.weak_bounded_vec +{ + + + /// + /// >> 372 - Composite[bounded_collections.weak_bounded_vec.WeakBoundedVecT4] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class WeakBoundedVecT4 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec Value { get; set; } + + /// + public override string TypeName() + { + return "WeakBoundedVecT4"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/weak_bounded_vec/WeakBoundedVecT5.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/weak_bounded_vec/WeakBoundedVecT5.cs new file mode 100644 index 00000000..39b7d854 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/bounded_collections/weak_bounded_vec/WeakBoundedVecT5.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.bounded_collections.weak_bounded_vec +{ + + + /// + /// >> 401 - Composite[bounded_collections.weak_bounded_vec.WeakBoundedVecT5] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class WeakBoundedVecT5 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec Value { get; set; } + + /// + public override string TypeName() + { + return "WeakBoundedVecT5"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/finality_grandpa/EquivocationT1.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/finality_grandpa/EquivocationT1.cs new file mode 100644 index 00000000..c0eb72c6 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/finality_grandpa/EquivocationT1.cs @@ -0,0 +1,79 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.finality_grandpa +{ + + + /// + /// >> 84 - Composite[finality_grandpa.EquivocationT1] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class EquivocationT1 : BaseType + { + + /// + /// >> round_number + /// + public Substrate.NetApi.Model.Types.Primitive.U64 RoundNumber { get; set; } + /// + /// >> identity + /// + public Substrate.Gear.Api.Generated.Model.sp_consensus_grandpa.app.Public Identity { get; set; } + /// + /// >> first + /// + public Substrate.NetApi.Model.Types.Base.BaseTuple First { get; set; } + /// + /// >> second + /// + public Substrate.NetApi.Model.Types.Base.BaseTuple Second { get; set; } + + /// + public override string TypeName() + { + return "EquivocationT1"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(RoundNumber.Encode()); + result.AddRange(Identity.Encode()); + result.AddRange(First.Encode()); + result.AddRange(Second.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + RoundNumber = new Substrate.NetApi.Model.Types.Primitive.U64(); + RoundNumber.Decode(byteArray, ref p); + Identity = new Substrate.Gear.Api.Generated.Model.sp_consensus_grandpa.app.Public(); + Identity.Decode(byteArray, ref p); + First = new Substrate.NetApi.Model.Types.Base.BaseTuple(); + First.Decode(byteArray, ref p); + Second = new Substrate.NetApi.Model.Types.Base.BaseTuple(); + Second.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/finality_grandpa/EquivocationT2.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/finality_grandpa/EquivocationT2.cs new file mode 100644 index 00000000..075c6332 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/finality_grandpa/EquivocationT2.cs @@ -0,0 +1,79 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.finality_grandpa +{ + + + /// + /// >> 90 - Composite[finality_grandpa.EquivocationT2] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class EquivocationT2 : BaseType + { + + /// + /// >> round_number + /// + public Substrate.NetApi.Model.Types.Primitive.U64 RoundNumber { get; set; } + /// + /// >> identity + /// + public Substrate.Gear.Api.Generated.Model.sp_consensus_grandpa.app.Public Identity { get; set; } + /// + /// >> first + /// + public Substrate.NetApi.Model.Types.Base.BaseTuple First { get; set; } + /// + /// >> second + /// + public Substrate.NetApi.Model.Types.Base.BaseTuple Second { get; set; } + + /// + public override string TypeName() + { + return "EquivocationT2"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(RoundNumber.Encode()); + result.AddRange(Identity.Encode()); + result.AddRange(First.Encode()); + result.AddRange(Second.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + RoundNumber = new Substrate.NetApi.Model.Types.Primitive.U64(); + RoundNumber.Decode(byteArray, ref p); + Identity = new Substrate.Gear.Api.Generated.Model.sp_consensus_grandpa.app.Public(); + Identity.Decode(byteArray, ref p); + First = new Substrate.NetApi.Model.Types.Base.BaseTuple(); + First.Decode(byteArray, ref p); + Second = new Substrate.NetApi.Model.Types.Base.BaseTuple(); + Second.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/finality_grandpa/Precommit.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/finality_grandpa/Precommit.cs new file mode 100644 index 00000000..aff97e62 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/finality_grandpa/Precommit.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.finality_grandpa +{ + + + /// + /// >> 91 - Composite[finality_grandpa.Precommit] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Precommit : BaseType + { + + /// + /// >> target_hash + /// + public Substrate.Gear.Api.Generated.Model.primitive_types.H256 TargetHash { get; set; } + /// + /// >> target_number + /// + public Substrate.NetApi.Model.Types.Primitive.U32 TargetNumber { get; set; } + + /// + public override string TypeName() + { + return "Precommit"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(TargetHash.Encode()); + result.AddRange(TargetNumber.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + TargetHash = new Substrate.Gear.Api.Generated.Model.primitive_types.H256(); + TargetHash.Decode(byteArray, ref p); + TargetNumber = new Substrate.NetApi.Model.Types.Primitive.U32(); + TargetNumber.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/finality_grandpa/Prevote.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/finality_grandpa/Prevote.cs new file mode 100644 index 00000000..5447ee30 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/finality_grandpa/Prevote.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.finality_grandpa +{ + + + /// + /// >> 85 - Composite[finality_grandpa.Prevote] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Prevote : BaseType + { + + /// + /// >> target_hash + /// + public Substrate.Gear.Api.Generated.Model.primitive_types.H256 TargetHash { get; set; } + /// + /// >> target_number + /// + public Substrate.NetApi.Model.Types.Primitive.U32 TargetNumber { get; set; } + + /// + public override string TypeName() + { + return "Prevote"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(TargetHash.Encode()); + result.AddRange(TargetNumber.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + TargetHash = new Substrate.Gear.Api.Generated.Model.primitive_types.H256(); + TargetHash.Decode(byteArray, ref p); + TargetNumber = new Substrate.NetApi.Model.Types.Primitive.U32(); + TargetNumber.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/PalletId.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/PalletId.cs new file mode 100644 index 00000000..dc4c38d0 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/PalletId.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.frame_support +{ + + + /// + /// >> 438 - Composite[frame_support.PalletId] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class PalletId : BaseType + { + + /// + /// >> value + /// + public Substrate.Gear.Api.Generated.Types.Base.Arr8U8 Value { get; set; } + + /// + public override string TypeName() + { + return "PalletId"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.Gear.Api.Generated.Types.Base.Arr8U8(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/dispatch/DispatchInfo.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/dispatch/DispatchInfo.cs new file mode 100644 index 00000000..1811c5ff --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/dispatch/DispatchInfo.cs @@ -0,0 +1,72 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.frame_support.dispatch +{ + + + /// + /// >> 22 - Composite[frame_support.dispatch.DispatchInfo] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class DispatchInfo : BaseType + { + + /// + /// >> weight + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight Weight { get; set; } + /// + /// >> class + /// + public Substrate.Gear.Api.Generated.Model.frame_support.dispatch.EnumDispatchClass Class { get; set; } + /// + /// >> pays_fee + /// + public Substrate.Gear.Api.Generated.Model.frame_support.dispatch.EnumPays PaysFee { get; set; } + + /// + public override string TypeName() + { + return "DispatchInfo"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Weight.Encode()); + result.AddRange(Class.Encode()); + result.AddRange(PaysFee.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Weight = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + Weight.Decode(byteArray, ref p); + Class = new Substrate.Gear.Api.Generated.Model.frame_support.dispatch.EnumDispatchClass(); + Class.Decode(byteArray, ref p); + PaysFee = new Substrate.Gear.Api.Generated.Model.frame_support.dispatch.EnumPays(); + PaysFee.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/dispatch/EnumDispatchClass.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/dispatch/EnumDispatchClass.cs new file mode 100644 index 00000000..cfa7865a --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/dispatch/EnumDispatchClass.cs @@ -0,0 +1,46 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.frame_support.dispatch +{ + + + /// + /// >> DispatchClass + /// + public enum DispatchClass + { + + /// + /// >> Normal + /// + Normal = 0, + + /// + /// >> Operational + /// + Operational = 1, + + /// + /// >> Mandatory + /// + Mandatory = 2, + } + + /// + /// >> 23 - Variant[frame_support.dispatch.DispatchClass] + /// + public sealed class EnumDispatchClass : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/dispatch/EnumPays.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/dispatch/EnumPays.cs new file mode 100644 index 00000000..8d3cfc17 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/dispatch/EnumPays.cs @@ -0,0 +1,41 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.frame_support.dispatch +{ + + + /// + /// >> Pays + /// + public enum Pays + { + + /// + /// >> Yes + /// + Yes = 0, + + /// + /// >> No + /// + No = 1, + } + + /// + /// >> 24 - Variant[frame_support.dispatch.Pays] + /// + public sealed class EnumPays : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/dispatch/EnumRawOrigin.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/dispatch/EnumRawOrigin.cs new file mode 100644 index 00000000..12f6d437 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/dispatch/EnumRawOrigin.cs @@ -0,0 +1,56 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.frame_support.dispatch +{ + + + /// + /// >> RawOrigin + /// + public enum RawOrigin + { + + /// + /// >> Root + /// + Root = 0, + + /// + /// >> Signed + /// + Signed = 1, + + /// + /// >> None + /// + None = 2, + } + + /// + /// >> 121 - Variant[frame_support.dispatch.RawOrigin] + /// + public sealed class EnumRawOrigin : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumRawOrigin() + { + AddTypeDecoder(RawOrigin.Root); + AddTypeDecoder(RawOrigin.Signed); + AddTypeDecoder(RawOrigin.None); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/dispatch/PerDispatchClassT1.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/dispatch/PerDispatchClassT1.cs new file mode 100644 index 00000000..3218c4bb --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/dispatch/PerDispatchClassT1.cs @@ -0,0 +1,72 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.frame_support.dispatch +{ + + + /// + /// >> 8 - Composite[frame_support.dispatch.PerDispatchClassT1] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class PerDispatchClassT1 : BaseType + { + + /// + /// >> normal + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight Normal { get; set; } + /// + /// >> operational + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight Operational { get; set; } + /// + /// >> mandatory + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight Mandatory { get; set; } + + /// + public override string TypeName() + { + return "PerDispatchClassT1"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Normal.Encode()); + result.AddRange(Operational.Encode()); + result.AddRange(Mandatory.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Normal = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + Normal.Decode(byteArray, ref p); + Operational = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + Operational.Decode(byteArray, ref p); + Mandatory = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + Mandatory.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/dispatch/PerDispatchClassT2.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/dispatch/PerDispatchClassT2.cs new file mode 100644 index 00000000..867fb94a --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/dispatch/PerDispatchClassT2.cs @@ -0,0 +1,72 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.frame_support.dispatch +{ + + + /// + /// >> 340 - Composite[frame_support.dispatch.PerDispatchClassT2] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class PerDispatchClassT2 : BaseType + { + + /// + /// >> normal + /// + public Substrate.Gear.Api.Generated.Model.frame_system.limits.WeightsPerClass Normal { get; set; } + /// + /// >> operational + /// + public Substrate.Gear.Api.Generated.Model.frame_system.limits.WeightsPerClass Operational { get; set; } + /// + /// >> mandatory + /// + public Substrate.Gear.Api.Generated.Model.frame_system.limits.WeightsPerClass Mandatory { get; set; } + + /// + public override string TypeName() + { + return "PerDispatchClassT2"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Normal.Encode()); + result.AddRange(Operational.Encode()); + result.AddRange(Mandatory.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Normal = new Substrate.Gear.Api.Generated.Model.frame_system.limits.WeightsPerClass(); + Normal.Decode(byteArray, ref p); + Operational = new Substrate.Gear.Api.Generated.Model.frame_system.limits.WeightsPerClass(); + Operational.Decode(byteArray, ref p); + Mandatory = new Substrate.Gear.Api.Generated.Model.frame_system.limits.WeightsPerClass(); + Mandatory.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/dispatch/PerDispatchClassT3.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/dispatch/PerDispatchClassT3.cs new file mode 100644 index 00000000..a8b14bb2 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/dispatch/PerDispatchClassT3.cs @@ -0,0 +1,72 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.frame_support.dispatch +{ + + + /// + /// >> 343 - Composite[frame_support.dispatch.PerDispatchClassT3] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class PerDispatchClassT3 : BaseType + { + + /// + /// >> normal + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Normal { get; set; } + /// + /// >> operational + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Operational { get; set; } + /// + /// >> mandatory + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Mandatory { get; set; } + + /// + public override string TypeName() + { + return "PerDispatchClassT3"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Normal.Encode()); + result.AddRange(Operational.Encode()); + result.AddRange(Mandatory.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Normal = new Substrate.NetApi.Model.Types.Primitive.U32(); + Normal.Decode(byteArray, ref p); + Operational = new Substrate.NetApi.Model.Types.Primitive.U32(); + Operational.Decode(byteArray, ref p); + Mandatory = new Substrate.NetApi.Model.Types.Primitive.U32(); + Mandatory.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/dispatch/PostDispatchInfo.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/dispatch/PostDispatchInfo.cs new file mode 100644 index 00000000..6f4f2285 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/dispatch/PostDispatchInfo.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.frame_support.dispatch +{ + + + /// + /// >> 286 - Composite[frame_support.dispatch.PostDispatchInfo] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class PostDispatchInfo : BaseType + { + + /// + /// >> actual_weight + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt ActualWeight { get; set; } + /// + /// >> pays_fee + /// + public Substrate.Gear.Api.Generated.Model.frame_support.dispatch.EnumPays PaysFee { get; set; } + + /// + public override string TypeName() + { + return "PostDispatchInfo"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(ActualWeight.Encode()); + result.AddRange(PaysFee.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + ActualWeight = new Substrate.NetApi.Model.Types.Base.BaseOpt(); + ActualWeight.Decode(byteArray, ref p); + PaysFee = new Substrate.Gear.Api.Generated.Model.frame_support.dispatch.EnumPays(); + PaysFee.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/traits/preimages/EnumBounded.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/traits/preimages/EnumBounded.cs new file mode 100644 index 00000000..d7acceed --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/traits/preimages/EnumBounded.cs @@ -0,0 +1,56 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.frame_support.traits.preimages +{ + + + /// + /// >> Bounded + /// + public enum Bounded + { + + /// + /// >> Legacy + /// + Legacy = 0, + + /// + /// >> Inline + /// + Inline = 1, + + /// + /// >> Lookup + /// + Lookup = 2, + } + + /// + /// >> 64 - Variant[frame_support.traits.preimages.Bounded] + /// + public sealed class EnumBounded : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumBounded() + { + AddTypeDecoder(Bounded.Legacy); + AddTypeDecoder(Bounded.Inline); + AddTypeDecoder>(Bounded.Lookup); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/traits/schedule/EnumDispatchTime.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/traits/schedule/EnumDispatchTime.cs new file mode 100644 index 00000000..1cde71ed --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/traits/schedule/EnumDispatchTime.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.frame_support.traits.schedule +{ + + + /// + /// >> DispatchTime + /// + public enum DispatchTime + { + + /// + /// >> At + /// + At = 0, + + /// + /// >> After + /// + After = 1, + } + + /// + /// >> 130 - Variant[frame_support.traits.schedule.DispatchTime] + /// + public sealed class EnumDispatchTime : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumDispatchTime() + { + AddTypeDecoder(DispatchTime.At); + AddTypeDecoder(DispatchTime.After); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/traits/tokens/fungible/HoldConsideration.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/traits/tokens/fungible/HoldConsideration.cs new file mode 100644 index 00000000..4cf820a7 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/traits/tokens/fungible/HoldConsideration.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.frame_support.traits.tokens.fungible +{ + + + /// + /// >> 491 - Composite[frame_support.traits.tokens.fungible.HoldConsideration] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class HoldConsideration : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Value { get; set; } + + /// + public override string TypeName() + { + return "HoldConsideration"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Primitive.U128(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/traits/tokens/misc/EnumBalanceStatus.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/traits/tokens/misc/EnumBalanceStatus.cs new file mode 100644 index 00000000..2aff18fe --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_support/traits/tokens/misc/EnumBalanceStatus.cs @@ -0,0 +1,41 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.frame_support.traits.tokens.misc +{ + + + /// + /// >> BalanceStatus + /// + public enum BalanceStatus + { + + /// + /// >> Free + /// + Free = 0, + + /// + /// >> Reserved + /// + Reserved = 1, + } + + /// + /// >> 36 - Variant[frame_support.traits.tokens.misc.BalanceStatus] + /// + public sealed class EnumBalanceStatus : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/AccountInfo.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/AccountInfo.cs new file mode 100644 index 00000000..648007c5 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/AccountInfo.cs @@ -0,0 +1,86 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.frame_system +{ + + + /// + /// >> 3 - Composite[frame_system.AccountInfo] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class AccountInfo : BaseType + { + + /// + /// >> nonce + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Nonce { get; set; } + /// + /// >> consumers + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Consumers { get; set; } + /// + /// >> providers + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Providers { get; set; } + /// + /// >> sufficients + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Sufficients { get; set; } + /// + /// >> data + /// + public Substrate.Gear.Api.Generated.Model.pallet_balances.types.AccountData Data { get; set; } + + /// + public override string TypeName() + { + return "AccountInfo"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Nonce.Encode()); + result.AddRange(Consumers.Encode()); + result.AddRange(Providers.Encode()); + result.AddRange(Sufficients.Encode()); + result.AddRange(Data.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Nonce = new Substrate.NetApi.Model.Types.Primitive.U32(); + Nonce.Decode(byteArray, ref p); + Consumers = new Substrate.NetApi.Model.Types.Primitive.U32(); + Consumers.Decode(byteArray, ref p); + Providers = new Substrate.NetApi.Model.Types.Primitive.U32(); + Providers.Decode(byteArray, ref p); + Sufficients = new Substrate.NetApi.Model.Types.Primitive.U32(); + Sufficients.Decode(byteArray, ref p); + Data = new Substrate.Gear.Api.Generated.Model.pallet_balances.types.AccountData(); + Data.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/EnumPhase.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/EnumPhase.cs new file mode 100644 index 00000000..3e724d04 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/EnumPhase.cs @@ -0,0 +1,56 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.frame_system +{ + + + /// + /// >> Phase + /// + public enum Phase + { + + /// + /// >> ApplyExtrinsic + /// + ApplyExtrinsic = 0, + + /// + /// >> Finalization + /// + Finalization = 1, + + /// + /// >> Initialization + /// + Initialization = 2, + } + + /// + /// >> 335 - Variant[frame_system.Phase] + /// + public sealed class EnumPhase : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumPhase() + { + AddTypeDecoder(Phase.ApplyExtrinsic); + AddTypeDecoder(Phase.Finalization); + AddTypeDecoder(Phase.Initialization); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/EventRecord.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/EventRecord.cs new file mode 100644 index 00000000..826c8029 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/EventRecord.cs @@ -0,0 +1,72 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.frame_system +{ + + + /// + /// >> 19 - Composite[frame_system.EventRecord] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class EventRecord : BaseType + { + + /// + /// >> phase + /// + public Substrate.Gear.Api.Generated.Model.frame_system.EnumPhase Phase { get; set; } + /// + /// >> event + /// + public Substrate.Gear.Api.Generated.Model.vara_runtime.EnumRuntimeEvent Event { get; set; } + /// + /// >> topics + /// + public Substrate.NetApi.Model.Types.Base.BaseVec Topics { get; set; } + + /// + public override string TypeName() + { + return "EventRecord"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Phase.Encode()); + result.AddRange(Event.Encode()); + result.AddRange(Topics.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Phase = new Substrate.Gear.Api.Generated.Model.frame_system.EnumPhase(); + Phase.Decode(byteArray, ref p); + Event = new Substrate.Gear.Api.Generated.Model.vara_runtime.EnumRuntimeEvent(); + Event.Decode(byteArray, ref p); + Topics = new Substrate.NetApi.Model.Types.Base.BaseVec(); + Topics.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/LastRuntimeUpgradeInfo.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/LastRuntimeUpgradeInfo.cs new file mode 100644 index 00000000..b8209d2b --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/LastRuntimeUpgradeInfo.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.frame_system +{ + + + /// + /// >> 337 - Composite[frame_system.LastRuntimeUpgradeInfo] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class LastRuntimeUpgradeInfo : BaseType + { + + /// + /// >> spec_version + /// + public Substrate.NetApi.Model.Types.Base.BaseCom SpecVersion { get; set; } + /// + /// >> spec_name + /// + public Substrate.NetApi.Model.Types.Primitive.Str SpecName { get; set; } + + /// + public override string TypeName() + { + return "LastRuntimeUpgradeInfo"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(SpecVersion.Encode()); + result.AddRange(SpecName.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + SpecVersion = new Substrate.NetApi.Model.Types.Base.BaseCom(); + SpecVersion.Decode(byteArray, ref p); + SpecName = new Substrate.NetApi.Model.Types.Primitive.Str(); + SpecName.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/extensions/check_genesis/CheckGenesis.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/extensions/check_genesis/CheckGenesis.cs new file mode 100644 index 00000000..68c94a82 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/extensions/check_genesis/CheckGenesis.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.frame_system.extensions.check_genesis +{ + + + /// + /// >> 645 - Composite[frame_system.extensions.check_genesis.CheckGenesis] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class CheckGenesis : BaseType + { + + /// + public override string TypeName() + { + return "CheckGenesis"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/extensions/check_mortality/CheckMortality.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/extensions/check_mortality/CheckMortality.cs new file mode 100644 index 00000000..75bb0827 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/extensions/check_mortality/CheckMortality.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.frame_system.extensions.check_mortality +{ + + + /// + /// >> 646 - Composite[frame_system.extensions.check_mortality.CheckMortality] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class CheckMortality : BaseType + { + + /// + /// >> value + /// + public Substrate.Gear.Api.Generated.Model.sp_runtime.generic.era.EnumEra Value { get; set; } + + /// + public override string TypeName() + { + return "CheckMortality"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.Gear.Api.Generated.Model.sp_runtime.generic.era.EnumEra(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/extensions/check_non_zero_sender/CheckNonZeroSender.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/extensions/check_non_zero_sender/CheckNonZeroSender.cs new file mode 100644 index 00000000..dc4a74f8 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/extensions/check_non_zero_sender/CheckNonZeroSender.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.frame_system.extensions.check_non_zero_sender +{ + + + /// + /// >> 642 - Composite[frame_system.extensions.check_non_zero_sender.CheckNonZeroSender] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class CheckNonZeroSender : BaseType + { + + /// + public override string TypeName() + { + return "CheckNonZeroSender"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/extensions/check_spec_version/CheckSpecVersion.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/extensions/check_spec_version/CheckSpecVersion.cs new file mode 100644 index 00000000..dc423e53 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/extensions/check_spec_version/CheckSpecVersion.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.frame_system.extensions.check_spec_version +{ + + + /// + /// >> 643 - Composite[frame_system.extensions.check_spec_version.CheckSpecVersion] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class CheckSpecVersion : BaseType + { + + /// + public override string TypeName() + { + return "CheckSpecVersion"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/extensions/check_tx_version/CheckTxVersion.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/extensions/check_tx_version/CheckTxVersion.cs new file mode 100644 index 00000000..dd75e301 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/extensions/check_tx_version/CheckTxVersion.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.frame_system.extensions.check_tx_version +{ + + + /// + /// >> 644 - Composite[frame_system.extensions.check_tx_version.CheckTxVersion] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class CheckTxVersion : BaseType + { + + /// + public override string TypeName() + { + return "CheckTxVersion"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/extensions/check_weight/CheckWeight.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/extensions/check_weight/CheckWeight.cs new file mode 100644 index 00000000..c9e5aa2e --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/extensions/check_weight/CheckWeight.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.frame_system.extensions.check_weight +{ + + + /// + /// >> 649 - Composite[frame_system.extensions.check_weight.CheckWeight] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class CheckWeight : BaseType + { + + /// + public override string TypeName() + { + return "CheckWeight"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/limits/BlockLength.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/limits/BlockLength.cs new file mode 100644 index 00000000..e090ce6a --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/limits/BlockLength.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.frame_system.limits +{ + + + /// + /// >> 342 - Composite[frame_system.limits.BlockLength] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BlockLength : BaseType + { + + /// + /// >> max + /// + public Substrate.Gear.Api.Generated.Model.frame_support.dispatch.PerDispatchClassT3 Max { get; set; } + + /// + public override string TypeName() + { + return "BlockLength"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Max.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Max = new Substrate.Gear.Api.Generated.Model.frame_support.dispatch.PerDispatchClassT3(); + Max.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/limits/BlockWeights.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/limits/BlockWeights.cs new file mode 100644 index 00000000..59202e3f --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/limits/BlockWeights.cs @@ -0,0 +1,72 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.frame_system.limits +{ + + + /// + /// >> 339 - Composite[frame_system.limits.BlockWeights] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BlockWeights : BaseType + { + + /// + /// >> base_block + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight BaseBlock { get; set; } + /// + /// >> max_block + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight MaxBlock { get; set; } + /// + /// >> per_class + /// + public Substrate.Gear.Api.Generated.Model.frame_support.dispatch.PerDispatchClassT2 PerClass { get; set; } + + /// + public override string TypeName() + { + return "BlockWeights"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(BaseBlock.Encode()); + result.AddRange(MaxBlock.Encode()); + result.AddRange(PerClass.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + BaseBlock = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + BaseBlock.Decode(byteArray, ref p); + MaxBlock = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + MaxBlock.Decode(byteArray, ref p); + PerClass = new Substrate.Gear.Api.Generated.Model.frame_support.dispatch.PerDispatchClassT2(); + PerClass.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/limits/WeightsPerClass.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/limits/WeightsPerClass.cs new file mode 100644 index 00000000..b368ddd8 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/limits/WeightsPerClass.cs @@ -0,0 +1,79 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.frame_system.limits +{ + + + /// + /// >> 341 - Composite[frame_system.limits.WeightsPerClass] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class WeightsPerClass : BaseType + { + + /// + /// >> base_extrinsic + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight BaseExtrinsic { get; set; } + /// + /// >> max_extrinsic + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt MaxExtrinsic { get; set; } + /// + /// >> max_total + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt MaxTotal { get; set; } + /// + /// >> reserved + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt Reserved { get; set; } + + /// + public override string TypeName() + { + return "WeightsPerClass"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(BaseExtrinsic.Encode()); + result.AddRange(MaxExtrinsic.Encode()); + result.AddRange(MaxTotal.Encode()); + result.AddRange(Reserved.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + BaseExtrinsic = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + BaseExtrinsic.Decode(byteArray, ref p); + MaxExtrinsic = new Substrate.NetApi.Model.Types.Base.BaseOpt(); + MaxExtrinsic.Decode(byteArray, ref p); + MaxTotal = new Substrate.NetApi.Model.Types.Base.BaseOpt(); + MaxTotal.Decode(byteArray, ref p); + Reserved = new Substrate.NetApi.Model.Types.Base.BaseOpt(); + Reserved.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/pallet/EnumCall.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/pallet/EnumCall.cs new file mode 100644 index 00000000..a5aacc3a --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/pallet/EnumCall.cs @@ -0,0 +1,96 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.frame_system.pallet +{ + + + /// + /// >> Call + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public enum Call + { + + /// + /// >> remark + /// See [`Pallet::remark`]. + /// + remark = 0, + + /// + /// >> set_heap_pages + /// See [`Pallet::set_heap_pages`]. + /// + set_heap_pages = 1, + + /// + /// >> set_code + /// See [`Pallet::set_code`]. + /// + set_code = 2, + + /// + /// >> set_code_without_checks + /// See [`Pallet::set_code_without_checks`]. + /// + set_code_without_checks = 3, + + /// + /// >> set_storage + /// See [`Pallet::set_storage`]. + /// + set_storage = 4, + + /// + /// >> kill_storage + /// See [`Pallet::kill_storage`]. + /// + kill_storage = 5, + + /// + /// >> kill_prefix + /// See [`Pallet::kill_prefix`]. + /// + kill_prefix = 6, + + /// + /// >> remark_with_event + /// See [`Pallet::remark_with_event`]. + /// + remark_with_event = 7, + } + + /// + /// >> 66 - Variant[frame_system.pallet.Call] + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public sealed class EnumCall : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumCall() + { + AddTypeDecoder>(Call.remark); + AddTypeDecoder(Call.set_heap_pages); + AddTypeDecoder>(Call.set_code); + AddTypeDecoder>(Call.set_code_without_checks); + AddTypeDecoder, Substrate.NetApi.Model.Types.Base.BaseVec>>>(Call.set_storage); + AddTypeDecoder>>(Call.kill_storage); + AddTypeDecoder, Substrate.NetApi.Model.Types.Primitive.U32>>(Call.kill_prefix); + AddTypeDecoder>(Call.remark_with_event); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/pallet/EnumError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/pallet/EnumError.cs new file mode 100644 index 00000000..ddc315f1 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/pallet/EnumError.cs @@ -0,0 +1,73 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.frame_system.pallet +{ + + + /// + /// >> Error + /// Error for the System pallet + /// + public enum Error + { + + /// + /// >> InvalidSpecName + /// The name of specification does not match between the current runtime + /// and the new runtime. + /// + InvalidSpecName = 0, + + /// + /// >> SpecVersionNeedsToIncrease + /// The specification version is not allowed to decrease between the current runtime + /// and the new runtime. + /// + SpecVersionNeedsToIncrease = 1, + + /// + /// >> FailedToExtractRuntimeVersion + /// Failed to extract the runtime version from the new runtime. + /// + /// Either calling `Core_version` or decoding `RuntimeVersion` failed. + /// + FailedToExtractRuntimeVersion = 2, + + /// + /// >> NonDefaultComposite + /// Suicide called when the account has non-default composite data. + /// + NonDefaultComposite = 3, + + /// + /// >> NonZeroRefCount + /// There is a non-zero reference count preventing the account from being purged. + /// + NonZeroRefCount = 4, + + /// + /// >> CallFiltered + /// The origin filter prevent the call to be dispatched. + /// + CallFiltered = 5, + } + + /// + /// >> 349 - Variant[frame_system.pallet.Error] + /// Error for the System pallet + /// + public sealed class EnumError : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/pallet/EnumEvent.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/pallet/EnumEvent.cs new file mode 100644 index 00000000..8b3274c8 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/frame_system/pallet/EnumEvent.cs @@ -0,0 +1,82 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.frame_system.pallet +{ + + + /// + /// >> Event + /// Event for the System pallet. + /// + public enum Event + { + + /// + /// >> ExtrinsicSuccess + /// An extrinsic completed successfully. + /// + ExtrinsicSuccess = 0, + + /// + /// >> ExtrinsicFailed + /// An extrinsic failed. + /// + ExtrinsicFailed = 1, + + /// + /// >> CodeUpdated + /// `:code` was updated. + /// + CodeUpdated = 2, + + /// + /// >> NewAccount + /// A new account was created. + /// + NewAccount = 3, + + /// + /// >> KilledAccount + /// An account was reaped. + /// + KilledAccount = 4, + + /// + /// >> Remarked + /// On on-chain remark happened. + /// + Remarked = 5, + } + + /// + /// >> 21 - Variant[frame_system.pallet.Event] + /// Event for the System pallet. + /// + public sealed class EnumEvent : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumEvent() + { + AddTypeDecoder(Event.ExtrinsicSuccess); + AddTypeDecoder>(Event.ExtrinsicFailed); + AddTypeDecoder(Event.CodeUpdated); + AddTypeDecoder(Event.NewAccount); + AddTypeDecoder(Event.KilledAccount); + AddTypeDecoder>(Event.Remarked); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/CodeMetadata.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/CodeMetadata.cs new file mode 100644 index 00000000..d9d479d9 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/CodeMetadata.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_common +{ + + + /// + /// >> 565 - Composite[gear_common.CodeMetadata] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class CodeMetadata : BaseType + { + + /// + /// >> author + /// + public Substrate.Gear.Api.Generated.Model.primitive_types.H256 Author { get; set; } + /// + /// >> block_number + /// + public Substrate.NetApi.Model.Types.Base.BaseCom BlockNumber { get; set; } + + /// + public override string TypeName() + { + return "CodeMetadata"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Author.Encode()); + result.AddRange(BlockNumber.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Author = new Substrate.Gear.Api.Generated.Model.primitive_types.H256(); + Author.Decode(byteArray, ref p); + BlockNumber = new Substrate.NetApi.Model.Types.Base.BaseCom(); + BlockNumber.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/EnumGasMultiplier.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/EnumGasMultiplier.cs new file mode 100644 index 00000000..81a40568 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/EnumGasMultiplier.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_common +{ + + + /// + /// >> GasMultiplier + /// + public enum GasMultiplier + { + + /// + /// >> ValuePerGas + /// + ValuePerGas = 0, + + /// + /// >> GasPerValue + /// + GasPerValue = 1, + } + + /// + /// >> 612 - Variant[gear_common.GasMultiplier] + /// + public sealed class EnumGasMultiplier : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumGasMultiplier() + { + AddTypeDecoder(GasMultiplier.ValuePerGas); + AddTypeDecoder(GasMultiplier.GasPerValue); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/event/EnumCodeChangeKind.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/event/EnumCodeChangeKind.cs new file mode 100644 index 00000000..7b42a1d3 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/event/EnumCodeChangeKind.cs @@ -0,0 +1,56 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_common.@event +{ + + + /// + /// >> CodeChangeKind + /// + public enum CodeChangeKind + { + + /// + /// >> Active + /// + Active = 0, + + /// + /// >> Inactive + /// + Inactive = 1, + + /// + /// >> Reinstrumented + /// + Reinstrumented = 2, + } + + /// + /// >> 331 - Variant[gear_common.@event.CodeChangeKind] + /// + public sealed class EnumCodeChangeKind : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumCodeChangeKind() + { + AddTypeDecoder>(CodeChangeKind.Active); + AddTypeDecoder(CodeChangeKind.Inactive); + AddTypeDecoder(CodeChangeKind.Reinstrumented); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/event/EnumDispatchStatus.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/event/EnumDispatchStatus.cs new file mode 100644 index 00000000..4ee1d049 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/event/EnumDispatchStatus.cs @@ -0,0 +1,46 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_common.@event +{ + + + /// + /// >> DispatchStatus + /// + public enum DispatchStatus + { + + /// + /// >> Success + /// + Success = 0, + + /// + /// >> Failed + /// + Failed = 1, + + /// + /// >> NotExecuted + /// + NotExecuted = 2, + } + + /// + /// >> 319 - Variant[gear_common.@event.DispatchStatus] + /// + public sealed class EnumDispatchStatus : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/event/EnumMessageEntry.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/event/EnumMessageEntry.cs new file mode 100644 index 00000000..08d0afad --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/event/EnumMessageEntry.cs @@ -0,0 +1,62 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_common.@event +{ + + + /// + /// >> MessageEntry + /// + public enum MessageEntry + { + + /// + /// >> Init + /// + Init = 0, + + /// + /// >> Handle + /// + Handle = 1, + + /// + /// >> Reply + /// + Reply = 2, + + /// + /// >> Signal + /// + Signal = 3, + } + + /// + /// >> 304 - Variant[gear_common.@event.MessageEntry] + /// + public sealed class EnumMessageEntry : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumMessageEntry() + { + AddTypeDecoder(MessageEntry.Init); + AddTypeDecoder(MessageEntry.Handle); + AddTypeDecoder(MessageEntry.Reply); + AddTypeDecoder(MessageEntry.Signal); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/event/EnumMessageWaitedRuntimeReason.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/event/EnumMessageWaitedRuntimeReason.cs new file mode 100644 index 00000000..b28b1755 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/event/EnumMessageWaitedRuntimeReason.cs @@ -0,0 +1,51 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_common.@event +{ + + + /// + /// >> MessageWaitedRuntimeReason + /// + public enum MessageWaitedRuntimeReason + { + + /// + /// >> WaitCalled + /// + WaitCalled = 0, + + /// + /// >> WaitForCalled + /// + WaitForCalled = 1, + + /// + /// >> WaitUpToCalled + /// + WaitUpToCalled = 2, + + /// + /// >> WaitUpToCalledFull + /// + WaitUpToCalledFull = 3, + } + + /// + /// >> 326 - Variant[gear_common.@event.MessageWaitedRuntimeReason] + /// + public sealed class EnumMessageWaitedRuntimeReason : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/event/EnumMessageWaitedSystemReason.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/event/EnumMessageWaitedSystemReason.cs new file mode 100644 index 00000000..c74a1571 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/event/EnumMessageWaitedSystemReason.cs @@ -0,0 +1,31 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_common.@event +{ + + + /// + /// >> MessageWaitedSystemReason + /// + public enum MessageWaitedSystemReason + { + } + + /// + /// >> 327 - Variant[gear_common.@event.MessageWaitedSystemReason] + /// + public sealed class EnumMessageWaitedSystemReason : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/event/EnumMessageWokenRuntimeReason.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/event/EnumMessageWokenRuntimeReason.cs new file mode 100644 index 00000000..9aa62ebf --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/event/EnumMessageWokenRuntimeReason.cs @@ -0,0 +1,36 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_common.@event +{ + + + /// + /// >> MessageWokenRuntimeReason + /// + public enum MessageWokenRuntimeReason + { + + /// + /// >> WakeCalled + /// + WakeCalled = 0, + } + + /// + /// >> 329 - Variant[gear_common.@event.MessageWokenRuntimeReason] + /// + public sealed class EnumMessageWokenRuntimeReason : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/event/EnumMessageWokenSystemReason.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/event/EnumMessageWokenSystemReason.cs new file mode 100644 index 00000000..55696080 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/event/EnumMessageWokenSystemReason.cs @@ -0,0 +1,46 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_common.@event +{ + + + /// + /// >> MessageWokenSystemReason + /// + public enum MessageWokenSystemReason + { + + /// + /// >> ProgramGotInitialized + /// + ProgramGotInitialized = 0, + + /// + /// >> TimeoutHasCome + /// + TimeoutHasCome = 1, + + /// + /// >> OutOfRent + /// + OutOfRent = 2, + } + + /// + /// >> 330 - Variant[gear_common.@event.MessageWokenSystemReason] + /// + public sealed class EnumMessageWokenSystemReason : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/event/EnumProgramChangeKind.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/event/EnumProgramChangeKind.cs new file mode 100644 index 00000000..f6d28a99 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/event/EnumProgramChangeKind.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_common.@event +{ + + + /// + /// >> ProgramChangeKind + /// + public enum ProgramChangeKind + { + + /// + /// >> Active + /// + Active = 0, + + /// + /// >> Inactive + /// + Inactive = 1, + + /// + /// >> Paused + /// + Paused = 2, + + /// + /// >> Terminated + /// + Terminated = 3, + + /// + /// >> ExpirationChanged + /// + ExpirationChanged = 4, + + /// + /// >> ProgramSet + /// + ProgramSet = 5, + } + + /// + /// >> 332 - Variant[gear_common.@event.ProgramChangeKind] + /// + public sealed class EnumProgramChangeKind : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumProgramChangeKind() + { + AddTypeDecoder(ProgramChangeKind.Active); + AddTypeDecoder(ProgramChangeKind.Inactive); + AddTypeDecoder(ProgramChangeKind.Paused); + AddTypeDecoder(ProgramChangeKind.Terminated); + AddTypeDecoder(ProgramChangeKind.ExpirationChanged); + AddTypeDecoder(ProgramChangeKind.ProgramSet); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/event/EnumReason.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/event/EnumReason.cs new file mode 100644 index 00000000..77cf21a2 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/event/EnumReason.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_common.@event +{ + + + /// + /// >> Reason + /// + public enum Reason + { + + /// + /// >> Runtime + /// + Runtime = 0, + + /// + /// >> System + /// + System = 1, + } + + /// + /// >> 328 - Variant[gear_common.@event.Reason] + /// + public sealed class EnumReason : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumReason() + { + AddTypeDecoder(Reason.Runtime); + AddTypeDecoder(Reason.System); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/event/EnumUserMessageReadRuntimeReason.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/event/EnumUserMessageReadRuntimeReason.cs new file mode 100644 index 00000000..0be2cc20 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/event/EnumUserMessageReadRuntimeReason.cs @@ -0,0 +1,41 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_common.@event +{ + + + /// + /// >> UserMessageReadRuntimeReason + /// + public enum UserMessageReadRuntimeReason + { + + /// + /// >> MessageReplied + /// + MessageReplied = 0, + + /// + /// >> MessageClaimed + /// + MessageClaimed = 1, + } + + /// + /// >> 316 - Variant[gear_common.@event.UserMessageReadRuntimeReason] + /// + public sealed class EnumUserMessageReadRuntimeReason : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/event/EnumUserMessageReadSystemReason.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/event/EnumUserMessageReadSystemReason.cs new file mode 100644 index 00000000..3481654b --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/event/EnumUserMessageReadSystemReason.cs @@ -0,0 +1,36 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_common.@event +{ + + + /// + /// >> UserMessageReadSystemReason + /// + public enum UserMessageReadSystemReason + { + + /// + /// >> OutOfRent + /// + OutOfRent = 0, + } + + /// + /// >> 317 - Variant[gear_common.@event.UserMessageReadSystemReason] + /// + public sealed class EnumUserMessageReadSystemReason : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/gas_provider/node/ChildrenRefs.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/gas_provider/node/ChildrenRefs.cs new file mode 100644 index 00000000..f5797f81 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/gas_provider/node/ChildrenRefs.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_common.gas_provider.node +{ + + + /// + /// >> 615 - Composite[gear_common.gas_provider.node.ChildrenRefs] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class ChildrenRefs : BaseType + { + + /// + /// >> spec_refs + /// + public Substrate.NetApi.Model.Types.Primitive.U32 SpecRefs { get; set; } + /// + /// >> unspec_refs + /// + public Substrate.NetApi.Model.Types.Primitive.U32 UnspecRefs { get; set; } + + /// + public override string TypeName() + { + return "ChildrenRefs"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(SpecRefs.Encode()); + result.AddRange(UnspecRefs.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + SpecRefs = new Substrate.NetApi.Model.Types.Primitive.U32(); + SpecRefs.Decode(byteArray, ref p); + UnspecRefs = new Substrate.NetApi.Model.Types.Primitive.U32(); + UnspecRefs.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/gas_provider/node/EnumGasNode.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/gas_provider/node/EnumGasNode.cs new file mode 100644 index 00000000..3de1a1ad --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/gas_provider/node/EnumGasNode.cs @@ -0,0 +1,68 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_common.gas_provider.node +{ + + + /// + /// >> GasNode + /// + public enum GasNode + { + + /// + /// >> External + /// + External = 0, + + /// + /// >> Cut + /// + Cut = 1, + + /// + /// >> Reserved + /// + Reserved = 2, + + /// + /// >> SpecifiedLocal + /// + SpecifiedLocal = 3, + + /// + /// >> UnspecifiedLocal + /// + UnspecifiedLocal = 4, + } + + /// + /// >> 611 - Variant[gear_common.gas_provider.node.GasNode] + /// + public sealed class EnumGasNode : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumGasNode() + { + AddTypeDecoder>(GasNode.External); + AddTypeDecoder>(GasNode.Cut); + AddTypeDecoder>(GasNode.Reserved); + AddTypeDecoder>(GasNode.SpecifiedLocal); + AddTypeDecoder>(GasNode.UnspecifiedLocal); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/gas_provider/node/EnumGasNodeId.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/gas_provider/node/EnumGasNodeId.cs new file mode 100644 index 00000000..47c9eeb6 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/gas_provider/node/EnumGasNodeId.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_common.gas_provider.node +{ + + + /// + /// >> GasNodeId + /// + public enum GasNodeId + { + + /// + /// >> Node + /// + Node = 0, + + /// + /// >> Reservation + /// + Reservation = 1, + } + + /// + /// >> 323 - Variant[gear_common.gas_provider.node.GasNodeId] + /// + public sealed class EnumGasNodeId : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumGasNodeId() + { + AddTypeDecoder(GasNodeId.Node); + AddTypeDecoder(GasNodeId.Reservation); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/gas_provider/node/NodeLock.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/gas_provider/node/NodeLock.cs new file mode 100644 index 00000000..a894bf76 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/gas_provider/node/NodeLock.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_common.gas_provider.node +{ + + + /// + /// >> 613 - Composite[gear_common.gas_provider.node.NodeLock] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class NodeLock : BaseType + { + + /// + /// >> value + /// + public Substrate.Gear.Api.Generated.Types.Base.Arr4U64 Value { get; set; } + + /// + public override string TypeName() + { + return "NodeLock"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.Gear.Api.Generated.Types.Base.Arr4U64(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/storage/complicated/dequeue/LinkedNode.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/storage/complicated/dequeue/LinkedNode.cs new file mode 100644 index 00000000..b367d4be --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/storage/complicated/dequeue/LinkedNode.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_common.storage.complicated.dequeue +{ + + + /// + /// >> 584 - Composite[gear_common.storage.complicated.dequeue.LinkedNode] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class LinkedNode : BaseType + { + + /// + /// >> next + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt Next { get; set; } + /// + /// >> value + /// + public Substrate.Gear.Api.Generated.Model.gear_core.message.stored.StoredDispatch Value { get; set; } + + /// + public override string TypeName() + { + return "LinkedNode"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Next.Encode()); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Next = new Substrate.NetApi.Model.Types.Base.BaseOpt(); + Next.Decode(byteArray, ref p); + Value = new Substrate.Gear.Api.Generated.Model.gear_core.message.stored.StoredDispatch(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/storage/primitives/Interval.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/storage/primitives/Interval.cs new file mode 100644 index 00000000..d8e5eccd --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_common/storage/primitives/Interval.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_common.storage.primitives +{ + + + /// + /// >> 602 - Composite[gear_common.storage.primitives.Interval] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Interval : BaseType + { + + /// + /// >> start + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Start { get; set; } + /// + /// >> finish + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Finish { get; set; } + + /// + public override string TypeName() + { + return "Interval"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Start.Encode()); + result.AddRange(Finish.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Start = new Substrate.NetApi.Model.Types.Primitive.U32(); + Start.Decode(byteArray, ref p); + Finish = new Substrate.NetApi.Model.Types.Primitive.U32(); + Finish.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/buffer/LimitedVecT1.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/buffer/LimitedVecT1.cs new file mode 100644 index 00000000..27ed6e5e --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/buffer/LimitedVecT1.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_core.buffer +{ + + + /// + /// >> 306 - Composite[gear_core.buffer.LimitedVecT1] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class LimitedVecT1 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec Value { get; set; } + + /// + public override string TypeName() + { + return "LimitedVecT1"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/buffer/LimitedVecT2.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/buffer/LimitedVecT2.cs new file mode 100644 index 00000000..492ab8b8 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/buffer/LimitedVecT2.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_core.buffer +{ + + + /// + /// >> 581 - Composite[gear_core.buffer.LimitedVecT2] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class LimitedVecT2 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec Value { get; set; } + + /// + public override string TypeName() + { + return "LimitedVecT2"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/code/instrumented/InstantiatedSectionSizes.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/code/instrumented/InstantiatedSectionSizes.cs new file mode 100644 index 00000000..fb09e989 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/code/instrumented/InstantiatedSectionSizes.cs @@ -0,0 +1,93 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_core.code.instrumented +{ + + + /// + /// >> 564 - Composite[gear_core.code.instrumented.InstantiatedSectionSizes] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class InstantiatedSectionSizes : BaseType + { + + /// + /// >> code_section + /// + public Substrate.NetApi.Model.Types.Primitive.U32 CodeSection { get; set; } + /// + /// >> data_section + /// + public Substrate.NetApi.Model.Types.Primitive.U32 DataSection { get; set; } + /// + /// >> global_section + /// + public Substrate.NetApi.Model.Types.Primitive.U32 GlobalSection { get; set; } + /// + /// >> table_section + /// + public Substrate.NetApi.Model.Types.Primitive.U32 TableSection { get; set; } + /// + /// >> element_section + /// + public Substrate.NetApi.Model.Types.Primitive.U32 ElementSection { get; set; } + /// + /// >> type_section + /// + public Substrate.NetApi.Model.Types.Primitive.U32 TypeSection { get; set; } + + /// + public override string TypeName() + { + return "InstantiatedSectionSizes"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(CodeSection.Encode()); + result.AddRange(DataSection.Encode()); + result.AddRange(GlobalSection.Encode()); + result.AddRange(TableSection.Encode()); + result.AddRange(ElementSection.Encode()); + result.AddRange(TypeSection.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + CodeSection = new Substrate.NetApi.Model.Types.Primitive.U32(); + CodeSection.Decode(byteArray, ref p); + DataSection = new Substrate.NetApi.Model.Types.Primitive.U32(); + DataSection.Decode(byteArray, ref p); + GlobalSection = new Substrate.NetApi.Model.Types.Primitive.U32(); + GlobalSection.Decode(byteArray, ref p); + TableSection = new Substrate.NetApi.Model.Types.Primitive.U32(); + TableSection.Decode(byteArray, ref p); + ElementSection = new Substrate.NetApi.Model.Types.Primitive.U32(); + ElementSection.Decode(byteArray, ref p); + TypeSection = new Substrate.NetApi.Model.Types.Primitive.U32(); + TypeSection.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/code/instrumented/InstrumentedCode.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/code/instrumented/InstrumentedCode.cs new file mode 100644 index 00000000..86aa108a --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/code/instrumented/InstrumentedCode.cs @@ -0,0 +1,100 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_core.code.instrumented +{ + + + /// + /// >> 557 - Composite[gear_core.code.instrumented.InstrumentedCode] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class InstrumentedCode : BaseType + { + + /// + /// >> code + /// + public Substrate.NetApi.Model.Types.Base.BaseVec Code { get; set; } + /// + /// >> original_code_len + /// + public Substrate.NetApi.Model.Types.Primitive.U32 OriginalCodeLen { get; set; } + /// + /// >> exports + /// + public Substrate.Gear.Api.Generated.Types.Base.BTreeSetT2 Exports { get; set; } + /// + /// >> static_pages + /// + public Substrate.Gear.Api.Generated.Model.gear_core.pages.PagesAmount StaticPages { get; set; } + /// + /// >> stack_end + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt StackEnd { get; set; } + /// + /// >> instantiated_section_sizes + /// + public Substrate.Gear.Api.Generated.Model.gear_core.code.instrumented.InstantiatedSectionSizes InstantiatedSectionSizes { get; set; } + /// + /// >> version + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Version { get; set; } + + /// + public override string TypeName() + { + return "InstrumentedCode"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Code.Encode()); + result.AddRange(OriginalCodeLen.Encode()); + result.AddRange(Exports.Encode()); + result.AddRange(StaticPages.Encode()); + result.AddRange(StackEnd.Encode()); + result.AddRange(InstantiatedSectionSizes.Encode()); + result.AddRange(Version.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Code = new Substrate.NetApi.Model.Types.Base.BaseVec(); + Code.Decode(byteArray, ref p); + OriginalCodeLen = new Substrate.NetApi.Model.Types.Primitive.U32(); + OriginalCodeLen.Decode(byteArray, ref p); + Exports = new Substrate.Gear.Api.Generated.Types.Base.BTreeSetT2(); + Exports.Decode(byteArray, ref p); + StaticPages = new Substrate.Gear.Api.Generated.Model.gear_core.pages.PagesAmount(); + StaticPages.Decode(byteArray, ref p); + StackEnd = new Substrate.NetApi.Model.Types.Base.BaseOpt(); + StackEnd.Decode(byteArray, ref p); + InstantiatedSectionSizes = new Substrate.Gear.Api.Generated.Model.gear_core.code.instrumented.InstantiatedSectionSizes(); + InstantiatedSectionSizes.Decode(byteArray, ref p); + Version = new Substrate.NetApi.Model.Types.Primitive.U32(); + Version.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/memory/IntoPageBufError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/memory/IntoPageBufError.cs new file mode 100644 index 00000000..98be3014 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/memory/IntoPageBufError.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_core.memory +{ + + + /// + /// >> 582 - Composite[gear_core.memory.IntoPageBufError] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class IntoPageBufError : BaseType + { + + /// + public override string TypeName() + { + return "IntoPageBufError"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/memory/PageBuf.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/memory/PageBuf.cs new file mode 100644 index 00000000..3855d070 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/memory/PageBuf.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_core.memory +{ + + + /// + /// >> 580 - Composite[gear_core.memory.PageBuf] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class PageBuf : BaseType + { + + /// + /// >> value + /// + public Substrate.Gear.Api.Generated.Model.gear_core.buffer.LimitedVecT2 Value { get; set; } + + /// + public override string TypeName() + { + return "PageBuf"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.Gear.Api.Generated.Model.gear_core.buffer.LimitedVecT2(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/message/EnumDispatchKind.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/message/EnumDispatchKind.cs new file mode 100644 index 00000000..176719ba --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/message/EnumDispatchKind.cs @@ -0,0 +1,51 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_core.message +{ + + + /// + /// >> DispatchKind + /// + public enum DispatchKind + { + + /// + /// >> Init + /// + Init = 0, + + /// + /// >> Handle + /// + Handle = 1, + + /// + /// >> Reply + /// + Reply = 2, + + /// + /// >> Signal + /// + Signal = 3, + } + + /// + /// >> 559 - Variant[gear_core.message.DispatchKind] + /// + public sealed class EnumDispatchKind : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/message/PayloadSizeError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/message/PayloadSizeError.cs new file mode 100644 index 00000000..4c3545be --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/message/PayloadSizeError.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_core.message +{ + + + /// + /// >> 307 - Composite[gear_core.message.PayloadSizeError] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class PayloadSizeError : BaseType + { + + /// + public override string TypeName() + { + return "PayloadSizeError"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/message/common/EnumMessageDetails.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/message/common/EnumMessageDetails.cs new file mode 100644 index 00000000..38e45250 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/message/common/EnumMessageDetails.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_core.message.common +{ + + + /// + /// >> MessageDetails + /// + public enum MessageDetails + { + + /// + /// >> Reply + /// + Reply = 0, + + /// + /// >> Signal + /// + Signal = 1, + } + + /// + /// >> 588 - Variant[gear_core.message.common.MessageDetails] + /// + public sealed class EnumMessageDetails : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumMessageDetails() + { + AddTypeDecoder(MessageDetails.Reply); + AddTypeDecoder(MessageDetails.Signal); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/message/common/ReplyDetails.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/message/common/ReplyDetails.cs new file mode 100644 index 00000000..52451cf7 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/message/common/ReplyDetails.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_core.message.common +{ + + + /// + /// >> 309 - Composite[gear_core.message.common.ReplyDetails] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class ReplyDetails : BaseType + { + + /// + /// >> to + /// + public Substrate.Gear.Api.Generated.Model.gprimitives.MessageId To { get; set; } + /// + /// >> code + /// + public Substrate.Gear.Api.Generated.Model.gear_core_errors.simple.EnumReplyCode Code { get; set; } + + /// + public override string TypeName() + { + return "ReplyDetails"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(To.Encode()); + result.AddRange(Code.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + To = new Substrate.Gear.Api.Generated.Model.gprimitives.MessageId(); + To.Decode(byteArray, ref p); + Code = new Substrate.Gear.Api.Generated.Model.gear_core_errors.simple.EnumReplyCode(); + Code.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/message/common/SignalDetails.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/message/common/SignalDetails.cs new file mode 100644 index 00000000..8ffcc07e --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/message/common/SignalDetails.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_core.message.common +{ + + + /// + /// >> 589 - Composite[gear_core.message.common.SignalDetails] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class SignalDetails : BaseType + { + + /// + /// >> to + /// + public Substrate.Gear.Api.Generated.Model.gprimitives.MessageId To { get; set; } + /// + /// >> code + /// + public Substrate.Gear.Api.Generated.Model.gear_core_errors.simple.EnumSignalCode Code { get; set; } + + /// + public override string TypeName() + { + return "SignalDetails"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(To.Encode()); + result.AddRange(Code.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + To = new Substrate.Gear.Api.Generated.Model.gprimitives.MessageId(); + To.Decode(byteArray, ref p); + Code = new Substrate.Gear.Api.Generated.Model.gear_core_errors.simple.EnumSignalCode(); + Code.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/message/context/ContextStore.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/message/context/ContextStore.cs new file mode 100644 index 00000000..a04f8cb7 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/message/context/ContextStore.cs @@ -0,0 +1,86 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_core.message.context +{ + + + /// + /// >> 592 - Composite[gear_core.message.context.ContextStore] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class ContextStore : BaseType + { + + /// + /// >> outgoing + /// + public Substrate.Gear.Api.Generated.Types.Base.BTreeMapT7 Outgoing { get; set; } + /// + /// >> reply + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt Reply { get; set; } + /// + /// >> initialized + /// + public Substrate.Gear.Api.Generated.Types.Base.BTreeSetT1 Initialized { get; set; } + /// + /// >> reservation_nonce + /// + public Substrate.Gear.Api.Generated.Model.gear_core.reservation.ReservationNonce ReservationNonce { get; set; } + /// + /// >> system_reservation + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt SystemReservation { get; set; } + + /// + public override string TypeName() + { + return "ContextStore"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Outgoing.Encode()); + result.AddRange(Reply.Encode()); + result.AddRange(Initialized.Encode()); + result.AddRange(ReservationNonce.Encode()); + result.AddRange(SystemReservation.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Outgoing = new Substrate.Gear.Api.Generated.Types.Base.BTreeMapT7(); + Outgoing.Decode(byteArray, ref p); + Reply = new Substrate.NetApi.Model.Types.Base.BaseOpt(); + Reply.Decode(byteArray, ref p); + Initialized = new Substrate.Gear.Api.Generated.Types.Base.BTreeSetT1(); + Initialized.Decode(byteArray, ref p); + ReservationNonce = new Substrate.Gear.Api.Generated.Model.gear_core.reservation.ReservationNonce(); + ReservationNonce.Decode(byteArray, ref p); + SystemReservation = new Substrate.NetApi.Model.Types.Base.BaseOpt(); + SystemReservation.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/message/stored/StoredDelayedDispatch.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/message/stored/StoredDelayedDispatch.cs new file mode 100644 index 00000000..0747d5b4 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/message/stored/StoredDelayedDispatch.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_core.message.stored +{ + + + /// + /// >> 606 - Composite[gear_core.message.stored.StoredDelayedDispatch] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class StoredDelayedDispatch : BaseType + { + + /// + /// >> kind + /// + public Substrate.Gear.Api.Generated.Model.gear_core.message.EnumDispatchKind Kind { get; set; } + /// + /// >> message + /// + public Substrate.Gear.Api.Generated.Model.gear_core.message.stored.StoredMessage Message { get; set; } + + /// + public override string TypeName() + { + return "StoredDelayedDispatch"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Kind.Encode()); + result.AddRange(Message.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Kind = new Substrate.Gear.Api.Generated.Model.gear_core.message.EnumDispatchKind(); + Kind.Decode(byteArray, ref p); + Message = new Substrate.Gear.Api.Generated.Model.gear_core.message.stored.StoredMessage(); + Message.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/message/stored/StoredDispatch.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/message/stored/StoredDispatch.cs new file mode 100644 index 00000000..3073b13a --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/message/stored/StoredDispatch.cs @@ -0,0 +1,72 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_core.message.stored +{ + + + /// + /// >> 585 - Composite[gear_core.message.stored.StoredDispatch] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class StoredDispatch : BaseType + { + + /// + /// >> kind + /// + public Substrate.Gear.Api.Generated.Model.gear_core.message.EnumDispatchKind Kind { get; set; } + /// + /// >> message + /// + public Substrate.Gear.Api.Generated.Model.gear_core.message.stored.StoredMessage Message { get; set; } + /// + /// >> context + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt Context { get; set; } + + /// + public override string TypeName() + { + return "StoredDispatch"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Kind.Encode()); + result.AddRange(Message.Encode()); + result.AddRange(Context.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Kind = new Substrate.Gear.Api.Generated.Model.gear_core.message.EnumDispatchKind(); + Kind.Decode(byteArray, ref p); + Message = new Substrate.Gear.Api.Generated.Model.gear_core.message.stored.StoredMessage(); + Message.Decode(byteArray, ref p); + Context = new Substrate.NetApi.Model.Types.Base.BaseOpt(); + Context.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/message/stored/StoredMessage.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/message/stored/StoredMessage.cs new file mode 100644 index 00000000..7f5bbd8c --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/message/stored/StoredMessage.cs @@ -0,0 +1,93 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_core.message.stored +{ + + + /// + /// >> 586 - Composite[gear_core.message.stored.StoredMessage] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class StoredMessage : BaseType + { + + /// + /// >> id + /// + public Substrate.Gear.Api.Generated.Model.gprimitives.MessageId Id { get; set; } + /// + /// >> source + /// + public Substrate.Gear.Api.Generated.Model.gprimitives.ActorId Source { get; set; } + /// + /// >> destination + /// + public Substrate.Gear.Api.Generated.Model.gprimitives.ActorId Destination { get; set; } + /// + /// >> payload + /// + public Substrate.Gear.Api.Generated.Model.gear_core.buffer.LimitedVecT1 Payload { get; set; } + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseCom Value { get; set; } + /// + /// >> details + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt Details { get; set; } + + /// + public override string TypeName() + { + return "StoredMessage"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Id.Encode()); + result.AddRange(Source.Encode()); + result.AddRange(Destination.Encode()); + result.AddRange(Payload.Encode()); + result.AddRange(Value.Encode()); + result.AddRange(Details.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Id = new Substrate.Gear.Api.Generated.Model.gprimitives.MessageId(); + Id.Decode(byteArray, ref p); + Source = new Substrate.Gear.Api.Generated.Model.gprimitives.ActorId(); + Source.Decode(byteArray, ref p); + Destination = new Substrate.Gear.Api.Generated.Model.gprimitives.ActorId(); + Destination.Decode(byteArray, ref p); + Payload = new Substrate.Gear.Api.Generated.Model.gear_core.buffer.LimitedVecT1(); + Payload.Decode(byteArray, ref p); + Value = new Substrate.NetApi.Model.Types.Base.BaseCom(); + Value.Decode(byteArray, ref p); + Details = new Substrate.NetApi.Model.Types.Base.BaseOpt(); + Details.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/message/user/UserMessage.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/message/user/UserMessage.cs new file mode 100644 index 00000000..f6e5c93b --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/message/user/UserMessage.cs @@ -0,0 +1,93 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_core.message.user +{ + + + /// + /// >> 305 - Composite[gear_core.message.user.UserMessage] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class UserMessage : BaseType + { + + /// + /// >> id + /// + public Substrate.Gear.Api.Generated.Model.gprimitives.MessageId Id { get; set; } + /// + /// >> source + /// + public Substrate.Gear.Api.Generated.Model.gprimitives.ActorId Source { get; set; } + /// + /// >> destination + /// + public Substrate.Gear.Api.Generated.Model.gprimitives.ActorId Destination { get; set; } + /// + /// >> payload + /// + public Substrate.Gear.Api.Generated.Model.gear_core.buffer.LimitedVecT1 Payload { get; set; } + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseCom Value { get; set; } + /// + /// >> details + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt Details { get; set; } + + /// + public override string TypeName() + { + return "UserMessage"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Id.Encode()); + result.AddRange(Source.Encode()); + result.AddRange(Destination.Encode()); + result.AddRange(Payload.Encode()); + result.AddRange(Value.Encode()); + result.AddRange(Details.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Id = new Substrate.Gear.Api.Generated.Model.gprimitives.MessageId(); + Id.Decode(byteArray, ref p); + Source = new Substrate.Gear.Api.Generated.Model.gprimitives.ActorId(); + Source.Decode(byteArray, ref p); + Destination = new Substrate.Gear.Api.Generated.Model.gprimitives.ActorId(); + Destination.Decode(byteArray, ref p); + Payload = new Substrate.Gear.Api.Generated.Model.gear_core.buffer.LimitedVecT1(); + Payload.Decode(byteArray, ref p); + Value = new Substrate.NetApi.Model.Types.Base.BaseCom(); + Value.Decode(byteArray, ref p); + Details = new Substrate.NetApi.Model.Types.Base.BaseOpt(); + Details.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/message/user/UserStoredMessage.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/message/user/UserStoredMessage.cs new file mode 100644 index 00000000..25d8817a --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/message/user/UserStoredMessage.cs @@ -0,0 +1,86 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_core.message.user +{ + + + /// + /// >> 601 - Composite[gear_core.message.user.UserStoredMessage] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class UserStoredMessage : BaseType + { + + /// + /// >> id + /// + public Substrate.Gear.Api.Generated.Model.gprimitives.MessageId Id { get; set; } + /// + /// >> source + /// + public Substrate.Gear.Api.Generated.Model.gprimitives.ActorId Source { get; set; } + /// + /// >> destination + /// + public Substrate.Gear.Api.Generated.Model.gprimitives.ActorId Destination { get; set; } + /// + /// >> payload + /// + public Substrate.Gear.Api.Generated.Model.gear_core.buffer.LimitedVecT1 Payload { get; set; } + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseCom Value { get; set; } + + /// + public override string TypeName() + { + return "UserStoredMessage"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Id.Encode()); + result.AddRange(Source.Encode()); + result.AddRange(Destination.Encode()); + result.AddRange(Payload.Encode()); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Id = new Substrate.Gear.Api.Generated.Model.gprimitives.MessageId(); + Id.Decode(byteArray, ref p); + Source = new Substrate.Gear.Api.Generated.Model.gprimitives.ActorId(); + Source.Decode(byteArray, ref p); + Destination = new Substrate.Gear.Api.Generated.Model.gprimitives.ActorId(); + Destination.Decode(byteArray, ref p); + Payload = new Substrate.Gear.Api.Generated.Model.gear_core.buffer.LimitedVecT1(); + Payload.Decode(byteArray, ref p); + Value = new Substrate.NetApi.Model.Types.Base.BaseCom(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/pages/PageT1.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/pages/PageT1.cs new file mode 100644 index 00000000..d38557a0 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/pages/PageT1.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_core.pages +{ + + + /// + /// >> 563 - Composite[gear_core.pages.PageT1] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class PageT1 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Value { get; set; } + + /// + public override string TypeName() + { + return "PageT1"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Primitive.U32(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/pages/PageT2.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/pages/PageT2.cs new file mode 100644 index 00000000..8e6713ec --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/pages/PageT2.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_core.pages +{ + + + /// + /// >> 579 - Composite[gear_core.pages.PageT2] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class PageT2 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Value { get; set; } + + /// + public override string TypeName() + { + return "PageT2"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Primitive.U32(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/pages/PagesAmount.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/pages/PagesAmount.cs new file mode 100644 index 00000000..c7172bcc --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/pages/PagesAmount.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_core.pages +{ + + + /// + /// >> 561 - Composite[gear_core.pages.PagesAmount] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class PagesAmount : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Value { get; set; } + + /// + public override string TypeName() + { + return "PagesAmount"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Primitive.U32(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/percent/Percent.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/percent/Percent.cs new file mode 100644 index 00000000..2d0c40da --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/percent/Percent.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_core.percent +{ + + + /// + /// >> 626 - Composite[gear_core.percent.Percent] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Percent : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Value { get; set; } + + /// + public override string TypeName() + { + return "Percent"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Primitive.U32(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/program/ActiveProgram.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/program/ActiveProgram.cs new file mode 100644 index 00000000..68d8c2b3 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/program/ActiveProgram.cs @@ -0,0 +1,107 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_core.program +{ + + + /// + /// >> 571 - Composite[gear_core.program.ActiveProgram] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class ActiveProgram : BaseType + { + + /// + /// >> allocations_tree_len + /// + public Substrate.NetApi.Model.Types.Primitive.U32 AllocationsTreeLen { get; set; } + /// + /// >> memory_infix + /// + public Substrate.Gear.Api.Generated.Model.gear_core.program.MemoryInfix MemoryInfix { get; set; } + /// + /// >> gas_reservation_map + /// + public Substrate.Gear.Api.Generated.Types.Base.BTreeMapT6 GasReservationMap { get; set; } + /// + /// >> code_hash + /// + public Substrate.Gear.Api.Generated.Model.primitive_types.H256 CodeHash { get; set; } + /// + /// >> code_exports + /// + public Substrate.Gear.Api.Generated.Types.Base.BTreeSetT2 CodeExports { get; set; } + /// + /// >> static_pages + /// + public Substrate.Gear.Api.Generated.Model.gear_core.pages.PagesAmount StaticPages { get; set; } + /// + /// >> state + /// + public Substrate.Gear.Api.Generated.Model.gear_core.program.EnumProgramState State { get; set; } + /// + /// >> expiration_block + /// + public Substrate.NetApi.Model.Types.Primitive.U32 ExpirationBlock { get; set; } + + /// + public override string TypeName() + { + return "ActiveProgram"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(AllocationsTreeLen.Encode()); + result.AddRange(MemoryInfix.Encode()); + result.AddRange(GasReservationMap.Encode()); + result.AddRange(CodeHash.Encode()); + result.AddRange(CodeExports.Encode()); + result.AddRange(StaticPages.Encode()); + result.AddRange(State.Encode()); + result.AddRange(ExpirationBlock.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + AllocationsTreeLen = new Substrate.NetApi.Model.Types.Primitive.U32(); + AllocationsTreeLen.Decode(byteArray, ref p); + MemoryInfix = new Substrate.Gear.Api.Generated.Model.gear_core.program.MemoryInfix(); + MemoryInfix.Decode(byteArray, ref p); + GasReservationMap = new Substrate.Gear.Api.Generated.Types.Base.BTreeMapT6(); + GasReservationMap.Decode(byteArray, ref p); + CodeHash = new Substrate.Gear.Api.Generated.Model.primitive_types.H256(); + CodeHash.Decode(byteArray, ref p); + CodeExports = new Substrate.Gear.Api.Generated.Types.Base.BTreeSetT2(); + CodeExports.Decode(byteArray, ref p); + StaticPages = new Substrate.Gear.Api.Generated.Model.gear_core.pages.PagesAmount(); + StaticPages.Decode(byteArray, ref p); + State = new Substrate.Gear.Api.Generated.Model.gear_core.program.EnumProgramState(); + State.Decode(byteArray, ref p); + ExpirationBlock = new Substrate.NetApi.Model.Types.Primitive.U32(); + ExpirationBlock.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/program/EnumProgram.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/program/EnumProgram.cs new file mode 100644 index 00000000..14153584 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/program/EnumProgram.cs @@ -0,0 +1,56 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_core.program +{ + + + /// + /// >> Program + /// + public enum Program + { + + /// + /// >> Active + /// + Active = 0, + + /// + /// >> Exited + /// + Exited = 1, + + /// + /// >> Terminated + /// + Terminated = 2, + } + + /// + /// >> 570 - Variant[gear_core.program.Program] + /// + public sealed class EnumProgram : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumProgram() + { + AddTypeDecoder(Program.Active); + AddTypeDecoder(Program.Exited); + AddTypeDecoder(Program.Terminated); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/program/EnumProgramState.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/program/EnumProgramState.cs new file mode 100644 index 00000000..fdb97c37 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/program/EnumProgramState.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_core.program +{ + + + /// + /// >> ProgramState + /// + public enum ProgramState + { + + /// + /// >> Uninitialized + /// + Uninitialized = 0, + + /// + /// >> Initialized + /// + Initialized = 1, + } + + /// + /// >> 577 - Variant[gear_core.program.ProgramState] + /// + public sealed class EnumProgramState : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumProgramState() + { + AddTypeDecoder(ProgramState.Uninitialized); + AddTypeDecoder(ProgramState.Initialized); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/program/MemoryInfix.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/program/MemoryInfix.cs new file mode 100644 index 00000000..d32432b6 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/program/MemoryInfix.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_core.program +{ + + + /// + /// >> 572 - Composite[gear_core.program.MemoryInfix] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class MemoryInfix : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Value { get; set; } + + /// + public override string TypeName() + { + return "MemoryInfix"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Primitive.U32(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/reservation/GasReservationSlot.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/reservation/GasReservationSlot.cs new file mode 100644 index 00000000..dfc0f3e7 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/reservation/GasReservationSlot.cs @@ -0,0 +1,72 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_core.reservation +{ + + + /// + /// >> 574 - Composite[gear_core.reservation.GasReservationSlot] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class GasReservationSlot : BaseType + { + + /// + /// >> amount + /// + public Substrate.NetApi.Model.Types.Primitive.U64 Amount { get; set; } + /// + /// >> start + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Start { get; set; } + /// + /// >> finish + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Finish { get; set; } + + /// + public override string TypeName() + { + return "GasReservationSlot"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Amount.Encode()); + result.AddRange(Start.Encode()); + result.AddRange(Finish.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Amount = new Substrate.NetApi.Model.Types.Primitive.U64(); + Amount.Decode(byteArray, ref p); + Start = new Substrate.NetApi.Model.Types.Primitive.U32(); + Start.Decode(byteArray, ref p); + Finish = new Substrate.NetApi.Model.Types.Primitive.U32(); + Finish.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/reservation/ReservationNonce.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/reservation/ReservationNonce.cs new file mode 100644 index 00000000..756bbeec --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/reservation/ReservationNonce.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_core.reservation +{ + + + /// + /// >> 597 - Composite[gear_core.reservation.ReservationNonce] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class ReservationNonce : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Primitive.U64 Value { get; set; } + + /// + public override string TypeName() + { + return "ReservationNonce"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Primitive.U64(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/tasks/EnumScheduledTask.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/tasks/EnumScheduledTask.cs new file mode 100644 index 00000000..feb73fc2 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core/tasks/EnumScheduledTask.cs @@ -0,0 +1,98 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_core.tasks +{ + + + /// + /// >> ScheduledTask + /// + public enum ScheduledTask + { + + /// + /// >> PauseProgram + /// + PauseProgram = 0, + + /// + /// >> RemoveCode + /// + RemoveCode = 1, + + /// + /// >> RemoveFromMailbox + /// + RemoveFromMailbox = 2, + + /// + /// >> RemoveFromWaitlist + /// + RemoveFromWaitlist = 3, + + /// + /// >> RemovePausedProgram + /// + RemovePausedProgram = 4, + + /// + /// >> WakeMessage + /// + WakeMessage = 5, + + /// + /// >> SendDispatch + /// + SendDispatch = 6, + + /// + /// >> SendUserMessage + /// + SendUserMessage = 7, + + /// + /// >> RemoveGasReservation + /// + RemoveGasReservation = 8, + + /// + /// >> RemoveResumeSession + /// + RemoveResumeSession = 9, + } + + /// + /// >> 609 - Variant[gear_core.tasks.ScheduledTask] + /// + public sealed class EnumScheduledTask : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumScheduledTask() + { + AddTypeDecoder(ScheduledTask.PauseProgram); + AddTypeDecoder(ScheduledTask.RemoveCode); + AddTypeDecoder>(ScheduledTask.RemoveFromMailbox); + AddTypeDecoder>(ScheduledTask.RemoveFromWaitlist); + AddTypeDecoder(ScheduledTask.RemovePausedProgram); + AddTypeDecoder>(ScheduledTask.WakeMessage); + AddTypeDecoder(ScheduledTask.SendDispatch); + AddTypeDecoder>(ScheduledTask.SendUserMessage); + AddTypeDecoder>(ScheduledTask.RemoveGasReservation); + AddTypeDecoder(ScheduledTask.RemoveResumeSession); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core_errors/simple/EnumErrorReplyReason.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core_errors/simple/EnumErrorReplyReason.cs new file mode 100644 index 00000000..04abf86f --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core_errors/simple/EnumErrorReplyReason.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_core_errors.simple +{ + + + /// + /// >> ErrorReplyReason + /// + public enum ErrorReplyReason + { + + /// + /// >> Execution + /// + Execution = 0, + + /// + /// >> FailedToCreateProgram + /// + FailedToCreateProgram = 1, + + /// + /// >> InactiveActor + /// + InactiveActor = 2, + + /// + /// >> RemovedFromWaitlist + /// + RemovedFromWaitlist = 3, + + /// + /// >> ReinstrumentationFailure + /// + ReinstrumentationFailure = 4, + + /// + /// >> Unsupported + /// + Unsupported = 255, + } + + /// + /// >> 312 - Variant[gear_core_errors.simple.ErrorReplyReason] + /// + public sealed class EnumErrorReplyReason : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumErrorReplyReason() + { + AddTypeDecoder(ErrorReplyReason.Execution); + AddTypeDecoder(ErrorReplyReason.FailedToCreateProgram); + AddTypeDecoder(ErrorReplyReason.InactiveActor); + AddTypeDecoder(ErrorReplyReason.RemovedFromWaitlist); + AddTypeDecoder(ErrorReplyReason.ReinstrumentationFailure); + AddTypeDecoder(ErrorReplyReason.Unsupported); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core_errors/simple/EnumReplyCode.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core_errors/simple/EnumReplyCode.cs new file mode 100644 index 00000000..71b47a45 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core_errors/simple/EnumReplyCode.cs @@ -0,0 +1,56 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_core_errors.simple +{ + + + /// + /// >> ReplyCode + /// + public enum ReplyCode + { + + /// + /// >> Success + /// + Success = 0, + + /// + /// >> Error + /// + Error = 1, + + /// + /// >> Unsupported + /// + Unsupported = 255, + } + + /// + /// >> 310 - Variant[gear_core_errors.simple.ReplyCode] + /// + public sealed class EnumReplyCode : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumReplyCode() + { + AddTypeDecoder(ReplyCode.Success); + AddTypeDecoder(ReplyCode.Error); + AddTypeDecoder(ReplyCode.Unsupported); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core_errors/simple/EnumSignalCode.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core_errors/simple/EnumSignalCode.cs new file mode 100644 index 00000000..b33818cb --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core_errors/simple/EnumSignalCode.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_core_errors.simple +{ + + + /// + /// >> SignalCode + /// + public enum SignalCode + { + + /// + /// >> Execution + /// + Execution = 0, + + /// + /// >> RemovedFromWaitlist + /// + RemovedFromWaitlist = 1, + } + + /// + /// >> 590 - Variant[gear_core_errors.simple.SignalCode] + /// + public sealed class EnumSignalCode : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumSignalCode() + { + AddTypeDecoder(SignalCode.Execution); + AddTypeDecoder(SignalCode.RemovedFromWaitlist); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core_errors/simple/EnumSimpleExecutionError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core_errors/simple/EnumSimpleExecutionError.cs new file mode 100644 index 00000000..06f5c469 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core_errors/simple/EnumSimpleExecutionError.cs @@ -0,0 +1,66 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_core_errors.simple +{ + + + /// + /// >> SimpleExecutionError + /// + public enum SimpleExecutionError + { + + /// + /// >> RanOutOfGas + /// + RanOutOfGas = 0, + + /// + /// >> MemoryOverflow + /// + MemoryOverflow = 1, + + /// + /// >> BackendError + /// + BackendError = 2, + + /// + /// >> UserspacePanic + /// + UserspacePanic = 3, + + /// + /// >> UnreachableInstruction + /// + UnreachableInstruction = 4, + + /// + /// >> StackLimitExceeded + /// + StackLimitExceeded = 5, + + /// + /// >> Unsupported + /// + Unsupported = 255, + } + + /// + /// >> 313 - Variant[gear_core_errors.simple.SimpleExecutionError] + /// + public sealed class EnumSimpleExecutionError : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core_errors/simple/EnumSimpleProgramCreationError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core_errors/simple/EnumSimpleProgramCreationError.cs new file mode 100644 index 00000000..bfb36f8b --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core_errors/simple/EnumSimpleProgramCreationError.cs @@ -0,0 +1,41 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_core_errors.simple +{ + + + /// + /// >> SimpleProgramCreationError + /// + public enum SimpleProgramCreationError + { + + /// + /// >> CodeNotExists + /// + CodeNotExists = 0, + + /// + /// >> Unsupported + /// + Unsupported = 255, + } + + /// + /// >> 314 - Variant[gear_core_errors.simple.SimpleProgramCreationError] + /// + public sealed class EnumSimpleProgramCreationError : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core_errors/simple/EnumSuccessReplyReason.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core_errors/simple/EnumSuccessReplyReason.cs new file mode 100644 index 00000000..52e9538a --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gear_core_errors/simple/EnumSuccessReplyReason.cs @@ -0,0 +1,46 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gear_core_errors.simple +{ + + + /// + /// >> SuccessReplyReason + /// + public enum SuccessReplyReason + { + + /// + /// >> Auto + /// + Auto = 0, + + /// + /// >> Manual + /// + Manual = 1, + + /// + /// >> Unsupported + /// + Unsupported = 255, + } + + /// + /// >> 311 - Variant[gear_core_errors.simple.SuccessReplyReason] + /// + public sealed class EnumSuccessReplyReason : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gprimitives/ActorId.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gprimitives/ActorId.cs new file mode 100644 index 00000000..4211ace6 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gprimitives/ActorId.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gprimitives +{ + + + /// + /// >> 262 - Composite[gprimitives.ActorId] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class ActorId : BaseType + { + + /// + /// >> value + /// + public Substrate.Gear.Api.Generated.Types.Base.Arr32U8 Value { get; set; } + + /// + public override string TypeName() + { + return "ActorId"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.Gear.Api.Generated.Types.Base.Arr32U8(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gprimitives/CodeId.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gprimitives/CodeId.cs new file mode 100644 index 00000000..db70a302 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gprimitives/CodeId.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gprimitives +{ + + + /// + /// >> 261 - Composite[gprimitives.CodeId] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class CodeId : BaseType + { + + /// + /// >> value + /// + public Substrate.Gear.Api.Generated.Types.Base.Arr32U8 Value { get; set; } + + /// + public override string TypeName() + { + return "CodeId"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.Gear.Api.Generated.Types.Base.Arr32U8(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gprimitives/MessageId.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gprimitives/MessageId.cs new file mode 100644 index 00000000..dfadc0a9 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gprimitives/MessageId.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gprimitives +{ + + + /// + /// >> 263 - Composite[gprimitives.MessageId] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class MessageId : BaseType + { + + /// + /// >> value + /// + public Substrate.Gear.Api.Generated.Types.Base.Arr32U8 Value { get; set; } + + /// + public override string TypeName() + { + return "MessageId"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.Gear.Api.Generated.Types.Base.Arr32U8(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/gprimitives/ReservationId.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/gprimitives/ReservationId.cs new file mode 100644 index 00000000..bba05a98 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/gprimitives/ReservationId.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.gprimitives +{ + + + /// + /// >> 324 - Composite[gprimitives.ReservationId] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class ReservationId : BaseType + { + + /// + /// >> value + /// + public Substrate.Gear.Api.Generated.Types.Base.Arr32U8 Value { get; set; } + + /// + public override string TypeName() + { + return "ReservationId"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.Gear.Api.Generated.Types.Base.Arr32U8(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/numerated/tree/IntervalsTree.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/numerated/tree/IntervalsTree.cs new file mode 100644 index 00000000..ed0c9daa --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/numerated/tree/IntervalsTree.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.numerated.tree +{ + + + /// + /// >> 566 - Composite[numerated.tree.IntervalsTree] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class IntervalsTree : BaseType + { + + /// + /// >> inner + /// + public Substrate.Gear.Api.Generated.Types.Base.BTreeMapT5 Inner { get; set; } + + /// + public override string TypeName() + { + return "IntervalsTree"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Inner.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Inner = new Substrate.Gear.Api.Generated.Types.Base.BTreeMapT5(); + Inner.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_babe/pallet/EnumCall.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_babe/pallet/EnumCall.cs new file mode 100644 index 00000000..e0800007 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_babe/pallet/EnumCall.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_babe.pallet +{ + + + /// + /// >> Call + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public enum Call + { + + /// + /// >> report_equivocation + /// See [`Pallet::report_equivocation`]. + /// + report_equivocation = 0, + + /// + /// >> report_equivocation_unsigned + /// See [`Pallet::report_equivocation_unsigned`]. + /// + report_equivocation_unsigned = 1, + + /// + /// >> plan_config_change + /// See [`Pallet::plan_config_change`]. + /// + plan_config_change = 2, + } + + /// + /// >> 71 - Variant[pallet_babe.pallet.Call] + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public sealed class EnumCall : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumCall() + { + AddTypeDecoder>(Call.report_equivocation); + AddTypeDecoder>(Call.report_equivocation_unsigned); + AddTypeDecoder(Call.plan_config_change); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_babe/pallet/EnumError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_babe/pallet/EnumError.cs new file mode 100644 index 00000000..a5f10494 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_babe/pallet/EnumError.cs @@ -0,0 +1,57 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_babe.pallet +{ + + + /// + /// >> Error + /// The `Error` enum of this pallet. + /// + public enum Error + { + + /// + /// >> InvalidEquivocationProof + /// An equivocation proof provided as part of an equivocation report is invalid. + /// + InvalidEquivocationProof = 0, + + /// + /// >> InvalidKeyOwnershipProof + /// A key ownership proof provided as part of an equivocation report is invalid. + /// + InvalidKeyOwnershipProof = 1, + + /// + /// >> DuplicateOffenceReport + /// A given equivocation report is valid but already previously reported. + /// + DuplicateOffenceReport = 2, + + /// + /// >> InvalidConfiguration + /// Submitted configuration is invalid. + /// + InvalidConfiguration = 3, + } + + /// + /// >> 367 - Variant[pallet_babe.pallet.Error] + /// The `Error` enum of this pallet. + /// + public sealed class EnumError : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_bags_list/list/Bag.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_bags_list/list/Bag.cs new file mode 100644 index 00000000..e7c7551b --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_bags_list/list/Bag.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_bags_list.list +{ + + + /// + /// >> 397 - Composite[pallet_bags_list.list.Bag] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Bag : BaseType + { + + /// + /// >> head + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt Head { get; set; } + /// + /// >> tail + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt Tail { get; set; } + + /// + public override string TypeName() + { + return "Bag"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Head.Encode()); + result.AddRange(Tail.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Head = new Substrate.NetApi.Model.Types.Base.BaseOpt(); + Head.Decode(byteArray, ref p); + Tail = new Substrate.NetApi.Model.Types.Base.BaseOpt(); + Tail.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_bags_list/list/EnumListError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_bags_list/list/EnumListError.cs new file mode 100644 index 00000000..3668da53 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_bags_list/list/EnumListError.cs @@ -0,0 +1,51 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_bags_list.list +{ + + + /// + /// >> ListError + /// + public enum ListError + { + + /// + /// >> Duplicate + /// + Duplicate = 0, + + /// + /// >> NotHeavier + /// + NotHeavier = 1, + + /// + /// >> NotInSameBag + /// + NotInSameBag = 2, + + /// + /// >> NodeNotFound + /// + NodeNotFound = 3, + } + + /// + /// >> 400 - Variant[pallet_bags_list.list.ListError] + /// + public sealed class EnumListError : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_bags_list/list/Node.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_bags_list/list/Node.cs new file mode 100644 index 00000000..8db11db5 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_bags_list/list/Node.cs @@ -0,0 +1,86 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_bags_list.list +{ + + + /// + /// >> 396 - Composite[pallet_bags_list.list.Node] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Node : BaseType + { + + /// + /// >> id + /// + public Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 Id { get; set; } + /// + /// >> prev + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt Prev { get; set; } + /// + /// >> next + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt Next { get; set; } + /// + /// >> bag_upper + /// + public Substrate.NetApi.Model.Types.Primitive.U64 BagUpper { get; set; } + /// + /// >> score + /// + public Substrate.NetApi.Model.Types.Primitive.U64 Score { get; set; } + + /// + public override string TypeName() + { + return "Node"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Id.Encode()); + result.AddRange(Prev.Encode()); + result.AddRange(Next.Encode()); + result.AddRange(BagUpper.Encode()); + result.AddRange(Score.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Id = new Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32(); + Id.Decode(byteArray, ref p); + Prev = new Substrate.NetApi.Model.Types.Base.BaseOpt(); + Prev.Decode(byteArray, ref p); + Next = new Substrate.NetApi.Model.Types.Base.BaseOpt(); + Next.Decode(byteArray, ref p); + BagUpper = new Substrate.NetApi.Model.Types.Primitive.U64(); + BagUpper.Decode(byteArray, ref p); + Score = new Substrate.NetApi.Model.Types.Primitive.U64(); + Score.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_bags_list/pallet/EnumCall.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_bags_list/pallet/EnumCall.cs new file mode 100644 index 00000000..52cfeff9 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_bags_list/pallet/EnumCall.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_bags_list.pallet +{ + + + /// + /// >> Call + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public enum Call + { + + /// + /// >> rebag + /// See [`Pallet::rebag`]. + /// + rebag = 0, + + /// + /// >> put_in_front_of + /// See [`Pallet::put_in_front_of`]. + /// + put_in_front_of = 1, + + /// + /// >> put_in_front_of_other + /// See [`Pallet::put_in_front_of_other`]. + /// + put_in_front_of_other = 2, + } + + /// + /// >> 100 - Variant[pallet_bags_list.pallet.Call] + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public sealed class EnumCall : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumCall() + { + AddTypeDecoder(Call.rebag); + AddTypeDecoder(Call.put_in_front_of); + AddTypeDecoder>(Call.put_in_front_of_other); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_bags_list/pallet/EnumError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_bags_list/pallet/EnumError.cs new file mode 100644 index 00000000..afb88020 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_bags_list/pallet/EnumError.cs @@ -0,0 +1,47 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_bags_list.pallet +{ + + + /// + /// >> Error + /// The `Error` enum of this pallet. + /// + public enum Error + { + + /// + /// >> List + /// A error in the list interface implementation. + /// + List = 0, + } + + /// + /// >> 399 - Variant[pallet_bags_list.pallet.Error] + /// The `Error` enum of this pallet. + /// + public sealed class EnumError : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumError() + { + AddTypeDecoder(Error.List); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_bags_list/pallet/EnumEvent.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_bags_list/pallet/EnumEvent.cs new file mode 100644 index 00000000..89209a88 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_bags_list/pallet/EnumEvent.cs @@ -0,0 +1,54 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_bags_list.pallet +{ + + + /// + /// >> Event + /// The `Event` enum of this pallet + /// + public enum Event + { + + /// + /// >> Rebagged + /// Moved an account from one bag to another. + /// + Rebagged = 0, + + /// + /// >> ScoreUpdated + /// Updated the score of some account to the given amount. + /// + ScoreUpdated = 1, + } + + /// + /// >> 39 - Variant[pallet_bags_list.pallet.Event] + /// The `Event` enum of this pallet + /// + public sealed class EnumEvent : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumEvent() + { + AddTypeDecoder>(Event.Rebagged); + AddTypeDecoder>(Event.ScoreUpdated); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_balances/pallet/EnumCall.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_balances/pallet/EnumCall.cs new file mode 100644 index 00000000..16f52880 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_balances/pallet/EnumCall.cs @@ -0,0 +1,89 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_balances.pallet +{ + + + /// + /// >> Call + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public enum Call + { + + /// + /// >> transfer_allow_death + /// See [`Pallet::transfer_allow_death`]. + /// + transfer_allow_death = 0, + + /// + /// >> force_transfer + /// See [`Pallet::force_transfer`]. + /// + force_transfer = 2, + + /// + /// >> transfer_keep_alive + /// See [`Pallet::transfer_keep_alive`]. + /// + transfer_keep_alive = 3, + + /// + /// >> transfer_all + /// See [`Pallet::transfer_all`]. + /// + transfer_all = 4, + + /// + /// >> force_unreserve + /// See [`Pallet::force_unreserve`]. + /// + force_unreserve = 5, + + /// + /// >> upgrade_accounts + /// See [`Pallet::upgrade_accounts`]. + /// + upgrade_accounts = 6, + + /// + /// >> force_set_balance + /// See [`Pallet::force_set_balance`]. + /// + force_set_balance = 8, + } + + /// + /// >> 93 - Variant[pallet_balances.pallet.Call] + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public sealed class EnumCall : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumCall() + { + AddTypeDecoder>>(Call.transfer_allow_death); + AddTypeDecoder>>(Call.force_transfer); + AddTypeDecoder>>(Call.transfer_keep_alive); + AddTypeDecoder>(Call.transfer_all); + AddTypeDecoder>(Call.force_unreserve); + AddTypeDecoder>(Call.upgrade_accounts); + AddTypeDecoder>>(Call.force_set_balance); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_balances/pallet/EnumError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_balances/pallet/EnumError.cs new file mode 100644 index 00000000..aa12c825 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_balances/pallet/EnumError.cs @@ -0,0 +1,93 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_balances.pallet +{ + + + /// + /// >> Error + /// The `Error` enum of this pallet. + /// + public enum Error + { + + /// + /// >> VestingBalance + /// Vesting balance too high to send value. + /// + VestingBalance = 0, + + /// + /// >> LiquidityRestrictions + /// Account liquidity restrictions prevent withdrawal. + /// + LiquidityRestrictions = 1, + + /// + /// >> InsufficientBalance + /// Balance too low to send value. + /// + InsufficientBalance = 2, + + /// + /// >> ExistentialDeposit + /// Value too low to create account due to existential deposit. + /// + ExistentialDeposit = 3, + + /// + /// >> Expendability + /// Transfer/payment would kill account. + /// + Expendability = 4, + + /// + /// >> ExistingVestingSchedule + /// A vesting schedule already exists for this account. + /// + ExistingVestingSchedule = 5, + + /// + /// >> DeadAccount + /// Beneficiary account must pre-exist. + /// + DeadAccount = 6, + + /// + /// >> TooManyReserves + /// Number of named reserves exceed `MaxReserves`. + /// + TooManyReserves = 7, + + /// + /// >> TooManyHolds + /// Number of holds exceed `MaxHolds`. + /// + TooManyHolds = 8, + + /// + /// >> TooManyFreezes + /// Number of freezes exceed `MaxFreezes`. + /// + TooManyFreezes = 9, + } + + /// + /// >> 389 - Variant[pallet_balances.pallet.Error] + /// The `Error` enum of this pallet. + /// + public sealed class EnumError : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_balances/pallet/EnumEvent.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_balances/pallet/EnumEvent.cs new file mode 100644 index 00000000..e3fc42ae --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_balances/pallet/EnumEvent.cs @@ -0,0 +1,189 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_balances.pallet +{ + + + /// + /// >> Event + /// The `Event` enum of this pallet + /// + public enum Event + { + + /// + /// >> Endowed + /// An account was created with some free balance. + /// + Endowed = 0, + + /// + /// >> DustLost + /// An account was removed whose balance was non-zero but below ExistentialDeposit, + /// resulting in an outright loss. + /// + DustLost = 1, + + /// + /// >> Transfer + /// Transfer succeeded. + /// + Transfer = 2, + + /// + /// >> BalanceSet + /// A balance was set by root. + /// + BalanceSet = 3, + + /// + /// >> Reserved + /// Some balance was reserved (moved from free to reserved). + /// + Reserved = 4, + + /// + /// >> Unreserved + /// Some balance was unreserved (moved from reserved to free). + /// + Unreserved = 5, + + /// + /// >> ReserveRepatriated + /// Some balance was moved from the reserve of the first account to the second account. + /// Final argument indicates the destination balance type. + /// + ReserveRepatriated = 6, + + /// + /// >> Deposit + /// Some amount was deposited (e.g. for transaction fees). + /// + Deposit = 7, + + /// + /// >> Withdraw + /// Some amount was withdrawn from the account (e.g. for transaction fees). + /// + Withdraw = 8, + + /// + /// >> Slashed + /// Some amount was removed from the account (e.g. for misbehavior). + /// + Slashed = 9, + + /// + /// >> Minted + /// Some amount was minted into an account. + /// + Minted = 10, + + /// + /// >> Burned + /// Some amount was burned from an account. + /// + Burned = 11, + + /// + /// >> Suspended + /// Some amount was suspended from an account (it can be restored later). + /// + Suspended = 12, + + /// + /// >> Restored + /// Some amount was restored into an account. + /// + Restored = 13, + + /// + /// >> Upgraded + /// An account was upgraded. + /// + Upgraded = 14, + + /// + /// >> Issued + /// Total issuance was increased by `amount`, creating a credit to be balanced. + /// + Issued = 15, + + /// + /// >> Rescinded + /// Total issuance was decreased by `amount`, creating a debt to be balanced. + /// + Rescinded = 16, + + /// + /// >> Locked + /// Some balance was locked. + /// + Locked = 17, + + /// + /// >> Unlocked + /// Some balance was unlocked. + /// + Unlocked = 18, + + /// + /// >> Frozen + /// Some balance was frozen. + /// + Frozen = 19, + + /// + /// >> Thawed + /// Some balance was thawed. + /// + Thawed = 20, + } + + /// + /// >> 35 - Variant[pallet_balances.pallet.Event] + /// The `Event` enum of this pallet + /// + public sealed class EnumEvent : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumEvent() + { + AddTypeDecoder>(Event.Endowed); + AddTypeDecoder>(Event.DustLost); + AddTypeDecoder>(Event.Transfer); + AddTypeDecoder>(Event.BalanceSet); + AddTypeDecoder>(Event.Reserved); + AddTypeDecoder>(Event.Unreserved); + AddTypeDecoder>(Event.ReserveRepatriated); + AddTypeDecoder>(Event.Deposit); + AddTypeDecoder>(Event.Withdraw); + AddTypeDecoder>(Event.Slashed); + AddTypeDecoder>(Event.Minted); + AddTypeDecoder>(Event.Burned); + AddTypeDecoder>(Event.Suspended); + AddTypeDecoder>(Event.Restored); + AddTypeDecoder(Event.Upgraded); + AddTypeDecoder(Event.Issued); + AddTypeDecoder(Event.Rescinded); + AddTypeDecoder>(Event.Locked); + AddTypeDecoder>(Event.Unlocked); + AddTypeDecoder>(Event.Frozen); + AddTypeDecoder>(Event.Thawed); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_balances/types/AccountData.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_balances/types/AccountData.cs new file mode 100644 index 00000000..9e790208 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_balances/types/AccountData.cs @@ -0,0 +1,79 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_balances.types +{ + + + /// + /// >> 5 - Composite[pallet_balances.types.AccountData] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class AccountData : BaseType + { + + /// + /// >> free + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Free { get; set; } + /// + /// >> reserved + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Reserved { get; set; } + /// + /// >> frozen + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Frozen { get; set; } + /// + /// >> flags + /// + public Substrate.Gear.Api.Generated.Model.pallet_balances.types.ExtraFlags Flags { get; set; } + + /// + public override string TypeName() + { + return "AccountData"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Free.Encode()); + result.AddRange(Reserved.Encode()); + result.AddRange(Frozen.Encode()); + result.AddRange(Flags.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Free = new Substrate.NetApi.Model.Types.Primitive.U128(); + Free.Decode(byteArray, ref p); + Reserved = new Substrate.NetApi.Model.Types.Primitive.U128(); + Reserved.Decode(byteArray, ref p); + Frozen = new Substrate.NetApi.Model.Types.Primitive.U128(); + Frozen.Decode(byteArray, ref p); + Flags = new Substrate.Gear.Api.Generated.Model.pallet_balances.types.ExtraFlags(); + Flags.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_balances/types/BalanceLock.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_balances/types/BalanceLock.cs new file mode 100644 index 00000000..7fbab9af --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_balances/types/BalanceLock.cs @@ -0,0 +1,72 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_balances.types +{ + + + /// + /// >> 373 - Composite[pallet_balances.types.BalanceLock] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BalanceLock : BaseType + { + + /// + /// >> id + /// + public Substrate.Gear.Api.Generated.Types.Base.Arr8U8 Id { get; set; } + /// + /// >> amount + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Amount { get; set; } + /// + /// >> reasons + /// + public Substrate.Gear.Api.Generated.Model.pallet_balances.types.EnumReasons Reasons { get; set; } + + /// + public override string TypeName() + { + return "BalanceLock"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Id.Encode()); + result.AddRange(Amount.Encode()); + result.AddRange(Reasons.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Id = new Substrate.Gear.Api.Generated.Types.Base.Arr8U8(); + Id.Decode(byteArray, ref p); + Amount = new Substrate.NetApi.Model.Types.Primitive.U128(); + Amount.Decode(byteArray, ref p); + Reasons = new Substrate.Gear.Api.Generated.Model.pallet_balances.types.EnumReasons(); + Reasons.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_balances/types/EnumReasons.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_balances/types/EnumReasons.cs new file mode 100644 index 00000000..a2a3d1bf --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_balances/types/EnumReasons.cs @@ -0,0 +1,46 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_balances.types +{ + + + /// + /// >> Reasons + /// + public enum Reasons + { + + /// + /// >> Fee + /// + Fee = 0, + + /// + /// >> Misc + /// + Misc = 1, + + /// + /// >> All + /// + All = 2, + } + + /// + /// >> 374 - Variant[pallet_balances.types.Reasons] + /// + public sealed class EnumReasons : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_balances/types/ExtraFlags.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_balances/types/ExtraFlags.cs new file mode 100644 index 00000000..2bd1edaa --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_balances/types/ExtraFlags.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_balances.types +{ + + + /// + /// >> 7 - Composite[pallet_balances.types.ExtraFlags] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class ExtraFlags : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Value { get; set; } + + /// + public override string TypeName() + { + return "ExtraFlags"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Primitive.U128(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_balances/types/IdAmountT1.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_balances/types/IdAmountT1.cs new file mode 100644 index 00000000..538bb9b0 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_balances/types/IdAmountT1.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_balances.types +{ + + + /// + /// >> 380 - Composite[pallet_balances.types.IdAmountT1] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class IdAmountT1 : BaseType + { + + /// + /// >> id + /// + public Substrate.Gear.Api.Generated.Model.vara_runtime.EnumRuntimeHoldReason Id { get; set; } + /// + /// >> amount + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Amount { get; set; } + + /// + public override string TypeName() + { + return "IdAmountT1"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Id.Encode()); + result.AddRange(Amount.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Id = new Substrate.Gear.Api.Generated.Model.vara_runtime.EnumRuntimeHoldReason(); + Id.Decode(byteArray, ref p); + Amount = new Substrate.NetApi.Model.Types.Primitive.U128(); + Amount.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_balances/types/IdAmountT2.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_balances/types/IdAmountT2.cs new file mode 100644 index 00000000..f23afb29 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_balances/types/IdAmountT2.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_balances.types +{ + + + /// + /// >> 385 - Composite[pallet_balances.types.IdAmountT2] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class IdAmountT2 : BaseType + { + + /// + /// >> id + /// + public Substrate.Gear.Api.Generated.Model.vara_runtime.EnumRuntimeFreezeReason Id { get; set; } + /// + /// >> amount + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Amount { get; set; } + + /// + public override string TypeName() + { + return "IdAmountT2"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Id.Encode()); + result.AddRange(Amount.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Id = new Substrate.Gear.Api.Generated.Model.vara_runtime.EnumRuntimeFreezeReason(); + Id.Decode(byteArray, ref p); + Amount = new Substrate.NetApi.Model.Types.Primitive.U128(); + Amount.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_balances/types/ReserveData.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_balances/types/ReserveData.cs new file mode 100644 index 00000000..2b6da816 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_balances/types/ReserveData.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_balances.types +{ + + + /// + /// >> 377 - Composite[pallet_balances.types.ReserveData] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class ReserveData : BaseType + { + + /// + /// >> id + /// + public Substrate.Gear.Api.Generated.Types.Base.Arr8U8 Id { get; set; } + /// + /// >> amount + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Amount { get; set; } + + /// + public override string TypeName() + { + return "ReserveData"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Id.Encode()); + result.AddRange(Amount.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Id = new Substrate.Gear.Api.Generated.Types.Base.Arr8U8(); + Id.Decode(byteArray, ref p); + Amount = new Substrate.NetApi.Model.Types.Primitive.U128(); + Amount.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_bounties/Bounty.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_bounties/Bounty.cs new file mode 100644 index 00000000..34c4d4ba --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_bounties/Bounty.cs @@ -0,0 +1,93 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_bounties +{ + + + /// + /// >> 532 - Composite[pallet_bounties.Bounty] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Bounty : BaseType + { + + /// + /// >> proposer + /// + public Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 Proposer { get; set; } + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Value { get; set; } + /// + /// >> fee + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Fee { get; set; } + /// + /// >> curator_deposit + /// + public Substrate.NetApi.Model.Types.Primitive.U128 CuratorDeposit { get; set; } + /// + /// >> bond + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Bond { get; set; } + /// + /// >> status + /// + public Substrate.Gear.Api.Generated.Model.pallet_bounties.EnumBountyStatus Status { get; set; } + + /// + public override string TypeName() + { + return "Bounty"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Proposer.Encode()); + result.AddRange(Value.Encode()); + result.AddRange(Fee.Encode()); + result.AddRange(CuratorDeposit.Encode()); + result.AddRange(Bond.Encode()); + result.AddRange(Status.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Proposer = new Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32(); + Proposer.Decode(byteArray, ref p); + Value = new Substrate.NetApi.Model.Types.Primitive.U128(); + Value.Decode(byteArray, ref p); + Fee = new Substrate.NetApi.Model.Types.Primitive.U128(); + Fee.Decode(byteArray, ref p); + CuratorDeposit = new Substrate.NetApi.Model.Types.Primitive.U128(); + CuratorDeposit.Decode(byteArray, ref p); + Bond = new Substrate.NetApi.Model.Types.Primitive.U128(); + Bond.Decode(byteArray, ref p); + Status = new Substrate.Gear.Api.Generated.Model.pallet_bounties.EnumBountyStatus(); + Status.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_bounties/EnumBountyStatus.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_bounties/EnumBountyStatus.cs new file mode 100644 index 00000000..942090e0 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_bounties/EnumBountyStatus.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_bounties +{ + + + /// + /// >> BountyStatus + /// + public enum BountyStatus + { + + /// + /// >> Proposed + /// + Proposed = 0, + + /// + /// >> Approved + /// + Approved = 1, + + /// + /// >> Funded + /// + Funded = 2, + + /// + /// >> CuratorProposed + /// + CuratorProposed = 3, + + /// + /// >> Active + /// + Active = 4, + + /// + /// >> PendingPayout + /// + PendingPayout = 5, + } + + /// + /// >> 533 - Variant[pallet_bounties.BountyStatus] + /// + public sealed class EnumBountyStatus : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumBountyStatus() + { + AddTypeDecoder(BountyStatus.Proposed); + AddTypeDecoder(BountyStatus.Approved); + AddTypeDecoder(BountyStatus.Funded); + AddTypeDecoder(BountyStatus.CuratorProposed); + AddTypeDecoder>(BountyStatus.Active); + AddTypeDecoder>(BountyStatus.PendingPayout); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_bounties/pallet/EnumCall.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_bounties/pallet/EnumCall.cs new file mode 100644 index 00000000..33f216ab --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_bounties/pallet/EnumCall.cs @@ -0,0 +1,103 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_bounties.pallet +{ + + + /// + /// >> Call + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public enum Call + { + + /// + /// >> propose_bounty + /// See [`Pallet::propose_bounty`]. + /// + propose_bounty = 0, + + /// + /// >> approve_bounty + /// See [`Pallet::approve_bounty`]. + /// + approve_bounty = 1, + + /// + /// >> propose_curator + /// See [`Pallet::propose_curator`]. + /// + propose_curator = 2, + + /// + /// >> unassign_curator + /// See [`Pallet::unassign_curator`]. + /// + unassign_curator = 3, + + /// + /// >> accept_curator + /// See [`Pallet::accept_curator`]. + /// + accept_curator = 4, + + /// + /// >> award_bounty + /// See [`Pallet::award_bounty`]. + /// + award_bounty = 5, + + /// + /// >> claim_bounty + /// See [`Pallet::claim_bounty`]. + /// + claim_bounty = 6, + + /// + /// >> close_bounty + /// See [`Pallet::close_bounty`]. + /// + close_bounty = 7, + + /// + /// >> extend_bounty_expiry + /// See [`Pallet::extend_bounty_expiry`]. + /// + extend_bounty_expiry = 8, + } + + /// + /// >> 247 - Variant[pallet_bounties.pallet.Call] + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public sealed class EnumCall : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumCall() + { + AddTypeDecoder, Substrate.NetApi.Model.Types.Base.BaseVec>>(Call.propose_bounty); + AddTypeDecoder>(Call.approve_bounty); + AddTypeDecoder, Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress, Substrate.NetApi.Model.Types.Base.BaseCom>>(Call.propose_curator); + AddTypeDecoder>(Call.unassign_curator); + AddTypeDecoder>(Call.accept_curator); + AddTypeDecoder, Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress>>(Call.award_bounty); + AddTypeDecoder>(Call.claim_bounty); + AddTypeDecoder>(Call.close_bounty); + AddTypeDecoder, Substrate.NetApi.Model.Types.Base.BaseVec>>(Call.extend_bounty_expiry); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_bounties/pallet/EnumError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_bounties/pallet/EnumError.cs new file mode 100644 index 00000000..3782d8a9 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_bounties/pallet/EnumError.cs @@ -0,0 +1,100 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_bounties.pallet +{ + + + /// + /// >> Error + /// The `Error` enum of this pallet. + /// + public enum Error + { + + /// + /// >> InsufficientProposersBalance + /// Proposer's balance is too low. + /// + InsufficientProposersBalance = 0, + + /// + /// >> InvalidIndex + /// No proposal or bounty at that index. + /// + InvalidIndex = 1, + + /// + /// >> ReasonTooBig + /// The reason given is just too big. + /// + ReasonTooBig = 2, + + /// + /// >> UnexpectedStatus + /// The bounty status is unexpected. + /// + UnexpectedStatus = 3, + + /// + /// >> RequireCurator + /// Require bounty curator. + /// + RequireCurator = 4, + + /// + /// >> InvalidValue + /// Invalid bounty value. + /// + InvalidValue = 5, + + /// + /// >> InvalidFee + /// Invalid bounty fee. + /// + InvalidFee = 6, + + /// + /// >> PendingPayout + /// A bounty payout is pending. + /// To cancel the bounty, you must unassign and slash the curator. + /// + PendingPayout = 7, + + /// + /// >> Premature + /// The bounties cannot be claimed/closed because it's still in the countdown period. + /// + Premature = 8, + + /// + /// >> HasActiveChildBounty + /// The bounty cannot be closed because it has active child bounties. + /// + HasActiveChildBounty = 9, + + /// + /// >> TooManyQueued + /// Too many approvals are already queued. + /// + TooManyQueued = 10, + } + + /// + /// >> 535 - Variant[pallet_bounties.pallet.Error] + /// The `Error` enum of this pallet. + /// + public sealed class EnumError : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_bounties/pallet/EnumEvent.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_bounties/pallet/EnumEvent.cs new file mode 100644 index 00000000..ef5bc62f --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_bounties/pallet/EnumEvent.cs @@ -0,0 +1,117 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_bounties.pallet +{ + + + /// + /// >> Event + /// The `Event` enum of this pallet + /// + public enum Event + { + + /// + /// >> BountyProposed + /// New bounty proposal. + /// + BountyProposed = 0, + + /// + /// >> BountyRejected + /// A bounty proposal was rejected; funds were slashed. + /// + BountyRejected = 1, + + /// + /// >> BountyBecameActive + /// A bounty proposal is funded and became active. + /// + BountyBecameActive = 2, + + /// + /// >> BountyAwarded + /// A bounty is awarded to a beneficiary. + /// + BountyAwarded = 3, + + /// + /// >> BountyClaimed + /// A bounty is claimed by beneficiary. + /// + BountyClaimed = 4, + + /// + /// >> BountyCanceled + /// A bounty is cancelled. + /// + BountyCanceled = 5, + + /// + /// >> BountyExtended + /// A bounty expiry is extended. + /// + BountyExtended = 6, + + /// + /// >> BountyApproved + /// A bounty is approved. + /// + BountyApproved = 7, + + /// + /// >> CuratorProposed + /// A bounty curator is proposed. + /// + CuratorProposed = 8, + + /// + /// >> CuratorUnassigned + /// A bounty curator is unassigned. + /// + CuratorUnassigned = 9, + + /// + /// >> CuratorAccepted + /// A bounty curator is accepted. + /// + CuratorAccepted = 10, + } + + /// + /// >> 300 - Variant[pallet_bounties.pallet.Event] + /// The `Event` enum of this pallet + /// + public sealed class EnumEvent : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumEvent() + { + AddTypeDecoder(Event.BountyProposed); + AddTypeDecoder>(Event.BountyRejected); + AddTypeDecoder(Event.BountyBecameActive); + AddTypeDecoder>(Event.BountyAwarded); + AddTypeDecoder>(Event.BountyClaimed); + AddTypeDecoder(Event.BountyCanceled); + AddTypeDecoder(Event.BountyExtended); + AddTypeDecoder(Event.BountyApproved); + AddTypeDecoder>(Event.CuratorProposed); + AddTypeDecoder(Event.CuratorUnassigned); + AddTypeDecoder>(Event.CuratorAccepted); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_child_bounties/ChildBounty.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_child_bounties/ChildBounty.cs new file mode 100644 index 00000000..ed0b6956 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_child_bounties/ChildBounty.cs @@ -0,0 +1,86 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_child_bounties +{ + + + /// + /// >> 536 - Composite[pallet_child_bounties.ChildBounty] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class ChildBounty : BaseType + { + + /// + /// >> parent_bounty + /// + public Substrate.NetApi.Model.Types.Primitive.U32 ParentBounty { get; set; } + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Value { get; set; } + /// + /// >> fee + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Fee { get; set; } + /// + /// >> curator_deposit + /// + public Substrate.NetApi.Model.Types.Primitive.U128 CuratorDeposit { get; set; } + /// + /// >> status + /// + public Substrate.Gear.Api.Generated.Model.pallet_child_bounties.EnumChildBountyStatus Status { get; set; } + + /// + public override string TypeName() + { + return "ChildBounty"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(ParentBounty.Encode()); + result.AddRange(Value.Encode()); + result.AddRange(Fee.Encode()); + result.AddRange(CuratorDeposit.Encode()); + result.AddRange(Status.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + ParentBounty = new Substrate.NetApi.Model.Types.Primitive.U32(); + ParentBounty.Decode(byteArray, ref p); + Value = new Substrate.NetApi.Model.Types.Primitive.U128(); + Value.Decode(byteArray, ref p); + Fee = new Substrate.NetApi.Model.Types.Primitive.U128(); + Fee.Decode(byteArray, ref p); + CuratorDeposit = new Substrate.NetApi.Model.Types.Primitive.U128(); + CuratorDeposit.Decode(byteArray, ref p); + Status = new Substrate.Gear.Api.Generated.Model.pallet_child_bounties.EnumChildBountyStatus(); + Status.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_child_bounties/EnumChildBountyStatus.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_child_bounties/EnumChildBountyStatus.cs new file mode 100644 index 00000000..3a914e9e --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_child_bounties/EnumChildBountyStatus.cs @@ -0,0 +1,62 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_child_bounties +{ + + + /// + /// >> ChildBountyStatus + /// + public enum ChildBountyStatus + { + + /// + /// >> Added + /// + Added = 0, + + /// + /// >> CuratorProposed + /// + CuratorProposed = 1, + + /// + /// >> Active + /// + Active = 2, + + /// + /// >> PendingPayout + /// + PendingPayout = 3, + } + + /// + /// >> 537 - Variant[pallet_child_bounties.ChildBountyStatus] + /// + public sealed class EnumChildBountyStatus : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumChildBountyStatus() + { + AddTypeDecoder(ChildBountyStatus.Added); + AddTypeDecoder(ChildBountyStatus.CuratorProposed); + AddTypeDecoder(ChildBountyStatus.Active); + AddTypeDecoder>(ChildBountyStatus.PendingPayout); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_child_bounties/pallet/EnumCall.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_child_bounties/pallet/EnumCall.cs new file mode 100644 index 00000000..923b4ffe --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_child_bounties/pallet/EnumCall.cs @@ -0,0 +1,89 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_child_bounties.pallet +{ + + + /// + /// >> Call + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public enum Call + { + + /// + /// >> add_child_bounty + /// See [`Pallet::add_child_bounty`]. + /// + add_child_bounty = 0, + + /// + /// >> propose_curator + /// See [`Pallet::propose_curator`]. + /// + propose_curator = 1, + + /// + /// >> accept_curator + /// See [`Pallet::accept_curator`]. + /// + accept_curator = 2, + + /// + /// >> unassign_curator + /// See [`Pallet::unassign_curator`]. + /// + unassign_curator = 3, + + /// + /// >> award_child_bounty + /// See [`Pallet::award_child_bounty`]. + /// + award_child_bounty = 4, + + /// + /// >> claim_child_bounty + /// See [`Pallet::claim_child_bounty`]. + /// + claim_child_bounty = 5, + + /// + /// >> close_child_bounty + /// See [`Pallet::close_child_bounty`]. + /// + close_child_bounty = 6, + } + + /// + /// >> 248 - Variant[pallet_child_bounties.pallet.Call] + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public sealed class EnumCall : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumCall() + { + AddTypeDecoder, Substrate.NetApi.Model.Types.Base.BaseCom, Substrate.NetApi.Model.Types.Base.BaseVec>>(Call.add_child_bounty); + AddTypeDecoder, Substrate.NetApi.Model.Types.Base.BaseCom, Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress, Substrate.NetApi.Model.Types.Base.BaseCom>>(Call.propose_curator); + AddTypeDecoder, Substrate.NetApi.Model.Types.Base.BaseCom>>(Call.accept_curator); + AddTypeDecoder, Substrate.NetApi.Model.Types.Base.BaseCom>>(Call.unassign_curator); + AddTypeDecoder, Substrate.NetApi.Model.Types.Base.BaseCom, Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress>>(Call.award_child_bounty); + AddTypeDecoder, Substrate.NetApi.Model.Types.Base.BaseCom>>(Call.claim_child_bounty); + AddTypeDecoder, Substrate.NetApi.Model.Types.Base.BaseCom>>(Call.close_child_bounty); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_child_bounties/pallet/EnumError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_child_bounties/pallet/EnumError.cs new file mode 100644 index 00000000..fa45fdb5 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_child_bounties/pallet/EnumError.cs @@ -0,0 +1,51 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_child_bounties.pallet +{ + + + /// + /// >> Error + /// The `Error` enum of this pallet. + /// + public enum Error + { + + /// + /// >> ParentBountyNotActive + /// The parent bounty is not in active state. + /// + ParentBountyNotActive = 0, + + /// + /// >> InsufficientBountyBalance + /// The bounty balance is not enough to add new child-bounty. + /// + InsufficientBountyBalance = 1, + + /// + /// >> TooManyChildBounties + /// Number of child bounties exceeds limit `MaxActiveChildBountyCount`. + /// + TooManyChildBounties = 2, + } + + /// + /// >> 538 - Variant[pallet_child_bounties.pallet.Error] + /// The `Error` enum of this pallet. + /// + public sealed class EnumError : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_child_bounties/pallet/EnumEvent.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_child_bounties/pallet/EnumEvent.cs new file mode 100644 index 00000000..21259018 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_child_bounties/pallet/EnumEvent.cs @@ -0,0 +1,68 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_child_bounties.pallet +{ + + + /// + /// >> Event + /// The `Event` enum of this pallet + /// + public enum Event + { + + /// + /// >> Added + /// A child-bounty is added. + /// + Added = 0, + + /// + /// >> Awarded + /// A child-bounty is awarded to a beneficiary. + /// + Awarded = 1, + + /// + /// >> Claimed + /// A child-bounty is claimed by beneficiary. + /// + Claimed = 2, + + /// + /// >> Canceled + /// A child-bounty is cancelled. + /// + Canceled = 3, + } + + /// + /// >> 301 - Variant[pallet_child_bounties.pallet.Event] + /// The `Event` enum of this pallet + /// + public sealed class EnumEvent : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumEvent() + { + AddTypeDecoder>(Event.Added); + AddTypeDecoder>(Event.Awarded); + AddTypeDecoder>(Event.Claimed); + AddTypeDecoder>(Event.Canceled); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_conviction_voting/conviction/EnumConviction.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_conviction_voting/conviction/EnumConviction.cs new file mode 100644 index 00000000..109d5298 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_conviction_voting/conviction/EnumConviction.cs @@ -0,0 +1,66 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_conviction_voting.conviction +{ + + + /// + /// >> Conviction + /// + public enum Conviction + { + + /// + /// >> None + /// + None = 0, + + /// + /// >> Locked1x + /// + Locked1x = 1, + + /// + /// >> Locked2x + /// + Locked2x = 2, + + /// + /// >> Locked3x + /// + Locked3x = 3, + + /// + /// >> Locked4x + /// + Locked4x = 4, + + /// + /// >> Locked5x + /// + Locked5x = 5, + + /// + /// >> Locked6x + /// + Locked6x = 6, + } + + /// + /// >> 127 - Variant[pallet_conviction_voting.conviction.Conviction] + /// + public sealed class EnumConviction : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_conviction_voting/pallet/EnumCall.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_conviction_voting/pallet/EnumCall.cs new file mode 100644 index 00000000..8b96e724 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_conviction_voting/pallet/EnumCall.cs @@ -0,0 +1,82 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_conviction_voting.pallet +{ + + + /// + /// >> Call + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public enum Call + { + + /// + /// >> vote + /// See [`Pallet::vote`]. + /// + vote = 0, + + /// + /// >> delegate + /// See [`Pallet::delegate`]. + /// + @delegate = 1, + + /// + /// >> undelegate + /// See [`Pallet::undelegate`]. + /// + undelegate = 2, + + /// + /// >> unlock + /// See [`Pallet::unlock`]. + /// + unlock = 3, + + /// + /// >> remove_vote + /// See [`Pallet::remove_vote`]. + /// + remove_vote = 4, + + /// + /// >> remove_other_vote + /// See [`Pallet::remove_other_vote`]. + /// + remove_other_vote = 5, + } + + /// + /// >> 124 - Variant[pallet_conviction_voting.pallet.Call] + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public sealed class EnumCall : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumCall() + { + AddTypeDecoder, Substrate.Gear.Api.Generated.Model.pallet_conviction_voting.vote.EnumAccountVote>>(Call.vote); + AddTypeDecoder>(Call.@delegate); + AddTypeDecoder(Call.undelegate); + AddTypeDecoder>(Call.unlock); + AddTypeDecoder, Substrate.NetApi.Model.Types.Primitive.U32>>(Call.remove_vote); + AddTypeDecoder>(Call.remove_other_vote); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_conviction_voting/pallet/EnumError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_conviction_voting/pallet/EnumError.cs new file mode 100644 index 00000000..9f35f3f1 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_conviction_voting/pallet/EnumError.cs @@ -0,0 +1,106 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_conviction_voting.pallet +{ + + + /// + /// >> Error + /// The `Error` enum of this pallet. + /// + public enum Error + { + + /// + /// >> NotOngoing + /// Poll is not ongoing. + /// + NotOngoing = 0, + + /// + /// >> NotVoter + /// The given account did not vote on the poll. + /// + NotVoter = 1, + + /// + /// >> NoPermission + /// The actor has no permission to conduct the action. + /// + NoPermission = 2, + + /// + /// >> NoPermissionYet + /// The actor has no permission to conduct the action right now but will do in the future. + /// + NoPermissionYet = 3, + + /// + /// >> AlreadyDelegating + /// The account is already delegating. + /// + AlreadyDelegating = 4, + + /// + /// >> AlreadyVoting + /// The account currently has votes attached to it and the operation cannot succeed until + /// these are removed, either through `unvote` or `reap_vote`. + /// + AlreadyVoting = 5, + + /// + /// >> InsufficientFunds + /// Too high a balance was provided that the account cannot afford. + /// + InsufficientFunds = 6, + + /// + /// >> NotDelegating + /// The account is not currently delegating. + /// + NotDelegating = 7, + + /// + /// >> Nonsense + /// Delegation to oneself makes no sense. + /// + Nonsense = 8, + + /// + /// >> MaxVotesReached + /// Maximum number of votes reached. + /// + MaxVotesReached = 9, + + /// + /// >> ClassNeeded + /// The class must be supplied since it is not easily determinable from the state. + /// + ClassNeeded = 10, + + /// + /// >> BadClass + /// The class ID supplied is invalid. + /// + BadClass = 11, + } + + /// + /// >> 454 - Variant[pallet_conviction_voting.pallet.Error] + /// The `Error` enum of this pallet. + /// + public sealed class EnumError : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_conviction_voting/pallet/EnumEvent.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_conviction_voting/pallet/EnumEvent.cs new file mode 100644 index 00000000..8892c6bb --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_conviction_voting/pallet/EnumEvent.cs @@ -0,0 +1,54 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_conviction_voting.pallet +{ + + + /// + /// >> Event + /// The `Event` enum of this pallet + /// + public enum Event + { + + /// + /// >> Delegated + /// An account has delegated their vote to another account. \[who, target\] + /// + Delegated = 0, + + /// + /// >> Undelegated + /// An \[account\] has cancelled a previous delegation operation. + /// + Undelegated = 1, + } + + /// + /// >> 61 - Variant[pallet_conviction_voting.pallet.Event] + /// The `Event` enum of this pallet + /// + public sealed class EnumEvent : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumEvent() + { + AddTypeDecoder>(Event.Delegated); + AddTypeDecoder(Event.Undelegated); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_conviction_voting/types/Delegations.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_conviction_voting/types/Delegations.cs new file mode 100644 index 00000000..0d0b1014 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_conviction_voting/types/Delegations.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_conviction_voting.types +{ + + + /// + /// >> 448 - Composite[pallet_conviction_voting.types.Delegations] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Delegations : BaseType + { + + /// + /// >> votes + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Votes { get; set; } + /// + /// >> capital + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Capital { get; set; } + + /// + public override string TypeName() + { + return "Delegations"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Votes.Encode()); + result.AddRange(Capital.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Votes = new Substrate.NetApi.Model.Types.Primitive.U128(); + Votes.Decode(byteArray, ref p); + Capital = new Substrate.NetApi.Model.Types.Primitive.U128(); + Capital.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_conviction_voting/types/Tally.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_conviction_voting/types/Tally.cs new file mode 100644 index 00000000..5270ade1 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_conviction_voting/types/Tally.cs @@ -0,0 +1,72 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_conviction_voting.types +{ + + + /// + /// >> 279 - Composite[pallet_conviction_voting.types.Tally] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Tally : BaseType + { + + /// + /// >> ayes + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Ayes { get; set; } + /// + /// >> nays + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Nays { get; set; } + /// + /// >> support + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Support { get; set; } + + /// + public override string TypeName() + { + return "Tally"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Ayes.Encode()); + result.AddRange(Nays.Encode()); + result.AddRange(Support.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Ayes = new Substrate.NetApi.Model.Types.Primitive.U128(); + Ayes.Decode(byteArray, ref p); + Nays = new Substrate.NetApi.Model.Types.Primitive.U128(); + Nays.Decode(byteArray, ref p); + Support = new Substrate.NetApi.Model.Types.Primitive.U128(); + Support.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_conviction_voting/vote/Casting.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_conviction_voting/vote/Casting.cs new file mode 100644 index 00000000..74ea76cc --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_conviction_voting/vote/Casting.cs @@ -0,0 +1,72 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_conviction_voting.vote +{ + + + /// + /// >> 444 - Composite[pallet_conviction_voting.vote.Casting] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Casting : BaseType + { + + /// + /// >> votes + /// + public Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec.BoundedVecT13 Votes { get; set; } + /// + /// >> delegations + /// + public Substrate.Gear.Api.Generated.Model.pallet_conviction_voting.types.Delegations Delegations { get; set; } + /// + /// >> prior + /// + public Substrate.Gear.Api.Generated.Model.pallet_conviction_voting.vote.PriorLock Prior { get; set; } + + /// + public override string TypeName() + { + return "Casting"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Votes.Encode()); + result.AddRange(Delegations.Encode()); + result.AddRange(Prior.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Votes = new Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec.BoundedVecT13(); + Votes.Decode(byteArray, ref p); + Delegations = new Substrate.Gear.Api.Generated.Model.pallet_conviction_voting.types.Delegations(); + Delegations.Decode(byteArray, ref p); + Prior = new Substrate.Gear.Api.Generated.Model.pallet_conviction_voting.vote.PriorLock(); + Prior.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_conviction_voting/vote/Delegating.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_conviction_voting/vote/Delegating.cs new file mode 100644 index 00000000..46e6cad2 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_conviction_voting/vote/Delegating.cs @@ -0,0 +1,86 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_conviction_voting.vote +{ + + + /// + /// >> 450 - Composite[pallet_conviction_voting.vote.Delegating] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Delegating : BaseType + { + + /// + /// >> balance + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Balance { get; set; } + /// + /// >> target + /// + public Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 Target { get; set; } + /// + /// >> conviction + /// + public Substrate.Gear.Api.Generated.Model.pallet_conviction_voting.conviction.EnumConviction Conviction { get; set; } + /// + /// >> delegations + /// + public Substrate.Gear.Api.Generated.Model.pallet_conviction_voting.types.Delegations Delegations { get; set; } + /// + /// >> prior + /// + public Substrate.Gear.Api.Generated.Model.pallet_conviction_voting.vote.PriorLock Prior { get; set; } + + /// + public override string TypeName() + { + return "Delegating"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Balance.Encode()); + result.AddRange(Target.Encode()); + result.AddRange(Conviction.Encode()); + result.AddRange(Delegations.Encode()); + result.AddRange(Prior.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Balance = new Substrate.NetApi.Model.Types.Primitive.U128(); + Balance.Decode(byteArray, ref p); + Target = new Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32(); + Target.Decode(byteArray, ref p); + Conviction = new Substrate.Gear.Api.Generated.Model.pallet_conviction_voting.conviction.EnumConviction(); + Conviction.Decode(byteArray, ref p); + Delegations = new Substrate.Gear.Api.Generated.Model.pallet_conviction_voting.types.Delegations(); + Delegations.Decode(byteArray, ref p); + Prior = new Substrate.Gear.Api.Generated.Model.pallet_conviction_voting.vote.PriorLock(); + Prior.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_conviction_voting/vote/EnumAccountVote.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_conviction_voting/vote/EnumAccountVote.cs new file mode 100644 index 00000000..963a4760 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_conviction_voting/vote/EnumAccountVote.cs @@ -0,0 +1,56 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_conviction_voting.vote +{ + + + /// + /// >> AccountVote + /// + public enum AccountVote + { + + /// + /// >> Standard + /// + Standard = 0, + + /// + /// >> Split + /// + Split = 1, + + /// + /// >> SplitAbstain + /// + SplitAbstain = 2, + } + + /// + /// >> 125 - Variant[pallet_conviction_voting.vote.AccountVote] + /// + public sealed class EnumAccountVote : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumAccountVote() + { + AddTypeDecoder>(AccountVote.Standard); + AddTypeDecoder>(AccountVote.Split); + AddTypeDecoder>(AccountVote.SplitAbstain); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_conviction_voting/vote/EnumVoting.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_conviction_voting/vote/EnumVoting.cs new file mode 100644 index 00000000..70298048 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_conviction_voting/vote/EnumVoting.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_conviction_voting.vote +{ + + + /// + /// >> Voting + /// + public enum Voting + { + + /// + /// >> Casting + /// + Casting = 0, + + /// + /// >> Delegating + /// + Delegating = 1, + } + + /// + /// >> 443 - Variant[pallet_conviction_voting.vote.Voting] + /// + public sealed class EnumVoting : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumVoting() + { + AddTypeDecoder(Voting.Casting); + AddTypeDecoder(Voting.Delegating); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_conviction_voting/vote/PriorLock.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_conviction_voting/vote/PriorLock.cs new file mode 100644 index 00000000..e780c761 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_conviction_voting/vote/PriorLock.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_conviction_voting.vote +{ + + + /// + /// >> 449 - Composite[pallet_conviction_voting.vote.PriorLock] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class PriorLock : BaseType + { + + /// + /// >> BlockNumber + /// + public Substrate.NetApi.Model.Types.Primitive.U32 BlockNumber { get; set; } + /// + /// >> Balance + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Balance { get; set; } + + /// + public override string TypeName() + { + return "PriorLock"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(BlockNumber.Encode()); + result.AddRange(Balance.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + BlockNumber = new Substrate.NetApi.Model.Types.Primitive.U32(); + BlockNumber.Decode(byteArray, ref p); + Balance = new Substrate.NetApi.Model.Types.Primitive.U128(); + Balance.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_conviction_voting/vote/Vote.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_conviction_voting/vote/Vote.cs new file mode 100644 index 00000000..1c509ef3 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_conviction_voting/vote/Vote.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_conviction_voting.vote +{ + + + /// + /// >> 126 - Composite[pallet_conviction_voting.vote.Vote] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Vote : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Primitive.U8 Value { get; set; } + + /// + public override string TypeName() + { + return "Vote"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Primitive.U8(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_election_provider_multi_phase/EnumElectionCompute.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_election_provider_multi_phase/EnumElectionCompute.cs new file mode 100644 index 00000000..994718c0 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_election_provider_multi_phase/EnumElectionCompute.cs @@ -0,0 +1,56 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_election_provider_multi_phase +{ + + + /// + /// >> ElectionCompute + /// + public enum ElectionCompute + { + + /// + /// >> OnChain + /// + OnChain = 0, + + /// + /// >> Signed + /// + Signed = 1, + + /// + /// >> Unsigned + /// + Unsigned = 2, + + /// + /// >> Fallback + /// + Fallback = 3, + + /// + /// >> Emergency + /// + Emergency = 4, + } + + /// + /// >> 296 - Variant[pallet_election_provider_multi_phase.ElectionCompute] + /// + public sealed class EnumElectionCompute : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_election_provider_multi_phase/EnumPhase.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_election_provider_multi_phase/EnumPhase.cs new file mode 100644 index 00000000..08026eb8 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_election_provider_multi_phase/EnumPhase.cs @@ -0,0 +1,62 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_election_provider_multi_phase +{ + + + /// + /// >> Phase + /// + public enum Phase + { + + /// + /// >> Off + /// + Off = 0, + + /// + /// >> Signed + /// + Signed = 1, + + /// + /// >> Unsigned + /// + Unsigned = 2, + + /// + /// >> Emergency + /// + Emergency = 3, + } + + /// + /// >> 297 - Variant[pallet_election_provider_multi_phase.Phase] + /// + public sealed class EnumPhase : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumPhase() + { + AddTypeDecoder(Phase.Off); + AddTypeDecoder(Phase.Signed); + AddTypeDecoder>(Phase.Unsigned); + AddTypeDecoder(Phase.Emergency); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_election_provider_multi_phase/RawSolution.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_election_provider_multi_phase/RawSolution.cs new file mode 100644 index 00000000..49dcc71f --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_election_provider_multi_phase/RawSolution.cs @@ -0,0 +1,72 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_election_provider_multi_phase +{ + + + /// + /// >> 187 - Composite[pallet_election_provider_multi_phase.RawSolution] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class RawSolution : BaseType + { + + /// + /// >> solution + /// + public Substrate.Gear.Api.Generated.Model.vara_runtime.NposSolution16 Solution { get; set; } + /// + /// >> score + /// + public Substrate.Gear.Api.Generated.Model.sp_npos_elections.ElectionScore Score { get; set; } + /// + /// >> round + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Round { get; set; } + + /// + public override string TypeName() + { + return "RawSolution"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Solution.Encode()); + result.AddRange(Score.Encode()); + result.AddRange(Round.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Solution = new Substrate.Gear.Api.Generated.Model.vara_runtime.NposSolution16(); + Solution.Decode(byteArray, ref p); + Score = new Substrate.Gear.Api.Generated.Model.sp_npos_elections.ElectionScore(); + Score.Decode(byteArray, ref p); + Round = new Substrate.NetApi.Model.Types.Primitive.U32(); + Round.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_election_provider_multi_phase/ReadySolution.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_election_provider_multi_phase/ReadySolution.cs new file mode 100644 index 00000000..a7d92651 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_election_provider_multi_phase/ReadySolution.cs @@ -0,0 +1,72 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_election_provider_multi_phase +{ + + + /// + /// >> 520 - Composite[pallet_election_provider_multi_phase.ReadySolution] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class ReadySolution : BaseType + { + + /// + /// >> supports + /// + public Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec.BoundedVecT26 Supports { get; set; } + /// + /// >> score + /// + public Substrate.Gear.Api.Generated.Model.sp_npos_elections.ElectionScore Score { get; set; } + /// + /// >> compute + /// + public Substrate.Gear.Api.Generated.Model.pallet_election_provider_multi_phase.EnumElectionCompute Compute { get; set; } + + /// + public override string TypeName() + { + return "ReadySolution"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Supports.Encode()); + result.AddRange(Score.Encode()); + result.AddRange(Compute.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Supports = new Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec.BoundedVecT26(); + Supports.Decode(byteArray, ref p); + Score = new Substrate.Gear.Api.Generated.Model.sp_npos_elections.ElectionScore(); + Score.Decode(byteArray, ref p); + Compute = new Substrate.Gear.Api.Generated.Model.pallet_election_provider_multi_phase.EnumElectionCompute(); + Compute.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_election_provider_multi_phase/RoundSnapshot.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_election_provider_multi_phase/RoundSnapshot.cs new file mode 100644 index 00000000..54df3467 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_election_provider_multi_phase/RoundSnapshot.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_election_provider_multi_phase +{ + + + /// + /// >> 522 - Composite[pallet_election_provider_multi_phase.RoundSnapshot] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class RoundSnapshot : BaseType + { + + /// + /// >> voters + /// + public Substrate.NetApi.Model.Types.Base.BaseVec> Voters { get; set; } + /// + /// >> targets + /// + public Substrate.NetApi.Model.Types.Base.BaseVec Targets { get; set; } + + /// + public override string TypeName() + { + return "RoundSnapshot"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Voters.Encode()); + result.AddRange(Targets.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Voters = new Substrate.NetApi.Model.Types.Base.BaseVec>(); + Voters.Decode(byteArray, ref p); + Targets = new Substrate.NetApi.Model.Types.Base.BaseVec(); + Targets.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_election_provider_multi_phase/SolutionOrSnapshotSize.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_election_provider_multi_phase/SolutionOrSnapshotSize.cs new file mode 100644 index 00000000..17d9da1b --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_election_provider_multi_phase/SolutionOrSnapshotSize.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_election_provider_multi_phase +{ + + + /// + /// >> 240 - Composite[pallet_election_provider_multi_phase.SolutionOrSnapshotSize] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class SolutionOrSnapshotSize : BaseType + { + + /// + /// >> voters + /// + public Substrate.NetApi.Model.Types.Base.BaseCom Voters { get; set; } + /// + /// >> targets + /// + public Substrate.NetApi.Model.Types.Base.BaseCom Targets { get; set; } + + /// + public override string TypeName() + { + return "SolutionOrSnapshotSize"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Voters.Encode()); + result.AddRange(Targets.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Voters = new Substrate.NetApi.Model.Types.Base.BaseCom(); + Voters.Decode(byteArray, ref p); + Targets = new Substrate.NetApi.Model.Types.Base.BaseCom(); + Targets.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_election_provider_multi_phase/pallet/EnumCall.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_election_provider_multi_phase/pallet/EnumCall.cs new file mode 100644 index 00000000..51ba5a4f --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_election_provider_multi_phase/pallet/EnumCall.cs @@ -0,0 +1,75 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_election_provider_multi_phase.pallet +{ + + + /// + /// >> Call + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public enum Call + { + + /// + /// >> submit_unsigned + /// See [`Pallet::submit_unsigned`]. + /// + submit_unsigned = 0, + + /// + /// >> set_minimum_untrusted_score + /// See [`Pallet::set_minimum_untrusted_score`]. + /// + set_minimum_untrusted_score = 1, + + /// + /// >> set_emergency_election_result + /// See [`Pallet::set_emergency_election_result`]. + /// + set_emergency_election_result = 2, + + /// + /// >> submit + /// See [`Pallet::submit`]. + /// + submit = 3, + + /// + /// >> governance_fallback + /// See [`Pallet::governance_fallback`]. + /// + governance_fallback = 4, + } + + /// + /// >> 186 - Variant[pallet_election_provider_multi_phase.pallet.Call] + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public sealed class EnumCall : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumCall() + { + AddTypeDecoder>(Call.submit_unsigned); + AddTypeDecoder>(Call.set_minimum_untrusted_score); + AddTypeDecoder>>(Call.set_emergency_election_result); + AddTypeDecoder(Call.submit); + AddTypeDecoder, Substrate.NetApi.Model.Types.Base.BaseOpt>>(Call.governance_fallback); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_election_provider_multi_phase/pallet/EnumError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_election_provider_multi_phase/pallet/EnumError.cs new file mode 100644 index 00000000..f4304c84 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_election_provider_multi_phase/pallet/EnumError.cs @@ -0,0 +1,117 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_election_provider_multi_phase.pallet +{ + + + /// + /// >> Error + /// Error of the pallet that can be returned in response to dispatches. + /// + public enum Error + { + + /// + /// >> PreDispatchEarlySubmission + /// Submission was too early. + /// + PreDispatchEarlySubmission = 0, + + /// + /// >> PreDispatchWrongWinnerCount + /// Wrong number of winners presented. + /// + PreDispatchWrongWinnerCount = 1, + + /// + /// >> PreDispatchWeakSubmission + /// Submission was too weak, score-wise. + /// + PreDispatchWeakSubmission = 2, + + /// + /// >> SignedQueueFull + /// The queue was full, and the solution was not better than any of the existing ones. + /// + SignedQueueFull = 3, + + /// + /// >> SignedCannotPayDeposit + /// The origin failed to pay the deposit. + /// + SignedCannotPayDeposit = 4, + + /// + /// >> SignedInvalidWitness + /// Witness data to dispatchable is invalid. + /// + SignedInvalidWitness = 5, + + /// + /// >> SignedTooMuchWeight + /// The signed submission consumes too much weight + /// + SignedTooMuchWeight = 6, + + /// + /// >> OcwCallWrongEra + /// OCW submitted solution for wrong round + /// + OcwCallWrongEra = 7, + + /// + /// >> MissingSnapshotMetadata + /// Snapshot metadata should exist but didn't. + /// + MissingSnapshotMetadata = 8, + + /// + /// >> InvalidSubmissionIndex + /// `Self::insert_submission` returned an invalid index. + /// + InvalidSubmissionIndex = 9, + + /// + /// >> CallNotAllowed + /// The call is not allowed at this point. + /// + CallNotAllowed = 10, + + /// + /// >> FallbackFailed + /// The fallback failed + /// + FallbackFailed = 11, + + /// + /// >> BoundNotMet + /// Some bound not met + /// + BoundNotMet = 12, + + /// + /// >> TooManyWinners + /// Submitted solution has too many winners + /// + TooManyWinners = 13, + } + + /// + /// >> 529 - Variant[pallet_election_provider_multi_phase.pallet.Error] + /// Error of the pallet that can be returned in response to dispatches. + /// + public sealed class EnumError : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_election_provider_multi_phase/pallet/EnumEvent.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_election_provider_multi_phase/pallet/EnumEvent.cs new file mode 100644 index 00000000..e0f7645e --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_election_provider_multi_phase/pallet/EnumEvent.cs @@ -0,0 +1,90 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_election_provider_multi_phase.pallet +{ + + + /// + /// >> Event + /// The `Event` enum of this pallet + /// + public enum Event + { + + /// + /// >> SolutionStored + /// A solution was stored with the given compute. + /// + /// The `origin` indicates the origin of the solution. If `origin` is `Some(AccountId)`, + /// the stored solution was submited in the signed phase by a miner with the `AccountId`. + /// Otherwise, the solution was stored either during the unsigned phase or by + /// `T::ForceOrigin`. The `bool` is `true` when a previous solution was ejected to make + /// room for this one. + /// + SolutionStored = 0, + + /// + /// >> ElectionFinalized + /// The election has been finalized, with the given computation and score. + /// + ElectionFinalized = 1, + + /// + /// >> ElectionFailed + /// An election failed. + /// + /// Not much can be said about which computes failed in the process. + /// + ElectionFailed = 2, + + /// + /// >> Rewarded + /// An account has been rewarded for their signed submission being finalized. + /// + Rewarded = 3, + + /// + /// >> Slashed + /// An account has been slashed for submitting an invalid signed submission. + /// + Slashed = 4, + + /// + /// >> PhaseTransitioned + /// There was a phase transition in a given round. + /// + PhaseTransitioned = 5, + } + + /// + /// >> 295 - Variant[pallet_election_provider_multi_phase.pallet.Event] + /// The `Event` enum of this pallet + /// + public sealed class EnumEvent : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumEvent() + { + AddTypeDecoder, Substrate.NetApi.Model.Types.Primitive.Bool>>(Event.SolutionStored); + AddTypeDecoder>(Event.ElectionFinalized); + AddTypeDecoder(Event.ElectionFailed); + AddTypeDecoder>(Event.Rewarded); + AddTypeDecoder>(Event.Slashed); + AddTypeDecoder>(Event.PhaseTransitioned); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_election_provider_multi_phase/signed/SignedSubmission.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_election_provider_multi_phase/signed/SignedSubmission.cs new file mode 100644 index 00000000..6646aa6e --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_election_provider_multi_phase/signed/SignedSubmission.cs @@ -0,0 +1,79 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_election_provider_multi_phase.signed +{ + + + /// + /// >> 528 - Composite[pallet_election_provider_multi_phase.signed.SignedSubmission] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class SignedSubmission : BaseType + { + + /// + /// >> who + /// + public Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 Who { get; set; } + /// + /// >> deposit + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Deposit { get; set; } + /// + /// >> raw_solution + /// + public Substrate.Gear.Api.Generated.Model.pallet_election_provider_multi_phase.RawSolution RawSolution { get; set; } + /// + /// >> call_fee + /// + public Substrate.NetApi.Model.Types.Primitive.U128 CallFee { get; set; } + + /// + public override string TypeName() + { + return "SignedSubmission"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Who.Encode()); + result.AddRange(Deposit.Encode()); + result.AddRange(RawSolution.Encode()); + result.AddRange(CallFee.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Who = new Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32(); + Who.Decode(byteArray, ref p); + Deposit = new Substrate.NetApi.Model.Types.Primitive.U128(); + Deposit.Decode(byteArray, ref p); + RawSolution = new Substrate.Gear.Api.Generated.Model.pallet_election_provider_multi_phase.RawSolution(); + RawSolution.Decode(byteArray, ref p); + CallFee = new Substrate.NetApi.Model.Types.Primitive.U128(); + CallFee.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear/pallet/EnumCall.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear/pallet/EnumCall.cs new file mode 100644 index 00000000..0006348b --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear/pallet/EnumCall.cs @@ -0,0 +1,103 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_gear.pallet +{ + + + /// + /// >> Call + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public enum Call + { + + /// + /// >> upload_code + /// See [`Pallet::upload_code`]. + /// + upload_code = 0, + + /// + /// >> upload_program + /// See [`Pallet::upload_program`]. + /// + upload_program = 1, + + /// + /// >> create_program + /// See [`Pallet::create_program`]. + /// + create_program = 2, + + /// + /// >> send_message + /// See [`Pallet::send_message`]. + /// + send_message = 3, + + /// + /// >> send_reply + /// See [`Pallet::send_reply`]. + /// + send_reply = 4, + + /// + /// >> claim_value + /// See [`Pallet::claim_value`]. + /// + claim_value = 5, + + /// + /// >> run + /// See [`Pallet::run`]. + /// + run = 6, + + /// + /// >> set_execute_inherent + /// See [`Pallet::set_execute_inherent`]. + /// + set_execute_inherent = 7, + + /// + /// >> claim_value_to_inheritor + /// See [`Pallet::claim_value_to_inheritor`]. + /// + claim_value_to_inheritor = 8, + } + + /// + /// >> 260 - Variant[pallet_gear.pallet.Call] + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public sealed class EnumCall : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumCall() + { + AddTypeDecoder>(Call.upload_code); + AddTypeDecoder, Substrate.NetApi.Model.Types.Base.BaseVec, Substrate.NetApi.Model.Types.Base.BaseVec, Substrate.NetApi.Model.Types.Primitive.U64, Substrate.NetApi.Model.Types.Primitive.U128, Substrate.NetApi.Model.Types.Primitive.Bool>>(Call.upload_program); + AddTypeDecoder, Substrate.NetApi.Model.Types.Base.BaseVec, Substrate.NetApi.Model.Types.Primitive.U64, Substrate.NetApi.Model.Types.Primitive.U128, Substrate.NetApi.Model.Types.Primitive.Bool>>(Call.create_program); + AddTypeDecoder, Substrate.NetApi.Model.Types.Primitive.U64, Substrate.NetApi.Model.Types.Primitive.U128, Substrate.NetApi.Model.Types.Primitive.Bool>>(Call.send_message); + AddTypeDecoder, Substrate.NetApi.Model.Types.Primitive.U64, Substrate.NetApi.Model.Types.Primitive.U128, Substrate.NetApi.Model.Types.Primitive.Bool>>(Call.send_reply); + AddTypeDecoder(Call.claim_value); + AddTypeDecoder>(Call.run); + AddTypeDecoder(Call.set_execute_inherent); + AddTypeDecoder>(Call.claim_value_to_inheritor); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear/pallet/EnumError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear/pallet/EnumError.cs new file mode 100644 index 00000000..2a0e4a81 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear/pallet/EnumError.cs @@ -0,0 +1,144 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_gear.pallet +{ + + + /// + /// >> Error + /// The `Error` enum of this pallet. + /// + public enum Error + { + + /// + /// >> MessageNotFound + /// Message wasn't found in the mailbox. + /// + MessageNotFound = 0, + + /// + /// >> InsufficientBalance + /// Not enough balance to execute an action. + /// + /// Usually occurs when the gas_limit specified is such that the origin account can't afford the message. + /// + InsufficientBalance = 1, + + /// + /// >> GasLimitTooHigh + /// Gas limit too high. + /// + /// Occurs when an extrinsic's declared `gas_limit` is greater than a block's maximum gas limit. + /// + GasLimitTooHigh = 2, + + /// + /// >> ProgramAlreadyExists + /// Program already exists. + /// + /// Occurs if a program with some specific program id already exists in program storage. + /// + ProgramAlreadyExists = 3, + + /// + /// >> InactiveProgram + /// Program is terminated. + /// + /// Program init failed, so such message destination is no longer unavailable. + /// + InactiveProgram = 4, + + /// + /// >> NoMessageTree + /// Message gas tree is not found. + /// + /// When a message claimed from the mailbox has a corrupted or non-extant gas tree associated. + /// + NoMessageTree = 5, + + /// + /// >> CodeAlreadyExists + /// Code already exists. + /// + /// Occurs when trying to save to storage a program code that has been saved there. + /// + CodeAlreadyExists = 6, + + /// + /// >> CodeDoesntExist + /// Code does not exist. + /// + /// Occurs when trying to get a program code from storage, that doesn't exist. + /// + CodeDoesntExist = 7, + + /// + /// >> CodeTooLarge + /// The code supplied to `upload_code` or `upload_program` exceeds the limit specified in the + /// current schedule. + /// + CodeTooLarge = 8, + + /// + /// >> ProgramConstructionFailed + /// Failed to create a program. + /// + ProgramConstructionFailed = 9, + + /// + /// >> MessageQueueProcessingDisabled + /// Message queue processing is disabled. + /// + MessageQueueProcessingDisabled = 10, + + /// + /// >> ResumePeriodLessThanMinimal + /// Block count doesn't cover MinimalResumePeriod. + /// + ResumePeriodLessThanMinimal = 11, + + /// + /// >> ProgramNotFound + /// Program with the specified id is not found. + /// + ProgramNotFound = 12, + + /// + /// >> GearRunAlreadyInBlock + /// Gear::run() already included in current block. + /// + GearRunAlreadyInBlock = 13, + + /// + /// >> ProgramRentDisabled + /// The program rent logic is disabled. + /// + ProgramRentDisabled = 14, + + /// + /// >> ActiveProgram + /// Program is active. + /// + ActiveProgram = 15, + } + + /// + /// >> 627 - Variant[pallet_gear.pallet.Error] + /// The `Error` enum of this pallet. + /// + public sealed class EnumError : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear/pallet/EnumEvent.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear/pallet/EnumEvent.cs new file mode 100644 index 00000000..42b29a21 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear/pallet/EnumEvent.cs @@ -0,0 +1,108 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_gear.pallet +{ + + + /// + /// >> Event + /// The `Event` enum of this pallet + /// + public enum Event + { + + /// + /// >> MessageQueued + /// User sends message to program, which was successfully + /// added to the Gear message queue. + /// + MessageQueued = 0, + + /// + /// >> UserMessageSent + /// Somebody sent a message to the user. + /// + UserMessageSent = 1, + + /// + /// >> UserMessageRead + /// Message marked as "read" and removes it from `Mailbox`. + /// This event only affects messages that were + /// already inserted in `Mailbox`. + /// + UserMessageRead = 2, + + /// + /// >> MessagesDispatched + /// The result of processing the messages within the block. + /// + MessagesDispatched = 3, + + /// + /// >> MessageWaited + /// Messages execution delayed (waited) and successfully + /// added to gear waitlist. + /// + MessageWaited = 4, + + /// + /// >> MessageWoken + /// Message is ready to continue its execution + /// and was removed from `Waitlist`. + /// + MessageWoken = 5, + + /// + /// >> CodeChanged + /// Any data related to program codes changed. + /// + CodeChanged = 6, + + /// + /// >> ProgramChanged + /// Any data related to programs changed. + /// + ProgramChanged = 7, + + /// + /// >> QueueNotProcessed + /// The pseudo-inherent extrinsic that runs queue processing rolled back or not executed. + /// + QueueNotProcessed = 8, + } + + /// + /// >> 303 - Variant[pallet_gear.pallet.Event] + /// The `Event` enum of this pallet + /// + public sealed class EnumEvent : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumEvent() + { + AddTypeDecoder>(Event.MessageQueued); + AddTypeDecoder>>(Event.UserMessageSent); + AddTypeDecoder>(Event.UserMessageRead); + AddTypeDecoder>(Event.MessagesDispatched); + AddTypeDecoder, Substrate.Gear.Api.Generated.Model.gear_common.@event.EnumReason, Substrate.NetApi.Model.Types.Primitive.U32>>(Event.MessageWaited); + AddTypeDecoder>(Event.MessageWoken); + AddTypeDecoder>(Event.CodeChanged); + AddTypeDecoder>(Event.ProgramChanged); + AddTypeDecoder(Event.QueueNotProcessed); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear/schedule/DbWeights.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear/schedule/DbWeights.cs new file mode 100644 index 00000000..d6bd3062 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear/schedule/DbWeights.cs @@ -0,0 +1,79 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_gear.schedule +{ + + + /// + /// >> 623 - Composite[pallet_gear.schedule.DbWeights] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class DbWeights : BaseType + { + + /// + /// >> read + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight Read { get; set; } + /// + /// >> read_per_byte + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight ReadPerByte { get; set; } + /// + /// >> write + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight Write { get; set; } + /// + /// >> write_per_byte + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight WritePerByte { get; set; } + + /// + public override string TypeName() + { + return "DbWeights"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Read.Encode()); + result.AddRange(ReadPerByte.Encode()); + result.AddRange(Write.Encode()); + result.AddRange(WritePerByte.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Read = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + Read.Decode(byteArray, ref p); + ReadPerByte = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + ReadPerByte.Decode(byteArray, ref p); + Write = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + Write.Decode(byteArray, ref p); + WritePerByte = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + WritePerByte.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear/schedule/InstantiationWeights.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear/schedule/InstantiationWeights.cs new file mode 100644 index 00000000..f6aa77cc --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear/schedule/InstantiationWeights.cs @@ -0,0 +1,93 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_gear.schedule +{ + + + /// + /// >> 625 - Composite[pallet_gear.schedule.InstantiationWeights] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class InstantiationWeights : BaseType + { + + /// + /// >> code_section_per_byte + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight CodeSectionPerByte { get; set; } + /// + /// >> data_section_per_byte + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight DataSectionPerByte { get; set; } + /// + /// >> global_section_per_byte + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GlobalSectionPerByte { get; set; } + /// + /// >> table_section_per_byte + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight TableSectionPerByte { get; set; } + /// + /// >> element_section_per_byte + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight ElementSectionPerByte { get; set; } + /// + /// >> type_section_per_byte + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight TypeSectionPerByte { get; set; } + + /// + public override string TypeName() + { + return "InstantiationWeights"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(CodeSectionPerByte.Encode()); + result.AddRange(DataSectionPerByte.Encode()); + result.AddRange(GlobalSectionPerByte.Encode()); + result.AddRange(TableSectionPerByte.Encode()); + result.AddRange(ElementSectionPerByte.Encode()); + result.AddRange(TypeSectionPerByte.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + CodeSectionPerByte = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + CodeSectionPerByte.Decode(byteArray, ref p); + DataSectionPerByte = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + DataSectionPerByte.Decode(byteArray, ref p); + GlobalSectionPerByte = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GlobalSectionPerByte.Decode(byteArray, ref p); + TableSectionPerByte = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + TableSectionPerByte.Decode(byteArray, ref p); + ElementSectionPerByte = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + ElementSectionPerByte.Decode(byteArray, ref p); + TypeSectionPerByte = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + TypeSectionPerByte.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear/schedule/InstructionWeights.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear/schedule/InstructionWeights.cs new file mode 100644 index 00000000..9fb528d7 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear/schedule/InstructionWeights.cs @@ -0,0 +1,667 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_gear.schedule +{ + + + /// + /// >> 619 - Composite[pallet_gear.schedule.InstructionWeights] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class InstructionWeights : BaseType + { + + /// + /// >> version + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Version { get; set; } + /// + /// >> i64const + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I64const { get; set; } + /// + /// >> i64load + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I64load { get; set; } + /// + /// >> i32load + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I32load { get; set; } + /// + /// >> i64store + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I64store { get; set; } + /// + /// >> i32store + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I32store { get; set; } + /// + /// >> select + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Select { get; set; } + /// + /// >> r#if + /// + public Substrate.NetApi.Model.Types.Primitive.U32 RHif { get; set; } + /// + /// >> br + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Br { get; set; } + /// + /// >> br_if + /// + public Substrate.NetApi.Model.Types.Primitive.U32 BrIf { get; set; } + /// + /// >> br_table + /// + public Substrate.NetApi.Model.Types.Primitive.U32 BrTable { get; set; } + /// + /// >> br_table_per_entry + /// + public Substrate.NetApi.Model.Types.Primitive.U32 BrTablePerEntry { get; set; } + /// + /// >> call + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Call { get; set; } + /// + /// >> call_indirect + /// + public Substrate.NetApi.Model.Types.Primitive.U32 CallIndirect { get; set; } + /// + /// >> call_indirect_per_param + /// + public Substrate.NetApi.Model.Types.Primitive.U32 CallIndirectPerParam { get; set; } + /// + /// >> call_per_local + /// + public Substrate.NetApi.Model.Types.Primitive.U32 CallPerLocal { get; set; } + /// + /// >> local_get + /// + public Substrate.NetApi.Model.Types.Primitive.U32 LocalGet { get; set; } + /// + /// >> local_set + /// + public Substrate.NetApi.Model.Types.Primitive.U32 LocalSet { get; set; } + /// + /// >> local_tee + /// + public Substrate.NetApi.Model.Types.Primitive.U32 LocalTee { get; set; } + /// + /// >> global_get + /// + public Substrate.NetApi.Model.Types.Primitive.U32 GlobalGet { get; set; } + /// + /// >> global_set + /// + public Substrate.NetApi.Model.Types.Primitive.U32 GlobalSet { get; set; } + /// + /// >> memory_current + /// + public Substrate.NetApi.Model.Types.Primitive.U32 MemoryCurrent { get; set; } + /// + /// >> i64clz + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I64clz { get; set; } + /// + /// >> i32clz + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I32clz { get; set; } + /// + /// >> i64ctz + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I64ctz { get; set; } + /// + /// >> i32ctz + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I32ctz { get; set; } + /// + /// >> i64popcnt + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I64popcnt { get; set; } + /// + /// >> i32popcnt + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I32popcnt { get; set; } + /// + /// >> i64eqz + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I64eqz { get; set; } + /// + /// >> i32eqz + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I32eqz { get; set; } + /// + /// >> i32extend8s + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I32extend8s { get; set; } + /// + /// >> i32extend16s + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I32extend16s { get; set; } + /// + /// >> i64extend8s + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I64extend8s { get; set; } + /// + /// >> i64extend16s + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I64extend16s { get; set; } + /// + /// >> i64extend32s + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I64extend32s { get; set; } + /// + /// >> i64extendsi32 + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I64extendsi32 { get; set; } + /// + /// >> i64extendui32 + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I64extendui32 { get; set; } + /// + /// >> i32wrapi64 + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I32wrapi64 { get; set; } + /// + /// >> i64eq + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I64eq { get; set; } + /// + /// >> i32eq + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I32eq { get; set; } + /// + /// >> i64ne + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I64ne { get; set; } + /// + /// >> i32ne + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I32ne { get; set; } + /// + /// >> i64lts + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I64lts { get; set; } + /// + /// >> i32lts + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I32lts { get; set; } + /// + /// >> i64ltu + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I64ltu { get; set; } + /// + /// >> i32ltu + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I32ltu { get; set; } + /// + /// >> i64gts + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I64gts { get; set; } + /// + /// >> i32gts + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I32gts { get; set; } + /// + /// >> i64gtu + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I64gtu { get; set; } + /// + /// >> i32gtu + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I32gtu { get; set; } + /// + /// >> i64les + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I64les { get; set; } + /// + /// >> i32les + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I32les { get; set; } + /// + /// >> i64leu + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I64leu { get; set; } + /// + /// >> i32leu + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I32leu { get; set; } + /// + /// >> i64ges + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I64ges { get; set; } + /// + /// >> i32ges + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I32ges { get; set; } + /// + /// >> i64geu + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I64geu { get; set; } + /// + /// >> i32geu + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I32geu { get; set; } + /// + /// >> i64add + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I64add { get; set; } + /// + /// >> i32add + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I32add { get; set; } + /// + /// >> i64sub + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I64sub { get; set; } + /// + /// >> i32sub + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I32sub { get; set; } + /// + /// >> i64mul + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I64mul { get; set; } + /// + /// >> i32mul + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I32mul { get; set; } + /// + /// >> i64divs + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I64divs { get; set; } + /// + /// >> i32divs + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I32divs { get; set; } + /// + /// >> i64divu + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I64divu { get; set; } + /// + /// >> i32divu + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I32divu { get; set; } + /// + /// >> i64rems + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I64rems { get; set; } + /// + /// >> i32rems + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I32rems { get; set; } + /// + /// >> i64remu + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I64remu { get; set; } + /// + /// >> i32remu + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I32remu { get; set; } + /// + /// >> i64and + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I64and { get; set; } + /// + /// >> i32and + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I32and { get; set; } + /// + /// >> i64or + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I64or { get; set; } + /// + /// >> i32or + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I32or { get; set; } + /// + /// >> i64xor + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I64xor { get; set; } + /// + /// >> i32xor + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I32xor { get; set; } + /// + /// >> i64shl + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I64shl { get; set; } + /// + /// >> i32shl + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I32shl { get; set; } + /// + /// >> i64shrs + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I64shrs { get; set; } + /// + /// >> i32shrs + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I32shrs { get; set; } + /// + /// >> i64shru + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I64shru { get; set; } + /// + /// >> i32shru + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I32shru { get; set; } + /// + /// >> i64rotl + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I64rotl { get; set; } + /// + /// >> i32rotl + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I32rotl { get; set; } + /// + /// >> i64rotr + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I64rotr { get; set; } + /// + /// >> i32rotr + /// + public Substrate.NetApi.Model.Types.Primitive.U32 I32rotr { get; set; } + + /// + public override string TypeName() + { + return "InstructionWeights"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Version.Encode()); + result.AddRange(I64const.Encode()); + result.AddRange(I64load.Encode()); + result.AddRange(I32load.Encode()); + result.AddRange(I64store.Encode()); + result.AddRange(I32store.Encode()); + result.AddRange(Select.Encode()); + result.AddRange(RHif.Encode()); + result.AddRange(Br.Encode()); + result.AddRange(BrIf.Encode()); + result.AddRange(BrTable.Encode()); + result.AddRange(BrTablePerEntry.Encode()); + result.AddRange(Call.Encode()); + result.AddRange(CallIndirect.Encode()); + result.AddRange(CallIndirectPerParam.Encode()); + result.AddRange(CallPerLocal.Encode()); + result.AddRange(LocalGet.Encode()); + result.AddRange(LocalSet.Encode()); + result.AddRange(LocalTee.Encode()); + result.AddRange(GlobalGet.Encode()); + result.AddRange(GlobalSet.Encode()); + result.AddRange(MemoryCurrent.Encode()); + result.AddRange(I64clz.Encode()); + result.AddRange(I32clz.Encode()); + result.AddRange(I64ctz.Encode()); + result.AddRange(I32ctz.Encode()); + result.AddRange(I64popcnt.Encode()); + result.AddRange(I32popcnt.Encode()); + result.AddRange(I64eqz.Encode()); + result.AddRange(I32eqz.Encode()); + result.AddRange(I32extend8s.Encode()); + result.AddRange(I32extend16s.Encode()); + result.AddRange(I64extend8s.Encode()); + result.AddRange(I64extend16s.Encode()); + result.AddRange(I64extend32s.Encode()); + result.AddRange(I64extendsi32.Encode()); + result.AddRange(I64extendui32.Encode()); + result.AddRange(I32wrapi64.Encode()); + result.AddRange(I64eq.Encode()); + result.AddRange(I32eq.Encode()); + result.AddRange(I64ne.Encode()); + result.AddRange(I32ne.Encode()); + result.AddRange(I64lts.Encode()); + result.AddRange(I32lts.Encode()); + result.AddRange(I64ltu.Encode()); + result.AddRange(I32ltu.Encode()); + result.AddRange(I64gts.Encode()); + result.AddRange(I32gts.Encode()); + result.AddRange(I64gtu.Encode()); + result.AddRange(I32gtu.Encode()); + result.AddRange(I64les.Encode()); + result.AddRange(I32les.Encode()); + result.AddRange(I64leu.Encode()); + result.AddRange(I32leu.Encode()); + result.AddRange(I64ges.Encode()); + result.AddRange(I32ges.Encode()); + result.AddRange(I64geu.Encode()); + result.AddRange(I32geu.Encode()); + result.AddRange(I64add.Encode()); + result.AddRange(I32add.Encode()); + result.AddRange(I64sub.Encode()); + result.AddRange(I32sub.Encode()); + result.AddRange(I64mul.Encode()); + result.AddRange(I32mul.Encode()); + result.AddRange(I64divs.Encode()); + result.AddRange(I32divs.Encode()); + result.AddRange(I64divu.Encode()); + result.AddRange(I32divu.Encode()); + result.AddRange(I64rems.Encode()); + result.AddRange(I32rems.Encode()); + result.AddRange(I64remu.Encode()); + result.AddRange(I32remu.Encode()); + result.AddRange(I64and.Encode()); + result.AddRange(I32and.Encode()); + result.AddRange(I64or.Encode()); + result.AddRange(I32or.Encode()); + result.AddRange(I64xor.Encode()); + result.AddRange(I32xor.Encode()); + result.AddRange(I64shl.Encode()); + result.AddRange(I32shl.Encode()); + result.AddRange(I64shrs.Encode()); + result.AddRange(I32shrs.Encode()); + result.AddRange(I64shru.Encode()); + result.AddRange(I32shru.Encode()); + result.AddRange(I64rotl.Encode()); + result.AddRange(I32rotl.Encode()); + result.AddRange(I64rotr.Encode()); + result.AddRange(I32rotr.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Version = new Substrate.NetApi.Model.Types.Primitive.U32(); + Version.Decode(byteArray, ref p); + I64const = new Substrate.NetApi.Model.Types.Primitive.U32(); + I64const.Decode(byteArray, ref p); + I64load = new Substrate.NetApi.Model.Types.Primitive.U32(); + I64load.Decode(byteArray, ref p); + I32load = new Substrate.NetApi.Model.Types.Primitive.U32(); + I32load.Decode(byteArray, ref p); + I64store = new Substrate.NetApi.Model.Types.Primitive.U32(); + I64store.Decode(byteArray, ref p); + I32store = new Substrate.NetApi.Model.Types.Primitive.U32(); + I32store.Decode(byteArray, ref p); + Select = new Substrate.NetApi.Model.Types.Primitive.U32(); + Select.Decode(byteArray, ref p); + RHif = new Substrate.NetApi.Model.Types.Primitive.U32(); + RHif.Decode(byteArray, ref p); + Br = new Substrate.NetApi.Model.Types.Primitive.U32(); + Br.Decode(byteArray, ref p); + BrIf = new Substrate.NetApi.Model.Types.Primitive.U32(); + BrIf.Decode(byteArray, ref p); + BrTable = new Substrate.NetApi.Model.Types.Primitive.U32(); + BrTable.Decode(byteArray, ref p); + BrTablePerEntry = new Substrate.NetApi.Model.Types.Primitive.U32(); + BrTablePerEntry.Decode(byteArray, ref p); + Call = new Substrate.NetApi.Model.Types.Primitive.U32(); + Call.Decode(byteArray, ref p); + CallIndirect = new Substrate.NetApi.Model.Types.Primitive.U32(); + CallIndirect.Decode(byteArray, ref p); + CallIndirectPerParam = new Substrate.NetApi.Model.Types.Primitive.U32(); + CallIndirectPerParam.Decode(byteArray, ref p); + CallPerLocal = new Substrate.NetApi.Model.Types.Primitive.U32(); + CallPerLocal.Decode(byteArray, ref p); + LocalGet = new Substrate.NetApi.Model.Types.Primitive.U32(); + LocalGet.Decode(byteArray, ref p); + LocalSet = new Substrate.NetApi.Model.Types.Primitive.U32(); + LocalSet.Decode(byteArray, ref p); + LocalTee = new Substrate.NetApi.Model.Types.Primitive.U32(); + LocalTee.Decode(byteArray, ref p); + GlobalGet = new Substrate.NetApi.Model.Types.Primitive.U32(); + GlobalGet.Decode(byteArray, ref p); + GlobalSet = new Substrate.NetApi.Model.Types.Primitive.U32(); + GlobalSet.Decode(byteArray, ref p); + MemoryCurrent = new Substrate.NetApi.Model.Types.Primitive.U32(); + MemoryCurrent.Decode(byteArray, ref p); + I64clz = new Substrate.NetApi.Model.Types.Primitive.U32(); + I64clz.Decode(byteArray, ref p); + I32clz = new Substrate.NetApi.Model.Types.Primitive.U32(); + I32clz.Decode(byteArray, ref p); + I64ctz = new Substrate.NetApi.Model.Types.Primitive.U32(); + I64ctz.Decode(byteArray, ref p); + I32ctz = new Substrate.NetApi.Model.Types.Primitive.U32(); + I32ctz.Decode(byteArray, ref p); + I64popcnt = new Substrate.NetApi.Model.Types.Primitive.U32(); + I64popcnt.Decode(byteArray, ref p); + I32popcnt = new Substrate.NetApi.Model.Types.Primitive.U32(); + I32popcnt.Decode(byteArray, ref p); + I64eqz = new Substrate.NetApi.Model.Types.Primitive.U32(); + I64eqz.Decode(byteArray, ref p); + I32eqz = new Substrate.NetApi.Model.Types.Primitive.U32(); + I32eqz.Decode(byteArray, ref p); + I32extend8s = new Substrate.NetApi.Model.Types.Primitive.U32(); + I32extend8s.Decode(byteArray, ref p); + I32extend16s = new Substrate.NetApi.Model.Types.Primitive.U32(); + I32extend16s.Decode(byteArray, ref p); + I64extend8s = new Substrate.NetApi.Model.Types.Primitive.U32(); + I64extend8s.Decode(byteArray, ref p); + I64extend16s = new Substrate.NetApi.Model.Types.Primitive.U32(); + I64extend16s.Decode(byteArray, ref p); + I64extend32s = new Substrate.NetApi.Model.Types.Primitive.U32(); + I64extend32s.Decode(byteArray, ref p); + I64extendsi32 = new Substrate.NetApi.Model.Types.Primitive.U32(); + I64extendsi32.Decode(byteArray, ref p); + I64extendui32 = new Substrate.NetApi.Model.Types.Primitive.U32(); + I64extendui32.Decode(byteArray, ref p); + I32wrapi64 = new Substrate.NetApi.Model.Types.Primitive.U32(); + I32wrapi64.Decode(byteArray, ref p); + I64eq = new Substrate.NetApi.Model.Types.Primitive.U32(); + I64eq.Decode(byteArray, ref p); + I32eq = new Substrate.NetApi.Model.Types.Primitive.U32(); + I32eq.Decode(byteArray, ref p); + I64ne = new Substrate.NetApi.Model.Types.Primitive.U32(); + I64ne.Decode(byteArray, ref p); + I32ne = new Substrate.NetApi.Model.Types.Primitive.U32(); + I32ne.Decode(byteArray, ref p); + I64lts = new Substrate.NetApi.Model.Types.Primitive.U32(); + I64lts.Decode(byteArray, ref p); + I32lts = new Substrate.NetApi.Model.Types.Primitive.U32(); + I32lts.Decode(byteArray, ref p); + I64ltu = new Substrate.NetApi.Model.Types.Primitive.U32(); + I64ltu.Decode(byteArray, ref p); + I32ltu = new Substrate.NetApi.Model.Types.Primitive.U32(); + I32ltu.Decode(byteArray, ref p); + I64gts = new Substrate.NetApi.Model.Types.Primitive.U32(); + I64gts.Decode(byteArray, ref p); + I32gts = new Substrate.NetApi.Model.Types.Primitive.U32(); + I32gts.Decode(byteArray, ref p); + I64gtu = new Substrate.NetApi.Model.Types.Primitive.U32(); + I64gtu.Decode(byteArray, ref p); + I32gtu = new Substrate.NetApi.Model.Types.Primitive.U32(); + I32gtu.Decode(byteArray, ref p); + I64les = new Substrate.NetApi.Model.Types.Primitive.U32(); + I64les.Decode(byteArray, ref p); + I32les = new Substrate.NetApi.Model.Types.Primitive.U32(); + I32les.Decode(byteArray, ref p); + I64leu = new Substrate.NetApi.Model.Types.Primitive.U32(); + I64leu.Decode(byteArray, ref p); + I32leu = new Substrate.NetApi.Model.Types.Primitive.U32(); + I32leu.Decode(byteArray, ref p); + I64ges = new Substrate.NetApi.Model.Types.Primitive.U32(); + I64ges.Decode(byteArray, ref p); + I32ges = new Substrate.NetApi.Model.Types.Primitive.U32(); + I32ges.Decode(byteArray, ref p); + I64geu = new Substrate.NetApi.Model.Types.Primitive.U32(); + I64geu.Decode(byteArray, ref p); + I32geu = new Substrate.NetApi.Model.Types.Primitive.U32(); + I32geu.Decode(byteArray, ref p); + I64add = new Substrate.NetApi.Model.Types.Primitive.U32(); + I64add.Decode(byteArray, ref p); + I32add = new Substrate.NetApi.Model.Types.Primitive.U32(); + I32add.Decode(byteArray, ref p); + I64sub = new Substrate.NetApi.Model.Types.Primitive.U32(); + I64sub.Decode(byteArray, ref p); + I32sub = new Substrate.NetApi.Model.Types.Primitive.U32(); + I32sub.Decode(byteArray, ref p); + I64mul = new Substrate.NetApi.Model.Types.Primitive.U32(); + I64mul.Decode(byteArray, ref p); + I32mul = new Substrate.NetApi.Model.Types.Primitive.U32(); + I32mul.Decode(byteArray, ref p); + I64divs = new Substrate.NetApi.Model.Types.Primitive.U32(); + I64divs.Decode(byteArray, ref p); + I32divs = new Substrate.NetApi.Model.Types.Primitive.U32(); + I32divs.Decode(byteArray, ref p); + I64divu = new Substrate.NetApi.Model.Types.Primitive.U32(); + I64divu.Decode(byteArray, ref p); + I32divu = new Substrate.NetApi.Model.Types.Primitive.U32(); + I32divu.Decode(byteArray, ref p); + I64rems = new Substrate.NetApi.Model.Types.Primitive.U32(); + I64rems.Decode(byteArray, ref p); + I32rems = new Substrate.NetApi.Model.Types.Primitive.U32(); + I32rems.Decode(byteArray, ref p); + I64remu = new Substrate.NetApi.Model.Types.Primitive.U32(); + I64remu.Decode(byteArray, ref p); + I32remu = new Substrate.NetApi.Model.Types.Primitive.U32(); + I32remu.Decode(byteArray, ref p); + I64and = new Substrate.NetApi.Model.Types.Primitive.U32(); + I64and.Decode(byteArray, ref p); + I32and = new Substrate.NetApi.Model.Types.Primitive.U32(); + I32and.Decode(byteArray, ref p); + I64or = new Substrate.NetApi.Model.Types.Primitive.U32(); + I64or.Decode(byteArray, ref p); + I32or = new Substrate.NetApi.Model.Types.Primitive.U32(); + I32or.Decode(byteArray, ref p); + I64xor = new Substrate.NetApi.Model.Types.Primitive.U32(); + I64xor.Decode(byteArray, ref p); + I32xor = new Substrate.NetApi.Model.Types.Primitive.U32(); + I32xor.Decode(byteArray, ref p); + I64shl = new Substrate.NetApi.Model.Types.Primitive.U32(); + I64shl.Decode(byteArray, ref p); + I32shl = new Substrate.NetApi.Model.Types.Primitive.U32(); + I32shl.Decode(byteArray, ref p); + I64shrs = new Substrate.NetApi.Model.Types.Primitive.U32(); + I64shrs.Decode(byteArray, ref p); + I32shrs = new Substrate.NetApi.Model.Types.Primitive.U32(); + I32shrs.Decode(byteArray, ref p); + I64shru = new Substrate.NetApi.Model.Types.Primitive.U32(); + I64shru.Decode(byteArray, ref p); + I32shru = new Substrate.NetApi.Model.Types.Primitive.U32(); + I32shru.Decode(byteArray, ref p); + I64rotl = new Substrate.NetApi.Model.Types.Primitive.U32(); + I64rotl.Decode(byteArray, ref p); + I32rotl = new Substrate.NetApi.Model.Types.Primitive.U32(); + I32rotl.Decode(byteArray, ref p); + I64rotr = new Substrate.NetApi.Model.Types.Primitive.U32(); + I64rotr.Decode(byteArray, ref p); + I32rotr = new Substrate.NetApi.Model.Types.Primitive.U32(); + I32rotr.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear/schedule/Limits.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear/schedule/Limits.cs new file mode 100644 index 00000000..34faeff0 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear/schedule/Limits.cs @@ -0,0 +1,142 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_gear.schedule +{ + + + /// + /// >> 618 - Composite[pallet_gear.schedule.Limits] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Limits : BaseType + { + + /// + /// >> stack_height + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt StackHeight { get; set; } + /// + /// >> globals + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Globals { get; set; } + /// + /// >> locals + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Locals { get; set; } + /// + /// >> parameters + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Parameters { get; set; } + /// + /// >> memory_pages + /// + public Substrate.NetApi.Model.Types.Primitive.U16 MemoryPages { get; set; } + /// + /// >> table_size + /// + public Substrate.NetApi.Model.Types.Primitive.U32 TableSize { get; set; } + /// + /// >> table_number + /// + public Substrate.NetApi.Model.Types.Primitive.U32 TableNumber { get; set; } + /// + /// >> br_table_size + /// + public Substrate.NetApi.Model.Types.Primitive.U32 BrTableSize { get; set; } + /// + /// >> subject_len + /// + public Substrate.NetApi.Model.Types.Primitive.U32 SubjectLen { get; set; } + /// + /// >> call_depth + /// + public Substrate.NetApi.Model.Types.Primitive.U32 CallDepth { get; set; } + /// + /// >> payload_len + /// + public Substrate.NetApi.Model.Types.Primitive.U32 PayloadLen { get; set; } + /// + /// >> code_len + /// + public Substrate.NetApi.Model.Types.Primitive.U32 CodeLen { get; set; } + /// + /// >> data_segments_amount + /// + public Substrate.NetApi.Model.Types.Primitive.U32 DataSegmentsAmount { get; set; } + + /// + public override string TypeName() + { + return "Limits"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(StackHeight.Encode()); + result.AddRange(Globals.Encode()); + result.AddRange(Locals.Encode()); + result.AddRange(Parameters.Encode()); + result.AddRange(MemoryPages.Encode()); + result.AddRange(TableSize.Encode()); + result.AddRange(TableNumber.Encode()); + result.AddRange(BrTableSize.Encode()); + result.AddRange(SubjectLen.Encode()); + result.AddRange(CallDepth.Encode()); + result.AddRange(PayloadLen.Encode()); + result.AddRange(CodeLen.Encode()); + result.AddRange(DataSegmentsAmount.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + StackHeight = new Substrate.NetApi.Model.Types.Base.BaseOpt(); + StackHeight.Decode(byteArray, ref p); + Globals = new Substrate.NetApi.Model.Types.Primitive.U32(); + Globals.Decode(byteArray, ref p); + Locals = new Substrate.NetApi.Model.Types.Primitive.U32(); + Locals.Decode(byteArray, ref p); + Parameters = new Substrate.NetApi.Model.Types.Primitive.U32(); + Parameters.Decode(byteArray, ref p); + MemoryPages = new Substrate.NetApi.Model.Types.Primitive.U16(); + MemoryPages.Decode(byteArray, ref p); + TableSize = new Substrate.NetApi.Model.Types.Primitive.U32(); + TableSize.Decode(byteArray, ref p); + TableNumber = new Substrate.NetApi.Model.Types.Primitive.U32(); + TableNumber.Decode(byteArray, ref p); + BrTableSize = new Substrate.NetApi.Model.Types.Primitive.U32(); + BrTableSize.Decode(byteArray, ref p); + SubjectLen = new Substrate.NetApi.Model.Types.Primitive.U32(); + SubjectLen.Decode(byteArray, ref p); + CallDepth = new Substrate.NetApi.Model.Types.Primitive.U32(); + CallDepth.Decode(byteArray, ref p); + PayloadLen = new Substrate.NetApi.Model.Types.Primitive.U32(); + PayloadLen.Decode(byteArray, ref p); + CodeLen = new Substrate.NetApi.Model.Types.Primitive.U32(); + CodeLen.Decode(byteArray, ref p); + DataSegmentsAmount = new Substrate.NetApi.Model.Types.Primitive.U32(); + DataSegmentsAmount.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear/schedule/MemoryWeights.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear/schedule/MemoryWeights.cs new file mode 100644 index 00000000..fabcbd5d --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear/schedule/MemoryWeights.cs @@ -0,0 +1,128 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_gear.schedule +{ + + + /// + /// >> 621 - Composite[pallet_gear.schedule.MemoryWeights] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class MemoryWeights : BaseType + { + + /// + /// >> lazy_pages_signal_read + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight LazyPagesSignalRead { get; set; } + /// + /// >> lazy_pages_signal_write + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight LazyPagesSignalWrite { get; set; } + /// + /// >> lazy_pages_signal_write_after_read + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight LazyPagesSignalWriteAfterRead { get; set; } + /// + /// >> lazy_pages_host_func_read + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight LazyPagesHostFuncRead { get; set; } + /// + /// >> lazy_pages_host_func_write + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight LazyPagesHostFuncWrite { get; set; } + /// + /// >> lazy_pages_host_func_write_after_read + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight LazyPagesHostFuncWriteAfterRead { get; set; } + /// + /// >> load_page_data + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight LoadPageData { get; set; } + /// + /// >> upload_page_data + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight UploadPageData { get; set; } + /// + /// >> mem_grow + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight MemGrow { get; set; } + /// + /// >> mem_grow_per_page + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight MemGrowPerPage { get; set; } + /// + /// >> parachain_read_heuristic + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight ParachainReadHeuristic { get; set; } + + /// + public override string TypeName() + { + return "MemoryWeights"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(LazyPagesSignalRead.Encode()); + result.AddRange(LazyPagesSignalWrite.Encode()); + result.AddRange(LazyPagesSignalWriteAfterRead.Encode()); + result.AddRange(LazyPagesHostFuncRead.Encode()); + result.AddRange(LazyPagesHostFuncWrite.Encode()); + result.AddRange(LazyPagesHostFuncWriteAfterRead.Encode()); + result.AddRange(LoadPageData.Encode()); + result.AddRange(UploadPageData.Encode()); + result.AddRange(MemGrow.Encode()); + result.AddRange(MemGrowPerPage.Encode()); + result.AddRange(ParachainReadHeuristic.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + LazyPagesSignalRead = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + LazyPagesSignalRead.Decode(byteArray, ref p); + LazyPagesSignalWrite = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + LazyPagesSignalWrite.Decode(byteArray, ref p); + LazyPagesSignalWriteAfterRead = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + LazyPagesSignalWriteAfterRead.Decode(byteArray, ref p); + LazyPagesHostFuncRead = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + LazyPagesHostFuncRead.Decode(byteArray, ref p); + LazyPagesHostFuncWrite = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + LazyPagesHostFuncWrite.Decode(byteArray, ref p); + LazyPagesHostFuncWriteAfterRead = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + LazyPagesHostFuncWriteAfterRead.Decode(byteArray, ref p); + LoadPageData = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + LoadPageData.Decode(byteArray, ref p); + UploadPageData = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + UploadPageData.Decode(byteArray, ref p); + MemGrow = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + MemGrow.Decode(byteArray, ref p); + MemGrowPerPage = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + MemGrowPerPage.Decode(byteArray, ref p); + ParachainReadHeuristic = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + ParachainReadHeuristic.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear/schedule/RentWeights.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear/schedule/RentWeights.cs new file mode 100644 index 00000000..7171820d --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear/schedule/RentWeights.cs @@ -0,0 +1,86 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_gear.schedule +{ + + + /// + /// >> 622 - Composite[pallet_gear.schedule.RentWeights] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class RentWeights : BaseType + { + + /// + /// >> waitlist + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight Waitlist { get; set; } + /// + /// >> dispatch_stash + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight DispatchStash { get; set; } + /// + /// >> reservation + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight Reservation { get; set; } + /// + /// >> mailbox + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight Mailbox { get; set; } + /// + /// >> mailbox_threshold + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight MailboxThreshold { get; set; } + + /// + public override string TypeName() + { + return "RentWeights"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Waitlist.Encode()); + result.AddRange(DispatchStash.Encode()); + result.AddRange(Reservation.Encode()); + result.AddRange(Mailbox.Encode()); + result.AddRange(MailboxThreshold.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Waitlist = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + Waitlist.Decode(byteArray, ref p); + DispatchStash = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + DispatchStash.Decode(byteArray, ref p); + Reservation = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + Reservation.Decode(byteArray, ref p); + Mailbox = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + Mailbox.Decode(byteArray, ref p); + MailboxThreshold = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + MailboxThreshold.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear/schedule/Schedule.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear/schedule/Schedule.cs new file mode 100644 index 00000000..91cc953b --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear/schedule/Schedule.cs @@ -0,0 +1,128 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_gear.schedule +{ + + + /// + /// >> 617 - Composite[pallet_gear.schedule.Schedule] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Schedule : BaseType + { + + /// + /// >> limits + /// + public Substrate.Gear.Api.Generated.Model.pallet_gear.schedule.Limits Limits { get; set; } + /// + /// >> instruction_weights + /// + public Substrate.Gear.Api.Generated.Model.pallet_gear.schedule.InstructionWeights InstructionWeights { get; set; } + /// + /// >> syscall_weights + /// + public Substrate.Gear.Api.Generated.Model.pallet_gear.schedule.SyscallWeights SyscallWeights { get; set; } + /// + /// >> memory_weights + /// + public Substrate.Gear.Api.Generated.Model.pallet_gear.schedule.MemoryWeights MemoryWeights { get; set; } + /// + /// >> rent_weights + /// + public Substrate.Gear.Api.Generated.Model.pallet_gear.schedule.RentWeights RentWeights { get; set; } + /// + /// >> db_weights + /// + public Substrate.Gear.Api.Generated.Model.pallet_gear.schedule.DbWeights DbWeights { get; set; } + /// + /// >> task_weights + /// + public Substrate.Gear.Api.Generated.Model.pallet_gear.schedule.TaskWeights TaskWeights { get; set; } + /// + /// >> instantiation_weights + /// + public Substrate.Gear.Api.Generated.Model.pallet_gear.schedule.InstantiationWeights InstantiationWeights { get; set; } + /// + /// >> code_instrumentation_cost + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight CodeInstrumentationCost { get; set; } + /// + /// >> code_instrumentation_byte_cost + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight CodeInstrumentationByteCost { get; set; } + /// + /// >> load_allocations_weight + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight LoadAllocationsWeight { get; set; } + + /// + public override string TypeName() + { + return "Schedule"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Limits.Encode()); + result.AddRange(InstructionWeights.Encode()); + result.AddRange(SyscallWeights.Encode()); + result.AddRange(MemoryWeights.Encode()); + result.AddRange(RentWeights.Encode()); + result.AddRange(DbWeights.Encode()); + result.AddRange(TaskWeights.Encode()); + result.AddRange(InstantiationWeights.Encode()); + result.AddRange(CodeInstrumentationCost.Encode()); + result.AddRange(CodeInstrumentationByteCost.Encode()); + result.AddRange(LoadAllocationsWeight.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Limits = new Substrate.Gear.Api.Generated.Model.pallet_gear.schedule.Limits(); + Limits.Decode(byteArray, ref p); + InstructionWeights = new Substrate.Gear.Api.Generated.Model.pallet_gear.schedule.InstructionWeights(); + InstructionWeights.Decode(byteArray, ref p); + SyscallWeights = new Substrate.Gear.Api.Generated.Model.pallet_gear.schedule.SyscallWeights(); + SyscallWeights.Decode(byteArray, ref p); + MemoryWeights = new Substrate.Gear.Api.Generated.Model.pallet_gear.schedule.MemoryWeights(); + MemoryWeights.Decode(byteArray, ref p); + RentWeights = new Substrate.Gear.Api.Generated.Model.pallet_gear.schedule.RentWeights(); + RentWeights.Decode(byteArray, ref p); + DbWeights = new Substrate.Gear.Api.Generated.Model.pallet_gear.schedule.DbWeights(); + DbWeights.Decode(byteArray, ref p); + TaskWeights = new Substrate.Gear.Api.Generated.Model.pallet_gear.schedule.TaskWeights(); + TaskWeights.Decode(byteArray, ref p); + InstantiationWeights = new Substrate.Gear.Api.Generated.Model.pallet_gear.schedule.InstantiationWeights(); + InstantiationWeights.Decode(byteArray, ref p); + CodeInstrumentationCost = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + CodeInstrumentationCost.Decode(byteArray, ref p); + CodeInstrumentationByteCost = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + CodeInstrumentationByteCost.Decode(byteArray, ref p); + LoadAllocationsWeight = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + LoadAllocationsWeight.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear/schedule/SyscallWeights.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear/schedule/SyscallWeights.cs new file mode 100644 index 00000000..29191b8f --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear/schedule/SyscallWeights.cs @@ -0,0 +1,541 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_gear.schedule +{ + + + /// + /// >> 620 - Composite[pallet_gear.schedule.SyscallWeights] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class SyscallWeights : BaseType + { + + /// + /// >> alloc + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight Alloc { get; set; } + /// + /// >> free + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight Free { get; set; } + /// + /// >> free_range + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight FreeRange { get; set; } + /// + /// >> free_range_per_page + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight FreeRangePerPage { get; set; } + /// + /// >> gr_reserve_gas + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrReserveGas { get; set; } + /// + /// >> gr_unreserve_gas + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrUnreserveGas { get; set; } + /// + /// >> gr_system_reserve_gas + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrSystemReserveGas { get; set; } + /// + /// >> gr_gas_available + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrGasAvailable { get; set; } + /// + /// >> gr_message_id + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrMessageId { get; set; } + /// + /// >> gr_program_id + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrProgramId { get; set; } + /// + /// >> gr_source + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrSource { get; set; } + /// + /// >> gr_value + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrValue { get; set; } + /// + /// >> gr_value_available + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrValueAvailable { get; set; } + /// + /// >> gr_size + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrSize { get; set; } + /// + /// >> gr_read + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrRead { get; set; } + /// + /// >> gr_read_per_byte + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrReadPerByte { get; set; } + /// + /// >> gr_env_vars + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrEnvVars { get; set; } + /// + /// >> gr_block_height + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrBlockHeight { get; set; } + /// + /// >> gr_block_timestamp + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrBlockTimestamp { get; set; } + /// + /// >> gr_random + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrRandom { get; set; } + /// + /// >> gr_reply_deposit + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrReplyDeposit { get; set; } + /// + /// >> gr_send + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrSend { get; set; } + /// + /// >> gr_send_per_byte + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrSendPerByte { get; set; } + /// + /// >> gr_send_wgas + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrSendWgas { get; set; } + /// + /// >> gr_send_wgas_per_byte + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrSendWgasPerByte { get; set; } + /// + /// >> gr_send_init + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrSendInit { get; set; } + /// + /// >> gr_send_push + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrSendPush { get; set; } + /// + /// >> gr_send_push_per_byte + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrSendPushPerByte { get; set; } + /// + /// >> gr_send_commit + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrSendCommit { get; set; } + /// + /// >> gr_send_commit_wgas + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrSendCommitWgas { get; set; } + /// + /// >> gr_reservation_send + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrReservationSend { get; set; } + /// + /// >> gr_reservation_send_per_byte + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrReservationSendPerByte { get; set; } + /// + /// >> gr_reservation_send_commit + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrReservationSendCommit { get; set; } + /// + /// >> gr_reply_commit + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrReplyCommit { get; set; } + /// + /// >> gr_reply_commit_wgas + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrReplyCommitWgas { get; set; } + /// + /// >> gr_reservation_reply + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrReservationReply { get; set; } + /// + /// >> gr_reservation_reply_per_byte + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrReservationReplyPerByte { get; set; } + /// + /// >> gr_reservation_reply_commit + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrReservationReplyCommit { get; set; } + /// + /// >> gr_reply_push + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrReplyPush { get; set; } + /// + /// >> gr_reply + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrReply { get; set; } + /// + /// >> gr_reply_per_byte + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrReplyPerByte { get; set; } + /// + /// >> gr_reply_wgas + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrReplyWgas { get; set; } + /// + /// >> gr_reply_wgas_per_byte + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrReplyWgasPerByte { get; set; } + /// + /// >> gr_reply_push_per_byte + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrReplyPushPerByte { get; set; } + /// + /// >> gr_reply_to + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrReplyTo { get; set; } + /// + /// >> gr_signal_code + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrSignalCode { get; set; } + /// + /// >> gr_signal_from + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrSignalFrom { get; set; } + /// + /// >> gr_reply_input + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrReplyInput { get; set; } + /// + /// >> gr_reply_input_wgas + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrReplyInputWgas { get; set; } + /// + /// >> gr_reply_push_input + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrReplyPushInput { get; set; } + /// + /// >> gr_reply_push_input_per_byte + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrReplyPushInputPerByte { get; set; } + /// + /// >> gr_send_input + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrSendInput { get; set; } + /// + /// >> gr_send_input_wgas + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrSendInputWgas { get; set; } + /// + /// >> gr_send_push_input + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrSendPushInput { get; set; } + /// + /// >> gr_send_push_input_per_byte + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrSendPushInputPerByte { get; set; } + /// + /// >> gr_debug + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrDebug { get; set; } + /// + /// >> gr_debug_per_byte + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrDebugPerByte { get; set; } + /// + /// >> gr_reply_code + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrReplyCode { get; set; } + /// + /// >> gr_exit + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrExit { get; set; } + /// + /// >> gr_leave + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrLeave { get; set; } + /// + /// >> gr_wait + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrWait { get; set; } + /// + /// >> gr_wait_for + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrWaitFor { get; set; } + /// + /// >> gr_wait_up_to + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrWaitUpTo { get; set; } + /// + /// >> gr_wake + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrWake { get; set; } + /// + /// >> gr_create_program + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrCreateProgram { get; set; } + /// + /// >> gr_create_program_payload_per_byte + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrCreateProgramPayloadPerByte { get; set; } + /// + /// >> gr_create_program_salt_per_byte + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrCreateProgramSaltPerByte { get; set; } + /// + /// >> gr_create_program_wgas + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrCreateProgramWgas { get; set; } + /// + /// >> gr_create_program_wgas_payload_per_byte + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrCreateProgramWgasPayloadPerByte { get; set; } + /// + /// >> gr_create_program_wgas_salt_per_byte + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight GrCreateProgramWgasSaltPerByte { get; set; } + + /// + public override string TypeName() + { + return "SyscallWeights"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Alloc.Encode()); + result.AddRange(Free.Encode()); + result.AddRange(FreeRange.Encode()); + result.AddRange(FreeRangePerPage.Encode()); + result.AddRange(GrReserveGas.Encode()); + result.AddRange(GrUnreserveGas.Encode()); + result.AddRange(GrSystemReserveGas.Encode()); + result.AddRange(GrGasAvailable.Encode()); + result.AddRange(GrMessageId.Encode()); + result.AddRange(GrProgramId.Encode()); + result.AddRange(GrSource.Encode()); + result.AddRange(GrValue.Encode()); + result.AddRange(GrValueAvailable.Encode()); + result.AddRange(GrSize.Encode()); + result.AddRange(GrRead.Encode()); + result.AddRange(GrReadPerByte.Encode()); + result.AddRange(GrEnvVars.Encode()); + result.AddRange(GrBlockHeight.Encode()); + result.AddRange(GrBlockTimestamp.Encode()); + result.AddRange(GrRandom.Encode()); + result.AddRange(GrReplyDeposit.Encode()); + result.AddRange(GrSend.Encode()); + result.AddRange(GrSendPerByte.Encode()); + result.AddRange(GrSendWgas.Encode()); + result.AddRange(GrSendWgasPerByte.Encode()); + result.AddRange(GrSendInit.Encode()); + result.AddRange(GrSendPush.Encode()); + result.AddRange(GrSendPushPerByte.Encode()); + result.AddRange(GrSendCommit.Encode()); + result.AddRange(GrSendCommitWgas.Encode()); + result.AddRange(GrReservationSend.Encode()); + result.AddRange(GrReservationSendPerByte.Encode()); + result.AddRange(GrReservationSendCommit.Encode()); + result.AddRange(GrReplyCommit.Encode()); + result.AddRange(GrReplyCommitWgas.Encode()); + result.AddRange(GrReservationReply.Encode()); + result.AddRange(GrReservationReplyPerByte.Encode()); + result.AddRange(GrReservationReplyCommit.Encode()); + result.AddRange(GrReplyPush.Encode()); + result.AddRange(GrReply.Encode()); + result.AddRange(GrReplyPerByte.Encode()); + result.AddRange(GrReplyWgas.Encode()); + result.AddRange(GrReplyWgasPerByte.Encode()); + result.AddRange(GrReplyPushPerByte.Encode()); + result.AddRange(GrReplyTo.Encode()); + result.AddRange(GrSignalCode.Encode()); + result.AddRange(GrSignalFrom.Encode()); + result.AddRange(GrReplyInput.Encode()); + result.AddRange(GrReplyInputWgas.Encode()); + result.AddRange(GrReplyPushInput.Encode()); + result.AddRange(GrReplyPushInputPerByte.Encode()); + result.AddRange(GrSendInput.Encode()); + result.AddRange(GrSendInputWgas.Encode()); + result.AddRange(GrSendPushInput.Encode()); + result.AddRange(GrSendPushInputPerByte.Encode()); + result.AddRange(GrDebug.Encode()); + result.AddRange(GrDebugPerByte.Encode()); + result.AddRange(GrReplyCode.Encode()); + result.AddRange(GrExit.Encode()); + result.AddRange(GrLeave.Encode()); + result.AddRange(GrWait.Encode()); + result.AddRange(GrWaitFor.Encode()); + result.AddRange(GrWaitUpTo.Encode()); + result.AddRange(GrWake.Encode()); + result.AddRange(GrCreateProgram.Encode()); + result.AddRange(GrCreateProgramPayloadPerByte.Encode()); + result.AddRange(GrCreateProgramSaltPerByte.Encode()); + result.AddRange(GrCreateProgramWgas.Encode()); + result.AddRange(GrCreateProgramWgasPayloadPerByte.Encode()); + result.AddRange(GrCreateProgramWgasSaltPerByte.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Alloc = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + Alloc.Decode(byteArray, ref p); + Free = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + Free.Decode(byteArray, ref p); + FreeRange = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + FreeRange.Decode(byteArray, ref p); + FreeRangePerPage = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + FreeRangePerPage.Decode(byteArray, ref p); + GrReserveGas = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrReserveGas.Decode(byteArray, ref p); + GrUnreserveGas = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrUnreserveGas.Decode(byteArray, ref p); + GrSystemReserveGas = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrSystemReserveGas.Decode(byteArray, ref p); + GrGasAvailable = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrGasAvailable.Decode(byteArray, ref p); + GrMessageId = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrMessageId.Decode(byteArray, ref p); + GrProgramId = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrProgramId.Decode(byteArray, ref p); + GrSource = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrSource.Decode(byteArray, ref p); + GrValue = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrValue.Decode(byteArray, ref p); + GrValueAvailable = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrValueAvailable.Decode(byteArray, ref p); + GrSize = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrSize.Decode(byteArray, ref p); + GrRead = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrRead.Decode(byteArray, ref p); + GrReadPerByte = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrReadPerByte.Decode(byteArray, ref p); + GrEnvVars = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrEnvVars.Decode(byteArray, ref p); + GrBlockHeight = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrBlockHeight.Decode(byteArray, ref p); + GrBlockTimestamp = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrBlockTimestamp.Decode(byteArray, ref p); + GrRandom = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrRandom.Decode(byteArray, ref p); + GrReplyDeposit = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrReplyDeposit.Decode(byteArray, ref p); + GrSend = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrSend.Decode(byteArray, ref p); + GrSendPerByte = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrSendPerByte.Decode(byteArray, ref p); + GrSendWgas = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrSendWgas.Decode(byteArray, ref p); + GrSendWgasPerByte = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrSendWgasPerByte.Decode(byteArray, ref p); + GrSendInit = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrSendInit.Decode(byteArray, ref p); + GrSendPush = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrSendPush.Decode(byteArray, ref p); + GrSendPushPerByte = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrSendPushPerByte.Decode(byteArray, ref p); + GrSendCommit = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrSendCommit.Decode(byteArray, ref p); + GrSendCommitWgas = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrSendCommitWgas.Decode(byteArray, ref p); + GrReservationSend = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrReservationSend.Decode(byteArray, ref p); + GrReservationSendPerByte = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrReservationSendPerByte.Decode(byteArray, ref p); + GrReservationSendCommit = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrReservationSendCommit.Decode(byteArray, ref p); + GrReplyCommit = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrReplyCommit.Decode(byteArray, ref p); + GrReplyCommitWgas = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrReplyCommitWgas.Decode(byteArray, ref p); + GrReservationReply = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrReservationReply.Decode(byteArray, ref p); + GrReservationReplyPerByte = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrReservationReplyPerByte.Decode(byteArray, ref p); + GrReservationReplyCommit = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrReservationReplyCommit.Decode(byteArray, ref p); + GrReplyPush = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrReplyPush.Decode(byteArray, ref p); + GrReply = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrReply.Decode(byteArray, ref p); + GrReplyPerByte = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrReplyPerByte.Decode(byteArray, ref p); + GrReplyWgas = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrReplyWgas.Decode(byteArray, ref p); + GrReplyWgasPerByte = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrReplyWgasPerByte.Decode(byteArray, ref p); + GrReplyPushPerByte = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrReplyPushPerByte.Decode(byteArray, ref p); + GrReplyTo = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrReplyTo.Decode(byteArray, ref p); + GrSignalCode = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrSignalCode.Decode(byteArray, ref p); + GrSignalFrom = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrSignalFrom.Decode(byteArray, ref p); + GrReplyInput = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrReplyInput.Decode(byteArray, ref p); + GrReplyInputWgas = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrReplyInputWgas.Decode(byteArray, ref p); + GrReplyPushInput = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrReplyPushInput.Decode(byteArray, ref p); + GrReplyPushInputPerByte = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrReplyPushInputPerByte.Decode(byteArray, ref p); + GrSendInput = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrSendInput.Decode(byteArray, ref p); + GrSendInputWgas = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrSendInputWgas.Decode(byteArray, ref p); + GrSendPushInput = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrSendPushInput.Decode(byteArray, ref p); + GrSendPushInputPerByte = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrSendPushInputPerByte.Decode(byteArray, ref p); + GrDebug = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrDebug.Decode(byteArray, ref p); + GrDebugPerByte = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrDebugPerByte.Decode(byteArray, ref p); + GrReplyCode = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrReplyCode.Decode(byteArray, ref p); + GrExit = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrExit.Decode(byteArray, ref p); + GrLeave = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrLeave.Decode(byteArray, ref p); + GrWait = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrWait.Decode(byteArray, ref p); + GrWaitFor = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrWaitFor.Decode(byteArray, ref p); + GrWaitUpTo = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrWaitUpTo.Decode(byteArray, ref p); + GrWake = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrWake.Decode(byteArray, ref p); + GrCreateProgram = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrCreateProgram.Decode(byteArray, ref p); + GrCreateProgramPayloadPerByte = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrCreateProgramPayloadPerByte.Decode(byteArray, ref p); + GrCreateProgramSaltPerByte = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrCreateProgramSaltPerByte.Decode(byteArray, ref p); + GrCreateProgramWgas = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrCreateProgramWgas.Decode(byteArray, ref p); + GrCreateProgramWgasPayloadPerByte = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrCreateProgramWgasPayloadPerByte.Decode(byteArray, ref p); + GrCreateProgramWgasSaltPerByte = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + GrCreateProgramWgasSaltPerByte.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear/schedule/TaskWeights.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear/schedule/TaskWeights.cs new file mode 100644 index 00000000..7d33c54f --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear/schedule/TaskWeights.cs @@ -0,0 +1,107 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_gear.schedule +{ + + + /// + /// >> 624 - Composite[pallet_gear.schedule.TaskWeights] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class TaskWeights : BaseType + { + + /// + /// >> remove_gas_reservation + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight RemoveGasReservation { get; set; } + /// + /// >> send_user_message_to_mailbox + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight SendUserMessageToMailbox { get; set; } + /// + /// >> send_user_message + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight SendUserMessage { get; set; } + /// + /// >> send_dispatch + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight SendDispatch { get; set; } + /// + /// >> wake_message + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight WakeMessage { get; set; } + /// + /// >> wake_message_no_wake + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight WakeMessageNoWake { get; set; } + /// + /// >> remove_from_waitlist + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight RemoveFromWaitlist { get; set; } + /// + /// >> remove_from_mailbox + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight RemoveFromMailbox { get; set; } + + /// + public override string TypeName() + { + return "TaskWeights"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(RemoveGasReservation.Encode()); + result.AddRange(SendUserMessageToMailbox.Encode()); + result.AddRange(SendUserMessage.Encode()); + result.AddRange(SendDispatch.Encode()); + result.AddRange(WakeMessage.Encode()); + result.AddRange(WakeMessageNoWake.Encode()); + result.AddRange(RemoveFromWaitlist.Encode()); + result.AddRange(RemoveFromMailbox.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + RemoveGasReservation = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + RemoveGasReservation.Decode(byteArray, ref p); + SendUserMessageToMailbox = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + SendUserMessageToMailbox.Decode(byteArray, ref p); + SendUserMessage = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + SendUserMessage.Decode(byteArray, ref p); + SendDispatch = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + SendDispatch.Decode(byteArray, ref p); + WakeMessage = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + WakeMessage.Decode(byteArray, ref p); + WakeMessageNoWake = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + WakeMessageNoWake.Decode(byteArray, ref p); + RemoveFromWaitlist = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + RemoveFromWaitlist.Decode(byteArray, ref p); + RemoveFromMailbox = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + RemoveFromMailbox.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_bank/pallet/BankAccount.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_bank/pallet/BankAccount.cs new file mode 100644 index 00000000..58e2bb33 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_bank/pallet/BankAccount.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_gear_bank.pallet +{ + + + /// + /// >> 634 - Composite[pallet_gear_bank.pallet.BankAccount] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BankAccount : BaseType + { + + /// + /// >> gas + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Gas { get; set; } + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Value { get; set; } + + /// + public override string TypeName() + { + return "BankAccount"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Gas.Encode()); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Gas = new Substrate.NetApi.Model.Types.Primitive.U128(); + Gas.Decode(byteArray, ref p); + Value = new Substrate.NetApi.Model.Types.Primitive.U128(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_bank/pallet/EnumError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_bank/pallet/EnumError.cs new file mode 100644 index 00000000..71b7c785 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_bank/pallet/EnumError.cs @@ -0,0 +1,72 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_gear_bank.pallet +{ + + + /// + /// >> Error + /// The `Error` enum of this pallet. + /// + public enum Error + { + + /// + /// >> InsufficientBalance + /// Insufficient user balance. + /// + InsufficientBalance = 0, + + /// + /// >> InsufficientGasBalance + /// Insufficient user's bank account gas balance. + /// + InsufficientGasBalance = 1, + + /// + /// >> InsufficientValueBalance + /// Insufficient user's bank account gas balance. + /// + InsufficientValueBalance = 2, + + /// + /// >> InsufficientBankBalance + /// Insufficient bank account balance. + /// **Must be unreachable in Gear main protocol.** + /// + InsufficientBankBalance = 3, + + /// + /// >> InsufficientDeposit + /// Deposit of funds that will not keep bank account alive. + /// **Must be unreachable in Gear main protocol.** + /// + InsufficientDeposit = 4, + + /// + /// >> Overflow + /// Overflow during funds transfer. + /// **Must be unreachable in Gear main protocol.** + /// + Overflow = 5, + } + + /// + /// >> 635 - Variant[pallet_gear_bank.pallet.Error] + /// The `Error` enum of this pallet. + /// + public sealed class EnumError : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_gas/pallet/EnumError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_gas/pallet/EnumError.cs new file mode 100644 index 00000000..422392a1 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_gas/pallet/EnumError.cs @@ -0,0 +1,129 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_gear_gas.pallet +{ + + + /// + /// >> Error + /// The `Error` enum of this pallet. + /// + public enum Error + { + + /// + /// >> Forbidden + /// + Forbidden = 0, + + /// + /// >> NodeAlreadyExists + /// + NodeAlreadyExists = 1, + + /// + /// >> InsufficientBalance + /// + InsufficientBalance = 2, + + /// + /// >> NodeNotFound + /// + NodeNotFound = 3, + + /// + /// >> NodeWasConsumed + /// + NodeWasConsumed = 4, + + /// + /// >> ParentIsLost + /// Errors stating that gas tree has been invalidated + /// + ParentIsLost = 5, + + /// + /// >> ParentHasNoChildren + /// + ParentHasNoChildren = 6, + + /// + /// >> UnexpectedConsumeOutput + /// Output of `Tree::consume` procedure that wasn't expected. + /// + /// Outputs of consumption procedure are determined. The error is returned + /// when unexpected one occurred. That signals, that algorithm works wrong + /// and expected invariants are not correct. + /// + UnexpectedConsumeOutput = 7, + + /// + /// >> UnexpectedNodeType + /// Node type that can't occur if algorithm work well + /// + UnexpectedNodeType = 8, + + /// + /// >> ValueIsNotCaught + /// Value must have been caught, but was missed or blocked (for more info see `ValueNode::catch_value`). + /// + ValueIsNotCaught = 9, + + /// + /// >> ValueIsBlocked + /// Value must have been caught or moved upstream, but was blocked (for more info see `ValueNode::catch_value`). + /// + ValueIsBlocked = 10, + + /// + /// >> ValueIsNotBlocked + /// Value must have been blocked, but was either moved or caught (for more info see `ValueNode::catch_value`). + /// + ValueIsNotBlocked = 11, + + /// + /// >> ConsumedWithLock + /// `GasTree::consume` called on node, which has some balance locked. + /// + ConsumedWithLock = 12, + + /// + /// >> ConsumedWithSystemReservation + /// `GasTree::consume` called on node, which has some system reservation. + /// + ConsumedWithSystemReservation = 13, + + /// + /// >> TotalValueIsOverflowed + /// `GasTree::create` called with some value amount leading to + /// the total value overflow. + /// + TotalValueIsOverflowed = 14, + + /// + /// >> TotalValueIsUnderflowed + /// Either `GasTree::consume` or `GasTree::spent` called on a node creating + /// negative imbalance which leads to the total value drop below 0. + /// + TotalValueIsUnderflowed = 15, + } + + /// + /// >> 616 - Variant[pallet_gear_gas.pallet.Error] + /// The `Error` enum of this pallet. + /// + public sealed class EnumError : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_messenger/pallet/EnumError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_messenger/pallet/EnumError.cs new file mode 100644 index 00000000..67d6a37c --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_messenger/pallet/EnumError.cs @@ -0,0 +1,111 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_gear_messenger.pallet +{ + + + /// + /// >> Error + /// The `Error` enum of this pallet. + /// + public enum Error + { + + /// + /// >> QueueDuplicateKey + /// Occurs when given key already exists in queue. + /// + QueueDuplicateKey = 0, + + /// + /// >> QueueElementNotFound + /// Occurs when queue's element wasn't found in storage. + /// + QueueElementNotFound = 1, + + /// + /// >> QueueHeadShouldBeSet + /// Occurs when queue's head should contain value, + /// but it's empty for some reason. + /// + QueueHeadShouldBeSet = 2, + + /// + /// >> QueueHeadShouldNotBeSet + /// Occurs when queue's head should be empty, + /// but it contains value for some reason. + /// + QueueHeadShouldNotBeSet = 3, + + /// + /// >> QueueTailHasNextKey + /// Occurs when queue's tail element contains link + /// to the next element. + /// + QueueTailHasNextKey = 4, + + /// + /// >> QueueTailParentNotFound + /// Occurs when while searching queue's pre-tail, + /// element wasn't found. + /// + QueueTailParentNotFound = 5, + + /// + /// >> QueueTailShouldBeSet + /// Occurs when queue's tail should contain value, + /// but it's empty for some reason. + /// + QueueTailShouldBeSet = 6, + + /// + /// >> QueueTailShouldNotBeSet + /// Occurs when queue's tail should be empty, + /// but it contains value for some reason. + /// + QueueTailShouldNotBeSet = 7, + + /// + /// >> MailboxDuplicateKey + /// Occurs when given value already exists in mailbox. + /// + MailboxDuplicateKey = 8, + + /// + /// >> MailboxElementNotFound + /// Occurs when mailbox's element wasn't found in storage. + /// + MailboxElementNotFound = 9, + + /// + /// >> WaitlistDuplicateKey + /// Occurs when given value already exists in waitlist. + /// + WaitlistDuplicateKey = 10, + + /// + /// >> WaitlistElementNotFound + /// Occurs when waitlist's element wasn't found in storage. + /// + WaitlistElementNotFound = 11, + } + + /// + /// >> 607 - Variant[pallet_gear_messenger.pallet.Error] + /// The `Error` enum of this pallet. + /// + public sealed class EnumError : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_payment/CustomChargeTransactionPayment.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_payment/CustomChargeTransactionPayment.cs new file mode 100644 index 00000000..c324bcce --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_payment/CustomChargeTransactionPayment.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_gear_payment +{ + + + /// + /// >> 650 - Composite[pallet_gear_payment.CustomChargeTransactionPayment] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class CustomChargeTransactionPayment : BaseType + { + + /// + /// >> value + /// + public Substrate.Gear.Api.Generated.Model.pallet_transaction_payment.ChargeTransactionPayment Value { get; set; } + + /// + public override string TypeName() + { + return "CustomChargeTransactionPayment"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.Gear.Api.Generated.Model.pallet_transaction_payment.ChargeTransactionPayment(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_program/pallet/EnumError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_program/pallet/EnumError.cs new file mode 100644 index 00000000..e969df6f --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_program/pallet/EnumError.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_gear_program.pallet +{ + + + /// + /// >> Error + /// The `Error` enum of this pallet. + /// + public enum Error + { + + /// + /// >> DuplicateItem + /// + DuplicateItem = 0, + + /// + /// >> ProgramNotFound + /// + ProgramNotFound = 1, + + /// + /// >> NotActiveProgram + /// + NotActiveProgram = 2, + + /// + /// >> CannotFindDataForPage + /// + CannotFindDataForPage = 3, + + /// + /// >> ProgramCodeNotFound + /// + ProgramCodeNotFound = 4, + } + + /// + /// >> 583 - Variant[pallet_gear_program.pallet.Error] + /// The `Error` enum of this pallet. + /// + public sealed class EnumError : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_scheduler/pallet/EnumError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_scheduler/pallet/EnumError.cs new file mode 100644 index 00000000..e00ac14e --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_scheduler/pallet/EnumError.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_gear_scheduler.pallet +{ + + + /// + /// >> Error + /// The `Error` enum of this pallet. + /// + public enum Error + { + + /// + /// >> DuplicateTask + /// Occurs when given task already exists in task pool. + /// + DuplicateTask = 0, + + /// + /// >> TaskNotFound + /// Occurs when task wasn't found in storage. + /// + TaskNotFound = 1, + } + + /// + /// >> 610 - Variant[pallet_gear_scheduler.pallet.Error] + /// The `Error` enum of this pallet. + /// + public sealed class EnumError : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_staking_rewards/extension/StakingBlackList.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_staking_rewards/extension/StakingBlackList.cs new file mode 100644 index 00000000..393e8a82 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_staking_rewards/extension/StakingBlackList.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_gear_staking_rewards.extension +{ + + + /// + /// >> 641 - Composite[pallet_gear_staking_rewards.extension.StakingBlackList] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class StakingBlackList : BaseType + { + + /// + public override string TypeName() + { + return "StakingBlackList"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_staking_rewards/pallet/EnumCall.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_staking_rewards/pallet/EnumCall.cs new file mode 100644 index 00000000..19099e15 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_staking_rewards/pallet/EnumCall.cs @@ -0,0 +1,68 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_gear_staking_rewards.pallet +{ + + + /// + /// >> Call + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public enum Call + { + + /// + /// >> refill + /// See [`Pallet::refill`]. + /// + refill = 0, + + /// + /// >> force_refill + /// See [`Pallet::force_refill`]. + /// + force_refill = 1, + + /// + /// >> withdraw + /// See [`Pallet::withdraw`]. + /// + withdraw = 2, + + /// + /// >> align_supply + /// See [`Pallet::align_supply`]. + /// + align_supply = 3, + } + + /// + /// >> 266 - Variant[pallet_gear_staking_rewards.pallet.Call] + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public sealed class EnumCall : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumCall() + { + AddTypeDecoder(Call.refill); + AddTypeDecoder>(Call.force_refill); + AddTypeDecoder>(Call.withdraw); + AddTypeDecoder(Call.align_supply); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_staking_rewards/pallet/EnumError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_staking_rewards/pallet/EnumError.cs new file mode 100644 index 00000000..5e2c2b3e --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_staking_rewards/pallet/EnumError.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_gear_staking_rewards.pallet +{ + + + /// + /// >> Error + /// Error for the staking rewards pallet. + /// + public enum Error + { + + /// + /// >> FailureToRefillPool + /// Pool not replenished due to error. + /// + FailureToRefillPool = 0, + + /// + /// >> FailureToWithdrawFromPool + /// Failure to withdraw funds from the rewards pool. + /// + FailureToWithdrawFromPool = 1, + } + + /// + /// >> 630 - Variant[pallet_gear_staking_rewards.pallet.Error] + /// Error for the staking rewards pallet. + /// + public sealed class EnumError : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_staking_rewards/pallet/EnumEvent.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_staking_rewards/pallet/EnumEvent.cs new file mode 100644 index 00000000..c0ae7395 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_staking_rewards/pallet/EnumEvent.cs @@ -0,0 +1,68 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_gear_staking_rewards.pallet +{ + + + /// + /// >> Event + /// The `Event` enum of this pallet + /// + public enum Event + { + + /// + /// >> Deposited + /// Deposited to the pool. + /// + Deposited = 0, + + /// + /// >> Withdrawn + /// Transferred from the pool to an external account. + /// + Withdrawn = 1, + + /// + /// >> Burned + /// Burned from the pool. + /// + Burned = 2, + + /// + /// >> Minted + /// Minted to the pool. + /// + Minted = 3, + } + + /// + /// >> 333 - Variant[pallet_gear_staking_rewards.pallet.Event] + /// The `Event` enum of this pallet + /// + public sealed class EnumEvent : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumEvent() + { + AddTypeDecoder(Event.Deposited); + AddTypeDecoder(Event.Withdrawn); + AddTypeDecoder(Event.Burned); + AddTypeDecoder(Event.Minted); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_voucher/internal/EnumPrepaidCall.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_voucher/internal/EnumPrepaidCall.cs new file mode 100644 index 00000000..96fb75b3 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_voucher/internal/EnumPrepaidCall.cs @@ -0,0 +1,62 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_gear_voucher.@internal +{ + + + /// + /// >> PrepaidCall + /// + public enum PrepaidCall + { + + /// + /// >> SendMessage + /// + SendMessage = 0, + + /// + /// >> SendReply + /// + SendReply = 1, + + /// + /// >> UploadCode + /// + UploadCode = 2, + + /// + /// >> DeclineVoucher + /// + DeclineVoucher = 3, + } + + /// + /// >> 272 - Variant[pallet_gear_voucher.@internal.PrepaidCall] + /// + public sealed class EnumPrepaidCall : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumPrepaidCall() + { + AddTypeDecoder, Substrate.NetApi.Model.Types.Primitive.U64, Substrate.NetApi.Model.Types.Primitive.U128, Substrate.NetApi.Model.Types.Primitive.Bool>>(PrepaidCall.SendMessage); + AddTypeDecoder, Substrate.NetApi.Model.Types.Primitive.U64, Substrate.NetApi.Model.Types.Primitive.U128, Substrate.NetApi.Model.Types.Primitive.Bool>>(PrepaidCall.SendReply); + AddTypeDecoder>(PrepaidCall.UploadCode); + AddTypeDecoder(PrepaidCall.DeclineVoucher); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_voucher/internal/VoucherId.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_voucher/internal/VoucherId.cs new file mode 100644 index 00000000..2b09be7b --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_voucher/internal/VoucherId.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_gear_voucher.@internal +{ + + + /// + /// >> 271 - Composite[pallet_gear_voucher.@internal.VoucherId] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class VoucherId : BaseType + { + + /// + /// >> value + /// + public Substrate.Gear.Api.Generated.Types.Base.Arr32U8 Value { get; set; } + + /// + public override string TypeName() + { + return "VoucherId"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.Gear.Api.Generated.Types.Base.Arr32U8(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_voucher/internal/VoucherInfo.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_voucher/internal/VoucherInfo.cs new file mode 100644 index 00000000..021d033a --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_voucher/internal/VoucherInfo.cs @@ -0,0 +1,79 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_gear_voucher.@internal +{ + + + /// + /// >> 632 - Composite[pallet_gear_voucher.@internal.VoucherInfo] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class VoucherInfo : BaseType + { + + /// + /// >> owner + /// + public Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 Owner { get; set; } + /// + /// >> programs + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt Programs { get; set; } + /// + /// >> code_uploading + /// + public Substrate.NetApi.Model.Types.Primitive.Bool CodeUploading { get; set; } + /// + /// >> expiry + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Expiry { get; set; } + + /// + public override string TypeName() + { + return "VoucherInfo"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Owner.Encode()); + result.AddRange(Programs.Encode()); + result.AddRange(CodeUploading.Encode()); + result.AddRange(Expiry.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Owner = new Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32(); + Owner.Decode(byteArray, ref p); + Programs = new Substrate.NetApi.Model.Types.Base.BaseOpt(); + Programs.Decode(byteArray, ref p); + CodeUploading = new Substrate.NetApi.Model.Types.Primitive.Bool(); + CodeUploading.Decode(byteArray, ref p); + Expiry = new Substrate.NetApi.Model.Types.Primitive.U32(); + Expiry.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_voucher/pallet/EnumCall.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_voucher/pallet/EnumCall.cs new file mode 100644 index 00000000..55a8fd47 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_voucher/pallet/EnumCall.cs @@ -0,0 +1,75 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_gear_voucher.pallet +{ + + + /// + /// >> Call + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public enum Call + { + + /// + /// >> issue + /// See [`Pallet::issue`]. + /// + issue = 0, + + /// + /// >> call + /// See [`Pallet::call`]. + /// + call = 1, + + /// + /// >> revoke + /// See [`Pallet::revoke`]. + /// + revoke = 2, + + /// + /// >> update + /// See [`Pallet::update`]. + /// + update = 3, + + /// + /// >> decline + /// See [`Pallet::decline`]. + /// + decline = 4, + } + + /// + /// >> 267 - Variant[pallet_gear_voucher.pallet.Call] + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public sealed class EnumCall : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumCall() + { + AddTypeDecoder, Substrate.NetApi.Model.Types.Primitive.Bool, Substrate.NetApi.Model.Types.Primitive.U32>>(Call.issue); + AddTypeDecoder>(Call.call); + AddTypeDecoder>(Call.revoke); + AddTypeDecoder, Substrate.NetApi.Model.Types.Base.BaseOpt, Substrate.NetApi.Model.Types.Base.BaseOpt>, Substrate.NetApi.Model.Types.Base.BaseOpt, Substrate.NetApi.Model.Types.Base.BaseOpt>>(Call.update); + AddTypeDecoder(Call.decline); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_voucher/pallet/EnumError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_voucher/pallet/EnumError.cs new file mode 100644 index 00000000..0c280475 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_voucher/pallet/EnumError.cs @@ -0,0 +1,99 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_gear_voucher.pallet +{ + + + /// + /// >> Error + /// The `Error` enum of this pallet. + /// + public enum Error + { + + /// + /// >> BadOrigin + /// The origin is not eligible to execute call. + /// + BadOrigin = 0, + + /// + /// >> BalanceTransfer + /// Error trying transfer balance to/from voucher account. + /// + BalanceTransfer = 1, + + /// + /// >> InappropriateDestination + /// Destination program is not in whitelisted set for voucher. + /// + InappropriateDestination = 2, + + /// + /// >> InexistentVoucher + /// Voucher with given identifier doesn't exist for given spender id. + /// + InexistentVoucher = 3, + + /// + /// >> IrrevocableYet + /// Voucher still valid and couldn't be revoked. + /// + IrrevocableYet = 4, + + /// + /// >> MaxProgramsLimitExceeded + /// Try to whitelist more programs than allowed. + /// + MaxProgramsLimitExceeded = 5, + + /// + /// >> UnknownDestination + /// Failed to query destination of the prepaid call. + /// + UnknownDestination = 6, + + /// + /// >> VoucherExpired + /// Voucher has expired and couldn't be used. + /// + VoucherExpired = 7, + + /// + /// >> DurationOutOfBounds + /// Voucher issue/prolongation duration out of [min; max] constants. + /// + DurationOutOfBounds = 8, + + /// + /// >> CodeUploadingEnabled + /// Voucher update function tries to cut voucher ability of code upload. + /// + CodeUploadingEnabled = 9, + + /// + /// >> CodeUploadingDisabled + /// Voucher is disabled for code uploading, but requested. + /// + CodeUploadingDisabled = 10, + } + + /// + /// >> 633 - Variant[pallet_gear_voucher.pallet.Error] + /// The `Error` enum of this pallet. + /// + public sealed class EnumError : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_voucher/pallet/EnumEvent.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_voucher/pallet/EnumEvent.cs new file mode 100644 index 00000000..9bf033fc --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_gear_voucher/pallet/EnumEvent.cs @@ -0,0 +1,70 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_gear_voucher.pallet +{ + + + /// + /// >> Event + /// Pallet Gear Voucher event. + /// + public enum Event + { + + /// + /// >> VoucherIssued + /// Voucher has been issued. + /// + VoucherIssued = 0, + + /// + /// >> VoucherRevoked + /// Voucher has been revoked by owner. + /// + /// NOTE: currently means only "refunded". + /// + VoucherRevoked = 1, + + /// + /// >> VoucherUpdated + /// Voucher has been updated. + /// + VoucherUpdated = 2, + + /// + /// >> VoucherDeclined + /// Voucher has been declined (set to expired state). + /// + VoucherDeclined = 3, + } + + /// + /// >> 334 - Variant[pallet_gear_voucher.pallet.Event] + /// Pallet Gear Voucher event. + /// + public sealed class EnumEvent : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumEvent() + { + AddTypeDecoder>(Event.VoucherIssued); + AddTypeDecoder>(Event.VoucherRevoked); + AddTypeDecoder>>(Event.VoucherUpdated); + AddTypeDecoder>(Event.VoucherDeclined); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_grandpa/EnumStoredState.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_grandpa/EnumStoredState.cs new file mode 100644 index 00000000..638de8d3 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_grandpa/EnumStoredState.cs @@ -0,0 +1,62 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_grandpa +{ + + + /// + /// >> StoredState + /// + public enum StoredState + { + + /// + /// >> Live + /// + Live = 0, + + /// + /// >> PendingPause + /// + PendingPause = 1, + + /// + /// >> Paused + /// + Paused = 2, + + /// + /// >> PendingResume + /// + PendingResume = 3, + } + + /// + /// >> 368 - Variant[pallet_grandpa.StoredState] + /// + public sealed class EnumStoredState : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumStoredState() + { + AddTypeDecoder(StoredState.Live); + AddTypeDecoder>(StoredState.PendingPause); + AddTypeDecoder(StoredState.Paused); + AddTypeDecoder>(StoredState.PendingResume); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_grandpa/StoredPendingChange.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_grandpa/StoredPendingChange.cs new file mode 100644 index 00000000..5365900d --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_grandpa/StoredPendingChange.cs @@ -0,0 +1,79 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_grandpa +{ + + + /// + /// >> 369 - Composite[pallet_grandpa.StoredPendingChange] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class StoredPendingChange : BaseType + { + + /// + /// >> scheduled_at + /// + public Substrate.NetApi.Model.Types.Primitive.U32 ScheduledAt { get; set; } + /// + /// >> delay + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Delay { get; set; } + /// + /// >> next_authorities + /// + public Substrate.Gear.Api.Generated.Model.bounded_collections.weak_bounded_vec.WeakBoundedVecT3 NextAuthorities { get; set; } + /// + /// >> forced + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt Forced { get; set; } + + /// + public override string TypeName() + { + return "StoredPendingChange"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(ScheduledAt.Encode()); + result.AddRange(Delay.Encode()); + result.AddRange(NextAuthorities.Encode()); + result.AddRange(Forced.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + ScheduledAt = new Substrate.NetApi.Model.Types.Primitive.U32(); + ScheduledAt.Decode(byteArray, ref p); + Delay = new Substrate.NetApi.Model.Types.Primitive.U32(); + Delay.Decode(byteArray, ref p); + NextAuthorities = new Substrate.Gear.Api.Generated.Model.bounded_collections.weak_bounded_vec.WeakBoundedVecT3(); + NextAuthorities.Decode(byteArray, ref p); + Forced = new Substrate.NetApi.Model.Types.Base.BaseOpt(); + Forced.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_grandpa/pallet/EnumCall.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_grandpa/pallet/EnumCall.cs new file mode 100644 index 00000000..38ca109e --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_grandpa/pallet/EnumCall.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_grandpa.pallet +{ + + + /// + /// >> Call + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public enum Call + { + + /// + /// >> report_equivocation + /// See [`Pallet::report_equivocation`]. + /// + report_equivocation = 0, + + /// + /// >> report_equivocation_unsigned + /// See [`Pallet::report_equivocation_unsigned`]. + /// + report_equivocation_unsigned = 1, + + /// + /// >> note_stalled + /// See [`Pallet::note_stalled`]. + /// + note_stalled = 2, + } + + /// + /// >> 81 - Variant[pallet_grandpa.pallet.Call] + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public sealed class EnumCall : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumCall() + { + AddTypeDecoder>(Call.report_equivocation); + AddTypeDecoder>(Call.report_equivocation_unsigned); + AddTypeDecoder>(Call.note_stalled); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_grandpa/pallet/EnumError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_grandpa/pallet/EnumError.cs new file mode 100644 index 00000000..f70486ac --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_grandpa/pallet/EnumError.cs @@ -0,0 +1,77 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_grandpa.pallet +{ + + + /// + /// >> Error + /// The `Error` enum of this pallet. + /// + public enum Error + { + + /// + /// >> PauseFailed + /// Attempt to signal GRANDPA pause when the authority set isn't live + /// (either paused or already pending pause). + /// + PauseFailed = 0, + + /// + /// >> ResumeFailed + /// Attempt to signal GRANDPA resume when the authority set isn't paused + /// (either live or already pending resume). + /// + ResumeFailed = 1, + + /// + /// >> ChangePending + /// Attempt to signal GRANDPA change with one already pending. + /// + ChangePending = 2, + + /// + /// >> TooSoon + /// Cannot signal forced change so soon after last. + /// + TooSoon = 3, + + /// + /// >> InvalidKeyOwnershipProof + /// A key ownership proof provided as part of an equivocation report is invalid. + /// + InvalidKeyOwnershipProof = 4, + + /// + /// >> InvalidEquivocationProof + /// An equivocation proof provided as part of an equivocation report is invalid. + /// + InvalidEquivocationProof = 5, + + /// + /// >> DuplicateOffenceReport + /// A given equivocation report is valid but already previously reported. + /// + DuplicateOffenceReport = 6, + } + + /// + /// >> 371 - Variant[pallet_grandpa.pallet.Error] + /// The `Error` enum of this pallet. + /// + public sealed class EnumError : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_grandpa/pallet/EnumEvent.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_grandpa/pallet/EnumEvent.cs new file mode 100644 index 00000000..3255489a --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_grandpa/pallet/EnumEvent.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_grandpa.pallet +{ + + + /// + /// >> Event + /// The `Event` enum of this pallet + /// + public enum Event + { + + /// + /// >> NewAuthorities + /// New authority set has been applied. + /// + NewAuthorities = 0, + + /// + /// >> Paused + /// Current authority set has been paused. + /// + Paused = 1, + + /// + /// >> Resumed + /// Current authority set has been resumed. + /// + Resumed = 2, + } + + /// + /// >> 30 - Variant[pallet_grandpa.pallet.Event] + /// The `Event` enum of this pallet + /// + public sealed class EnumEvent : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumEvent() + { + AddTypeDecoder>>(Event.NewAuthorities); + AddTypeDecoder(Event.Paused); + AddTypeDecoder(Event.Resumed); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_identity/legacy/IdentityInfo.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_identity/legacy/IdentityInfo.cs new file mode 100644 index 00000000..cfae5661 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_identity/legacy/IdentityInfo.cs @@ -0,0 +1,114 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_identity.legacy +{ + + + /// + /// >> 141 - Composite[pallet_identity.legacy.IdentityInfo] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class IdentityInfo : BaseType + { + + /// + /// >> additional + /// + public Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec.BoundedVecT1 Additional { get; set; } + /// + /// >> display + /// + public Substrate.Gear.Api.Generated.Model.pallet_identity.types.EnumData Display { get; set; } + /// + /// >> legal + /// + public Substrate.Gear.Api.Generated.Model.pallet_identity.types.EnumData Legal { get; set; } + /// + /// >> web + /// + public Substrate.Gear.Api.Generated.Model.pallet_identity.types.EnumData Web { get; set; } + /// + /// >> riot + /// + public Substrate.Gear.Api.Generated.Model.pallet_identity.types.EnumData Riot { get; set; } + /// + /// >> email + /// + public Substrate.Gear.Api.Generated.Model.pallet_identity.types.EnumData Email { get; set; } + /// + /// >> pgp_fingerprint + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt PgpFingerprint { get; set; } + /// + /// >> image + /// + public Substrate.Gear.Api.Generated.Model.pallet_identity.types.EnumData Image { get; set; } + /// + /// >> twitter + /// + public Substrate.Gear.Api.Generated.Model.pallet_identity.types.EnumData Twitter { get; set; } + + /// + public override string TypeName() + { + return "IdentityInfo"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Additional.Encode()); + result.AddRange(Display.Encode()); + result.AddRange(Legal.Encode()); + result.AddRange(Web.Encode()); + result.AddRange(Riot.Encode()); + result.AddRange(Email.Encode()); + result.AddRange(PgpFingerprint.Encode()); + result.AddRange(Image.Encode()); + result.AddRange(Twitter.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Additional = new Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec.BoundedVecT1(); + Additional.Decode(byteArray, ref p); + Display = new Substrate.Gear.Api.Generated.Model.pallet_identity.types.EnumData(); + Display.Decode(byteArray, ref p); + Legal = new Substrate.Gear.Api.Generated.Model.pallet_identity.types.EnumData(); + Legal.Decode(byteArray, ref p); + Web = new Substrate.Gear.Api.Generated.Model.pallet_identity.types.EnumData(); + Web.Decode(byteArray, ref p); + Riot = new Substrate.Gear.Api.Generated.Model.pallet_identity.types.EnumData(); + Riot.Decode(byteArray, ref p); + Email = new Substrate.Gear.Api.Generated.Model.pallet_identity.types.EnumData(); + Email.Decode(byteArray, ref p); + PgpFingerprint = new Substrate.NetApi.Model.Types.Base.BaseOpt(); + PgpFingerprint.Decode(byteArray, ref p); + Image = new Substrate.Gear.Api.Generated.Model.pallet_identity.types.EnumData(); + Image.Decode(byteArray, ref p); + Twitter = new Substrate.Gear.Api.Generated.Model.pallet_identity.types.EnumData(); + Twitter.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_identity/pallet/EnumCall.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_identity/pallet/EnumCall.cs new file mode 100644 index 00000000..6cec2f53 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_identity/pallet/EnumCall.cs @@ -0,0 +1,145 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_identity.pallet +{ + + + /// + /// >> Call + /// Identity pallet declaration. + /// + public enum Call + { + + /// + /// >> add_registrar + /// See [`Pallet::add_registrar`]. + /// + add_registrar = 0, + + /// + /// >> set_identity + /// See [`Pallet::set_identity`]. + /// + set_identity = 1, + + /// + /// >> set_subs + /// See [`Pallet::set_subs`]. + /// + set_subs = 2, + + /// + /// >> clear_identity + /// See [`Pallet::clear_identity`]. + /// + clear_identity = 3, + + /// + /// >> request_judgement + /// See [`Pallet::request_judgement`]. + /// + request_judgement = 4, + + /// + /// >> cancel_request + /// See [`Pallet::cancel_request`]. + /// + cancel_request = 5, + + /// + /// >> set_fee + /// See [`Pallet::set_fee`]. + /// + set_fee = 6, + + /// + /// >> set_account_id + /// See [`Pallet::set_account_id`]. + /// + set_account_id = 7, + + /// + /// >> set_fields + /// See [`Pallet::set_fields`]. + /// + set_fields = 8, + + /// + /// >> provide_judgement + /// See [`Pallet::provide_judgement`]. + /// + provide_judgement = 9, + + /// + /// >> kill_identity + /// See [`Pallet::kill_identity`]. + /// + kill_identity = 10, + + /// + /// >> add_sub + /// See [`Pallet::add_sub`]. + /// + add_sub = 11, + + /// + /// >> rename_sub + /// See [`Pallet::rename_sub`]. + /// + rename_sub = 12, + + /// + /// >> remove_sub + /// See [`Pallet::remove_sub`]. + /// + remove_sub = 13, + + /// + /// >> quit_sub + /// See [`Pallet::quit_sub`]. + /// + quit_sub = 14, + } + + /// + /// >> 140 - Variant[pallet_identity.pallet.Call] + /// Identity pallet declaration. + /// + public sealed class EnumCall : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumCall() + { + AddTypeDecoder(Call.add_registrar); + AddTypeDecoder(Call.set_identity); + AddTypeDecoder>>(Call.set_subs); + AddTypeDecoder(Call.clear_identity); + AddTypeDecoder, Substrate.NetApi.Model.Types.Base.BaseCom>>(Call.request_judgement); + AddTypeDecoder(Call.cancel_request); + AddTypeDecoder, Substrate.NetApi.Model.Types.Base.BaseCom>>(Call.set_fee); + AddTypeDecoder, Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress>>(Call.set_account_id); + AddTypeDecoder, Substrate.NetApi.Model.Types.Primitive.U64>>(Call.set_fields); + AddTypeDecoder, Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress, Substrate.Gear.Api.Generated.Model.pallet_identity.types.EnumJudgement, Substrate.Gear.Api.Generated.Model.primitive_types.H256>>(Call.provide_judgement); + AddTypeDecoder(Call.kill_identity); + AddTypeDecoder>(Call.add_sub); + AddTypeDecoder>(Call.rename_sub); + AddTypeDecoder(Call.remove_sub); + AddTypeDecoder(Call.quit_sub); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_identity/pallet/EnumError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_identity/pallet/EnumError.cs new file mode 100644 index 00000000..3e72a784 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_identity/pallet/EnumError.cs @@ -0,0 +1,135 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_identity.pallet +{ + + + /// + /// >> Error + /// The `Error` enum of this pallet. + /// + public enum Error + { + + /// + /// >> TooManySubAccounts + /// Too many subs-accounts. + /// + TooManySubAccounts = 0, + + /// + /// >> NotFound + /// Account isn't found. + /// + NotFound = 1, + + /// + /// >> NotNamed + /// Account isn't named. + /// + NotNamed = 2, + + /// + /// >> EmptyIndex + /// Empty index. + /// + EmptyIndex = 3, + + /// + /// >> FeeChanged + /// Fee is changed. + /// + FeeChanged = 4, + + /// + /// >> NoIdentity + /// No identity found. + /// + NoIdentity = 5, + + /// + /// >> StickyJudgement + /// Sticky judgement. + /// + StickyJudgement = 6, + + /// + /// >> JudgementGiven + /// Judgement given. + /// + JudgementGiven = 7, + + /// + /// >> InvalidJudgement + /// Invalid judgement. + /// + InvalidJudgement = 8, + + /// + /// >> InvalidIndex + /// The index is invalid. + /// + InvalidIndex = 9, + + /// + /// >> InvalidTarget + /// The target is invalid. + /// + InvalidTarget = 10, + + /// + /// >> TooManyRegistrars + /// Maximum amount of registrars reached. Cannot add any more. + /// + TooManyRegistrars = 11, + + /// + /// >> AlreadyClaimed + /// Account ID is already named. + /// + AlreadyClaimed = 12, + + /// + /// >> NotSub + /// Sender is not a sub-account. + /// + NotSub = 13, + + /// + /// >> NotOwned + /// Sub-account isn't owned by sender. + /// + NotOwned = 14, + + /// + /// >> JudgementForDifferentIdentity + /// The provided judgement was for a different identity. + /// + JudgementForDifferentIdentity = 15, + + /// + /// >> JudgementPaymentFailed + /// Error that occurs when there is an issue paying for judgement. + /// + JudgementPaymentFailed = 16, + } + + /// + /// >> 506 - Variant[pallet_identity.pallet.Error] + /// The `Error` enum of this pallet. + /// + public sealed class EnumError : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_identity/pallet/EnumEvent.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_identity/pallet/EnumEvent.cs new file mode 100644 index 00000000..0e71fc44 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_identity/pallet/EnumEvent.cs @@ -0,0 +1,111 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_identity.pallet +{ + + + /// + /// >> Event + /// The `Event` enum of this pallet + /// + public enum Event + { + + /// + /// >> IdentitySet + /// A name was set or reset (which will remove all judgements). + /// + IdentitySet = 0, + + /// + /// >> IdentityCleared + /// A name was cleared, and the given balance returned. + /// + IdentityCleared = 1, + + /// + /// >> IdentityKilled + /// A name was removed and the given balance slashed. + /// + IdentityKilled = 2, + + /// + /// >> JudgementRequested + /// A judgement was asked from a registrar. + /// + JudgementRequested = 3, + + /// + /// >> JudgementUnrequested + /// A judgement request was retracted. + /// + JudgementUnrequested = 4, + + /// + /// >> JudgementGiven + /// A judgement was given by a registrar. + /// + JudgementGiven = 5, + + /// + /// >> RegistrarAdded + /// A registrar was added. + /// + RegistrarAdded = 6, + + /// + /// >> SubIdentityAdded + /// A sub-identity was added to an identity and the deposit paid. + /// + SubIdentityAdded = 7, + + /// + /// >> SubIdentityRemoved + /// A sub-identity was removed from an identity and the deposit freed. + /// + SubIdentityRemoved = 8, + + /// + /// >> SubIdentityRevoked + /// A sub-identity was cleared, and the given deposit repatriated from the + /// main identity account to the sub-identity account. + /// + SubIdentityRevoked = 9, + } + + /// + /// >> 292 - Variant[pallet_identity.pallet.Event] + /// The `Event` enum of this pallet + /// + public sealed class EnumEvent : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumEvent() + { + AddTypeDecoder(Event.IdentitySet); + AddTypeDecoder>(Event.IdentityCleared); + AddTypeDecoder>(Event.IdentityKilled); + AddTypeDecoder>(Event.JudgementRequested); + AddTypeDecoder>(Event.JudgementUnrequested); + AddTypeDecoder>(Event.JudgementGiven); + AddTypeDecoder(Event.RegistrarAdded); + AddTypeDecoder>(Event.SubIdentityAdded); + AddTypeDecoder>(Event.SubIdentityRemoved); + AddTypeDecoder>(Event.SubIdentityRevoked); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_identity/types/EnumData.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_identity/types/EnumData.cs new file mode 100644 index 00000000..bc177325 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_identity/types/EnumData.cs @@ -0,0 +1,266 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_identity.types +{ + + + /// + /// >> Data + /// + public enum Data + { + + /// + /// >> None + /// + None = 0, + + /// + /// >> Raw0 + /// + Raw0 = 1, + + /// + /// >> Raw1 + /// + Raw1 = 2, + + /// + /// >> Raw2 + /// + Raw2 = 3, + + /// + /// >> Raw3 + /// + Raw3 = 4, + + /// + /// >> Raw4 + /// + Raw4 = 5, + + /// + /// >> Raw5 + /// + Raw5 = 6, + + /// + /// >> Raw6 + /// + Raw6 = 7, + + /// + /// >> Raw7 + /// + Raw7 = 8, + + /// + /// >> Raw8 + /// + Raw8 = 9, + + /// + /// >> Raw9 + /// + Raw9 = 10, + + /// + /// >> Raw10 + /// + Raw10 = 11, + + /// + /// >> Raw11 + /// + Raw11 = 12, + + /// + /// >> Raw12 + /// + Raw12 = 13, + + /// + /// >> Raw13 + /// + Raw13 = 14, + + /// + /// >> Raw14 + /// + Raw14 = 15, + + /// + /// >> Raw15 + /// + Raw15 = 16, + + /// + /// >> Raw16 + /// + Raw16 = 17, + + /// + /// >> Raw17 + /// + Raw17 = 18, + + /// + /// >> Raw18 + /// + Raw18 = 19, + + /// + /// >> Raw19 + /// + Raw19 = 20, + + /// + /// >> Raw20 + /// + Raw20 = 21, + + /// + /// >> Raw21 + /// + Raw21 = 22, + + /// + /// >> Raw22 + /// + Raw22 = 23, + + /// + /// >> Raw23 + /// + Raw23 = 24, + + /// + /// >> Raw24 + /// + Raw24 = 25, + + /// + /// >> Raw25 + /// + Raw25 = 26, + + /// + /// >> Raw26 + /// + Raw26 = 27, + + /// + /// >> Raw27 + /// + Raw27 = 28, + + /// + /// >> Raw28 + /// + Raw28 = 29, + + /// + /// >> Raw29 + /// + Raw29 = 30, + + /// + /// >> Raw30 + /// + Raw30 = 31, + + /// + /// >> Raw31 + /// + Raw31 = 32, + + /// + /// >> Raw32 + /// + Raw32 = 33, + + /// + /// >> BlakeTwo256 + /// + BlakeTwo256 = 34, + + /// + /// >> Sha256 + /// + Sha256 = 35, + + /// + /// >> Keccak256 + /// + Keccak256 = 36, + + /// + /// >> ShaThree256 + /// + ShaThree256 = 37, + } + + /// + /// >> 144 - Variant[pallet_identity.types.Data] + /// + public sealed class EnumData : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumData() + { + AddTypeDecoder(Data.None); + AddTypeDecoder(Data.Raw0); + AddTypeDecoder(Data.Raw1); + AddTypeDecoder(Data.Raw2); + AddTypeDecoder(Data.Raw3); + AddTypeDecoder(Data.Raw4); + AddTypeDecoder(Data.Raw5); + AddTypeDecoder(Data.Raw6); + AddTypeDecoder(Data.Raw7); + AddTypeDecoder(Data.Raw8); + AddTypeDecoder(Data.Raw9); + AddTypeDecoder(Data.Raw10); + AddTypeDecoder(Data.Raw11); + AddTypeDecoder(Data.Raw12); + AddTypeDecoder(Data.Raw13); + AddTypeDecoder(Data.Raw14); + AddTypeDecoder(Data.Raw15); + AddTypeDecoder(Data.Raw16); + AddTypeDecoder(Data.Raw17); + AddTypeDecoder(Data.Raw18); + AddTypeDecoder(Data.Raw19); + AddTypeDecoder(Data.Raw20); + AddTypeDecoder(Data.Raw21); + AddTypeDecoder(Data.Raw22); + AddTypeDecoder(Data.Raw23); + AddTypeDecoder(Data.Raw24); + AddTypeDecoder(Data.Raw25); + AddTypeDecoder(Data.Raw26); + AddTypeDecoder(Data.Raw27); + AddTypeDecoder(Data.Raw28); + AddTypeDecoder(Data.Raw29); + AddTypeDecoder(Data.Raw30); + AddTypeDecoder(Data.Raw31); + AddTypeDecoder(Data.Raw32); + AddTypeDecoder(Data.BlakeTwo256); + AddTypeDecoder(Data.Sha256); + AddTypeDecoder(Data.Keccak256); + AddTypeDecoder(Data.ShaThree256); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_identity/types/EnumJudgement.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_identity/types/EnumJudgement.cs new file mode 100644 index 00000000..796b213b --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_identity/types/EnumJudgement.cs @@ -0,0 +1,80 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_identity.types +{ + + + /// + /// >> Judgement + /// + public enum Judgement + { + + /// + /// >> Unknown + /// + Unknown = 0, + + /// + /// >> FeePaid + /// + FeePaid = 1, + + /// + /// >> Reasonable + /// + Reasonable = 2, + + /// + /// >> KnownGood + /// + KnownGood = 3, + + /// + /// >> OutOfDate + /// + OutOfDate = 4, + + /// + /// >> LowQuality + /// + LowQuality = 5, + + /// + /// >> Erroneous + /// + Erroneous = 6, + } + + /// + /// >> 179 - Variant[pallet_identity.types.Judgement] + /// + public sealed class EnumJudgement : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumJudgement() + { + AddTypeDecoder(Judgement.Unknown); + AddTypeDecoder(Judgement.FeePaid); + AddTypeDecoder(Judgement.Reasonable); + AddTypeDecoder(Judgement.KnownGood); + AddTypeDecoder(Judgement.OutOfDate); + AddTypeDecoder(Judgement.LowQuality); + AddTypeDecoder(Judgement.Erroneous); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_identity/types/RegistrarInfo.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_identity/types/RegistrarInfo.cs new file mode 100644 index 00000000..7a73a02d --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_identity/types/RegistrarInfo.cs @@ -0,0 +1,72 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_identity.types +{ + + + /// + /// >> 504 - Composite[pallet_identity.types.RegistrarInfo] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class RegistrarInfo : BaseType + { + + /// + /// >> account + /// + public Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 Account { get; set; } + /// + /// >> fee + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Fee { get; set; } + /// + /// >> fields + /// + public Substrate.NetApi.Model.Types.Primitive.U64 Fields { get; set; } + + /// + public override string TypeName() + { + return "RegistrarInfo"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Account.Encode()); + result.AddRange(Fee.Encode()); + result.AddRange(Fields.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Account = new Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32(); + Account.Decode(byteArray, ref p); + Fee = new Substrate.NetApi.Model.Types.Primitive.U128(); + Fee.Decode(byteArray, ref p); + Fields = new Substrate.NetApi.Model.Types.Primitive.U64(); + Fields.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_identity/types/Registration.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_identity/types/Registration.cs new file mode 100644 index 00000000..4f78f652 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_identity/types/Registration.cs @@ -0,0 +1,72 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_identity.types +{ + + + /// + /// >> 496 - Composite[pallet_identity.types.Registration] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Registration : BaseType + { + + /// + /// >> judgements + /// + public Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec.BoundedVecT20 Judgements { get; set; } + /// + /// >> deposit + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Deposit { get; set; } + /// + /// >> info + /// + public Substrate.Gear.Api.Generated.Model.pallet_identity.legacy.IdentityInfo Info { get; set; } + + /// + public override string TypeName() + { + return "Registration"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Judgements.Encode()); + result.AddRange(Deposit.Encode()); + result.AddRange(Info.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Judgements = new Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec.BoundedVecT20(); + Judgements.Decode(byteArray, ref p); + Deposit = new Substrate.NetApi.Model.Types.Primitive.U128(); + Deposit.Decode(byteArray, ref p); + Info = new Substrate.Gear.Api.Generated.Model.pallet_identity.legacy.IdentityInfo(); + Info.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_im_online/Heartbeat.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_im_online/Heartbeat.cs new file mode 100644 index 00000000..84b5bee7 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_im_online/Heartbeat.cs @@ -0,0 +1,79 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_im_online +{ + + + /// + /// >> 102 - Composite[pallet_im_online.Heartbeat] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Heartbeat : BaseType + { + + /// + /// >> block_number + /// + public Substrate.NetApi.Model.Types.Primitive.U32 BlockNumber { get; set; } + /// + /// >> session_index + /// + public Substrate.NetApi.Model.Types.Primitive.U32 SessionIndex { get; set; } + /// + /// >> authority_index + /// + public Substrate.NetApi.Model.Types.Primitive.U32 AuthorityIndex { get; set; } + /// + /// >> validators_len + /// + public Substrate.NetApi.Model.Types.Primitive.U32 ValidatorsLen { get; set; } + + /// + public override string TypeName() + { + return "Heartbeat"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(BlockNumber.Encode()); + result.AddRange(SessionIndex.Encode()); + result.AddRange(AuthorityIndex.Encode()); + result.AddRange(ValidatorsLen.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + BlockNumber = new Substrate.NetApi.Model.Types.Primitive.U32(); + BlockNumber.Decode(byteArray, ref p); + SessionIndex = new Substrate.NetApi.Model.Types.Primitive.U32(); + SessionIndex.Decode(byteArray, ref p); + AuthorityIndex = new Substrate.NetApi.Model.Types.Primitive.U32(); + AuthorityIndex.Decode(byteArray, ref p); + ValidatorsLen = new Substrate.NetApi.Model.Types.Primitive.U32(); + ValidatorsLen.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_im_online/pallet/EnumCall.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_im_online/pallet/EnumCall.cs new file mode 100644 index 00000000..79ea3503 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_im_online/pallet/EnumCall.cs @@ -0,0 +1,47 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_im_online.pallet +{ + + + /// + /// >> Call + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public enum Call + { + + /// + /// >> heartbeat + /// See [`Pallet::heartbeat`]. + /// + heartbeat = 0, + } + + /// + /// >> 101 - Variant[pallet_im_online.pallet.Call] + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public sealed class EnumCall : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumCall() + { + AddTypeDecoder>(Call.heartbeat); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_im_online/pallet/EnumError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_im_online/pallet/EnumError.cs new file mode 100644 index 00000000..f4834c75 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_im_online/pallet/EnumError.cs @@ -0,0 +1,45 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_im_online.pallet +{ + + + /// + /// >> Error + /// The `Error` enum of this pallet. + /// + public enum Error + { + + /// + /// >> InvalidKey + /// Non existent public key. + /// + InvalidKey = 0, + + /// + /// >> DuplicatedHeartbeat + /// Duplicated heartbeat. + /// + DuplicatedHeartbeat = 1, + } + + /// + /// >> 404 - Variant[pallet_im_online.pallet.Error] + /// The `Error` enum of this pallet. + /// + public sealed class EnumError : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_im_online/pallet/EnumEvent.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_im_online/pallet/EnumEvent.cs new file mode 100644 index 00000000..fbce16be --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_im_online/pallet/EnumEvent.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_im_online.pallet +{ + + + /// + /// >> Event + /// The `Event` enum of this pallet + /// + public enum Event + { + + /// + /// >> HeartbeatReceived + /// A new heartbeat was received from `AuthorityId`. + /// + HeartbeatReceived = 0, + + /// + /// >> AllGood + /// At the end of the session, no offence was committed. + /// + AllGood = 1, + + /// + /// >> SomeOffline + /// At the end of the session, at least one validator was found to be offline. + /// + SomeOffline = 2, + } + + /// + /// >> 40 - Variant[pallet_im_online.pallet.Event] + /// The `Event` enum of this pallet + /// + public sealed class EnumEvent : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumEvent() + { + AddTypeDecoder(Event.HeartbeatReceived); + AddTypeDecoder(Event.AllGood); + AddTypeDecoder>>(Event.SomeOffline); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_im_online/sr25519/app_sr25519/Public.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_im_online/sr25519/app_sr25519/Public.cs new file mode 100644 index 00000000..4fcc76c1 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_im_online/sr25519/app_sr25519/Public.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_im_online.sr25519.app_sr25519 +{ + + + /// + /// >> 41 - Composite[pallet_im_online.sr25519.app_sr25519.Public] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Public : BaseType + { + + /// + /// >> value + /// + public Substrate.Gear.Api.Generated.Model.sp_core.sr25519.Public Value { get; set; } + + /// + public override string TypeName() + { + return "Public"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.Gear.Api.Generated.Model.sp_core.sr25519.Public(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_im_online/sr25519/app_sr25519/Signature.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_im_online/sr25519/app_sr25519/Signature.cs new file mode 100644 index 00000000..cadc8561 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_im_online/sr25519/app_sr25519/Signature.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_im_online.sr25519.app_sr25519 +{ + + + /// + /// >> 103 - Composite[pallet_im_online.sr25519.app_sr25519.Signature] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Signature : BaseType + { + + /// + /// >> value + /// + public Substrate.Gear.Api.Generated.Model.sp_core.sr25519.Signature Value { get; set; } + + /// + public override string TypeName() + { + return "Signature"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.Gear.Api.Generated.Model.sp_core.sr25519.Signature(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_multisig/Multisig.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_multisig/Multisig.cs new file mode 100644 index 00000000..4e707daa --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_multisig/Multisig.cs @@ -0,0 +1,79 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_multisig +{ + + + /// + /// >> 517 - Composite[pallet_multisig.Multisig] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Multisig : BaseType + { + + /// + /// >> when + /// + public Substrate.Gear.Api.Generated.Model.pallet_multisig.Timepoint When { get; set; } + /// + /// >> deposit + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Deposit { get; set; } + /// + /// >> depositor + /// + public Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 Depositor { get; set; } + /// + /// >> approvals + /// + public Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec.BoundedVecT25 Approvals { get; set; } + + /// + public override string TypeName() + { + return "Multisig"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(When.Encode()); + result.AddRange(Deposit.Encode()); + result.AddRange(Depositor.Encode()); + result.AddRange(Approvals.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + When = new Substrate.Gear.Api.Generated.Model.pallet_multisig.Timepoint(); + When.Decode(byteArray, ref p); + Deposit = new Substrate.NetApi.Model.Types.Primitive.U128(); + Deposit.Decode(byteArray, ref p); + Depositor = new Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32(); + Depositor.Decode(byteArray, ref p); + Approvals = new Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec.BoundedVecT25(); + Approvals.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_multisig/Timepoint.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_multisig/Timepoint.cs new file mode 100644 index 00000000..c3202e62 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_multisig/Timepoint.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_multisig +{ + + + /// + /// >> 185 - Composite[pallet_multisig.Timepoint] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Timepoint : BaseType + { + + /// + /// >> height + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Height { get; set; } + /// + /// >> index + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Index { get; set; } + + /// + public override string TypeName() + { + return "Timepoint"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Height.Encode()); + result.AddRange(Index.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Height = new Substrate.NetApi.Model.Types.Primitive.U32(); + Height.Decode(byteArray, ref p); + Index = new Substrate.NetApi.Model.Types.Primitive.U32(); + Index.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_multisig/pallet/EnumCall.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_multisig/pallet/EnumCall.cs new file mode 100644 index 00000000..210e02fe --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_multisig/pallet/EnumCall.cs @@ -0,0 +1,68 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_multisig.pallet +{ + + + /// + /// >> Call + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public enum Call + { + + /// + /// >> as_multi_threshold_1 + /// See [`Pallet::as_multi_threshold_1`]. + /// + as_multi_threshold_1 = 0, + + /// + /// >> as_multi + /// See [`Pallet::as_multi`]. + /// + as_multi = 1, + + /// + /// >> approve_as_multi + /// See [`Pallet::approve_as_multi`]. + /// + approve_as_multi = 2, + + /// + /// >> cancel_as_multi + /// See [`Pallet::cancel_as_multi`]. + /// + cancel_as_multi = 3, + } + + /// + /// >> 183 - Variant[pallet_multisig.pallet.Call] + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public sealed class EnumCall : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumCall() + { + AddTypeDecoder, Substrate.Gear.Api.Generated.Model.vara_runtime.EnumRuntimeCall>>(Call.as_multi_threshold_1); + AddTypeDecoder, Substrate.NetApi.Model.Types.Base.BaseOpt, Substrate.Gear.Api.Generated.Model.vara_runtime.EnumRuntimeCall, Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight>>(Call.as_multi); + AddTypeDecoder, Substrate.NetApi.Model.Types.Base.BaseOpt, Substrate.Gear.Api.Generated.Types.Base.Arr32U8, Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight>>(Call.approve_as_multi); + AddTypeDecoder, Substrate.Gear.Api.Generated.Model.pallet_multisig.Timepoint, Substrate.Gear.Api.Generated.Types.Base.Arr32U8>>(Call.cancel_as_multi); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_multisig/pallet/EnumError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_multisig/pallet/EnumError.cs new file mode 100644 index 00000000..60f3f638 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_multisig/pallet/EnumError.cs @@ -0,0 +1,117 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_multisig.pallet +{ + + + /// + /// >> Error + /// The `Error` enum of this pallet. + /// + public enum Error + { + + /// + /// >> MinimumThreshold + /// Threshold must be 2 or greater. + /// + MinimumThreshold = 0, + + /// + /// >> AlreadyApproved + /// Call is already approved by this signatory. + /// + AlreadyApproved = 1, + + /// + /// >> NoApprovalsNeeded + /// Call doesn't need any (more) approvals. + /// + NoApprovalsNeeded = 2, + + /// + /// >> TooFewSignatories + /// There are too few signatories in the list. + /// + TooFewSignatories = 3, + + /// + /// >> TooManySignatories + /// There are too many signatories in the list. + /// + TooManySignatories = 4, + + /// + /// >> SignatoriesOutOfOrder + /// The signatories were provided out of order; they should be ordered. + /// + SignatoriesOutOfOrder = 5, + + /// + /// >> SenderInSignatories + /// The sender was contained in the other signatories; it shouldn't be. + /// + SenderInSignatories = 6, + + /// + /// >> NotFound + /// Multisig operation not found when attempting to cancel. + /// + NotFound = 7, + + /// + /// >> NotOwner + /// Only the account that originally created the multisig is able to cancel it. + /// + NotOwner = 8, + + /// + /// >> NoTimepoint + /// No timepoint was given, yet the multisig operation is already underway. + /// + NoTimepoint = 9, + + /// + /// >> WrongTimepoint + /// A different timepoint was given to the multisig operation that is underway. + /// + WrongTimepoint = 10, + + /// + /// >> UnexpectedTimepoint + /// A timepoint was given, yet no multisig operation is underway. + /// + UnexpectedTimepoint = 11, + + /// + /// >> MaxWeightTooLow + /// The maximum weight information provided was too low. + /// + MaxWeightTooLow = 12, + + /// + /// >> AlreadyStored + /// The data to be stored is already stored. + /// + AlreadyStored = 13, + } + + /// + /// >> 519 - Variant[pallet_multisig.pallet.Error] + /// The `Error` enum of this pallet. + /// + public sealed class EnumError : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_multisig/pallet/EnumEvent.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_multisig/pallet/EnumEvent.cs new file mode 100644 index 00000000..a00ae0ee --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_multisig/pallet/EnumEvent.cs @@ -0,0 +1,68 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_multisig.pallet +{ + + + /// + /// >> Event + /// The `Event` enum of this pallet + /// + public enum Event + { + + /// + /// >> NewMultisig + /// A new multisig operation has begun. + /// + NewMultisig = 0, + + /// + /// >> MultisigApproval + /// A multisig operation has been approved by someone. + /// + MultisigApproval = 1, + + /// + /// >> MultisigExecuted + /// A multisig operation has been executed. + /// + MultisigExecuted = 2, + + /// + /// >> MultisigCancelled + /// A multisig operation has been cancelled. + /// + MultisigCancelled = 3, + } + + /// + /// >> 294 - Variant[pallet_multisig.pallet.Event] + /// The `Event` enum of this pallet + /// + public sealed class EnumEvent : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumEvent() + { + AddTypeDecoder>(Event.NewMultisig); + AddTypeDecoder>(Event.MultisigApproval); + AddTypeDecoder>(Event.MultisigExecuted); + AddTypeDecoder>(Event.MultisigCancelled); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/BondedPoolInner.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/BondedPoolInner.cs new file mode 100644 index 00000000..1dc2f295 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/BondedPoolInner.cs @@ -0,0 +1,86 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_nomination_pools +{ + + + /// + /// >> 542 - Composite[pallet_nomination_pools.BondedPoolInner] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BondedPoolInner : BaseType + { + + /// + /// >> commission + /// + public Substrate.Gear.Api.Generated.Model.pallet_nomination_pools.Commission Commission { get; set; } + /// + /// >> member_counter + /// + public Substrate.NetApi.Model.Types.Primitive.U32 MemberCounter { get; set; } + /// + /// >> points + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Points { get; set; } + /// + /// >> roles + /// + public Substrate.Gear.Api.Generated.Model.pallet_nomination_pools.PoolRoles Roles { get; set; } + /// + /// >> state + /// + public Substrate.Gear.Api.Generated.Model.pallet_nomination_pools.EnumPoolState State { get; set; } + + /// + public override string TypeName() + { + return "BondedPoolInner"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Commission.Encode()); + result.AddRange(MemberCounter.Encode()); + result.AddRange(Points.Encode()); + result.AddRange(Roles.Encode()); + result.AddRange(State.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Commission = new Substrate.Gear.Api.Generated.Model.pallet_nomination_pools.Commission(); + Commission.Decode(byteArray, ref p); + MemberCounter = new Substrate.NetApi.Model.Types.Primitive.U32(); + MemberCounter.Decode(byteArray, ref p); + Points = new Substrate.NetApi.Model.Types.Primitive.U128(); + Points.Decode(byteArray, ref p); + Roles = new Substrate.Gear.Api.Generated.Model.pallet_nomination_pools.PoolRoles(); + Roles.Decode(byteArray, ref p); + State = new Substrate.Gear.Api.Generated.Model.pallet_nomination_pools.EnumPoolState(); + State.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/Commission.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/Commission.cs new file mode 100644 index 00000000..c632488f --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/Commission.cs @@ -0,0 +1,79 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_nomination_pools +{ + + + /// + /// >> 543 - Composite[pallet_nomination_pools.Commission] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Commission : BaseType + { + + /// + /// >> current + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt> Current { get; set; } + /// + /// >> max + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt Max { get; set; } + /// + /// >> change_rate + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt ChangeRate { get; set; } + /// + /// >> throttle_from + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt ThrottleFrom { get; set; } + + /// + public override string TypeName() + { + return "Commission"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Current.Encode()); + result.AddRange(Max.Encode()); + result.AddRange(ChangeRate.Encode()); + result.AddRange(ThrottleFrom.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Current = new Substrate.NetApi.Model.Types.Base.BaseOpt>(); + Current.Decode(byteArray, ref p); + Max = new Substrate.NetApi.Model.Types.Base.BaseOpt(); + Max.Decode(byteArray, ref p); + ChangeRate = new Substrate.NetApi.Model.Types.Base.BaseOpt(); + ChangeRate.Decode(byteArray, ref p); + ThrottleFrom = new Substrate.NetApi.Model.Types.Base.BaseOpt(); + ThrottleFrom.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/CommissionChangeRate.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/CommissionChangeRate.cs new file mode 100644 index 00000000..da937e74 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/CommissionChangeRate.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_nomination_pools +{ + + + /// + /// >> 259 - Composite[pallet_nomination_pools.CommissionChangeRate] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class CommissionChangeRate : BaseType + { + + /// + /// >> max_increase + /// + public Substrate.Gear.Api.Generated.Model.sp_arithmetic.per_things.Perbill MaxIncrease { get; set; } + /// + /// >> min_delay + /// + public Substrate.NetApi.Model.Types.Primitive.U32 MinDelay { get; set; } + + /// + public override string TypeName() + { + return "CommissionChangeRate"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(MaxIncrease.Encode()); + result.AddRange(MinDelay.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + MaxIncrease = new Substrate.Gear.Api.Generated.Model.sp_arithmetic.per_things.Perbill(); + MaxIncrease.Decode(byteArray, ref p); + MinDelay = new Substrate.NetApi.Model.Types.Primitive.U32(); + MinDelay.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/EnumBondExtra.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/EnumBondExtra.cs new file mode 100644 index 00000000..cd88a634 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/EnumBondExtra.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_nomination_pools +{ + + + /// + /// >> BondExtra + /// + public enum BondExtra + { + + /// + /// >> FreeBalance + /// + FreeBalance = 0, + + /// + /// >> Rewards + /// + Rewards = 1, + } + + /// + /// >> 250 - Variant[pallet_nomination_pools.BondExtra] + /// + public sealed class EnumBondExtra : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumBondExtra() + { + AddTypeDecoder(BondExtra.FreeBalance); + AddTypeDecoder(BondExtra.Rewards); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/EnumClaimPermission.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/EnumClaimPermission.cs new file mode 100644 index 00000000..ac009e92 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/EnumClaimPermission.cs @@ -0,0 +1,51 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_nomination_pools +{ + + + /// + /// >> ClaimPermission + /// + public enum ClaimPermission + { + + /// + /// >> Permissioned + /// + Permissioned = 0, + + /// + /// >> PermissionlessCompound + /// + PermissionlessCompound = 1, + + /// + /// >> PermissionlessWithdraw + /// + PermissionlessWithdraw = 2, + + /// + /// >> PermissionlessAll + /// + PermissionlessAll = 3, + } + + /// + /// >> 256 - Variant[pallet_nomination_pools.ClaimPermission] + /// + public sealed class EnumClaimPermission : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/EnumConfigOp.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/EnumConfigOp.cs new file mode 100644 index 00000000..1a67122d --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/EnumConfigOp.cs @@ -0,0 +1,56 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_nomination_pools +{ + + + /// + /// >> ConfigOp + /// + public enum ConfigOp + { + + /// + /// >> Noop + /// + Noop = 0, + + /// + /// >> Set + /// + Set = 1, + + /// + /// >> Remove + /// + Remove = 2, + } + + /// + /// >> 255 - Variant[pallet_nomination_pools.ConfigOp] + /// + public sealed class EnumConfigOp : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumConfigOp() + { + AddTypeDecoder(ConfigOp.Noop); + AddTypeDecoder(ConfigOp.Set); + AddTypeDecoder(ConfigOp.Remove); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/EnumPoolState.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/EnumPoolState.cs new file mode 100644 index 00000000..39224b08 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/EnumPoolState.cs @@ -0,0 +1,46 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_nomination_pools +{ + + + /// + /// >> PoolState + /// + public enum PoolState + { + + /// + /// >> Open + /// + Open = 0, + + /// + /// >> Blocked + /// + Blocked = 1, + + /// + /// >> Destroying + /// + Destroying = 2, + } + + /// + /// >> 251 - Variant[pallet_nomination_pools.PoolState] + /// + public sealed class EnumPoolState : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/PoolMember.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/PoolMember.cs new file mode 100644 index 00000000..858b121c --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/PoolMember.cs @@ -0,0 +1,79 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_nomination_pools +{ + + + /// + /// >> 539 - Composite[pallet_nomination_pools.PoolMember] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class PoolMember : BaseType + { + + /// + /// >> pool_id + /// + public Substrate.NetApi.Model.Types.Primitive.U32 PoolId { get; set; } + /// + /// >> points + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Points { get; set; } + /// + /// >> last_recorded_reward_counter + /// + public Substrate.Gear.Api.Generated.Model.sp_arithmetic.fixed_point.FixedU128 LastRecordedRewardCounter { get; set; } + /// + /// >> unbonding_eras + /// + public Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_btree_map.BoundedBTreeMapT1 UnbondingEras { get; set; } + + /// + public override string TypeName() + { + return "PoolMember"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(PoolId.Encode()); + result.AddRange(Points.Encode()); + result.AddRange(LastRecordedRewardCounter.Encode()); + result.AddRange(UnbondingEras.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + PoolId = new Substrate.NetApi.Model.Types.Primitive.U32(); + PoolId.Decode(byteArray, ref p); + Points = new Substrate.NetApi.Model.Types.Primitive.U128(); + Points.Decode(byteArray, ref p); + LastRecordedRewardCounter = new Substrate.Gear.Api.Generated.Model.sp_arithmetic.fixed_point.FixedU128(); + LastRecordedRewardCounter.Decode(byteArray, ref p); + UnbondingEras = new Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_btree_map.BoundedBTreeMapT1(); + UnbondingEras.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/PoolRoles.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/PoolRoles.cs new file mode 100644 index 00000000..81842b4b --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/PoolRoles.cs @@ -0,0 +1,79 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_nomination_pools +{ + + + /// + /// >> 546 - Composite[pallet_nomination_pools.PoolRoles] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class PoolRoles : BaseType + { + + /// + /// >> depositor + /// + public Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 Depositor { get; set; } + /// + /// >> root + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt Root { get; set; } + /// + /// >> nominator + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt Nominator { get; set; } + /// + /// >> bouncer + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt Bouncer { get; set; } + + /// + public override string TypeName() + { + return "PoolRoles"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Depositor.Encode()); + result.AddRange(Root.Encode()); + result.AddRange(Nominator.Encode()); + result.AddRange(Bouncer.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Depositor = new Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32(); + Depositor.Decode(byteArray, ref p); + Root = new Substrate.NetApi.Model.Types.Base.BaseOpt(); + Root.Decode(byteArray, ref p); + Nominator = new Substrate.NetApi.Model.Types.Base.BaseOpt(); + Nominator.Decode(byteArray, ref p); + Bouncer = new Substrate.NetApi.Model.Types.Base.BaseOpt(); + Bouncer.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/RewardPool.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/RewardPool.cs new file mode 100644 index 00000000..a70e1cbb --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/RewardPool.cs @@ -0,0 +1,86 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_nomination_pools +{ + + + /// + /// >> 547 - Composite[pallet_nomination_pools.RewardPool] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class RewardPool : BaseType + { + + /// + /// >> last_recorded_reward_counter + /// + public Substrate.Gear.Api.Generated.Model.sp_arithmetic.fixed_point.FixedU128 LastRecordedRewardCounter { get; set; } + /// + /// >> last_recorded_total_payouts + /// + public Substrate.NetApi.Model.Types.Primitive.U128 LastRecordedTotalPayouts { get; set; } + /// + /// >> total_rewards_claimed + /// + public Substrate.NetApi.Model.Types.Primitive.U128 TotalRewardsClaimed { get; set; } + /// + /// >> total_commission_pending + /// + public Substrate.NetApi.Model.Types.Primitive.U128 TotalCommissionPending { get; set; } + /// + /// >> total_commission_claimed + /// + public Substrate.NetApi.Model.Types.Primitive.U128 TotalCommissionClaimed { get; set; } + + /// + public override string TypeName() + { + return "RewardPool"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(LastRecordedRewardCounter.Encode()); + result.AddRange(LastRecordedTotalPayouts.Encode()); + result.AddRange(TotalRewardsClaimed.Encode()); + result.AddRange(TotalCommissionPending.Encode()); + result.AddRange(TotalCommissionClaimed.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + LastRecordedRewardCounter = new Substrate.Gear.Api.Generated.Model.sp_arithmetic.fixed_point.FixedU128(); + LastRecordedRewardCounter.Decode(byteArray, ref p); + LastRecordedTotalPayouts = new Substrate.NetApi.Model.Types.Primitive.U128(); + LastRecordedTotalPayouts.Decode(byteArray, ref p); + TotalRewardsClaimed = new Substrate.NetApi.Model.Types.Primitive.U128(); + TotalRewardsClaimed.Decode(byteArray, ref p); + TotalCommissionPending = new Substrate.NetApi.Model.Types.Primitive.U128(); + TotalCommissionPending.Decode(byteArray, ref p); + TotalCommissionClaimed = new Substrate.NetApi.Model.Types.Primitive.U128(); + TotalCommissionClaimed.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/SubPools.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/SubPools.cs new file mode 100644 index 00000000..f3fa8bf4 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/SubPools.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_nomination_pools +{ + + + /// + /// >> 548 - Composite[pallet_nomination_pools.SubPools] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class SubPools : BaseType + { + + /// + /// >> no_era + /// + public Substrate.Gear.Api.Generated.Model.pallet_nomination_pools.UnbondPool NoEra { get; set; } + /// + /// >> with_era + /// + public Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_btree_map.BoundedBTreeMapT2 WithEra { get; set; } + + /// + public override string TypeName() + { + return "SubPools"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(NoEra.Encode()); + result.AddRange(WithEra.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + NoEra = new Substrate.Gear.Api.Generated.Model.pallet_nomination_pools.UnbondPool(); + NoEra.Decode(byteArray, ref p); + WithEra = new Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_btree_map.BoundedBTreeMapT2(); + WithEra.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/UnbondPool.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/UnbondPool.cs new file mode 100644 index 00000000..0a9dc00e --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/UnbondPool.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_nomination_pools +{ + + + /// + /// >> 549 - Composite[pallet_nomination_pools.UnbondPool] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class UnbondPool : BaseType + { + + /// + /// >> points + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Points { get; set; } + /// + /// >> balance + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Balance { get; set; } + + /// + public override string TypeName() + { + return "UnbondPool"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Points.Encode()); + result.AddRange(Balance.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Points = new Substrate.NetApi.Model.Types.Primitive.U128(); + Points.Decode(byteArray, ref p); + Balance = new Substrate.NetApi.Model.Types.Primitive.U128(); + Balance.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/pallet/EnumCall.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/pallet/EnumCall.cs new file mode 100644 index 00000000..35d5d9ff --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/pallet/EnumCall.cs @@ -0,0 +1,194 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_nomination_pools.pallet +{ + + + /// + /// >> Call + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public enum Call + { + + /// + /// >> join + /// See [`Pallet::join`]. + /// + join = 0, + + /// + /// >> bond_extra + /// See [`Pallet::bond_extra`]. + /// + bond_extra = 1, + + /// + /// >> claim_payout + /// See [`Pallet::claim_payout`]. + /// + claim_payout = 2, + + /// + /// >> unbond + /// See [`Pallet::unbond`]. + /// + unbond = 3, + + /// + /// >> pool_withdraw_unbonded + /// See [`Pallet::pool_withdraw_unbonded`]. + /// + pool_withdraw_unbonded = 4, + + /// + /// >> withdraw_unbonded + /// See [`Pallet::withdraw_unbonded`]. + /// + withdraw_unbonded = 5, + + /// + /// >> create + /// See [`Pallet::create`]. + /// + create = 6, + + /// + /// >> create_with_pool_id + /// See [`Pallet::create_with_pool_id`]. + /// + create_with_pool_id = 7, + + /// + /// >> nominate + /// See [`Pallet::nominate`]. + /// + nominate = 8, + + /// + /// >> set_state + /// See [`Pallet::set_state`]. + /// + set_state = 9, + + /// + /// >> set_metadata + /// See [`Pallet::set_metadata`]. + /// + set_metadata = 10, + + /// + /// >> set_configs + /// See [`Pallet::set_configs`]. + /// + set_configs = 11, + + /// + /// >> update_roles + /// See [`Pallet::update_roles`]. + /// + update_roles = 12, + + /// + /// >> chill + /// See [`Pallet::chill`]. + /// + chill = 13, + + /// + /// >> bond_extra_other + /// See [`Pallet::bond_extra_other`]. + /// + bond_extra_other = 14, + + /// + /// >> set_claim_permission + /// See [`Pallet::set_claim_permission`]. + /// + set_claim_permission = 15, + + /// + /// >> claim_payout_other + /// See [`Pallet::claim_payout_other`]. + /// + claim_payout_other = 16, + + /// + /// >> set_commission + /// See [`Pallet::set_commission`]. + /// + set_commission = 17, + + /// + /// >> set_commission_max + /// See [`Pallet::set_commission_max`]. + /// + set_commission_max = 18, + + /// + /// >> set_commission_change_rate + /// See [`Pallet::set_commission_change_rate`]. + /// + set_commission_change_rate = 19, + + /// + /// >> claim_commission + /// See [`Pallet::claim_commission`]. + /// + claim_commission = 20, + + /// + /// >> adjust_pool_deposit + /// See [`Pallet::adjust_pool_deposit`]. + /// + adjust_pool_deposit = 21, + } + + /// + /// >> 249 - Variant[pallet_nomination_pools.pallet.Call] + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public sealed class EnumCall : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumCall() + { + AddTypeDecoder, Substrate.NetApi.Model.Types.Primitive.U32>>(Call.join); + AddTypeDecoder(Call.bond_extra); + AddTypeDecoder(Call.claim_payout); + AddTypeDecoder>>(Call.unbond); + AddTypeDecoder>(Call.pool_withdraw_unbonded); + AddTypeDecoder>(Call.withdraw_unbonded); + AddTypeDecoder, Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress, Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress, Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress>>(Call.create); + AddTypeDecoder, Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress, Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress, Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress, Substrate.NetApi.Model.Types.Primitive.U32>>(Call.create_with_pool_id); + AddTypeDecoder>>(Call.nominate); + AddTypeDecoder>(Call.set_state); + AddTypeDecoder>>(Call.set_metadata); + AddTypeDecoder>(Call.set_configs); + AddTypeDecoder>(Call.update_roles); + AddTypeDecoder(Call.chill); + AddTypeDecoder>(Call.bond_extra_other); + AddTypeDecoder(Call.set_claim_permission); + AddTypeDecoder(Call.claim_payout_other); + AddTypeDecoder>>>(Call.set_commission); + AddTypeDecoder>(Call.set_commission_max); + AddTypeDecoder>(Call.set_commission_change_rate); + AddTypeDecoder(Call.claim_commission); + AddTypeDecoder(Call.adjust_pool_deposit); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/pallet/EnumDefensiveError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/pallet/EnumDefensiveError.cs new file mode 100644 index 00000000..3aacfb9b --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/pallet/EnumDefensiveError.cs @@ -0,0 +1,56 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_nomination_pools.pallet +{ + + + /// + /// >> DefensiveError + /// + public enum DefensiveError + { + + /// + /// >> NotEnoughSpaceInUnbondPool + /// + NotEnoughSpaceInUnbondPool = 0, + + /// + /// >> PoolNotFound + /// + PoolNotFound = 1, + + /// + /// >> RewardPoolNotFound + /// + RewardPoolNotFound = 2, + + /// + /// >> SubPoolsNotFound + /// + SubPoolsNotFound = 3, + + /// + /// >> BondedStashKilledPrematurely + /// + BondedStashKilledPrematurely = 4, + } + + /// + /// >> 556 - Variant[pallet_nomination_pools.pallet.DefensiveError] + /// + public sealed class EnumDefensiveError : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/pallet/EnumError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/pallet/EnumError.cs new file mode 100644 index 00000000..44cc52e9 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/pallet/EnumError.cs @@ -0,0 +1,272 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_nomination_pools.pallet +{ + + + /// + /// >> Error + /// The `Error` enum of this pallet. + /// + public enum Error + { + + /// + /// >> PoolNotFound + /// A (bonded) pool id does not exist. + /// + PoolNotFound = 0, + + /// + /// >> PoolMemberNotFound + /// An account is not a member. + /// + PoolMemberNotFound = 1, + + /// + /// >> RewardPoolNotFound + /// A reward pool does not exist. In all cases this is a system logic error. + /// + RewardPoolNotFound = 2, + + /// + /// >> SubPoolsNotFound + /// A sub pool does not exist. + /// + SubPoolsNotFound = 3, + + /// + /// >> AccountBelongsToOtherPool + /// An account is already delegating in another pool. An account may only belong to one + /// pool at a time. + /// + AccountBelongsToOtherPool = 4, + + /// + /// >> FullyUnbonding + /// The member is fully unbonded (and thus cannot access the bonded and reward pool + /// anymore to, for example, collect rewards). + /// + FullyUnbonding = 5, + + /// + /// >> MaxUnbondingLimit + /// The member cannot unbond further chunks due to reaching the limit. + /// + MaxUnbondingLimit = 6, + + /// + /// >> CannotWithdrawAny + /// None of the funds can be withdrawn yet because the bonding duration has not passed. + /// + CannotWithdrawAny = 7, + + /// + /// >> MinimumBondNotMet + /// The amount does not meet the minimum bond to either join or create a pool. + /// + /// The depositor can never unbond to a value less than `Pallet::depositor_min_bond`. The + /// caller does not have nominating permissions for the pool. Members can never unbond to a + /// value below `MinJoinBond`. + /// + MinimumBondNotMet = 8, + + /// + /// >> OverflowRisk + /// The transaction could not be executed due to overflow risk for the pool. + /// + OverflowRisk = 9, + + /// + /// >> NotDestroying + /// A pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or for + /// other members to be permissionlessly unbonded. + /// + NotDestroying = 10, + + /// + /// >> NotNominator + /// The caller does not have nominating permissions for the pool. + /// + NotNominator = 11, + + /// + /// >> NotKickerOrDestroying + /// Either a) the caller cannot make a valid kick or b) the pool is not destroying. + /// + NotKickerOrDestroying = 12, + + /// + /// >> NotOpen + /// The pool is not open to join + /// + NotOpen = 13, + + /// + /// >> MaxPools + /// The system is maxed out on pools. + /// + MaxPools = 14, + + /// + /// >> MaxPoolMembers + /// Too many members in the pool or system. + /// + MaxPoolMembers = 15, + + /// + /// >> CanNotChangeState + /// The pools state cannot be changed. + /// + CanNotChangeState = 16, + + /// + /// >> DoesNotHavePermission + /// The caller does not have adequate permissions. + /// + DoesNotHavePermission = 17, + + /// + /// >> MetadataExceedsMaxLen + /// Metadata exceeds [`Config::MaxMetadataLen`] + /// + MetadataExceedsMaxLen = 18, + + /// + /// >> Defensive + /// Some error occurred that should never happen. This should be reported to the + /// maintainers. + /// + Defensive = 19, + + /// + /// >> PartialUnbondNotAllowedPermissionlessly + /// Partial unbonding now allowed permissionlessly. + /// + PartialUnbondNotAllowedPermissionlessly = 20, + + /// + /// >> MaxCommissionRestricted + /// The pool's max commission cannot be set higher than the existing value. + /// + MaxCommissionRestricted = 21, + + /// + /// >> CommissionExceedsMaximum + /// The supplied commission exceeds the max allowed commission. + /// + CommissionExceedsMaximum = 22, + + /// + /// >> CommissionExceedsGlobalMaximum + /// The supplied commission exceeds global maximum commission. + /// + CommissionExceedsGlobalMaximum = 23, + + /// + /// >> CommissionChangeThrottled + /// Not enough blocks have surpassed since the last commission update. + /// + CommissionChangeThrottled = 24, + + /// + /// >> CommissionChangeRateNotAllowed + /// The submitted changes to commission change rate are not allowed. + /// + CommissionChangeRateNotAllowed = 25, + + /// + /// >> NoPendingCommission + /// There is no pending commission to claim. + /// + NoPendingCommission = 26, + + /// + /// >> NoCommissionCurrentSet + /// No commission current has been set. + /// + NoCommissionCurrentSet = 27, + + /// + /// >> PoolIdInUse + /// Pool id currently in use. + /// + PoolIdInUse = 28, + + /// + /// >> InvalidPoolId + /// Pool id provided is not correct/usable. + /// + InvalidPoolId = 29, + + /// + /// >> BondExtraRestricted + /// Bonding extra is restricted to the exact pending reward amount. + /// + BondExtraRestricted = 30, + + /// + /// >> NothingToAdjust + /// No imbalance in the ED deposit for the pool. + /// + NothingToAdjust = 31, + } + + /// + /// >> 555 - Variant[pallet_nomination_pools.pallet.Error] + /// The `Error` enum of this pallet. + /// + public sealed class EnumError : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumError() + { + AddTypeDecoder(Error.PoolNotFound); + AddTypeDecoder(Error.PoolMemberNotFound); + AddTypeDecoder(Error.RewardPoolNotFound); + AddTypeDecoder(Error.SubPoolsNotFound); + AddTypeDecoder(Error.AccountBelongsToOtherPool); + AddTypeDecoder(Error.FullyUnbonding); + AddTypeDecoder(Error.MaxUnbondingLimit); + AddTypeDecoder(Error.CannotWithdrawAny); + AddTypeDecoder(Error.MinimumBondNotMet); + AddTypeDecoder(Error.OverflowRisk); + AddTypeDecoder(Error.NotDestroying); + AddTypeDecoder(Error.NotNominator); + AddTypeDecoder(Error.NotKickerOrDestroying); + AddTypeDecoder(Error.NotOpen); + AddTypeDecoder(Error.MaxPools); + AddTypeDecoder(Error.MaxPoolMembers); + AddTypeDecoder(Error.CanNotChangeState); + AddTypeDecoder(Error.DoesNotHavePermission); + AddTypeDecoder(Error.MetadataExceedsMaxLen); + AddTypeDecoder(Error.Defensive); + AddTypeDecoder(Error.PartialUnbondNotAllowedPermissionlessly); + AddTypeDecoder(Error.MaxCommissionRestricted); + AddTypeDecoder(Error.CommissionExceedsMaximum); + AddTypeDecoder(Error.CommissionExceedsGlobalMaximum); + AddTypeDecoder(Error.CommissionChangeThrottled); + AddTypeDecoder(Error.CommissionChangeRateNotAllowed); + AddTypeDecoder(Error.NoPendingCommission); + AddTypeDecoder(Error.NoCommissionCurrentSet); + AddTypeDecoder(Error.PoolIdInUse); + AddTypeDecoder(Error.InvalidPoolId); + AddTypeDecoder(Error.BondExtraRestricted); + AddTypeDecoder(Error.NothingToAdjust); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/pallet/EnumEvent.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/pallet/EnumEvent.cs new file mode 100644 index 00000000..20c01e69 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/pallet/EnumEvent.cs @@ -0,0 +1,177 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_nomination_pools.pallet +{ + + + /// + /// >> Event + /// Events of this pallet. + /// + public enum Event + { + + /// + /// >> Created + /// A pool has been created. + /// + Created = 0, + + /// + /// >> Bonded + /// A member has became bonded in a pool. + /// + Bonded = 1, + + /// + /// >> PaidOut + /// A payout has been made to a member. + /// + PaidOut = 2, + + /// + /// >> Unbonded + /// A member has unbonded from their pool. + /// + /// - `balance` is the corresponding balance of the number of points that has been + /// requested to be unbonded (the argument of the `unbond` transaction) from the bonded + /// pool. + /// - `points` is the number of points that are issued as a result of `balance` being + /// dissolved into the corresponding unbonding pool. + /// - `era` is the era in which the balance will be unbonded. + /// In the absence of slashing, these values will match. In the presence of slashing, the + /// number of points that are issued in the unbonding pool will be less than the amount + /// requested to be unbonded. + /// + Unbonded = 3, + + /// + /// >> Withdrawn + /// A member has withdrawn from their pool. + /// + /// The given number of `points` have been dissolved in return of `balance`. + /// + /// Similar to `Unbonded` event, in the absence of slashing, the ratio of point to balance + /// will be 1. + /// + Withdrawn = 4, + + /// + /// >> Destroyed + /// A pool has been destroyed. + /// + Destroyed = 5, + + /// + /// >> StateChanged + /// The state of a pool has changed + /// + StateChanged = 6, + + /// + /// >> MemberRemoved + /// A member has been removed from a pool. + /// + /// The removal can be voluntary (withdrawn all unbonded funds) or involuntary (kicked). + /// + MemberRemoved = 7, + + /// + /// >> RolesUpdated + /// The roles of a pool have been updated to the given new roles. Note that the depositor + /// can never change. + /// + RolesUpdated = 8, + + /// + /// >> PoolSlashed + /// The active balance of pool `pool_id` has been slashed to `balance`. + /// + PoolSlashed = 9, + + /// + /// >> UnbondingPoolSlashed + /// The unbond pool at `era` of pool `pool_id` has been slashed to `balance`. + /// + UnbondingPoolSlashed = 10, + + /// + /// >> PoolCommissionUpdated + /// A pool's commission setting has been changed. + /// + PoolCommissionUpdated = 11, + + /// + /// >> PoolMaxCommissionUpdated + /// A pool's maximum commission setting has been changed. + /// + PoolMaxCommissionUpdated = 12, + + /// + /// >> PoolCommissionChangeRateUpdated + /// A pool's commission `change_rate` has been changed. + /// + PoolCommissionChangeRateUpdated = 13, + + /// + /// >> PoolCommissionClaimed + /// Pool commission has been claimed. + /// + PoolCommissionClaimed = 14, + + /// + /// >> MinBalanceDeficitAdjusted + /// Topped up deficit in frozen ED of the reward pool. + /// + MinBalanceDeficitAdjusted = 15, + + /// + /// >> MinBalanceExcessAdjusted + /// Claimed excess frozen ED of af the reward pool. + /// + MinBalanceExcessAdjusted = 16, + } + + /// + /// >> 302 - Variant[pallet_nomination_pools.pallet.Event] + /// Events of this pallet. + /// + public sealed class EnumEvent : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumEvent() + { + AddTypeDecoder>(Event.Created); + AddTypeDecoder>(Event.Bonded); + AddTypeDecoder>(Event.PaidOut); + AddTypeDecoder>(Event.Unbonded); + AddTypeDecoder>(Event.Withdrawn); + AddTypeDecoder(Event.Destroyed); + AddTypeDecoder>(Event.StateChanged); + AddTypeDecoder>(Event.MemberRemoved); + AddTypeDecoder, Substrate.NetApi.Model.Types.Base.BaseOpt, Substrate.NetApi.Model.Types.Base.BaseOpt>>(Event.RolesUpdated); + AddTypeDecoder>(Event.PoolSlashed); + AddTypeDecoder>(Event.UnbondingPoolSlashed); + AddTypeDecoder>>>(Event.PoolCommissionUpdated); + AddTypeDecoder>(Event.PoolMaxCommissionUpdated); + AddTypeDecoder>(Event.PoolCommissionChangeRateUpdated); + AddTypeDecoder>(Event.PoolCommissionClaimed); + AddTypeDecoder>(Event.MinBalanceDeficitAdjusted); + AddTypeDecoder>(Event.MinBalanceExcessAdjusted); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/pallet/EnumFreezeReason.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/pallet/EnumFreezeReason.cs new file mode 100644 index 00000000..356715b2 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_nomination_pools/pallet/EnumFreezeReason.cs @@ -0,0 +1,36 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_nomination_pools.pallet +{ + + + /// + /// >> FreezeReason + /// + public enum FreezeReason + { + + /// + /// >> PoolMinBalance + /// + PoolMinBalance = 0, + } + + /// + /// >> 387 - Variant[pallet_nomination_pools.pallet.FreezeReason] + /// + public sealed class EnumFreezeReason : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_offences/pallet/EnumEvent.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_offences/pallet/EnumEvent.cs new file mode 100644 index 00000000..f42dc34a --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_offences/pallet/EnumEvent.cs @@ -0,0 +1,49 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_offences.pallet +{ + + + /// + /// >> Event + /// Events type. + /// + public enum Event + { + + /// + /// >> Offence + /// There is an offence reported of the given `kind` happened at the `session_index` and + /// (kind-specific) time slot. This event is not deposited for duplicate slashes. + /// \[kind, timeslot\]. + /// + Offence = 0, + } + + /// + /// >> 299 - Variant[pallet_offences.pallet.Event] + /// Events type. + /// + public sealed class EnumEvent : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumEvent() + { + AddTypeDecoder>>(Event.Offence); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_preimage/EnumOldRequestStatus.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_preimage/EnumOldRequestStatus.cs new file mode 100644 index 00000000..a7dbcc92 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_preimage/EnumOldRequestStatus.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_preimage +{ + + + /// + /// >> OldRequestStatus + /// + public enum OldRequestStatus + { + + /// + /// >> Unrequested + /// + Unrequested = 0, + + /// + /// >> Requested + /// + Requested = 1, + } + + /// + /// >> 488 - Variant[pallet_preimage.OldRequestStatus] + /// + public sealed class EnumOldRequestStatus : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumOldRequestStatus() + { + AddTypeDecoder, Substrate.NetApi.Model.Types.Primitive.U32>>(OldRequestStatus.Unrequested); + AddTypeDecoder>, Substrate.NetApi.Model.Types.Primitive.U32, Substrate.NetApi.Model.Types.Base.BaseOpt>>(OldRequestStatus.Requested); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_preimage/EnumRequestStatus.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_preimage/EnumRequestStatus.cs new file mode 100644 index 00000000..9a2dae6f --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_preimage/EnumRequestStatus.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_preimage +{ + + + /// + /// >> RequestStatus + /// + public enum RequestStatus + { + + /// + /// >> Unrequested + /// + Unrequested = 0, + + /// + /// >> Requested + /// + Requested = 1, + } + + /// + /// >> 490 - Variant[pallet_preimage.RequestStatus] + /// + public sealed class EnumRequestStatus : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumRequestStatus() + { + AddTypeDecoder, Substrate.NetApi.Model.Types.Primitive.U32>>(RequestStatus.Unrequested); + AddTypeDecoder>, Substrate.NetApi.Model.Types.Primitive.U32, Substrate.NetApi.Model.Types.Base.BaseOpt>>(RequestStatus.Requested); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_preimage/pallet/EnumCall.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_preimage/pallet/EnumCall.cs new file mode 100644 index 00000000..303e9fe3 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_preimage/pallet/EnumCall.cs @@ -0,0 +1,75 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_preimage.pallet +{ + + + /// + /// >> Call + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public enum Call + { + + /// + /// >> note_preimage + /// See [`Pallet::note_preimage`]. + /// + note_preimage = 0, + + /// + /// >> unnote_preimage + /// See [`Pallet::unnote_preimage`]. + /// + unnote_preimage = 1, + + /// + /// >> request_preimage + /// See [`Pallet::request_preimage`]. + /// + request_preimage = 2, + + /// + /// >> unrequest_preimage + /// See [`Pallet::unrequest_preimage`]. + /// + unrequest_preimage = 3, + + /// + /// >> ensure_updated + /// See [`Pallet::ensure_updated`]. + /// + ensure_updated = 4, + } + + /// + /// >> 138 - Variant[pallet_preimage.pallet.Call] + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public sealed class EnumCall : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumCall() + { + AddTypeDecoder>(Call.note_preimage); + AddTypeDecoder(Call.unnote_preimage); + AddTypeDecoder(Call.request_preimage); + AddTypeDecoder(Call.unrequest_preimage); + AddTypeDecoder>(Call.ensure_updated); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_preimage/pallet/EnumError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_preimage/pallet/EnumError.cs new file mode 100644 index 00000000..dfa58c01 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_preimage/pallet/EnumError.cs @@ -0,0 +1,81 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_preimage.pallet +{ + + + /// + /// >> Error + /// The `Error` enum of this pallet. + /// + public enum Error + { + + /// + /// >> TooBig + /// Preimage is too large to store on-chain. + /// + TooBig = 0, + + /// + /// >> AlreadyNoted + /// Preimage has already been noted on-chain. + /// + AlreadyNoted = 1, + + /// + /// >> NotAuthorized + /// The user is not authorized to perform this action. + /// + NotAuthorized = 2, + + /// + /// >> NotNoted + /// The preimage cannot be removed since it has not yet been noted. + /// + NotNoted = 3, + + /// + /// >> Requested + /// A preimage may not be removed when there are outstanding requests. + /// + Requested = 4, + + /// + /// >> NotRequested + /// The preimage request cannot be removed since no outstanding requests exist. + /// + NotRequested = 5, + + /// + /// >> TooMany + /// More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once. + /// + TooMany = 6, + + /// + /// >> TooFew + /// Too few hashes were requested to be upgraded (i.e. zero). + /// + TooFew = 7, + } + + /// + /// >> 495 - Variant[pallet_preimage.pallet.Error] + /// The `Error` enum of this pallet. + /// + public sealed class EnumError : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_preimage/pallet/EnumEvent.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_preimage/pallet/EnumEvent.cs new file mode 100644 index 00000000..58156d6a --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_preimage/pallet/EnumEvent.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_preimage.pallet +{ + + + /// + /// >> Event + /// The `Event` enum of this pallet + /// + public enum Event + { + + /// + /// >> Noted + /// A preimage has been noted. + /// + Noted = 0, + + /// + /// >> Requested + /// A preimage has been requested. + /// + Requested = 1, + + /// + /// >> Cleared + /// A preimage has ben cleared. + /// + Cleared = 2, + } + + /// + /// >> 291 - Variant[pallet_preimage.pallet.Event] + /// The `Event` enum of this pallet + /// + public sealed class EnumEvent : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumEvent() + { + AddTypeDecoder(Event.Noted); + AddTypeDecoder(Event.Requested); + AddTypeDecoder(Event.Cleared); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_preimage/pallet/EnumHoldReason.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_preimage/pallet/EnumHoldReason.cs new file mode 100644 index 00000000..9b8b4584 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_preimage/pallet/EnumHoldReason.cs @@ -0,0 +1,36 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_preimage.pallet +{ + + + /// + /// >> HoldReason + /// + public enum HoldReason + { + + /// + /// >> Preimage + /// + Preimage = 0, + } + + /// + /// >> 382 - Variant[pallet_preimage.pallet.HoldReason] + /// + public sealed class EnumHoldReason : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_proxy/Announcement.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_proxy/Announcement.cs new file mode 100644 index 00000000..489b21f7 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_proxy/Announcement.cs @@ -0,0 +1,72 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_proxy +{ + + + /// + /// >> 513 - Composite[pallet_proxy.Announcement] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Announcement : BaseType + { + + /// + /// >> real + /// + public Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 Real { get; set; } + /// + /// >> call_hash + /// + public Substrate.Gear.Api.Generated.Model.primitive_types.H256 CallHash { get; set; } + /// + /// >> height + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Height { get; set; } + + /// + public override string TypeName() + { + return "Announcement"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Real.Encode()); + result.AddRange(CallHash.Encode()); + result.AddRange(Height.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Real = new Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32(); + Real.Decode(byteArray, ref p); + CallHash = new Substrate.Gear.Api.Generated.Model.primitive_types.H256(); + CallHash.Decode(byteArray, ref p); + Height = new Substrate.NetApi.Model.Types.Primitive.U32(); + Height.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_proxy/ProxyDefinition.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_proxy/ProxyDefinition.cs new file mode 100644 index 00000000..3adc50e9 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_proxy/ProxyDefinition.cs @@ -0,0 +1,72 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_proxy +{ + + + /// + /// >> 509 - Composite[pallet_proxy.ProxyDefinition] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class ProxyDefinition : BaseType + { + + /// + /// >> delegate + /// + public Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 Delegate { get; set; } + /// + /// >> proxy_type + /// + public Substrate.Gear.Api.Generated.Model.vara_runtime.EnumProxyType ProxyType { get; set; } + /// + /// >> delay + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Delay { get; set; } + + /// + public override string TypeName() + { + return "ProxyDefinition"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Delegate.Encode()); + result.AddRange(ProxyType.Encode()); + result.AddRange(Delay.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Delegate = new Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32(); + Delegate.Decode(byteArray, ref p); + ProxyType = new Substrate.Gear.Api.Generated.Model.vara_runtime.EnumProxyType(); + ProxyType.Decode(byteArray, ref p); + Delay = new Substrate.NetApi.Model.Types.Primitive.U32(); + Delay.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_proxy/pallet/EnumCall.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_proxy/pallet/EnumCall.cs new file mode 100644 index 00000000..4cd11011 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_proxy/pallet/EnumCall.cs @@ -0,0 +1,110 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_proxy.pallet +{ + + + /// + /// >> Call + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public enum Call + { + + /// + /// >> proxy + /// See [`Pallet::proxy`]. + /// + proxy = 0, + + /// + /// >> add_proxy + /// See [`Pallet::add_proxy`]. + /// + add_proxy = 1, + + /// + /// >> remove_proxy + /// See [`Pallet::remove_proxy`]. + /// + remove_proxy = 2, + + /// + /// >> remove_proxies + /// See [`Pallet::remove_proxies`]. + /// + remove_proxies = 3, + + /// + /// >> create_pure + /// See [`Pallet::create_pure`]. + /// + create_pure = 4, + + /// + /// >> kill_pure + /// See [`Pallet::kill_pure`]. + /// + kill_pure = 5, + + /// + /// >> announce + /// See [`Pallet::announce`]. + /// + announce = 6, + + /// + /// >> remove_announcement + /// See [`Pallet::remove_announcement`]. + /// + remove_announcement = 7, + + /// + /// >> reject_announcement + /// See [`Pallet::reject_announcement`]. + /// + reject_announcement = 8, + + /// + /// >> proxy_announced + /// See [`Pallet::proxy_announced`]. + /// + proxy_announced = 9, + } + + /// + /// >> 180 - Variant[pallet_proxy.pallet.Call] + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public sealed class EnumCall : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumCall() + { + AddTypeDecoder, Substrate.Gear.Api.Generated.Model.vara_runtime.EnumRuntimeCall>>(Call.proxy); + AddTypeDecoder>(Call.add_proxy); + AddTypeDecoder>(Call.remove_proxy); + AddTypeDecoder(Call.remove_proxies); + AddTypeDecoder>(Call.create_pure); + AddTypeDecoder, Substrate.NetApi.Model.Types.Base.BaseCom>>(Call.kill_pure); + AddTypeDecoder>(Call.announce); + AddTypeDecoder>(Call.remove_announcement); + AddTypeDecoder>(Call.reject_announcement); + AddTypeDecoder, Substrate.Gear.Api.Generated.Model.vara_runtime.EnumRuntimeCall>>(Call.proxy_announced); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_proxy/pallet/EnumError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_proxy/pallet/EnumError.cs new file mode 100644 index 00000000..3a099ba8 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_proxy/pallet/EnumError.cs @@ -0,0 +1,81 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_proxy.pallet +{ + + + /// + /// >> Error + /// The `Error` enum of this pallet. + /// + public enum Error + { + + /// + /// >> TooMany + /// There are too many proxies registered or too many announcements pending. + /// + TooMany = 0, + + /// + /// >> NotFound + /// Proxy registration not found. + /// + NotFound = 1, + + /// + /// >> NotProxy + /// Sender is not a proxy of the account to be proxied. + /// + NotProxy = 2, + + /// + /// >> Unproxyable + /// A call which is incompatible with the proxy type's filter was attempted. + /// + Unproxyable = 3, + + /// + /// >> Duplicate + /// Account is already a proxy. + /// + Duplicate = 4, + + /// + /// >> NoPermission + /// Call may not be made by proxy because it may escalate its privileges. + /// + NoPermission = 5, + + /// + /// >> Unannounced + /// Announcement, if made at all, was made too recently. + /// + Unannounced = 6, + + /// + /// >> NoSelfProxy + /// Cannot add self as proxy. + /// + NoSelfProxy = 7, + } + + /// + /// >> 515 - Variant[pallet_proxy.pallet.Error] + /// The `Error` enum of this pallet. + /// + public sealed class EnumError : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_proxy/pallet/EnumEvent.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_proxy/pallet/EnumEvent.cs new file mode 100644 index 00000000..32320aad --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_proxy/pallet/EnumEvent.cs @@ -0,0 +1,76 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_proxy.pallet +{ + + + /// + /// >> Event + /// The `Event` enum of this pallet + /// + public enum Event + { + + /// + /// >> ProxyExecuted + /// A proxy was executed correctly, with the given. + /// + ProxyExecuted = 0, + + /// + /// >> PureCreated + /// A pure account has been created by new proxy with given + /// disambiguation index and proxy type. + /// + PureCreated = 1, + + /// + /// >> Announced + /// An announcement was placed to make a call in the future. + /// + Announced = 2, + + /// + /// >> ProxyAdded + /// A proxy was added. + /// + ProxyAdded = 3, + + /// + /// >> ProxyRemoved + /// A proxy was removed. + /// + ProxyRemoved = 4, + } + + /// + /// >> 293 - Variant[pallet_proxy.pallet.Event] + /// The `Event` enum of this pallet + /// + public sealed class EnumEvent : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumEvent() + { + AddTypeDecoder(Event.ProxyExecuted); + AddTypeDecoder>(Event.PureCreated); + AddTypeDecoder>(Event.Announced); + AddTypeDecoder>(Event.ProxyAdded); + AddTypeDecoder>(Event.ProxyRemoved); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_ranked_collective/EnumVoteRecord.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_ranked_collective/EnumVoteRecord.cs new file mode 100644 index 00000000..c52bab3f --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_ranked_collective/EnumVoteRecord.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_ranked_collective +{ + + + /// + /// >> VoteRecord + /// + public enum VoteRecord + { + + /// + /// >> Aye + /// + Aye = 0, + + /// + /// >> Nay + /// + Nay = 1, + } + + /// + /// >> 281 - Variant[pallet_ranked_collective.VoteRecord] + /// + public sealed class EnumVoteRecord : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumVoteRecord() + { + AddTypeDecoder(VoteRecord.Aye); + AddTypeDecoder(VoteRecord.Nay); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_ranked_collective/MemberRecord.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_ranked_collective/MemberRecord.cs new file mode 100644 index 00000000..916d74a7 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_ranked_collective/MemberRecord.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_ranked_collective +{ + + + /// + /// >> 473 - Composite[pallet_ranked_collective.MemberRecord] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class MemberRecord : BaseType + { + + /// + /// >> rank + /// + public Substrate.NetApi.Model.Types.Primitive.U16 Rank { get; set; } + + /// + public override string TypeName() + { + return "MemberRecord"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Rank.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Rank = new Substrate.NetApi.Model.Types.Primitive.U16(); + Rank.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_ranked_collective/Tally.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_ranked_collective/Tally.cs new file mode 100644 index 00000000..086b49a6 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_ranked_collective/Tally.cs @@ -0,0 +1,72 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_ranked_collective +{ + + + /// + /// >> 282 - Composite[pallet_ranked_collective.Tally] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Tally : BaseType + { + + /// + /// >> bare_ayes + /// + public Substrate.NetApi.Model.Types.Primitive.U32 BareAyes { get; set; } + /// + /// >> ayes + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Ayes { get; set; } + /// + /// >> nays + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Nays { get; set; } + + /// + public override string TypeName() + { + return "Tally"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(BareAyes.Encode()); + result.AddRange(Ayes.Encode()); + result.AddRange(Nays.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + BareAyes = new Substrate.NetApi.Model.Types.Primitive.U32(); + BareAyes.Decode(byteArray, ref p); + Ayes = new Substrate.NetApi.Model.Types.Primitive.U32(); + Ayes.Decode(byteArray, ref p); + Nays = new Substrate.NetApi.Model.Types.Primitive.U32(); + Nays.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_ranked_collective/pallet/EnumCall.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_ranked_collective/pallet/EnumCall.cs new file mode 100644 index 00000000..140dcdf6 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_ranked_collective/pallet/EnumCall.cs @@ -0,0 +1,82 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_ranked_collective.pallet +{ + + + /// + /// >> Call + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public enum Call + { + + /// + /// >> add_member + /// See [`Pallet::add_member`]. + /// + add_member = 0, + + /// + /// >> promote_member + /// See [`Pallet::promote_member`]. + /// + promote_member = 1, + + /// + /// >> demote_member + /// See [`Pallet::demote_member`]. + /// + demote_member = 2, + + /// + /// >> remove_member + /// See [`Pallet::remove_member`]. + /// + remove_member = 3, + + /// + /// >> vote + /// See [`Pallet::vote`]. + /// + vote = 4, + + /// + /// >> cleanup_poll + /// See [`Pallet::cleanup_poll`]. + /// + cleanup_poll = 5, + } + + /// + /// >> 132 - Variant[pallet_ranked_collective.pallet.Call] + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public sealed class EnumCall : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumCall() + { + AddTypeDecoder(Call.add_member); + AddTypeDecoder(Call.promote_member); + AddTypeDecoder(Call.demote_member); + AddTypeDecoder>(Call.remove_member); + AddTypeDecoder>(Call.vote); + AddTypeDecoder>(Call.cleanup_poll); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_ranked_collective/pallet/EnumError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_ranked_collective/pallet/EnumError.cs new file mode 100644 index 00000000..103e95cb --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_ranked_collective/pallet/EnumError.cs @@ -0,0 +1,87 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_ranked_collective.pallet +{ + + + /// + /// >> Error + /// The `Error` enum of this pallet. + /// + public enum Error + { + + /// + /// >> AlreadyMember + /// Account is already a member. + /// + AlreadyMember = 0, + + /// + /// >> NotMember + /// Account is not a member. + /// + NotMember = 1, + + /// + /// >> NotPolling + /// The given poll index is unknown or has closed. + /// + NotPolling = 2, + + /// + /// >> Ongoing + /// The given poll is still ongoing. + /// + Ongoing = 3, + + /// + /// >> NoneRemaining + /// There are no further records to be removed. + /// + NoneRemaining = 4, + + /// + /// >> Corruption + /// Unexpected error in state. + /// + Corruption = 5, + + /// + /// >> RankTooLow + /// The member's rank is too low to vote. + /// + RankTooLow = 6, + + /// + /// >> InvalidWitness + /// The information provided is incorrect. + /// + InvalidWitness = 7, + + /// + /// >> NoPermission + /// The origin is not sufficiently privileged to do the operation. + /// + NoPermission = 8, + } + + /// + /// >> 477 - Variant[pallet_ranked_collective.pallet.Error] + /// The `Error` enum of this pallet. + /// + public sealed class EnumError : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_ranked_collective/pallet/EnumEvent.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_ranked_collective/pallet/EnumEvent.cs new file mode 100644 index 00000000..4f4f73c5 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_ranked_collective/pallet/EnumEvent.cs @@ -0,0 +1,69 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_ranked_collective.pallet +{ + + + /// + /// >> Event + /// The `Event` enum of this pallet + /// + public enum Event + { + + /// + /// >> MemberAdded + /// A member `who` has been added. + /// + MemberAdded = 0, + + /// + /// >> RankChanged + /// The member `who`se rank has been changed to the given `rank`. + /// + RankChanged = 1, + + /// + /// >> MemberRemoved + /// The member `who` of given `rank` has been removed from the collective. + /// + MemberRemoved = 2, + + /// + /// >> Voted + /// The member `who` has voted for the `poll` with the given `vote` leading to an updated + /// `tally`. + /// + Voted = 3, + } + + /// + /// >> 280 - Variant[pallet_ranked_collective.pallet.Event] + /// The `Event` enum of this pallet + /// + public sealed class EnumEvent : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumEvent() + { + AddTypeDecoder(Event.MemberAdded); + AddTypeDecoder>(Event.RankChanged); + AddTypeDecoder>(Event.MemberRemoved); + AddTypeDecoder>(Event.Voted); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_referenda/pallet/EnumCall.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_referenda/pallet/EnumCall.cs new file mode 100644 index 00000000..d1d45784 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_referenda/pallet/EnumCall.cs @@ -0,0 +1,103 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_referenda.pallet +{ + + + /// + /// >> Call + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public enum Call + { + + /// + /// >> submit + /// See [`Pallet::submit`]. + /// + submit = 0, + + /// + /// >> place_decision_deposit + /// See [`Pallet::place_decision_deposit`]. + /// + place_decision_deposit = 1, + + /// + /// >> refund_decision_deposit + /// See [`Pallet::refund_decision_deposit`]. + /// + refund_decision_deposit = 2, + + /// + /// >> cancel + /// See [`Pallet::cancel`]. + /// + cancel = 3, + + /// + /// >> kill + /// See [`Pallet::kill`]. + /// + kill = 4, + + /// + /// >> nudge_referendum + /// See [`Pallet::nudge_referendum`]. + /// + nudge_referendum = 5, + + /// + /// >> one_fewer_deciding + /// See [`Pallet::one_fewer_deciding`]. + /// + one_fewer_deciding = 6, + + /// + /// >> refund_submission_deposit + /// See [`Pallet::refund_submission_deposit`]. + /// + refund_submission_deposit = 7, + + /// + /// >> set_metadata + /// See [`Pallet::set_metadata`]. + /// + set_metadata = 8, + } + + /// + /// >> 133 - Variant[pallet_referenda.pallet.Call] + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public sealed class EnumCall : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumCall() + { + AddTypeDecoder>(Call.submit); + AddTypeDecoder(Call.place_decision_deposit); + AddTypeDecoder(Call.refund_decision_deposit); + AddTypeDecoder(Call.cancel); + AddTypeDecoder(Call.kill); + AddTypeDecoder(Call.nudge_referendum); + AddTypeDecoder(Call.one_fewer_deciding); + AddTypeDecoder(Call.refund_submission_deposit); + AddTypeDecoder>>(Call.set_metadata); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_referenda/pallet/EnumError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_referenda/pallet/EnumError.cs new file mode 100644 index 00000000..f7a96ab4 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_referenda/pallet/EnumError.cs @@ -0,0 +1,111 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_referenda.pallet +{ + + + /// + /// >> Error + /// The `Error` enum of this pallet. + /// + public enum Error + { + + /// + /// >> NotOngoing + /// Referendum is not ongoing. + /// + NotOngoing = 0, + + /// + /// >> HasDeposit + /// Referendum's decision deposit is already paid. + /// + HasDeposit = 1, + + /// + /// >> BadTrack + /// The track identifier given was invalid. + /// + BadTrack = 2, + + /// + /// >> Full + /// There are already a full complement of referenda in progress for this track. + /// + Full = 3, + + /// + /// >> QueueEmpty + /// The queue of the track is empty. + /// + QueueEmpty = 4, + + /// + /// >> BadReferendum + /// The referendum index provided is invalid in this context. + /// + BadReferendum = 5, + + /// + /// >> NothingToDo + /// There was nothing to do in the advancement. + /// + NothingToDo = 6, + + /// + /// >> NoTrack + /// No track exists for the proposal origin. + /// + NoTrack = 7, + + /// + /// >> Unfinished + /// Any deposit cannot be refunded until after the decision is over. + /// + Unfinished = 8, + + /// + /// >> NoPermission + /// The deposit refunder is not the depositor. + /// + NoPermission = 9, + + /// + /// >> NoDeposit + /// The deposit cannot be refunded since none was made. + /// + NoDeposit = 10, + + /// + /// >> BadStatus + /// The referendum status is invalid for this operation. + /// + BadStatus = 11, + + /// + /// >> PreimageNotExist + /// The preimage does not exist. + /// + PreimageNotExist = 12, + } + + /// + /// >> 481 - Variant[pallet_referenda.pallet.Error] + /// The `Error` enum of this pallet. + /// + public sealed class EnumError : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_referenda/pallet/EnumEvent.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_referenda/pallet/EnumEvent.cs new file mode 100644 index 00000000..63522c98 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_referenda/pallet/EnumEvent.cs @@ -0,0 +1,150 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_referenda.pallet +{ + + + /// + /// >> Event + /// The `Event` enum of this pallet + /// + public enum Event + { + + /// + /// >> Submitted + /// A referendum has been submitted. + /// + Submitted = 0, + + /// + /// >> DecisionDepositPlaced + /// The decision deposit has been placed. + /// + DecisionDepositPlaced = 1, + + /// + /// >> DecisionDepositRefunded + /// The decision deposit has been refunded. + /// + DecisionDepositRefunded = 2, + + /// + /// >> DepositSlashed + /// A deposit has been slashed. + /// + DepositSlashed = 3, + + /// + /// >> DecisionStarted + /// A referendum has moved into the deciding phase. + /// + DecisionStarted = 4, + + /// + /// >> ConfirmStarted + /// + ConfirmStarted = 5, + + /// + /// >> ConfirmAborted + /// + ConfirmAborted = 6, + + /// + /// >> Confirmed + /// A referendum has ended its confirmation phase and is ready for approval. + /// + Confirmed = 7, + + /// + /// >> Approved + /// A referendum has been approved and its proposal has been scheduled. + /// + Approved = 8, + + /// + /// >> Rejected + /// A proposal has been rejected by referendum. + /// + Rejected = 9, + + /// + /// >> TimedOut + /// A referendum has been timed out without being decided. + /// + TimedOut = 10, + + /// + /// >> Cancelled + /// A referendum has been cancelled. + /// + Cancelled = 11, + + /// + /// >> Killed + /// A referendum has been killed. + /// + Killed = 12, + + /// + /// >> SubmissionDepositRefunded + /// The submission deposit has been refunded. + /// + SubmissionDepositRefunded = 13, + + /// + /// >> MetadataSet + /// Metadata for a referendum has been set. + /// + MetadataSet = 14, + + /// + /// >> MetadataCleared + /// Metadata for a referendum has been cleared. + /// + MetadataCleared = 15, + } + + /// + /// >> 283 - Variant[pallet_referenda.pallet.Event] + /// The `Event` enum of this pallet + /// + public sealed class EnumEvent : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumEvent() + { + AddTypeDecoder>(Event.Submitted); + AddTypeDecoder>(Event.DecisionDepositPlaced); + AddTypeDecoder>(Event.DecisionDepositRefunded); + AddTypeDecoder>(Event.DepositSlashed); + AddTypeDecoder>(Event.DecisionStarted); + AddTypeDecoder(Event.ConfirmStarted); + AddTypeDecoder(Event.ConfirmAborted); + AddTypeDecoder>(Event.Confirmed); + AddTypeDecoder(Event.Approved); + AddTypeDecoder>(Event.Rejected); + AddTypeDecoder>(Event.TimedOut); + AddTypeDecoder>(Event.Cancelled); + AddTypeDecoder>(Event.Killed); + AddTypeDecoder>(Event.SubmissionDepositRefunded); + AddTypeDecoder>(Event.MetadataSet); + AddTypeDecoder>(Event.MetadataCleared); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_referenda/types/DecidingStatus.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_referenda/types/DecidingStatus.cs new file mode 100644 index 00000000..058f59c2 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_referenda/types/DecidingStatus.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_referenda.types +{ + + + /// + /// >> 460 - Composite[pallet_referenda.types.DecidingStatus] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class DecidingStatus : BaseType + { + + /// + /// >> since + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Since { get; set; } + /// + /// >> confirming + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt Confirming { get; set; } + + /// + public override string TypeName() + { + return "DecidingStatus"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Since.Encode()); + result.AddRange(Confirming.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Since = new Substrate.NetApi.Model.Types.Primitive.U32(); + Since.Decode(byteArray, ref p); + Confirming = new Substrate.NetApi.Model.Types.Base.BaseOpt(); + Confirming.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_referenda/types/Deposit.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_referenda/types/Deposit.cs new file mode 100644 index 00000000..ef641654 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_referenda/types/Deposit.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_referenda.types +{ + + + /// + /// >> 457 - Composite[pallet_referenda.types.Deposit] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Deposit : BaseType + { + + /// + /// >> who + /// + public Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 Who { get; set; } + /// + /// >> amount + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Amount { get; set; } + + /// + public override string TypeName() + { + return "Deposit"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Who.Encode()); + result.AddRange(Amount.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Who = new Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32(); + Who.Decode(byteArray, ref p); + Amount = new Substrate.NetApi.Model.Types.Primitive.U128(); + Amount.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_referenda/types/EnumCurve.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_referenda/types/EnumCurve.cs new file mode 100644 index 00000000..aa0d8433 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_referenda/types/EnumCurve.cs @@ -0,0 +1,56 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_referenda.types +{ + + + /// + /// >> Curve + /// + public enum Curve + { + + /// + /// >> LinearDecreasing + /// + LinearDecreasing = 0, + + /// + /// >> SteppedDecreasing + /// + SteppedDecreasing = 1, + + /// + /// >> Reciprocal + /// + Reciprocal = 2, + } + + /// + /// >> 469 - Variant[pallet_referenda.types.Curve] + /// + public sealed class EnumCurve : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumCurve() + { + AddTypeDecoder>(Curve.LinearDecreasing); + AddTypeDecoder>(Curve.SteppedDecreasing); + AddTypeDecoder>(Curve.Reciprocal); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_referenda/types/EnumReferendumInfo.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_referenda/types/EnumReferendumInfo.cs new file mode 100644 index 00000000..b1ff4b52 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_referenda/types/EnumReferendumInfo.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_referenda.types +{ + + + /// + /// >> ReferendumInfo + /// + public enum ReferendumInfo + { + + /// + /// >> Ongoing + /// + Ongoing = 0, + + /// + /// >> Approved + /// + Approved = 1, + + /// + /// >> Rejected + /// + Rejected = 2, + + /// + /// >> Cancelled + /// + Cancelled = 3, + + /// + /// >> TimedOut + /// + TimedOut = 4, + + /// + /// >> Killed + /// + Killed = 5, + } + + /// + /// >> 478 - Variant[pallet_referenda.types.ReferendumInfo] + /// + public sealed class EnumReferendumInfo : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumReferendumInfo() + { + AddTypeDecoder(ReferendumInfo.Ongoing); + AddTypeDecoder, Substrate.NetApi.Model.Types.Base.BaseOpt>>(ReferendumInfo.Approved); + AddTypeDecoder, Substrate.NetApi.Model.Types.Base.BaseOpt>>(ReferendumInfo.Rejected); + AddTypeDecoder, Substrate.NetApi.Model.Types.Base.BaseOpt>>(ReferendumInfo.Cancelled); + AddTypeDecoder, Substrate.NetApi.Model.Types.Base.BaseOpt>>(ReferendumInfo.TimedOut); + AddTypeDecoder(ReferendumInfo.Killed); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_referenda/types/ReferendumStatusT1.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_referenda/types/ReferendumStatusT1.cs new file mode 100644 index 00000000..73ccafd6 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_referenda/types/ReferendumStatusT1.cs @@ -0,0 +1,128 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_referenda.types +{ + + + /// + /// >> 456 - Composite[pallet_referenda.types.ReferendumStatusT1] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class ReferendumStatusT1 : BaseType + { + + /// + /// >> track + /// + public Substrate.NetApi.Model.Types.Primitive.U16 Track { get; set; } + /// + /// >> origin + /// + public Substrate.Gear.Api.Generated.Model.vara_runtime.EnumOriginCaller Origin { get; set; } + /// + /// >> proposal + /// + public Substrate.Gear.Api.Generated.Model.frame_support.traits.preimages.EnumBounded Proposal { get; set; } + /// + /// >> enactment + /// + public Substrate.Gear.Api.Generated.Model.frame_support.traits.schedule.EnumDispatchTime Enactment { get; set; } + /// + /// >> submitted + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Submitted { get; set; } + /// + /// >> submission_deposit + /// + public Substrate.Gear.Api.Generated.Model.pallet_referenda.types.Deposit SubmissionDeposit { get; set; } + /// + /// >> decision_deposit + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt DecisionDeposit { get; set; } + /// + /// >> deciding + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt Deciding { get; set; } + /// + /// >> tally + /// + public Substrate.Gear.Api.Generated.Model.pallet_conviction_voting.types.Tally Tally { get; set; } + /// + /// >> in_queue + /// + public Substrate.NetApi.Model.Types.Primitive.Bool InQueue { get; set; } + /// + /// >> alarm + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt>> Alarm { get; set; } + + /// + public override string TypeName() + { + return "ReferendumStatusT1"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Track.Encode()); + result.AddRange(Origin.Encode()); + result.AddRange(Proposal.Encode()); + result.AddRange(Enactment.Encode()); + result.AddRange(Submitted.Encode()); + result.AddRange(SubmissionDeposit.Encode()); + result.AddRange(DecisionDeposit.Encode()); + result.AddRange(Deciding.Encode()); + result.AddRange(Tally.Encode()); + result.AddRange(InQueue.Encode()); + result.AddRange(Alarm.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Track = new Substrate.NetApi.Model.Types.Primitive.U16(); + Track.Decode(byteArray, ref p); + Origin = new Substrate.Gear.Api.Generated.Model.vara_runtime.EnumOriginCaller(); + Origin.Decode(byteArray, ref p); + Proposal = new Substrate.Gear.Api.Generated.Model.frame_support.traits.preimages.EnumBounded(); + Proposal.Decode(byteArray, ref p); + Enactment = new Substrate.Gear.Api.Generated.Model.frame_support.traits.schedule.EnumDispatchTime(); + Enactment.Decode(byteArray, ref p); + Submitted = new Substrate.NetApi.Model.Types.Primitive.U32(); + Submitted.Decode(byteArray, ref p); + SubmissionDeposit = new Substrate.Gear.Api.Generated.Model.pallet_referenda.types.Deposit(); + SubmissionDeposit.Decode(byteArray, ref p); + DecisionDeposit = new Substrate.NetApi.Model.Types.Base.BaseOpt(); + DecisionDeposit.Decode(byteArray, ref p); + Deciding = new Substrate.NetApi.Model.Types.Base.BaseOpt(); + Deciding.Decode(byteArray, ref p); + Tally = new Substrate.Gear.Api.Generated.Model.pallet_conviction_voting.types.Tally(); + Tally.Decode(byteArray, ref p); + InQueue = new Substrate.NetApi.Model.Types.Primitive.Bool(); + InQueue.Decode(byteArray, ref p); + Alarm = new Substrate.NetApi.Model.Types.Base.BaseOpt>>(); + Alarm.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_referenda/types/ReferendumStatusT2.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_referenda/types/ReferendumStatusT2.cs new file mode 100644 index 00000000..07909505 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_referenda/types/ReferendumStatusT2.cs @@ -0,0 +1,128 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_referenda.types +{ + + + /// + /// >> 479 - Composite[pallet_referenda.types.ReferendumStatusT2] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class ReferendumStatusT2 : BaseType + { + + /// + /// >> track + /// + public Substrate.NetApi.Model.Types.Primitive.U16 Track { get; set; } + /// + /// >> origin + /// + public Substrate.Gear.Api.Generated.Model.vara_runtime.EnumOriginCaller Origin { get; set; } + /// + /// >> proposal + /// + public Substrate.Gear.Api.Generated.Model.frame_support.traits.preimages.EnumBounded Proposal { get; set; } + /// + /// >> enactment + /// + public Substrate.Gear.Api.Generated.Model.frame_support.traits.schedule.EnumDispatchTime Enactment { get; set; } + /// + /// >> submitted + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Submitted { get; set; } + /// + /// >> submission_deposit + /// + public Substrate.Gear.Api.Generated.Model.pallet_referenda.types.Deposit SubmissionDeposit { get; set; } + /// + /// >> decision_deposit + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt DecisionDeposit { get; set; } + /// + /// >> deciding + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt Deciding { get; set; } + /// + /// >> tally + /// + public Substrate.Gear.Api.Generated.Model.pallet_ranked_collective.Tally Tally { get; set; } + /// + /// >> in_queue + /// + public Substrate.NetApi.Model.Types.Primitive.Bool InQueue { get; set; } + /// + /// >> alarm + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt>> Alarm { get; set; } + + /// + public override string TypeName() + { + return "ReferendumStatusT2"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Track.Encode()); + result.AddRange(Origin.Encode()); + result.AddRange(Proposal.Encode()); + result.AddRange(Enactment.Encode()); + result.AddRange(Submitted.Encode()); + result.AddRange(SubmissionDeposit.Encode()); + result.AddRange(DecisionDeposit.Encode()); + result.AddRange(Deciding.Encode()); + result.AddRange(Tally.Encode()); + result.AddRange(InQueue.Encode()); + result.AddRange(Alarm.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Track = new Substrate.NetApi.Model.Types.Primitive.U16(); + Track.Decode(byteArray, ref p); + Origin = new Substrate.Gear.Api.Generated.Model.vara_runtime.EnumOriginCaller(); + Origin.Decode(byteArray, ref p); + Proposal = new Substrate.Gear.Api.Generated.Model.frame_support.traits.preimages.EnumBounded(); + Proposal.Decode(byteArray, ref p); + Enactment = new Substrate.Gear.Api.Generated.Model.frame_support.traits.schedule.EnumDispatchTime(); + Enactment.Decode(byteArray, ref p); + Submitted = new Substrate.NetApi.Model.Types.Primitive.U32(); + Submitted.Decode(byteArray, ref p); + SubmissionDeposit = new Substrate.Gear.Api.Generated.Model.pallet_referenda.types.Deposit(); + SubmissionDeposit.Decode(byteArray, ref p); + DecisionDeposit = new Substrate.NetApi.Model.Types.Base.BaseOpt(); + DecisionDeposit.Decode(byteArray, ref p); + Deciding = new Substrate.NetApi.Model.Types.Base.BaseOpt(); + Deciding.Decode(byteArray, ref p); + Tally = new Substrate.Gear.Api.Generated.Model.pallet_ranked_collective.Tally(); + Tally.Decode(byteArray, ref p); + InQueue = new Substrate.NetApi.Model.Types.Primitive.Bool(); + InQueue.Decode(byteArray, ref p); + Alarm = new Substrate.NetApi.Model.Types.Base.BaseOpt>>(); + Alarm.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_referenda/types/TrackInfo.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_referenda/types/TrackInfo.cs new file mode 100644 index 00000000..c1a11133 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_referenda/types/TrackInfo.cs @@ -0,0 +1,114 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_referenda.types +{ + + + /// + /// >> 468 - Composite[pallet_referenda.types.TrackInfo] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class TrackInfo : BaseType + { + + /// + /// >> name + /// + public Substrate.NetApi.Model.Types.Primitive.Str Name { get; set; } + /// + /// >> max_deciding + /// + public Substrate.NetApi.Model.Types.Primitive.U32 MaxDeciding { get; set; } + /// + /// >> decision_deposit + /// + public Substrate.NetApi.Model.Types.Primitive.U128 DecisionDeposit { get; set; } + /// + /// >> prepare_period + /// + public Substrate.NetApi.Model.Types.Primitive.U32 PreparePeriod { get; set; } + /// + /// >> decision_period + /// + public Substrate.NetApi.Model.Types.Primitive.U32 DecisionPeriod { get; set; } + /// + /// >> confirm_period + /// + public Substrate.NetApi.Model.Types.Primitive.U32 ConfirmPeriod { get; set; } + /// + /// >> min_enactment_period + /// + public Substrate.NetApi.Model.Types.Primitive.U32 MinEnactmentPeriod { get; set; } + /// + /// >> min_approval + /// + public Substrate.Gear.Api.Generated.Model.pallet_referenda.types.EnumCurve MinApproval { get; set; } + /// + /// >> min_support + /// + public Substrate.Gear.Api.Generated.Model.pallet_referenda.types.EnumCurve MinSupport { get; set; } + + /// + public override string TypeName() + { + return "TrackInfo"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Name.Encode()); + result.AddRange(MaxDeciding.Encode()); + result.AddRange(DecisionDeposit.Encode()); + result.AddRange(PreparePeriod.Encode()); + result.AddRange(DecisionPeriod.Encode()); + result.AddRange(ConfirmPeriod.Encode()); + result.AddRange(MinEnactmentPeriod.Encode()); + result.AddRange(MinApproval.Encode()); + result.AddRange(MinSupport.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Name = new Substrate.NetApi.Model.Types.Primitive.Str(); + Name.Decode(byteArray, ref p); + MaxDeciding = new Substrate.NetApi.Model.Types.Primitive.U32(); + MaxDeciding.Decode(byteArray, ref p); + DecisionDeposit = new Substrate.NetApi.Model.Types.Primitive.U128(); + DecisionDeposit.Decode(byteArray, ref p); + PreparePeriod = new Substrate.NetApi.Model.Types.Primitive.U32(); + PreparePeriod.Decode(byteArray, ref p); + DecisionPeriod = new Substrate.NetApi.Model.Types.Primitive.U32(); + DecisionPeriod.Decode(byteArray, ref p); + ConfirmPeriod = new Substrate.NetApi.Model.Types.Primitive.U32(); + ConfirmPeriod.Decode(byteArray, ref p); + MinEnactmentPeriod = new Substrate.NetApi.Model.Types.Primitive.U32(); + MinEnactmentPeriod.Decode(byteArray, ref p); + MinApproval = new Substrate.Gear.Api.Generated.Model.pallet_referenda.types.EnumCurve(); + MinApproval.Decode(byteArray, ref p); + MinSupport = new Substrate.Gear.Api.Generated.Model.pallet_referenda.types.EnumCurve(); + MinSupport.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_scheduler/Scheduled.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_scheduler/Scheduled.cs new file mode 100644 index 00000000..cf359240 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_scheduler/Scheduled.cs @@ -0,0 +1,86 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_scheduler +{ + + + /// + /// >> 485 - Composite[pallet_scheduler.Scheduled] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Scheduled : BaseType + { + + /// + /// >> maybe_id + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt MaybeId { get; set; } + /// + /// >> priority + /// + public Substrate.NetApi.Model.Types.Primitive.U8 Priority { get; set; } + /// + /// >> call + /// + public Substrate.Gear.Api.Generated.Model.frame_support.traits.preimages.EnumBounded Call { get; set; } + /// + /// >> maybe_periodic + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt> MaybePeriodic { get; set; } + /// + /// >> origin + /// + public Substrate.Gear.Api.Generated.Model.vara_runtime.EnumOriginCaller Origin { get; set; } + + /// + public override string TypeName() + { + return "Scheduled"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(MaybeId.Encode()); + result.AddRange(Priority.Encode()); + result.AddRange(Call.Encode()); + result.AddRange(MaybePeriodic.Encode()); + result.AddRange(Origin.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + MaybeId = new Substrate.NetApi.Model.Types.Base.BaseOpt(); + MaybeId.Decode(byteArray, ref p); + Priority = new Substrate.NetApi.Model.Types.Primitive.U8(); + Priority.Decode(byteArray, ref p); + Call = new Substrate.Gear.Api.Generated.Model.frame_support.traits.preimages.EnumBounded(); + Call.Decode(byteArray, ref p); + MaybePeriodic = new Substrate.NetApi.Model.Types.Base.BaseOpt>(); + MaybePeriodic.Decode(byteArray, ref p); + Origin = new Substrate.Gear.Api.Generated.Model.vara_runtime.EnumOriginCaller(); + Origin.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_scheduler/pallet/EnumCall.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_scheduler/pallet/EnumCall.cs new file mode 100644 index 00000000..d270e0c2 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_scheduler/pallet/EnumCall.cs @@ -0,0 +1,82 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_scheduler.pallet +{ + + + /// + /// >> Call + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public enum Call + { + + /// + /// >> schedule + /// See [`Pallet::schedule`]. + /// + schedule = 0, + + /// + /// >> cancel + /// See [`Pallet::cancel`]. + /// + cancel = 1, + + /// + /// >> schedule_named + /// See [`Pallet::schedule_named`]. + /// + schedule_named = 2, + + /// + /// >> cancel_named + /// See [`Pallet::cancel_named`]. + /// + cancel_named = 3, + + /// + /// >> schedule_after + /// See [`Pallet::schedule_after`]. + /// + schedule_after = 4, + + /// + /// >> schedule_named_after + /// See [`Pallet::schedule_named_after`]. + /// + schedule_named_after = 5, + } + + /// + /// >> 135 - Variant[pallet_scheduler.pallet.Call] + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public sealed class EnumCall : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumCall() + { + AddTypeDecoder>, Substrate.NetApi.Model.Types.Primitive.U8, Substrate.Gear.Api.Generated.Model.vara_runtime.EnumRuntimeCall>>(Call.schedule); + AddTypeDecoder>(Call.cancel); + AddTypeDecoder>, Substrate.NetApi.Model.Types.Primitive.U8, Substrate.Gear.Api.Generated.Model.vara_runtime.EnumRuntimeCall>>(Call.schedule_named); + AddTypeDecoder(Call.cancel_named); + AddTypeDecoder>, Substrate.NetApi.Model.Types.Primitive.U8, Substrate.Gear.Api.Generated.Model.vara_runtime.EnumRuntimeCall>>(Call.schedule_after); + AddTypeDecoder>, Substrate.NetApi.Model.Types.Primitive.U8, Substrate.Gear.Api.Generated.Model.vara_runtime.EnumRuntimeCall>>(Call.schedule_named_after); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_scheduler/pallet/EnumError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_scheduler/pallet/EnumError.cs new file mode 100644 index 00000000..0a95c4c9 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_scheduler/pallet/EnumError.cs @@ -0,0 +1,63 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_scheduler.pallet +{ + + + /// + /// >> Error + /// The `Error` enum of this pallet. + /// + public enum Error + { + + /// + /// >> FailedToSchedule + /// Failed to schedule a call + /// + FailedToSchedule = 0, + + /// + /// >> NotFound + /// Cannot find the scheduled call. + /// + NotFound = 1, + + /// + /// >> TargetBlockNumberInPast + /// Given target block number is in the past. + /// + TargetBlockNumberInPast = 2, + + /// + /// >> RescheduleNoChange + /// Reschedule failed because it does not change scheduled time. + /// + RescheduleNoChange = 3, + + /// + /// >> Named + /// Attempt to use a non-named function on a named task. + /// + Named = 4, + } + + /// + /// >> 487 - Variant[pallet_scheduler.pallet.Error] + /// The `Error` enum of this pallet. + /// + public sealed class EnumError : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_scheduler/pallet/EnumEvent.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_scheduler/pallet/EnumEvent.cs new file mode 100644 index 00000000..a0f3c0fa --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_scheduler/pallet/EnumEvent.cs @@ -0,0 +1,82 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_scheduler.pallet +{ + + + /// + /// >> Event + /// Events type. + /// + public enum Event + { + + /// + /// >> Scheduled + /// Scheduled some task. + /// + Scheduled = 0, + + /// + /// >> Canceled + /// Canceled some task. + /// + Canceled = 1, + + /// + /// >> Dispatched + /// Dispatched some task. + /// + Dispatched = 2, + + /// + /// >> CallUnavailable + /// The call for the provided hash was not found so the task has been aborted. + /// + CallUnavailable = 3, + + /// + /// >> PeriodicFailed + /// The given task was unable to be renewed since the agenda is full at that block. + /// + PeriodicFailed = 4, + + /// + /// >> PermanentlyOverweight + /// The given task can never be executed since it is overweight. + /// + PermanentlyOverweight = 5, + } + + /// + /// >> 289 - Variant[pallet_scheduler.pallet.Event] + /// Events type. + /// + public sealed class EnumEvent : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumEvent() + { + AddTypeDecoder>(Event.Scheduled); + AddTypeDecoder>(Event.Canceled); + AddTypeDecoder, Substrate.NetApi.Model.Types.Base.BaseOpt, Substrate.Gear.Api.Generated.Types.Base.EnumResult>>(Event.Dispatched); + AddTypeDecoder, Substrate.NetApi.Model.Types.Base.BaseOpt>>(Event.CallUnavailable); + AddTypeDecoder, Substrate.NetApi.Model.Types.Base.BaseOpt>>(Event.PeriodicFailed); + AddTypeDecoder, Substrate.NetApi.Model.Types.Base.BaseOpt>>(Event.PermanentlyOverweight); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_session/pallet/EnumCall.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_session/pallet/EnumCall.cs new file mode 100644 index 00000000..939e344c --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_session/pallet/EnumCall.cs @@ -0,0 +1,54 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_session.pallet +{ + + + /// + /// >> Call + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public enum Call + { + + /// + /// >> set_keys + /// See [`Pallet::set_keys`]. + /// + set_keys = 0, + + /// + /// >> purge_keys + /// See [`Pallet::purge_keys`]. + /// + purge_keys = 1, + } + + /// + /// >> 113 - Variant[pallet_session.pallet.Call] + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public sealed class EnumCall : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumCall() + { + AddTypeDecoder>>(Call.set_keys); + AddTypeDecoder(Call.purge_keys); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_session/pallet/EnumError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_session/pallet/EnumError.cs new file mode 100644 index 00000000..0a11f351 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_session/pallet/EnumError.cs @@ -0,0 +1,63 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_session.pallet +{ + + + /// + /// >> Error + /// Error for the session pallet. + /// + public enum Error + { + + /// + /// >> InvalidProof + /// Invalid ownership proof. + /// + InvalidProof = 0, + + /// + /// >> NoAssociatedValidatorId + /// No associated validator ID for account. + /// + NoAssociatedValidatorId = 1, + + /// + /// >> DuplicatedKey + /// Registered duplicate key. + /// + DuplicatedKey = 2, + + /// + /// >> NoKeys + /// No keys are associated with this account. + /// + NoKeys = 3, + + /// + /// >> NoAccount + /// Key setting account is not live, so it's impossible to associate keys. + /// + NoAccount = 4, + } + + /// + /// >> 432 - Variant[pallet_session.pallet.Error] + /// Error for the session pallet. + /// + public sealed class EnumError : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_session/pallet/EnumEvent.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_session/pallet/EnumEvent.cs new file mode 100644 index 00000000..98eaef8c --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_session/pallet/EnumEvent.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_session.pallet +{ + + + /// + /// >> Event + /// The `Event` enum of this pallet + /// + public enum Event + { + + /// + /// >> NewSession + /// New session has happened. Note that the argument is the session index, not the + /// block number as the type might suggest. + /// + NewSession = 0, + } + + /// + /// >> 56 - Variant[pallet_session.pallet.Event] + /// The `Event` enum of this pallet + /// + public sealed class EnumEvent : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumEvent() + { + AddTypeDecoder(Event.NewSession); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/ActiveEraInfo.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/ActiveEraInfo.cs new file mode 100644 index 00000000..15485d27 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/ActiveEraInfo.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_staking +{ + + + /// + /// >> 412 - Composite[pallet_staking.ActiveEraInfo] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class ActiveEraInfo : BaseType + { + + /// + /// >> index + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Index { get; set; } + /// + /// >> start + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt Start { get; set; } + + /// + public override string TypeName() + { + return "ActiveEraInfo"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Index.Encode()); + result.AddRange(Start.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Index = new Substrate.NetApi.Model.Types.Primitive.U32(); + Index.Decode(byteArray, ref p); + Start = new Substrate.NetApi.Model.Types.Base.BaseOpt(); + Start.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/EnumForcing.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/EnumForcing.cs new file mode 100644 index 00000000..8938b95c --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/EnumForcing.cs @@ -0,0 +1,51 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_staking +{ + + + /// + /// >> Forcing + /// + public enum Forcing + { + + /// + /// >> NotForcing + /// + NotForcing = 0, + + /// + /// >> ForceNew + /// + ForceNew = 1, + + /// + /// >> ForceNone + /// + ForceNone = 2, + + /// + /// >> ForceAlways + /// + ForceAlways = 3, + } + + /// + /// >> 55 - Variant[pallet_staking.Forcing] + /// + public sealed class EnumForcing : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/EnumRewardDestination.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/EnumRewardDestination.cs new file mode 100644 index 00000000..8f19df6d --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/EnumRewardDestination.cs @@ -0,0 +1,68 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_staking +{ + + + /// + /// >> RewardDestination + /// + public enum RewardDestination + { + + /// + /// >> Staked + /// + Staked = 0, + + /// + /// >> Stash + /// + Stash = 1, + + /// + /// >> Controller + /// + Controller = 2, + + /// + /// >> Account + /// + Account = 3, + + /// + /// >> None + /// + None = 4, + } + + /// + /// >> 50 - Variant[pallet_staking.RewardDestination] + /// + public sealed class EnumRewardDestination : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumRewardDestination() + { + AddTypeDecoder(RewardDestination.Staked); + AddTypeDecoder(RewardDestination.Stash); + AddTypeDecoder(RewardDestination.Controller); + AddTypeDecoder(RewardDestination.Account); + AddTypeDecoder(RewardDestination.None); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/EraRewardPoints.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/EraRewardPoints.cs new file mode 100644 index 00000000..7e628497 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/EraRewardPoints.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_staking +{ + + + /// + /// >> 416 - Composite[pallet_staking.EraRewardPoints] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class EraRewardPoints : BaseType + { + + /// + /// >> total + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Total { get; set; } + /// + /// >> individual + /// + public Substrate.Gear.Api.Generated.Types.Base.BTreeMapT2 Individual { get; set; } + + /// + public override string TypeName() + { + return "EraRewardPoints"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Total.Encode()); + result.AddRange(Individual.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Total = new Substrate.NetApi.Model.Types.Primitive.U32(); + Total.Decode(byteArray, ref p); + Individual = new Substrate.Gear.Api.Generated.Types.Base.BTreeMapT2(); + Individual.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/Nominations.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/Nominations.cs new file mode 100644 index 00000000..bead078c --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/Nominations.cs @@ -0,0 +1,72 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_staking +{ + + + /// + /// >> 410 - Composite[pallet_staking.Nominations] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Nominations : BaseType + { + + /// + /// >> targets + /// + public Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec.BoundedVecT11 Targets { get; set; } + /// + /// >> submitted_in + /// + public Substrate.NetApi.Model.Types.Primitive.U32 SubmittedIn { get; set; } + /// + /// >> suppressed + /// + public Substrate.NetApi.Model.Types.Primitive.Bool Suppressed { get; set; } + + /// + public override string TypeName() + { + return "Nominations"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Targets.Encode()); + result.AddRange(SubmittedIn.Encode()); + result.AddRange(Suppressed.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Targets = new Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec.BoundedVecT11(); + Targets.Decode(byteArray, ref p); + SubmittedIn = new Substrate.NetApi.Model.Types.Primitive.U32(); + SubmittedIn.Decode(byteArray, ref p); + Suppressed = new Substrate.NetApi.Model.Types.Primitive.Bool(); + Suppressed.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/StakingLedger.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/StakingLedger.cs new file mode 100644 index 00000000..e6b2f1c3 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/StakingLedger.cs @@ -0,0 +1,86 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_staking +{ + + + /// + /// >> 405 - Composite[pallet_staking.StakingLedger] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class StakingLedger : BaseType + { + + /// + /// >> stash + /// + public Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 Stash { get; set; } + /// + /// >> total + /// + public Substrate.NetApi.Model.Types.Base.BaseCom Total { get; set; } + /// + /// >> active + /// + public Substrate.NetApi.Model.Types.Base.BaseCom Active { get; set; } + /// + /// >> unlocking + /// + public Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec.BoundedVecT9 Unlocking { get; set; } + /// + /// >> legacy_claimed_rewards + /// + public Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec.BoundedVecT10 LegacyClaimedRewards { get; set; } + + /// + public override string TypeName() + { + return "StakingLedger"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Stash.Encode()); + result.AddRange(Total.Encode()); + result.AddRange(Active.Encode()); + result.AddRange(Unlocking.Encode()); + result.AddRange(LegacyClaimedRewards.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Stash = new Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32(); + Stash.Decode(byteArray, ref p); + Total = new Substrate.NetApi.Model.Types.Base.BaseCom(); + Total.Decode(byteArray, ref p); + Active = new Substrate.NetApi.Model.Types.Base.BaseCom(); + Active.Decode(byteArray, ref p); + Unlocking = new Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec.BoundedVecT9(); + Unlocking.Decode(byteArray, ref p); + LegacyClaimedRewards = new Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec.BoundedVecT10(); + LegacyClaimedRewards.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/UnappliedSlash.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/UnappliedSlash.cs new file mode 100644 index 00000000..e1238966 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/UnappliedSlash.cs @@ -0,0 +1,86 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_staking +{ + + + /// + /// >> 421 - Composite[pallet_staking.UnappliedSlash] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class UnappliedSlash : BaseType + { + + /// + /// >> validator + /// + public Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 Validator { get; set; } + /// + /// >> own + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Own { get; set; } + /// + /// >> others + /// + public Substrate.NetApi.Model.Types.Base.BaseVec> Others { get; set; } + /// + /// >> reporters + /// + public Substrate.NetApi.Model.Types.Base.BaseVec Reporters { get; set; } + /// + /// >> payout + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Payout { get; set; } + + /// + public override string TypeName() + { + return "UnappliedSlash"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Validator.Encode()); + result.AddRange(Own.Encode()); + result.AddRange(Others.Encode()); + result.AddRange(Reporters.Encode()); + result.AddRange(Payout.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Validator = new Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32(); + Validator.Decode(byteArray, ref p); + Own = new Substrate.NetApi.Model.Types.Primitive.U128(); + Own.Decode(byteArray, ref p); + Others = new Substrate.NetApi.Model.Types.Base.BaseVec>(); + Others.Decode(byteArray, ref p); + Reporters = new Substrate.NetApi.Model.Types.Base.BaseVec(); + Reporters.Decode(byteArray, ref p); + Payout = new Substrate.NetApi.Model.Types.Primitive.U128(); + Payout.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/UnlockChunk.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/UnlockChunk.cs new file mode 100644 index 00000000..94519579 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/UnlockChunk.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_staking +{ + + + /// + /// >> 407 - Composite[pallet_staking.UnlockChunk] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class UnlockChunk : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseCom Value { get; set; } + /// + /// >> era + /// + public Substrate.NetApi.Model.Types.Base.BaseCom Era { get; set; } + + /// + public override string TypeName() + { + return "UnlockChunk"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + result.AddRange(Era.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseCom(); + Value.Decode(byteArray, ref p); + Era = new Substrate.NetApi.Model.Types.Base.BaseCom(); + Era.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/ValidatorPrefs.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/ValidatorPrefs.cs new file mode 100644 index 00000000..9fabbfb8 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/ValidatorPrefs.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_staking +{ + + + /// + /// >> 52 - Composite[pallet_staking.ValidatorPrefs] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class ValidatorPrefs : BaseType + { + + /// + /// >> commission + /// + public Substrate.NetApi.Model.Types.Base.BaseCom Commission { get; set; } + /// + /// >> blocked + /// + public Substrate.NetApi.Model.Types.Primitive.Bool Blocked { get; set; } + + /// + public override string TypeName() + { + return "ValidatorPrefs"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Commission.Encode()); + result.AddRange(Blocked.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Commission = new Substrate.NetApi.Model.Types.Base.BaseCom(); + Commission.Decode(byteArray, ref p); + Blocked = new Substrate.NetApi.Model.Types.Primitive.Bool(); + Blocked.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/pallet/pallet/EnumCall.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/pallet/pallet/EnumCall.cs new file mode 100644 index 00000000..c9892d4a --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/pallet/pallet/EnumCall.cs @@ -0,0 +1,229 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_staking.pallet.pallet +{ + + + /// + /// >> Call + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public enum Call + { + + /// + /// >> bond + /// See [`Pallet::bond`]. + /// + bond = 0, + + /// + /// >> bond_extra + /// See [`Pallet::bond_extra`]. + /// + bond_extra = 1, + + /// + /// >> unbond + /// See [`Pallet::unbond`]. + /// + unbond = 2, + + /// + /// >> withdraw_unbonded + /// See [`Pallet::withdraw_unbonded`]. + /// + withdraw_unbonded = 3, + + /// + /// >> validate + /// See [`Pallet::validate`]. + /// + validate = 4, + + /// + /// >> nominate + /// See [`Pallet::nominate`]. + /// + nominate = 5, + + /// + /// >> chill + /// See [`Pallet::chill`]. + /// + chill = 6, + + /// + /// >> set_payee + /// See [`Pallet::set_payee`]. + /// + set_payee = 7, + + /// + /// >> set_controller + /// See [`Pallet::set_controller`]. + /// + set_controller = 8, + + /// + /// >> set_validator_count + /// See [`Pallet::set_validator_count`]. + /// + set_validator_count = 9, + + /// + /// >> increase_validator_count + /// See [`Pallet::increase_validator_count`]. + /// + increase_validator_count = 10, + + /// + /// >> scale_validator_count + /// See [`Pallet::scale_validator_count`]. + /// + scale_validator_count = 11, + + /// + /// >> force_no_eras + /// See [`Pallet::force_no_eras`]. + /// + force_no_eras = 12, + + /// + /// >> force_new_era + /// See [`Pallet::force_new_era`]. + /// + force_new_era = 13, + + /// + /// >> set_invulnerables + /// See [`Pallet::set_invulnerables`]. + /// + set_invulnerables = 14, + + /// + /// >> force_unstake + /// See [`Pallet::force_unstake`]. + /// + force_unstake = 15, + + /// + /// >> force_new_era_always + /// See [`Pallet::force_new_era_always`]. + /// + force_new_era_always = 16, + + /// + /// >> cancel_deferred_slash + /// See [`Pallet::cancel_deferred_slash`]. + /// + cancel_deferred_slash = 17, + + /// + /// >> payout_stakers + /// See [`Pallet::payout_stakers`]. + /// + payout_stakers = 18, + + /// + /// >> rebond + /// See [`Pallet::rebond`]. + /// + rebond = 19, + + /// + /// >> reap_stash + /// See [`Pallet::reap_stash`]. + /// + reap_stash = 20, + + /// + /// >> kick + /// See [`Pallet::kick`]. + /// + kick = 21, + + /// + /// >> set_staking_configs + /// See [`Pallet::set_staking_configs`]. + /// + set_staking_configs = 22, + + /// + /// >> chill_other + /// See [`Pallet::chill_other`]. + /// + chill_other = 23, + + /// + /// >> force_apply_min_commission + /// See [`Pallet::force_apply_min_commission`]. + /// + force_apply_min_commission = 24, + + /// + /// >> set_min_commission + /// See [`Pallet::set_min_commission`]. + /// + set_min_commission = 25, + + /// + /// >> payout_stakers_by_page + /// See [`Pallet::payout_stakers_by_page`]. + /// + payout_stakers_by_page = 26, + } + + /// + /// >> 105 - Variant[pallet_staking.pallet.pallet.Call] + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public sealed class EnumCall : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumCall() + { + AddTypeDecoder, Substrate.Gear.Api.Generated.Model.pallet_staking.EnumRewardDestination>>(Call.bond); + AddTypeDecoder>(Call.bond_extra); + AddTypeDecoder>(Call.unbond); + AddTypeDecoder(Call.withdraw_unbonded); + AddTypeDecoder(Call.validate); + AddTypeDecoder>(Call.nominate); + AddTypeDecoder(Call.chill); + AddTypeDecoder(Call.set_payee); + AddTypeDecoder(Call.set_controller); + AddTypeDecoder>(Call.set_validator_count); + AddTypeDecoder>(Call.increase_validator_count); + AddTypeDecoder(Call.scale_validator_count); + AddTypeDecoder(Call.force_no_eras); + AddTypeDecoder(Call.force_new_era); + AddTypeDecoder>(Call.set_invulnerables); + AddTypeDecoder>(Call.force_unstake); + AddTypeDecoder(Call.force_new_era_always); + AddTypeDecoder>>(Call.cancel_deferred_slash); + AddTypeDecoder>(Call.payout_stakers); + AddTypeDecoder>(Call.rebond); + AddTypeDecoder>(Call.reap_stash); + AddTypeDecoder>(Call.kick); + AddTypeDecoder>(Call.set_staking_configs); + AddTypeDecoder(Call.chill_other); + AddTypeDecoder(Call.force_apply_min_commission); + AddTypeDecoder(Call.set_min_commission); + AddTypeDecoder>(Call.payout_stakers_by_page); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/pallet/pallet/EnumConfigOp.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/pallet/pallet/EnumConfigOp.cs new file mode 100644 index 00000000..a392ebcf --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/pallet/pallet/EnumConfigOp.cs @@ -0,0 +1,56 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_staking.pallet.pallet +{ + + + /// + /// >> ConfigOp + /// + public enum ConfigOp + { + + /// + /// >> Noop + /// + Noop = 0, + + /// + /// >> Set + /// + Set = 1, + + /// + /// >> Remove + /// + Remove = 2, + } + + /// + /// >> 112 - Variant[pallet_staking.pallet.pallet.ConfigOp] + /// + public sealed class EnumConfigOp : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumConfigOp() + { + AddTypeDecoder(ConfigOp.Noop); + AddTypeDecoder(ConfigOp.Set); + AddTypeDecoder(ConfigOp.Remove); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/pallet/pallet/EnumError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/pallet/pallet/EnumError.cs new file mode 100644 index 00000000..ad8bd3f7 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/pallet/pallet/EnumError.cs @@ -0,0 +1,193 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_staking.pallet.pallet +{ + + + /// + /// >> Error + /// The `Error` enum of this pallet. + /// + public enum Error + { + + /// + /// >> NotController + /// Not a controller account. + /// + NotController = 0, + + /// + /// >> NotStash + /// Not a stash account. + /// + NotStash = 1, + + /// + /// >> AlreadyBonded + /// Stash is already bonded. + /// + AlreadyBonded = 2, + + /// + /// >> AlreadyPaired + /// Controller is already paired. + /// + AlreadyPaired = 3, + + /// + /// >> EmptyTargets + /// Targets cannot be empty. + /// + EmptyTargets = 4, + + /// + /// >> DuplicateIndex + /// Duplicate index. + /// + DuplicateIndex = 5, + + /// + /// >> InvalidSlashIndex + /// Slash record index out of bounds. + /// + InvalidSlashIndex = 6, + + /// + /// >> InsufficientBond + /// Cannot have a validator or nominator role, with value less than the minimum defined by + /// governance (see `MinValidatorBond` and `MinNominatorBond`). If unbonding is the + /// intention, `chill` first to remove one's role as validator/nominator. + /// + InsufficientBond = 7, + + /// + /// >> NoMoreChunks + /// Can not schedule more unlock chunks. + /// + NoMoreChunks = 8, + + /// + /// >> NoUnlockChunk + /// Can not rebond without unlocking chunks. + /// + NoUnlockChunk = 9, + + /// + /// >> FundedTarget + /// Attempting to target a stash that still has funds. + /// + FundedTarget = 10, + + /// + /// >> InvalidEraToReward + /// Invalid era to reward. + /// + InvalidEraToReward = 11, + + /// + /// >> InvalidNumberOfNominations + /// Invalid number of nominations. + /// + InvalidNumberOfNominations = 12, + + /// + /// >> NotSortedAndUnique + /// Items are not sorted and unique. + /// + NotSortedAndUnique = 13, + + /// + /// >> AlreadyClaimed + /// Rewards for this era have already been claimed for this validator. + /// + AlreadyClaimed = 14, + + /// + /// >> InvalidPage + /// No nominators exist on this page. + /// + InvalidPage = 15, + + /// + /// >> IncorrectHistoryDepth + /// Incorrect previous history depth input provided. + /// + IncorrectHistoryDepth = 16, + + /// + /// >> IncorrectSlashingSpans + /// Incorrect number of slashing spans provided. + /// + IncorrectSlashingSpans = 17, + + /// + /// >> BadState + /// Internal state has become somehow corrupted and the operation cannot continue. + /// + BadState = 18, + + /// + /// >> TooManyTargets + /// Too many nomination targets supplied. + /// + TooManyTargets = 19, + + /// + /// >> BadTarget + /// A nomination target was supplied that was blocked or otherwise not a validator. + /// + BadTarget = 20, + + /// + /// >> CannotChillOther + /// The user has enough bond and thus cannot be chilled forcefully by an external person. + /// + CannotChillOther = 21, + + /// + /// >> TooManyNominators + /// There are too many nominators in the system. Governance needs to adjust the staking + /// settings to keep things safe for the runtime. + /// + TooManyNominators = 22, + + /// + /// >> TooManyValidators + /// There are too many validator candidates in the system. Governance needs to adjust the + /// staking settings to keep things safe for the runtime. + /// + TooManyValidators = 23, + + /// + /// >> CommissionTooLow + /// Commission is too low. Must be at least `MinCommission`. + /// + CommissionTooLow = 24, + + /// + /// >> BoundNotMet + /// Some bound is not met. + /// + BoundNotMet = 25, + } + + /// + /// >> 427 - Variant[pallet_staking.pallet.pallet.Error] + /// The `Error` enum of this pallet. + /// + public sealed class EnumError : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/pallet/pallet/EnumEvent.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/pallet/pallet/EnumEvent.cs new file mode 100644 index 00000000..4192eeed --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/pallet/pallet/EnumEvent.cs @@ -0,0 +1,166 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_staking.pallet.pallet +{ + + + /// + /// >> Event + /// The `Event` enum of this pallet + /// + public enum Event + { + + /// + /// >> EraPaid + /// The era payout has been set; the first balance is the validator-payout; the second is + /// the remainder from the maximum amount of reward. + /// + EraPaid = 0, + + /// + /// >> Rewarded + /// The nominator has been rewarded by this amount to this destination. + /// + Rewarded = 1, + + /// + /// >> Slashed + /// A staker (validator or nominator) has been slashed by the given amount. + /// + Slashed = 2, + + /// + /// >> SlashReported + /// A slash for the given validator, for the given percentage of their stake, at the given + /// era as been reported. + /// + SlashReported = 3, + + /// + /// >> OldSlashingReportDiscarded + /// An old slashing report from a prior era was discarded because it could + /// not be processed. + /// + OldSlashingReportDiscarded = 4, + + /// + /// >> StakersElected + /// A new set of stakers was elected. + /// + StakersElected = 5, + + /// + /// >> Bonded + /// An account has bonded this amount. \[stash, amount\] + /// + /// NOTE: This event is only emitted when funds are bonded via a dispatchable. Notably, + /// it will not be emitted for staking rewards when they are added to stake. + /// + Bonded = 6, + + /// + /// >> Unbonded + /// An account has unbonded this amount. + /// + Unbonded = 7, + + /// + /// >> Withdrawn + /// An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance` + /// from the unlocking queue. + /// + Withdrawn = 8, + + /// + /// >> Kicked + /// A nominator has been kicked from a validator. + /// + Kicked = 9, + + /// + /// >> StakingElectionFailed + /// The election failed. No new era is planned. + /// + StakingElectionFailed = 10, + + /// + /// >> Chilled + /// An account has stopped participating as either a validator or nominator. + /// + Chilled = 11, + + /// + /// >> PayoutStarted + /// The stakers' rewards are getting paid. + /// + PayoutStarted = 12, + + /// + /// >> ValidatorPrefsSet + /// A validator has set their preferences. + /// + ValidatorPrefsSet = 13, + + /// + /// >> SnapshotVotersSizeExceeded + /// Voters size limit reached. + /// + SnapshotVotersSizeExceeded = 14, + + /// + /// >> SnapshotTargetsSizeExceeded + /// Targets size limit reached. + /// + SnapshotTargetsSizeExceeded = 15, + + /// + /// >> ForceEra + /// A new force era mode was set. + /// + ForceEra = 16, + } + + /// + /// >> 49 - Variant[pallet_staking.pallet.pallet.Event] + /// The `Event` enum of this pallet + /// + public sealed class EnumEvent : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumEvent() + { + AddTypeDecoder>(Event.EraPaid); + AddTypeDecoder>(Event.Rewarded); + AddTypeDecoder>(Event.Slashed); + AddTypeDecoder>(Event.SlashReported); + AddTypeDecoder(Event.OldSlashingReportDiscarded); + AddTypeDecoder(Event.StakersElected); + AddTypeDecoder>(Event.Bonded); + AddTypeDecoder>(Event.Unbonded); + AddTypeDecoder>(Event.Withdrawn); + AddTypeDecoder>(Event.Kicked); + AddTypeDecoder(Event.StakingElectionFailed); + AddTypeDecoder(Event.Chilled); + AddTypeDecoder>(Event.PayoutStarted); + AddTypeDecoder>(Event.ValidatorPrefsSet); + AddTypeDecoder(Event.SnapshotVotersSizeExceeded); + AddTypeDecoder(Event.SnapshotTargetsSizeExceeded); + AddTypeDecoder(Event.ForceEra); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/slashing/SlashingSpans.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/slashing/SlashingSpans.cs new file mode 100644 index 00000000..08f6da69 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/slashing/SlashingSpans.cs @@ -0,0 +1,79 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_staking.slashing +{ + + + /// + /// >> 423 - Composite[pallet_staking.slashing.SlashingSpans] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class SlashingSpans : BaseType + { + + /// + /// >> span_index + /// + public Substrate.NetApi.Model.Types.Primitive.U32 SpanIndex { get; set; } + /// + /// >> last_start + /// + public Substrate.NetApi.Model.Types.Primitive.U32 LastStart { get; set; } + /// + /// >> last_nonzero_slash + /// + public Substrate.NetApi.Model.Types.Primitive.U32 LastNonzeroSlash { get; set; } + /// + /// >> prior + /// + public Substrate.NetApi.Model.Types.Base.BaseVec Prior { get; set; } + + /// + public override string TypeName() + { + return "SlashingSpans"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(SpanIndex.Encode()); + result.AddRange(LastStart.Encode()); + result.AddRange(LastNonzeroSlash.Encode()); + result.AddRange(Prior.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + SpanIndex = new Substrate.NetApi.Model.Types.Primitive.U32(); + SpanIndex.Decode(byteArray, ref p); + LastStart = new Substrate.NetApi.Model.Types.Primitive.U32(); + LastStart.Decode(byteArray, ref p); + LastNonzeroSlash = new Substrate.NetApi.Model.Types.Primitive.U32(); + LastNonzeroSlash.Decode(byteArray, ref p); + Prior = new Substrate.NetApi.Model.Types.Base.BaseVec(); + Prior.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/slashing/SpanRecord.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/slashing/SpanRecord.cs new file mode 100644 index 00000000..d747e721 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_staking/slashing/SpanRecord.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_staking.slashing +{ + + + /// + /// >> 424 - Composite[pallet_staking.slashing.SpanRecord] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class SpanRecord : BaseType + { + + /// + /// >> slashed + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Slashed { get; set; } + /// + /// >> paid_out + /// + public Substrate.NetApi.Model.Types.Primitive.U128 PaidOut { get; set; } + + /// + public override string TypeName() + { + return "SpanRecord"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Slashed.Encode()); + result.AddRange(PaidOut.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Slashed = new Substrate.NetApi.Model.Types.Primitive.U128(); + Slashed.Decode(byteArray, ref p); + PaidOut = new Substrate.NetApi.Model.Types.Primitive.U128(); + PaidOut.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_timestamp/pallet/EnumCall.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_timestamp/pallet/EnumCall.cs new file mode 100644 index 00000000..946c455c --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_timestamp/pallet/EnumCall.cs @@ -0,0 +1,47 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_timestamp.pallet +{ + + + /// + /// >> Call + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public enum Call + { + + /// + /// >> set + /// See [`Pallet::set`]. + /// + set = 0, + } + + /// + /// >> 70 - Variant[pallet_timestamp.pallet.Call] + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public sealed class EnumCall : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumCall() + { + AddTypeDecoder>(Call.set); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_transaction_payment/ChargeTransactionPayment.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_transaction_payment/ChargeTransactionPayment.cs new file mode 100644 index 00000000..9d28b82b --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_transaction_payment/ChargeTransactionPayment.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_transaction_payment +{ + + + /// + /// >> 652 - Composite[pallet_transaction_payment.ChargeTransactionPayment] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class ChargeTransactionPayment : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseCom Value { get; set; } + + /// + public override string TypeName() + { + return "ChargeTransactionPayment"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseCom(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_transaction_payment/EnumReleases.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_transaction_payment/EnumReleases.cs new file mode 100644 index 00000000..7bde00aa --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_transaction_payment/EnumReleases.cs @@ -0,0 +1,41 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_transaction_payment +{ + + + /// + /// >> Releases + /// + public enum Releases + { + + /// + /// >> V1Ancient + /// + V1Ancient = 0, + + /// + /// >> V2 + /// + V2 = 1, + } + + /// + /// >> 395 - Variant[pallet_transaction_payment.Releases] + /// + public sealed class EnumReleases : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_transaction_payment/pallet/EnumEvent.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_transaction_payment/pallet/EnumEvent.cs new file mode 100644 index 00000000..53cf6f6f --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_transaction_payment/pallet/EnumEvent.cs @@ -0,0 +1,48 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_transaction_payment.pallet +{ + + + /// + /// >> Event + /// The `Event` enum of this pallet + /// + public enum Event + { + + /// + /// >> TransactionFeePaid + /// A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee, + /// has been paid by `who`. + /// + TransactionFeePaid = 0, + } + + /// + /// >> 38 - Variant[pallet_transaction_payment.pallet.Event] + /// The `Event` enum of this pallet + /// + public sealed class EnumEvent : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumEvent() + { + AddTypeDecoder>(Event.TransactionFeePaid); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_treasury/EnumPaymentState.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_treasury/EnumPaymentState.cs new file mode 100644 index 00000000..ffc0a653 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_treasury/EnumPaymentState.cs @@ -0,0 +1,56 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_treasury +{ + + + /// + /// >> PaymentState + /// + public enum PaymentState + { + + /// + /// >> Pending + /// + Pending = 0, + + /// + /// >> Attempted + /// + Attempted = 1, + + /// + /// >> Failed + /// + Failed = 2, + } + + /// + /// >> 436 - Variant[pallet_treasury.PaymentState] + /// + public sealed class EnumPaymentState : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumPaymentState() + { + AddTypeDecoder(PaymentState.Pending); + AddTypeDecoder(PaymentState.Attempted); + AddTypeDecoder(PaymentState.Failed); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_treasury/Proposal.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_treasury/Proposal.cs new file mode 100644 index 00000000..520de5fb --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_treasury/Proposal.cs @@ -0,0 +1,79 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_treasury +{ + + + /// + /// >> 433 - Composite[pallet_treasury.Proposal] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Proposal : BaseType + { + + /// + /// >> proposer + /// + public Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 Proposer { get; set; } + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Value { get; set; } + /// + /// >> beneficiary + /// + public Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 Beneficiary { get; set; } + /// + /// >> bond + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Bond { get; set; } + + /// + public override string TypeName() + { + return "Proposal"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Proposer.Encode()); + result.AddRange(Value.Encode()); + result.AddRange(Beneficiary.Encode()); + result.AddRange(Bond.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Proposer = new Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32(); + Proposer.Decode(byteArray, ref p); + Value = new Substrate.NetApi.Model.Types.Primitive.U128(); + Value.Decode(byteArray, ref p); + Beneficiary = new Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32(); + Beneficiary.Decode(byteArray, ref p); + Bond = new Substrate.NetApi.Model.Types.Primitive.U128(); + Bond.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_treasury/SpendStatus.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_treasury/SpendStatus.cs new file mode 100644 index 00000000..bcd34b79 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_treasury/SpendStatus.cs @@ -0,0 +1,93 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_treasury +{ + + + /// + /// >> 435 - Composite[pallet_treasury.SpendStatus] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class SpendStatus : BaseType + { + + /// + /// >> asset_kind + /// + public Substrate.NetApi.Model.Types.Base.BaseTuple AssetKind { get; set; } + /// + /// >> amount + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Amount { get; set; } + /// + /// >> beneficiary + /// + public Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 Beneficiary { get; set; } + /// + /// >> valid_from + /// + public Substrate.NetApi.Model.Types.Primitive.U32 ValidFrom { get; set; } + /// + /// >> expire_at + /// + public Substrate.NetApi.Model.Types.Primitive.U32 ExpireAt { get; set; } + /// + /// >> status + /// + public Substrate.Gear.Api.Generated.Model.pallet_treasury.EnumPaymentState Status { get; set; } + + /// + public override string TypeName() + { + return "SpendStatus"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(AssetKind.Encode()); + result.AddRange(Amount.Encode()); + result.AddRange(Beneficiary.Encode()); + result.AddRange(ValidFrom.Encode()); + result.AddRange(ExpireAt.Encode()); + result.AddRange(Status.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + AssetKind = new Substrate.NetApi.Model.Types.Base.BaseTuple(); + AssetKind.Decode(byteArray, ref p); + Amount = new Substrate.NetApi.Model.Types.Primitive.U128(); + Amount.Decode(byteArray, ref p); + Beneficiary = new Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32(); + Beneficiary.Decode(byteArray, ref p); + ValidFrom = new Substrate.NetApi.Model.Types.Primitive.U32(); + ValidFrom.Decode(byteArray, ref p); + ExpireAt = new Substrate.NetApi.Model.Types.Primitive.U32(); + ExpireAt.Decode(byteArray, ref p); + Status = new Substrate.Gear.Api.Generated.Model.pallet_treasury.EnumPaymentState(); + Status.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_treasury/pallet/EnumCall.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_treasury/pallet/EnumCall.cs new file mode 100644 index 00000000..fee9e07a --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_treasury/pallet/EnumCall.cs @@ -0,0 +1,103 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_treasury.pallet +{ + + + /// + /// >> Call + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public enum Call + { + + /// + /// >> propose_spend + /// See [`Pallet::propose_spend`]. + /// + propose_spend = 0, + + /// + /// >> reject_proposal + /// See [`Pallet::reject_proposal`]. + /// + reject_proposal = 1, + + /// + /// >> approve_proposal + /// See [`Pallet::approve_proposal`]. + /// + approve_proposal = 2, + + /// + /// >> spend_local + /// See [`Pallet::spend_local`]. + /// + spend_local = 3, + + /// + /// >> remove_approval + /// See [`Pallet::remove_approval`]. + /// + remove_approval = 4, + + /// + /// >> spend + /// See [`Pallet::spend`]. + /// + spend = 5, + + /// + /// >> payout + /// See [`Pallet::payout`]. + /// + payout = 6, + + /// + /// >> check_status + /// See [`Pallet::check_status`]. + /// + check_status = 7, + + /// + /// >> void_spend + /// See [`Pallet::void_spend`]. + /// + void_spend = 8, + } + + /// + /// >> 116 - Variant[pallet_treasury.pallet.Call] + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public sealed class EnumCall : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumCall() + { + AddTypeDecoder, Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress>>(Call.propose_spend); + AddTypeDecoder>(Call.reject_proposal); + AddTypeDecoder>(Call.approve_proposal); + AddTypeDecoder, Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress>>(Call.spend_local); + AddTypeDecoder>(Call.remove_approval); + AddTypeDecoder, Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32, Substrate.NetApi.Model.Types.Base.BaseOpt>>(Call.spend); + AddTypeDecoder(Call.payout); + AddTypeDecoder(Call.check_status); + AddTypeDecoder(Call.void_spend); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_treasury/pallet/EnumError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_treasury/pallet/EnumError.cs new file mode 100644 index 00000000..9e12d840 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_treasury/pallet/EnumError.cs @@ -0,0 +1,106 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_treasury.pallet +{ + + + /// + /// >> Error + /// Error for the treasury pallet. + /// + public enum Error + { + + /// + /// >> InsufficientProposersBalance + /// Proposer's balance is too low. + /// + InsufficientProposersBalance = 0, + + /// + /// >> InvalidIndex + /// No proposal, bounty or spend at that index. + /// + InvalidIndex = 1, + + /// + /// >> TooManyApprovals + /// Too many approvals in the queue. + /// + TooManyApprovals = 2, + + /// + /// >> InsufficientPermission + /// The spend origin is valid but the amount it is allowed to spend is lower than the + /// amount to be spent. + /// + InsufficientPermission = 3, + + /// + /// >> ProposalNotApproved + /// Proposal has not been approved. + /// + ProposalNotApproved = 4, + + /// + /// >> FailedToConvertBalance + /// The balance of the asset kind is not convertible to the balance of the native asset. + /// + FailedToConvertBalance = 5, + + /// + /// >> SpendExpired + /// The spend has expired and cannot be claimed. + /// + SpendExpired = 6, + + /// + /// >> EarlyPayout + /// The spend is not yet eligible for payout. + /// + EarlyPayout = 7, + + /// + /// >> AlreadyAttempted + /// The payment has already been attempted. + /// + AlreadyAttempted = 8, + + /// + /// >> PayoutError + /// There was some issue with the mechanism of payment. + /// + PayoutError = 9, + + /// + /// >> NotAttempted + /// The payout was not yet attempted/claimed. + /// + NotAttempted = 10, + + /// + /// >> Inconclusive + /// The payment has neither failed nor succeeded yet. + /// + Inconclusive = 11, + } + + /// + /// >> 439 - Variant[pallet_treasury.pallet.Error] + /// Error for the treasury pallet. + /// + public sealed class EnumError : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_treasury/pallet/EnumEvent.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_treasury/pallet/EnumEvent.cs new file mode 100644 index 00000000..b34d5430 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_treasury/pallet/EnumEvent.cs @@ -0,0 +1,139 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_treasury.pallet +{ + + + /// + /// >> Event + /// The `Event` enum of this pallet + /// + public enum Event + { + + /// + /// >> Proposed + /// New proposal. + /// + Proposed = 0, + + /// + /// >> Spending + /// We have ended a spend period and will now allocate funds. + /// + Spending = 1, + + /// + /// >> Awarded + /// Some funds have been allocated. + /// + Awarded = 2, + + /// + /// >> Rejected + /// A proposal was rejected; funds were slashed. + /// + Rejected = 3, + + /// + /// >> Burnt + /// Some of our funds have been burnt. + /// + Burnt = 4, + + /// + /// >> Rollover + /// Spending has finished; this is the amount that rolls over until next spend. + /// + Rollover = 5, + + /// + /// >> Deposit + /// Some funds have been deposited. + /// + Deposit = 6, + + /// + /// >> SpendApproved + /// A new spend proposal has been approved. + /// + SpendApproved = 7, + + /// + /// >> UpdatedInactive + /// The inactive funds of the pallet have been updated. + /// + UpdatedInactive = 8, + + /// + /// >> AssetSpendApproved + /// A new asset spend proposal has been approved. + /// + AssetSpendApproved = 9, + + /// + /// >> AssetSpendVoided + /// An approved spend was voided. + /// + AssetSpendVoided = 10, + + /// + /// >> Paid + /// A payment happened. + /// + Paid = 11, + + /// + /// >> PaymentFailed + /// A payment failed and can be retried. + /// + PaymentFailed = 12, + + /// + /// >> SpendProcessed + /// A spend was processed and removed from the storage. It might have been successfully + /// paid or it may have expired. + /// + SpendProcessed = 13, + } + + /// + /// >> 57 - Variant[pallet_treasury.pallet.Event] + /// The `Event` enum of this pallet + /// + public sealed class EnumEvent : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumEvent() + { + AddTypeDecoder(Event.Proposed); + AddTypeDecoder(Event.Spending); + AddTypeDecoder>(Event.Awarded); + AddTypeDecoder>(Event.Rejected); + AddTypeDecoder(Event.Burnt); + AddTypeDecoder(Event.Rollover); + AddTypeDecoder(Event.Deposit); + AddTypeDecoder>(Event.SpendApproved); + AddTypeDecoder>(Event.UpdatedInactive); + AddTypeDecoder>(Event.AssetSpendApproved); + AddTypeDecoder(Event.AssetSpendVoided); + AddTypeDecoder>(Event.Paid); + AddTypeDecoder>(Event.PaymentFailed); + AddTypeDecoder(Event.SpendProcessed); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_utility/pallet/EnumCall.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_utility/pallet/EnumCall.cs new file mode 100644 index 00000000..0164027f --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_utility/pallet/EnumCall.cs @@ -0,0 +1,82 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_utility.pallet +{ + + + /// + /// >> Call + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public enum Call + { + + /// + /// >> batch + /// See [`Pallet::batch`]. + /// + batch = 0, + + /// + /// >> as_derivative + /// See [`Pallet::as_derivative`]. + /// + as_derivative = 1, + + /// + /// >> batch_all + /// See [`Pallet::batch_all`]. + /// + batch_all = 2, + + /// + /// >> dispatch_as + /// See [`Pallet::dispatch_as`]. + /// + dispatch_as = 3, + + /// + /// >> force_batch + /// See [`Pallet::force_batch`]. + /// + force_batch = 4, + + /// + /// >> with_weight + /// See [`Pallet::with_weight`]. + /// + with_weight = 5, + } + + /// + /// >> 118 - Variant[pallet_utility.pallet.Call] + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public sealed class EnumCall : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumCall() + { + AddTypeDecoder>(Call.batch); + AddTypeDecoder>(Call.as_derivative); + AddTypeDecoder>(Call.batch_all); + AddTypeDecoder>(Call.dispatch_as); + AddTypeDecoder>(Call.force_batch); + AddTypeDecoder>(Call.with_weight); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_utility/pallet/EnumError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_utility/pallet/EnumError.cs new file mode 100644 index 00000000..9305ecd8 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_utility/pallet/EnumError.cs @@ -0,0 +1,39 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_utility.pallet +{ + + + /// + /// >> Error + /// The `Error` enum of this pallet. + /// + public enum Error + { + + /// + /// >> TooManyCalls + /// Too many calls batched. + /// + TooManyCalls = 0, + } + + /// + /// >> 441 - Variant[pallet_utility.pallet.Error] + /// The `Error` enum of this pallet. + /// + public sealed class EnumError : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_utility/pallet/EnumEvent.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_utility/pallet/EnumEvent.cs new file mode 100644 index 00000000..ef912be1 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_utility/pallet/EnumEvent.cs @@ -0,0 +1,83 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_utility.pallet +{ + + + /// + /// >> Event + /// The `Event` enum of this pallet + /// + public enum Event + { + + /// + /// >> BatchInterrupted + /// Batch of dispatches did not complete fully. Index of first failing dispatch given, as + /// well as the error. + /// + BatchInterrupted = 0, + + /// + /// >> BatchCompleted + /// Batch of dispatches completed fully with no error. + /// + BatchCompleted = 1, + + /// + /// >> BatchCompletedWithErrors + /// Batch of dispatches completed but has errors. + /// + BatchCompletedWithErrors = 2, + + /// + /// >> ItemCompleted + /// A single item within a Batch of dispatches has completed with no error. + /// + ItemCompleted = 3, + + /// + /// >> ItemFailed + /// A single item within a Batch of dispatches has completed with error. + /// + ItemFailed = 4, + + /// + /// >> DispatchedAs + /// A call was dispatched. + /// + DispatchedAs = 5, + } + + /// + /// >> 59 - Variant[pallet_utility.pallet.Event] + /// The `Event` enum of this pallet + /// + public sealed class EnumEvent : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumEvent() + { + AddTypeDecoder>(Event.BatchInterrupted); + AddTypeDecoder(Event.BatchCompleted); + AddTypeDecoder(Event.BatchCompletedWithErrors); + AddTypeDecoder(Event.ItemCompleted); + AddTypeDecoder(Event.ItemFailed); + AddTypeDecoder(Event.DispatchedAs); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_vesting/EnumReleases.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_vesting/EnumReleases.cs new file mode 100644 index 00000000..32e94a29 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_vesting/EnumReleases.cs @@ -0,0 +1,41 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_vesting +{ + + + /// + /// >> Releases + /// + public enum Releases + { + + /// + /// >> V0 + /// + V0 = 0, + + /// + /// >> V1 + /// + V1 = 1, + } + + /// + /// >> 392 - Variant[pallet_vesting.Releases] + /// + public sealed class EnumReleases : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_vesting/pallet/EnumCall.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_vesting/pallet/EnumCall.cs new file mode 100644 index 00000000..addef31e --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_vesting/pallet/EnumCall.cs @@ -0,0 +1,82 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_vesting.pallet +{ + + + /// + /// >> Call + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public enum Call + { + + /// + /// >> vest + /// See [`Pallet::vest`]. + /// + vest = 0, + + /// + /// >> vest_other + /// See [`Pallet::vest_other`]. + /// + vest_other = 1, + + /// + /// >> vested_transfer + /// See [`Pallet::vested_transfer`]. + /// + vested_transfer = 2, + + /// + /// >> force_vested_transfer + /// See [`Pallet::force_vested_transfer`]. + /// + force_vested_transfer = 3, + + /// + /// >> merge_schedules + /// See [`Pallet::merge_schedules`]. + /// + merge_schedules = 4, + + /// + /// >> force_remove_vesting_schedule + /// See [`Pallet::force_remove_vesting_schedule`]. + /// + force_remove_vesting_schedule = 5, + } + + /// + /// >> 98 - Variant[pallet_vesting.pallet.Call] + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public sealed class EnumCall : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumCall() + { + AddTypeDecoder(Call.vest); + AddTypeDecoder(Call.vest_other); + AddTypeDecoder>(Call.vested_transfer); + AddTypeDecoder>(Call.force_vested_transfer); + AddTypeDecoder>(Call.merge_schedules); + AddTypeDecoder>(Call.force_remove_vesting_schedule); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_vesting/pallet/EnumError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_vesting/pallet/EnumError.cs new file mode 100644 index 00000000..6571fc79 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_vesting/pallet/EnumError.cs @@ -0,0 +1,64 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_vesting.pallet +{ + + + /// + /// >> Error + /// Error for the vesting pallet. + /// + public enum Error + { + + /// + /// >> NotVesting + /// The account given is not vesting. + /// + NotVesting = 0, + + /// + /// >> AtMaxVestingSchedules + /// The account already has `MaxVestingSchedules` count of schedules and thus + /// cannot add another one. Consider merging existing schedules in order to add another. + /// + AtMaxVestingSchedules = 1, + + /// + /// >> AmountLow + /// Amount being transferred is too low to create a vesting schedule. + /// + AmountLow = 2, + + /// + /// >> ScheduleIndexOutOfBounds + /// An index was out of bounds of the vesting schedules. + /// + ScheduleIndexOutOfBounds = 3, + + /// + /// >> InvalidScheduleParams + /// Failed to create a new schedule because some parameter was invalid. + /// + InvalidScheduleParams = 4, + } + + /// + /// >> 393 - Variant[pallet_vesting.pallet.Error] + /// Error for the vesting pallet. + /// + public sealed class EnumError : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_vesting/pallet/EnumEvent.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_vesting/pallet/EnumEvent.cs new file mode 100644 index 00000000..54db616a --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_vesting/pallet/EnumEvent.cs @@ -0,0 +1,55 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_vesting.pallet +{ + + + /// + /// >> Event + /// The `Event` enum of this pallet + /// + public enum Event + { + + /// + /// >> VestingUpdated + /// The amount vested has been updated. This could indicate a change in funds available. + /// The balance given is the amount which is left unvested (and thus locked). + /// + VestingUpdated = 0, + + /// + /// >> VestingCompleted + /// An \[account\] has become fully vested. + /// + VestingCompleted = 1, + } + + /// + /// >> 37 - Variant[pallet_vesting.pallet.Event] + /// The `Event` enum of this pallet + /// + public sealed class EnumEvent : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumEvent() + { + AddTypeDecoder>(Event.VestingUpdated); + AddTypeDecoder(Event.VestingCompleted); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_vesting/vesting_info/VestingInfo.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_vesting/vesting_info/VestingInfo.cs new file mode 100644 index 00000000..49194fd3 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_vesting/vesting_info/VestingInfo.cs @@ -0,0 +1,72 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_vesting.vesting_info +{ + + + /// + /// >> 99 - Composite[pallet_vesting.vesting_info.VestingInfo] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class VestingInfo : BaseType + { + + /// + /// >> locked + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Locked { get; set; } + /// + /// >> per_block + /// + public Substrate.NetApi.Model.Types.Primitive.U128 PerBlock { get; set; } + /// + /// >> starting_block + /// + public Substrate.NetApi.Model.Types.Primitive.U32 StartingBlock { get; set; } + + /// + public override string TypeName() + { + return "VestingInfo"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Locked.Encode()); + result.AddRange(PerBlock.Encode()); + result.AddRange(StartingBlock.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Locked = new Substrate.NetApi.Model.Types.Primitive.U128(); + Locked.Decode(byteArray, ref p); + PerBlock = new Substrate.NetApi.Model.Types.Primitive.U128(); + PerBlock.Decode(byteArray, ref p); + StartingBlock = new Substrate.NetApi.Model.Types.Primitive.U32(); + StartingBlock.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_whitelist/pallet/EnumCall.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_whitelist/pallet/EnumCall.cs new file mode 100644 index 00000000..90d73aed --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_whitelist/pallet/EnumCall.cs @@ -0,0 +1,68 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_whitelist.pallet +{ + + + /// + /// >> Call + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public enum Call + { + + /// + /// >> whitelist_call + /// See [`Pallet::whitelist_call`]. + /// + whitelist_call = 0, + + /// + /// >> remove_whitelisted_call + /// See [`Pallet::remove_whitelisted_call`]. + /// + remove_whitelisted_call = 1, + + /// + /// >> dispatch_whitelisted_call + /// See [`Pallet::dispatch_whitelisted_call`]. + /// + dispatch_whitelisted_call = 2, + + /// + /// >> dispatch_whitelisted_call_with_preimage + /// See [`Pallet::dispatch_whitelisted_call_with_preimage`]. + /// + dispatch_whitelisted_call_with_preimage = 3, + } + + /// + /// >> 134 - Variant[pallet_whitelist.pallet.Call] + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public sealed class EnumCall : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumCall() + { + AddTypeDecoder(Call.whitelist_call); + AddTypeDecoder(Call.remove_whitelisted_call); + AddTypeDecoder>(Call.dispatch_whitelisted_call); + AddTypeDecoder(Call.dispatch_whitelisted_call_with_preimage); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_whitelist/pallet/EnumError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_whitelist/pallet/EnumError.cs new file mode 100644 index 00000000..50ead076 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_whitelist/pallet/EnumError.cs @@ -0,0 +1,63 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_whitelist.pallet +{ + + + /// + /// >> Error + /// The `Error` enum of this pallet. + /// + public enum Error + { + + /// + /// >> UnavailablePreImage + /// The preimage of the call hash could not be loaded. + /// + UnavailablePreImage = 0, + + /// + /// >> UndecodableCall + /// The call could not be decoded. + /// + UndecodableCall = 1, + + /// + /// >> InvalidCallWeightWitness + /// The weight of the decoded call was higher than the witness. + /// + InvalidCallWeightWitness = 2, + + /// + /// >> CallIsNotWhitelisted + /// The call was not whitelisted. + /// + CallIsNotWhitelisted = 3, + + /// + /// >> CallAlreadyWhitelisted + /// The call was already whitelisted; No-Op. + /// + CallAlreadyWhitelisted = 4, + } + + /// + /// >> 482 - Variant[pallet_whitelist.pallet.Error] + /// The `Error` enum of this pallet. + /// + public sealed class EnumError : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_whitelist/pallet/EnumEvent.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_whitelist/pallet/EnumEvent.cs new file mode 100644 index 00000000..ab1c0139 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/pallet_whitelist/pallet/EnumEvent.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.pallet_whitelist.pallet +{ + + + /// + /// >> Event + /// The `Event` enum of this pallet + /// + public enum Event + { + + /// + /// >> CallWhitelisted + /// + CallWhitelisted = 0, + + /// + /// >> WhitelistedCallRemoved + /// + WhitelistedCallRemoved = 1, + + /// + /// >> WhitelistedCallDispatched + /// + WhitelistedCallDispatched = 2, + } + + /// + /// >> 284 - Variant[pallet_whitelist.pallet.Event] + /// The `Event` enum of this pallet + /// + public sealed class EnumEvent : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumEvent() + { + AddTypeDecoder(Event.CallWhitelisted); + AddTypeDecoder(Event.WhitelistedCallRemoved); + AddTypeDecoder>(Event.WhitelistedCallDispatched); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/primitive_types/H256.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/primitive_types/H256.cs new file mode 100644 index 00000000..d9fde8a0 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/primitive_types/H256.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.primitive_types +{ + + + /// + /// >> 12 - Composite[primitive_types.H256] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class H256 : BaseType + { + + /// + /// >> value + /// + public Substrate.Gear.Api.Generated.Types.Base.Arr32U8 Value { get; set; } + + /// + public override string TypeName() + { + return "H256"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.Gear.Api.Generated.Types.Base.Arr32U8(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_arithmetic/EnumArithmeticError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_arithmetic/EnumArithmeticError.cs new file mode 100644 index 00000000..c48ec8d4 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_arithmetic/EnumArithmeticError.cs @@ -0,0 +1,46 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_arithmetic +{ + + + /// + /// >> ArithmeticError + /// + public enum ArithmeticError + { + + /// + /// >> Underflow + /// + Underflow = 0, + + /// + /// >> Overflow + /// + Overflow = 1, + + /// + /// >> DivisionByZero + /// + DivisionByZero = 2, + } + + /// + /// >> 28 - Variant[sp_arithmetic.ArithmeticError] + /// + public sealed class EnumArithmeticError : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_arithmetic/fixed_point/FixedI64.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_arithmetic/fixed_point/FixedI64.cs new file mode 100644 index 00000000..8784c97c --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_arithmetic/fixed_point/FixedI64.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_arithmetic.fixed_point +{ + + + /// + /// >> 470 - Composite[sp_arithmetic.fixed_point.FixedI64] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class FixedI64 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Primitive.I64 Value { get; set; } + + /// + public override string TypeName() + { + return "FixedI64"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Primitive.I64(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_arithmetic/fixed_point/FixedU128.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_arithmetic/fixed_point/FixedU128.cs new file mode 100644 index 00000000..54ee78e9 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_arithmetic/fixed_point/FixedU128.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_arithmetic.fixed_point +{ + + + /// + /// >> 394 - Composite[sp_arithmetic.fixed_point.FixedU128] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class FixedU128 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Value { get; set; } + + /// + public override string TypeName() + { + return "FixedU128"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Primitive.U128(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_arithmetic/per_things/PerU16.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_arithmetic/per_things/PerU16.cs new file mode 100644 index 00000000..fd2b818e --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_arithmetic/per_things/PerU16.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_arithmetic.per_things +{ + + + /// + /// >> 196 - Composite[sp_arithmetic.per_things.PerU16] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class PerU16 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Primitive.U16 Value { get; set; } + + /// + public override string TypeName() + { + return "PerU16"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Primitive.U16(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_arithmetic/per_things/Perbill.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_arithmetic/per_things/Perbill.cs new file mode 100644 index 00000000..93e3751d --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_arithmetic/per_things/Perbill.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_arithmetic.per_things +{ + + + /// + /// >> 51 - Composite[sp_arithmetic.per_things.Perbill] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Perbill : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Value { get; set; } + + /// + public override string TypeName() + { + return "Perbill"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Primitive.U32(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_arithmetic/per_things/Percent.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_arithmetic/per_things/Percent.cs new file mode 100644 index 00000000..b30c1f1e --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_arithmetic/per_things/Percent.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_arithmetic.per_things +{ + + + /// + /// >> 107 - Composite[sp_arithmetic.per_things.Percent] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Percent : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Primitive.U8 Value { get; set; } + + /// + public override string TypeName() + { + return "Percent"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Primitive.U8(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_arithmetic/per_things/Permill.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_arithmetic/per_things/Permill.cs new file mode 100644 index 00000000..249f8d16 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_arithmetic/per_things/Permill.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_arithmetic.per_things +{ + + + /// + /// >> 437 - Composite[sp_arithmetic.per_things.Permill] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Permill : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Value { get; set; } + + /// + public override string TypeName() + { + return "Permill"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Primitive.U32(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_arithmetic/per_things/Perquintill.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_arithmetic/per_things/Perquintill.cs new file mode 100644 index 00000000..37af1af9 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_arithmetic/per_things/Perquintill.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_arithmetic.per_things +{ + + + /// + /// >> 628 - Composite[sp_arithmetic.per_things.Perquintill] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Perquintill : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Primitive.U64 Value { get; set; } + + /// + public override string TypeName() + { + return "Perquintill"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Primitive.U64(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_authority_discovery/app/Public.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_authority_discovery/app/Public.cs new file mode 100644 index 00000000..27dec2f4 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_authority_discovery/app/Public.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_authority_discovery.app +{ + + + /// + /// >> 115 - Composite[sp_authority_discovery.app.Public] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Public : BaseType + { + + /// + /// >> value + /// + public Substrate.Gear.Api.Generated.Model.sp_core.sr25519.Public Value { get; set; } + + /// + public override string TypeName() + { + return "Public"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.Gear.Api.Generated.Model.sp_core.sr25519.Public(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_babe/BabeEpochConfiguration.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_babe/BabeEpochConfiguration.cs new file mode 100644 index 00000000..8aabac51 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_babe/BabeEpochConfiguration.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_consensus_babe +{ + + + /// + /// >> 363 - Composite[sp_consensus_babe.BabeEpochConfiguration] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BabeEpochConfiguration : BaseType + { + + /// + /// >> c + /// + public Substrate.NetApi.Model.Types.Base.BaseTuple C { get; set; } + /// + /// >> allowed_slots + /// + public Substrate.Gear.Api.Generated.Model.sp_consensus_babe.EnumAllowedSlots AllowedSlots { get; set; } + + /// + public override string TypeName() + { + return "BabeEpochConfiguration"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(C.Encode()); + result.AddRange(AllowedSlots.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + C = new Substrate.NetApi.Model.Types.Base.BaseTuple(); + C.Decode(byteArray, ref p); + AllowedSlots = new Substrate.Gear.Api.Generated.Model.sp_consensus_babe.EnumAllowedSlots(); + AllowedSlots.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_babe/EnumAllowedSlots.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_babe/EnumAllowedSlots.cs new file mode 100644 index 00000000..2236b5b0 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_babe/EnumAllowedSlots.cs @@ -0,0 +1,46 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_consensus_babe +{ + + + /// + /// >> AllowedSlots + /// + public enum AllowedSlots + { + + /// + /// >> PrimarySlots + /// + PrimarySlots = 0, + + /// + /// >> PrimaryAndSecondaryPlainSlots + /// + PrimaryAndSecondaryPlainSlots = 1, + + /// + /// >> PrimaryAndSecondaryVRFSlots + /// + PrimaryAndSecondaryVRFSlots = 2, + } + + /// + /// >> 80 - Variant[sp_consensus_babe.AllowedSlots] + /// + public sealed class EnumAllowedSlots : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_babe/app/Public.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_babe/app/Public.cs new file mode 100644 index 00000000..88d0bffc --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_babe/app/Public.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_consensus_babe.app +{ + + + /// + /// >> 75 - Composite[sp_consensus_babe.app.Public] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Public : BaseType + { + + /// + /// >> value + /// + public Substrate.Gear.Api.Generated.Model.sp_core.sr25519.Public Value { get; set; } + + /// + public override string TypeName() + { + return "Public"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.Gear.Api.Generated.Model.sp_core.sr25519.Public(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_babe/digests/EnumNextConfigDescriptor.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_babe/digests/EnumNextConfigDescriptor.cs new file mode 100644 index 00000000..ac1651f9 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_babe/digests/EnumNextConfigDescriptor.cs @@ -0,0 +1,44 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_consensus_babe.digests +{ + + + /// + /// >> NextConfigDescriptor + /// + public enum NextConfigDescriptor + { + + /// + /// >> V1 + /// + V1 = 1, + } + + /// + /// >> 78 - Variant[sp_consensus_babe.digests.NextConfigDescriptor] + /// + public sealed class EnumNextConfigDescriptor : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumNextConfigDescriptor() + { + AddTypeDecoder, Substrate.Gear.Api.Generated.Model.sp_consensus_babe.EnumAllowedSlots>>(NextConfigDescriptor.V1); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_babe/digests/EnumPreDigest.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_babe/digests/EnumPreDigest.cs new file mode 100644 index 00000000..c25608c1 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_babe/digests/EnumPreDigest.cs @@ -0,0 +1,56 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_consensus_babe.digests +{ + + + /// + /// >> PreDigest + /// + public enum PreDigest + { + + /// + /// >> Primary + /// + Primary = 1, + + /// + /// >> SecondaryPlain + /// + SecondaryPlain = 2, + + /// + /// >> SecondaryVRF + /// + SecondaryVRF = 3, + } + + /// + /// >> 358 - Variant[sp_consensus_babe.digests.PreDigest] + /// + public sealed class EnumPreDigest : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumPreDigest() + { + AddTypeDecoder(PreDigest.Primary); + AddTypeDecoder(PreDigest.SecondaryPlain); + AddTypeDecoder(PreDigest.SecondaryVRF); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_babe/digests/PrimaryPreDigest.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_babe/digests/PrimaryPreDigest.cs new file mode 100644 index 00000000..0f97c56e --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_babe/digests/PrimaryPreDigest.cs @@ -0,0 +1,72 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_consensus_babe.digests +{ + + + /// + /// >> 359 - Composite[sp_consensus_babe.digests.PrimaryPreDigest] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class PrimaryPreDigest : BaseType + { + + /// + /// >> authority_index + /// + public Substrate.NetApi.Model.Types.Primitive.U32 AuthorityIndex { get; set; } + /// + /// >> slot + /// + public Substrate.Gear.Api.Generated.Model.sp_consensus_slots.Slot Slot { get; set; } + /// + /// >> vrf_signature + /// + public Substrate.Gear.Api.Generated.Model.sp_core.sr25519.vrf.VrfSignature VrfSignature { get; set; } + + /// + public override string TypeName() + { + return "PrimaryPreDigest"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(AuthorityIndex.Encode()); + result.AddRange(Slot.Encode()); + result.AddRange(VrfSignature.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + AuthorityIndex = new Substrate.NetApi.Model.Types.Primitive.U32(); + AuthorityIndex.Decode(byteArray, ref p); + Slot = new Substrate.Gear.Api.Generated.Model.sp_consensus_slots.Slot(); + Slot.Decode(byteArray, ref p); + VrfSignature = new Substrate.Gear.Api.Generated.Model.sp_core.sr25519.vrf.VrfSignature(); + VrfSignature.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_babe/digests/SecondaryPlainPreDigest.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_babe/digests/SecondaryPlainPreDigest.cs new file mode 100644 index 00000000..fbcf9b8e --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_babe/digests/SecondaryPlainPreDigest.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_consensus_babe.digests +{ + + + /// + /// >> 361 - Composite[sp_consensus_babe.digests.SecondaryPlainPreDigest] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class SecondaryPlainPreDigest : BaseType + { + + /// + /// >> authority_index + /// + public Substrate.NetApi.Model.Types.Primitive.U32 AuthorityIndex { get; set; } + /// + /// >> slot + /// + public Substrate.Gear.Api.Generated.Model.sp_consensus_slots.Slot Slot { get; set; } + + /// + public override string TypeName() + { + return "SecondaryPlainPreDigest"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(AuthorityIndex.Encode()); + result.AddRange(Slot.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + AuthorityIndex = new Substrate.NetApi.Model.Types.Primitive.U32(); + AuthorityIndex.Decode(byteArray, ref p); + Slot = new Substrate.Gear.Api.Generated.Model.sp_consensus_slots.Slot(); + Slot.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_babe/digests/SecondaryVRFPreDigest.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_babe/digests/SecondaryVRFPreDigest.cs new file mode 100644 index 00000000..9281e343 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_babe/digests/SecondaryVRFPreDigest.cs @@ -0,0 +1,72 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_consensus_babe.digests +{ + + + /// + /// >> 362 - Composite[sp_consensus_babe.digests.SecondaryVRFPreDigest] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class SecondaryVRFPreDigest : BaseType + { + + /// + /// >> authority_index + /// + public Substrate.NetApi.Model.Types.Primitive.U32 AuthorityIndex { get; set; } + /// + /// >> slot + /// + public Substrate.Gear.Api.Generated.Model.sp_consensus_slots.Slot Slot { get; set; } + /// + /// >> vrf_signature + /// + public Substrate.Gear.Api.Generated.Model.sp_core.sr25519.vrf.VrfSignature VrfSignature { get; set; } + + /// + public override string TypeName() + { + return "SecondaryVRFPreDigest"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(AuthorityIndex.Encode()); + result.AddRange(Slot.Encode()); + result.AddRange(VrfSignature.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + AuthorityIndex = new Substrate.NetApi.Model.Types.Primitive.U32(); + AuthorityIndex.Decode(byteArray, ref p); + Slot = new Substrate.Gear.Api.Generated.Model.sp_consensus_slots.Slot(); + Slot.Decode(byteArray, ref p); + VrfSignature = new Substrate.Gear.Api.Generated.Model.sp_core.sr25519.vrf.VrfSignature(); + VrfSignature.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_grandpa/EnumEquivocation.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_grandpa/EnumEquivocation.cs new file mode 100644 index 00000000..8cebd6f7 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_grandpa/EnumEquivocation.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_consensus_grandpa +{ + + + /// + /// >> Equivocation + /// + public enum Equivocation + { + + /// + /// >> Prevote + /// + Prevote = 0, + + /// + /// >> Precommit + /// + Precommit = 1, + } + + /// + /// >> 83 - Variant[sp_consensus_grandpa.Equivocation] + /// + public sealed class EnumEquivocation : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumEquivocation() + { + AddTypeDecoder(Equivocation.Prevote); + AddTypeDecoder(Equivocation.Precommit); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_grandpa/EquivocationProof.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_grandpa/EquivocationProof.cs new file mode 100644 index 00000000..a83cbb91 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_grandpa/EquivocationProof.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_consensus_grandpa +{ + + + /// + /// >> 82 - Composite[sp_consensus_grandpa.EquivocationProof] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class EquivocationProof : BaseType + { + + /// + /// >> set_id + /// + public Substrate.NetApi.Model.Types.Primitive.U64 SetId { get; set; } + /// + /// >> equivocation + /// + public Substrate.Gear.Api.Generated.Model.sp_consensus_grandpa.EnumEquivocation Equivocation { get; set; } + + /// + public override string TypeName() + { + return "EquivocationProof"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(SetId.Encode()); + result.AddRange(Equivocation.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + SetId = new Substrate.NetApi.Model.Types.Primitive.U64(); + SetId.Decode(byteArray, ref p); + Equivocation = new Substrate.Gear.Api.Generated.Model.sp_consensus_grandpa.EnumEquivocation(); + Equivocation.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_grandpa/app/Public.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_grandpa/app/Public.cs new file mode 100644 index 00000000..afef63cf --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_grandpa/app/Public.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_consensus_grandpa.app +{ + + + /// + /// >> 33 - Composite[sp_consensus_grandpa.app.Public] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Public : BaseType + { + + /// + /// >> value + /// + public Substrate.Gear.Api.Generated.Model.sp_core.ed25519.Public Value { get; set; } + + /// + public override string TypeName() + { + return "Public"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.Gear.Api.Generated.Model.sp_core.ed25519.Public(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_grandpa/app/Signature.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_grandpa/app/Signature.cs new file mode 100644 index 00000000..782d1aaf --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_grandpa/app/Signature.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_consensus_grandpa.app +{ + + + /// + /// >> 86 - Composite[sp_consensus_grandpa.app.Signature] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Signature : BaseType + { + + /// + /// >> value + /// + public Substrate.Gear.Api.Generated.Model.sp_core.ed25519.Signature Value { get; set; } + + /// + public override string TypeName() + { + return "Signature"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.Gear.Api.Generated.Model.sp_core.ed25519.Signature(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_slots/EquivocationProof.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_slots/EquivocationProof.cs new file mode 100644 index 00000000..09c0a448 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_slots/EquivocationProof.cs @@ -0,0 +1,79 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_consensus_slots +{ + + + /// + /// >> 72 - Composite[sp_consensus_slots.EquivocationProof] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class EquivocationProof : BaseType + { + + /// + /// >> offender + /// + public Substrate.Gear.Api.Generated.Model.sp_consensus_babe.app.Public Offender { get; set; } + /// + /// >> slot + /// + public Substrate.Gear.Api.Generated.Model.sp_consensus_slots.Slot Slot { get; set; } + /// + /// >> first_header + /// + public Substrate.Gear.Api.Generated.Model.sp_runtime.generic.header.Header FirstHeader { get; set; } + /// + /// >> second_header + /// + public Substrate.Gear.Api.Generated.Model.sp_runtime.generic.header.Header SecondHeader { get; set; } + + /// + public override string TypeName() + { + return "EquivocationProof"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Offender.Encode()); + result.AddRange(Slot.Encode()); + result.AddRange(FirstHeader.Encode()); + result.AddRange(SecondHeader.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Offender = new Substrate.Gear.Api.Generated.Model.sp_consensus_babe.app.Public(); + Offender.Decode(byteArray, ref p); + Slot = new Substrate.Gear.Api.Generated.Model.sp_consensus_slots.Slot(); + Slot.Decode(byteArray, ref p); + FirstHeader = new Substrate.Gear.Api.Generated.Model.sp_runtime.generic.header.Header(); + FirstHeader.Decode(byteArray, ref p); + SecondHeader = new Substrate.Gear.Api.Generated.Model.sp_runtime.generic.header.Header(); + SecondHeader.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_slots/Slot.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_slots/Slot.cs new file mode 100644 index 00000000..667c67ab --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_consensus_slots/Slot.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_consensus_slots +{ + + + /// + /// >> 76 - Composite[sp_consensus_slots.Slot] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Slot : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Primitive.U64 Value { get; set; } + + /// + public override string TypeName() + { + return "Slot"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Primitive.U64(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_core/crypto/AccountId32.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_core/crypto/AccountId32.cs new file mode 100644 index 00000000..da7699c0 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_core/crypto/AccountId32.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_core.crypto +{ + + + /// + /// >> 0 - Composite[sp_core.crypto.AccountId32] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class AccountId32 : BaseType + { + + /// + /// >> value + /// + public Substrate.Gear.Api.Generated.Types.Base.Arr32U8 Value { get; set; } + + /// + public override string TypeName() + { + return "AccountId32"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.Gear.Api.Generated.Types.Base.Arr32U8(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_core/crypto/KeyTypeId.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_core/crypto/KeyTypeId.cs new file mode 100644 index 00000000..50fa49e1 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_core/crypto/KeyTypeId.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_core.crypto +{ + + + /// + /// >> 431 - Composite[sp_core.crypto.KeyTypeId] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class KeyTypeId : BaseType + { + + /// + /// >> value + /// + public Substrate.Gear.Api.Generated.Types.Base.Arr4U8 Value { get; set; } + + /// + public override string TypeName() + { + return "KeyTypeId"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.Gear.Api.Generated.Types.Base.Arr4U8(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_core/ecdsa/Signature.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_core/ecdsa/Signature.cs new file mode 100644 index 00000000..41d0f057 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_core/ecdsa/Signature.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_core.ecdsa +{ + + + /// + /// >> 638 - Composite[sp_core.ecdsa.Signature] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Signature : BaseType + { + + /// + /// >> value + /// + public Substrate.Gear.Api.Generated.Types.Base.Arr65U8 Value { get; set; } + + /// + public override string TypeName() + { + return "Signature"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.Gear.Api.Generated.Types.Base.Arr65U8(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_core/ed25519/Public.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_core/ed25519/Public.cs new file mode 100644 index 00000000..05a7ed8a --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_core/ed25519/Public.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_core.ed25519 +{ + + + /// + /// >> 34 - Composite[sp_core.ed25519.Public] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Public : BaseType + { + + /// + /// >> value + /// + public Substrate.Gear.Api.Generated.Types.Base.Arr32U8 Value { get; set; } + + /// + public override string TypeName() + { + return "Public"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.Gear.Api.Generated.Types.Base.Arr32U8(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_core/ed25519/Signature.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_core/ed25519/Signature.cs new file mode 100644 index 00000000..c2b336d5 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_core/ed25519/Signature.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_core.ed25519 +{ + + + /// + /// >> 87 - Composite[sp_core.ed25519.Signature] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Signature : BaseType + { + + /// + /// >> value + /// + public Substrate.Gear.Api.Generated.Types.Base.Arr64U8 Value { get; set; } + + /// + public override string TypeName() + { + return "Signature"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.Gear.Api.Generated.Types.Base.Arr64U8(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_core/sr25519/Public.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_core/sr25519/Public.cs new file mode 100644 index 00000000..1dcc19d4 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_core/sr25519/Public.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_core.sr25519 +{ + + + /// + /// >> 42 - Composite[sp_core.sr25519.Public] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Public : BaseType + { + + /// + /// >> value + /// + public Substrate.Gear.Api.Generated.Types.Base.Arr32U8 Value { get; set; } + + /// + public override string TypeName() + { + return "Public"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.Gear.Api.Generated.Types.Base.Arr32U8(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_core/sr25519/Signature.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_core/sr25519/Signature.cs new file mode 100644 index 00000000..61114257 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_core/sr25519/Signature.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_core.sr25519 +{ + + + /// + /// >> 104 - Composite[sp_core.sr25519.Signature] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Signature : BaseType + { + + /// + /// >> value + /// + public Substrate.Gear.Api.Generated.Types.Base.Arr64U8 Value { get; set; } + + /// + public override string TypeName() + { + return "Signature"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.Gear.Api.Generated.Types.Base.Arr64U8(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_core/sr25519/vrf/VrfSignature.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_core/sr25519/vrf/VrfSignature.cs new file mode 100644 index 00000000..db457dec --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_core/sr25519/vrf/VrfSignature.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_core.sr25519.vrf +{ + + + /// + /// >> 360 - Composite[sp_core.sr25519.vrf.VrfSignature] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class VrfSignature : BaseType + { + + /// + /// >> output + /// + public Substrate.Gear.Api.Generated.Types.Base.Arr32U8 Output { get; set; } + /// + /// >> proof + /// + public Substrate.Gear.Api.Generated.Types.Base.Arr64U8 Proof { get; set; } + + /// + public override string TypeName() + { + return "VrfSignature"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Output.Encode()); + result.AddRange(Proof.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Output = new Substrate.Gear.Api.Generated.Types.Base.Arr32U8(); + Output.Decode(byteArray, ref p); + Proof = new Substrate.Gear.Api.Generated.Types.Base.Arr64U8(); + Proof.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_npos_elections/ElectionScore.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_npos_elections/ElectionScore.cs new file mode 100644 index 00000000..acc3e36f --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_npos_elections/ElectionScore.cs @@ -0,0 +1,72 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_npos_elections +{ + + + /// + /// >> 239 - Composite[sp_npos_elections.ElectionScore] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class ElectionScore : BaseType + { + + /// + /// >> minimal_stake + /// + public Substrate.NetApi.Model.Types.Primitive.U128 MinimalStake { get; set; } + /// + /// >> sum_stake + /// + public Substrate.NetApi.Model.Types.Primitive.U128 SumStake { get; set; } + /// + /// >> sum_stake_squared + /// + public Substrate.NetApi.Model.Types.Primitive.U128 SumStakeSquared { get; set; } + + /// + public override string TypeName() + { + return "ElectionScore"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(MinimalStake.Encode()); + result.AddRange(SumStake.Encode()); + result.AddRange(SumStakeSquared.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + MinimalStake = new Substrate.NetApi.Model.Types.Primitive.U128(); + MinimalStake.Decode(byteArray, ref p); + SumStake = new Substrate.NetApi.Model.Types.Primitive.U128(); + SumStake.Decode(byteArray, ref p); + SumStakeSquared = new Substrate.NetApi.Model.Types.Primitive.U128(); + SumStakeSquared.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_npos_elections/Support.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_npos_elections/Support.cs new file mode 100644 index 00000000..a8778f9c --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_npos_elections/Support.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_npos_elections +{ + + + /// + /// >> 244 - Composite[sp_npos_elections.Support] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Support : BaseType + { + + /// + /// >> total + /// + public Substrate.NetApi.Model.Types.Primitive.U128 Total { get; set; } + /// + /// >> voters + /// + public Substrate.NetApi.Model.Types.Base.BaseVec> Voters { get; set; } + + /// + public override string TypeName() + { + return "Support"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Total.Encode()); + result.AddRange(Voters.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Total = new Substrate.NetApi.Model.Types.Primitive.U128(); + Total.Decode(byteArray, ref p); + Voters = new Substrate.NetApi.Model.Types.Base.BaseVec>(); + Voters.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/DispatchErrorWithPostInfo.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/DispatchErrorWithPostInfo.cs new file mode 100644 index 00000000..97c12093 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/DispatchErrorWithPostInfo.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_runtime +{ + + + /// + /// >> 288 - Composite[sp_runtime.DispatchErrorWithPostInfo] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class DispatchErrorWithPostInfo : BaseType + { + + /// + /// >> post_info + /// + public Substrate.Gear.Api.Generated.Model.frame_support.dispatch.PostDispatchInfo PostInfo { get; set; } + /// + /// >> error + /// + public Substrate.Gear.Api.Generated.Model.sp_runtime.EnumDispatchError Error { get; set; } + + /// + public override string TypeName() + { + return "DispatchErrorWithPostInfo"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(PostInfo.Encode()); + result.AddRange(Error.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + PostInfo = new Substrate.Gear.Api.Generated.Model.frame_support.dispatch.PostDispatchInfo(); + PostInfo.Decode(byteArray, ref p); + Error = new Substrate.Gear.Api.Generated.Model.sp_runtime.EnumDispatchError(); + Error.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/EnumDispatchError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/EnumDispatchError.cs new file mode 100644 index 00000000..25f52fcf --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/EnumDispatchError.cs @@ -0,0 +1,122 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_runtime +{ + + + /// + /// >> DispatchError + /// + public enum DispatchError + { + + /// + /// >> Other + /// + Other = 0, + + /// + /// >> CannotLookup + /// + CannotLookup = 1, + + /// + /// >> BadOrigin + /// + BadOrigin = 2, + + /// + /// >> Module + /// + Module = 3, + + /// + /// >> ConsumerRemaining + /// + ConsumerRemaining = 4, + + /// + /// >> NoProviders + /// + NoProviders = 5, + + /// + /// >> TooManyConsumers + /// + TooManyConsumers = 6, + + /// + /// >> Token + /// + Token = 7, + + /// + /// >> Arithmetic + /// + Arithmetic = 8, + + /// + /// >> Transactional + /// + Transactional = 9, + + /// + /// >> Exhausted + /// + Exhausted = 10, + + /// + /// >> Corruption + /// + Corruption = 11, + + /// + /// >> Unavailable + /// + Unavailable = 12, + + /// + /// >> RootNotAllowed + /// + RootNotAllowed = 13, + } + + /// + /// >> 25 - Variant[sp_runtime.DispatchError] + /// + public sealed class EnumDispatchError : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumDispatchError() + { + AddTypeDecoder(DispatchError.Other); + AddTypeDecoder(DispatchError.CannotLookup); + AddTypeDecoder(DispatchError.BadOrigin); + AddTypeDecoder(DispatchError.Module); + AddTypeDecoder(DispatchError.ConsumerRemaining); + AddTypeDecoder(DispatchError.NoProviders); + AddTypeDecoder(DispatchError.TooManyConsumers); + AddTypeDecoder(DispatchError.Token); + AddTypeDecoder(DispatchError.Arithmetic); + AddTypeDecoder(DispatchError.Transactional); + AddTypeDecoder(DispatchError.Exhausted); + AddTypeDecoder(DispatchError.Corruption); + AddTypeDecoder(DispatchError.Unavailable); + AddTypeDecoder(DispatchError.RootNotAllowed); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/EnumMultiSignature.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/EnumMultiSignature.cs new file mode 100644 index 00000000..b7e3ae80 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/EnumMultiSignature.cs @@ -0,0 +1,56 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_runtime +{ + + + /// + /// >> MultiSignature + /// + public enum MultiSignature + { + + /// + /// >> Ed25519 + /// + Ed25519 = 0, + + /// + /// >> Sr25519 + /// + Sr25519 = 1, + + /// + /// >> Ecdsa + /// + Ecdsa = 2, + } + + /// + /// >> 637 - Variant[sp_runtime.MultiSignature] + /// + public sealed class EnumMultiSignature : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumMultiSignature() + { + AddTypeDecoder(MultiSignature.Ed25519); + AddTypeDecoder(MultiSignature.Sr25519); + AddTypeDecoder(MultiSignature.Ecdsa); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/EnumTokenError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/EnumTokenError.cs new file mode 100644 index 00000000..bb2379fe --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/EnumTokenError.cs @@ -0,0 +1,81 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_runtime +{ + + + /// + /// >> TokenError + /// + public enum TokenError + { + + /// + /// >> FundsUnavailable + /// + FundsUnavailable = 0, + + /// + /// >> OnlyProvider + /// + OnlyProvider = 1, + + /// + /// >> BelowMinimum + /// + BelowMinimum = 2, + + /// + /// >> CannotCreate + /// + CannotCreate = 3, + + /// + /// >> UnknownAsset + /// + UnknownAsset = 4, + + /// + /// >> Frozen + /// + Frozen = 5, + + /// + /// >> Unsupported + /// + Unsupported = 6, + + /// + /// >> CannotCreateHold + /// + CannotCreateHold = 7, + + /// + /// >> NotExpendable + /// + NotExpendable = 8, + + /// + /// >> Blocked + /// + Blocked = 9, + } + + /// + /// >> 27 - Variant[sp_runtime.TokenError] + /// + public sealed class EnumTokenError : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/EnumTransactionalError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/EnumTransactionalError.cs new file mode 100644 index 00000000..92cdfffe --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/EnumTransactionalError.cs @@ -0,0 +1,41 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_runtime +{ + + + /// + /// >> TransactionalError + /// + public enum TransactionalError + { + + /// + /// >> LimitReached + /// + LimitReached = 0, + + /// + /// >> NoLayer + /// + NoLayer = 1, + } + + /// + /// >> 29 - Variant[sp_runtime.TransactionalError] + /// + public sealed class EnumTransactionalError : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/ModuleError.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/ModuleError.cs new file mode 100644 index 00000000..32bee2ac --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/ModuleError.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_runtime +{ + + + /// + /// >> 26 - Composite[sp_runtime.ModuleError] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class ModuleError : BaseType + { + + /// + /// >> index + /// + public Substrate.NetApi.Model.Types.Primitive.U8 Index { get; set; } + /// + /// >> error + /// + public Substrate.Gear.Api.Generated.Types.Base.Arr4U8 Error { get; set; } + + /// + public override string TypeName() + { + return "ModuleError"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Index.Encode()); + result.AddRange(Error.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Index = new Substrate.NetApi.Model.Types.Primitive.U8(); + Index.Decode(byteArray, ref p); + Error = new Substrate.Gear.Api.Generated.Types.Base.Arr4U8(); + Error.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/generic/digest/Digest.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/generic/digest/Digest.cs new file mode 100644 index 00000000..286c07b6 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/generic/digest/Digest.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_runtime.generic.digest +{ + + + /// + /// >> 14 - Composite[sp_runtime.generic.digest.Digest] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Digest : BaseType + { + + /// + /// >> logs + /// + public Substrate.NetApi.Model.Types.Base.BaseVec Logs { get; set; } + + /// + public override string TypeName() + { + return "Digest"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Logs.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Logs = new Substrate.NetApi.Model.Types.Base.BaseVec(); + Logs.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/generic/digest/EnumDigestItem.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/generic/digest/EnumDigestItem.cs new file mode 100644 index 00000000..628b8b01 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/generic/digest/EnumDigestItem.cs @@ -0,0 +1,68 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_runtime.generic.digest +{ + + + /// + /// >> DigestItem + /// + public enum DigestItem + { + + /// + /// >> PreRuntime + /// + PreRuntime = 6, + + /// + /// >> Consensus + /// + Consensus = 4, + + /// + /// >> Seal + /// + Seal = 5, + + /// + /// >> Other + /// + Other = 0, + + /// + /// >> RuntimeEnvironmentUpdated + /// + RuntimeEnvironmentUpdated = 8, + } + + /// + /// >> 16 - Variant[sp_runtime.generic.digest.DigestItem] + /// + public sealed class EnumDigestItem : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumDigestItem() + { + AddTypeDecoder>>(DigestItem.PreRuntime); + AddTypeDecoder>>(DigestItem.Consensus); + AddTypeDecoder>>(DigestItem.Seal); + AddTypeDecoder>(DigestItem.Other); + AddTypeDecoder(DigestItem.RuntimeEnvironmentUpdated); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/generic/era/EnumEra.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/generic/era/EnumEra.cs new file mode 100644 index 00000000..4ca4e0c0 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/generic/era/EnumEra.cs @@ -0,0 +1,1574 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_runtime.generic.era +{ + + + /// + /// >> Era + /// + public enum Era + { + + /// + /// >> Immortal + /// + Immortal = 0, + + /// + /// >> Mortal1 + /// + Mortal1 = 1, + + /// + /// >> Mortal2 + /// + Mortal2 = 2, + + /// + /// >> Mortal3 + /// + Mortal3 = 3, + + /// + /// >> Mortal4 + /// + Mortal4 = 4, + + /// + /// >> Mortal5 + /// + Mortal5 = 5, + + /// + /// >> Mortal6 + /// + Mortal6 = 6, + + /// + /// >> Mortal7 + /// + Mortal7 = 7, + + /// + /// >> Mortal8 + /// + Mortal8 = 8, + + /// + /// >> Mortal9 + /// + Mortal9 = 9, + + /// + /// >> Mortal10 + /// + Mortal10 = 10, + + /// + /// >> Mortal11 + /// + Mortal11 = 11, + + /// + /// >> Mortal12 + /// + Mortal12 = 12, + + /// + /// >> Mortal13 + /// + Mortal13 = 13, + + /// + /// >> Mortal14 + /// + Mortal14 = 14, + + /// + /// >> Mortal15 + /// + Mortal15 = 15, + + /// + /// >> Mortal16 + /// + Mortal16 = 16, + + /// + /// >> Mortal17 + /// + Mortal17 = 17, + + /// + /// >> Mortal18 + /// + Mortal18 = 18, + + /// + /// >> Mortal19 + /// + Mortal19 = 19, + + /// + /// >> Mortal20 + /// + Mortal20 = 20, + + /// + /// >> Mortal21 + /// + Mortal21 = 21, + + /// + /// >> Mortal22 + /// + Mortal22 = 22, + + /// + /// >> Mortal23 + /// + Mortal23 = 23, + + /// + /// >> Mortal24 + /// + Mortal24 = 24, + + /// + /// >> Mortal25 + /// + Mortal25 = 25, + + /// + /// >> Mortal26 + /// + Mortal26 = 26, + + /// + /// >> Mortal27 + /// + Mortal27 = 27, + + /// + /// >> Mortal28 + /// + Mortal28 = 28, + + /// + /// >> Mortal29 + /// + Mortal29 = 29, + + /// + /// >> Mortal30 + /// + Mortal30 = 30, + + /// + /// >> Mortal31 + /// + Mortal31 = 31, + + /// + /// >> Mortal32 + /// + Mortal32 = 32, + + /// + /// >> Mortal33 + /// + Mortal33 = 33, + + /// + /// >> Mortal34 + /// + Mortal34 = 34, + + /// + /// >> Mortal35 + /// + Mortal35 = 35, + + /// + /// >> Mortal36 + /// + Mortal36 = 36, + + /// + /// >> Mortal37 + /// + Mortal37 = 37, + + /// + /// >> Mortal38 + /// + Mortal38 = 38, + + /// + /// >> Mortal39 + /// + Mortal39 = 39, + + /// + /// >> Mortal40 + /// + Mortal40 = 40, + + /// + /// >> Mortal41 + /// + Mortal41 = 41, + + /// + /// >> Mortal42 + /// + Mortal42 = 42, + + /// + /// >> Mortal43 + /// + Mortal43 = 43, + + /// + /// >> Mortal44 + /// + Mortal44 = 44, + + /// + /// >> Mortal45 + /// + Mortal45 = 45, + + /// + /// >> Mortal46 + /// + Mortal46 = 46, + + /// + /// >> Mortal47 + /// + Mortal47 = 47, + + /// + /// >> Mortal48 + /// + Mortal48 = 48, + + /// + /// >> Mortal49 + /// + Mortal49 = 49, + + /// + /// >> Mortal50 + /// + Mortal50 = 50, + + /// + /// >> Mortal51 + /// + Mortal51 = 51, + + /// + /// >> Mortal52 + /// + Mortal52 = 52, + + /// + /// >> Mortal53 + /// + Mortal53 = 53, + + /// + /// >> Mortal54 + /// + Mortal54 = 54, + + /// + /// >> Mortal55 + /// + Mortal55 = 55, + + /// + /// >> Mortal56 + /// + Mortal56 = 56, + + /// + /// >> Mortal57 + /// + Mortal57 = 57, + + /// + /// >> Mortal58 + /// + Mortal58 = 58, + + /// + /// >> Mortal59 + /// + Mortal59 = 59, + + /// + /// >> Mortal60 + /// + Mortal60 = 60, + + /// + /// >> Mortal61 + /// + Mortal61 = 61, + + /// + /// >> Mortal62 + /// + Mortal62 = 62, + + /// + /// >> Mortal63 + /// + Mortal63 = 63, + + /// + /// >> Mortal64 + /// + Mortal64 = 64, + + /// + /// >> Mortal65 + /// + Mortal65 = 65, + + /// + /// >> Mortal66 + /// + Mortal66 = 66, + + /// + /// >> Mortal67 + /// + Mortal67 = 67, + + /// + /// >> Mortal68 + /// + Mortal68 = 68, + + /// + /// >> Mortal69 + /// + Mortal69 = 69, + + /// + /// >> Mortal70 + /// + Mortal70 = 70, + + /// + /// >> Mortal71 + /// + Mortal71 = 71, + + /// + /// >> Mortal72 + /// + Mortal72 = 72, + + /// + /// >> Mortal73 + /// + Mortal73 = 73, + + /// + /// >> Mortal74 + /// + Mortal74 = 74, + + /// + /// >> Mortal75 + /// + Mortal75 = 75, + + /// + /// >> Mortal76 + /// + Mortal76 = 76, + + /// + /// >> Mortal77 + /// + Mortal77 = 77, + + /// + /// >> Mortal78 + /// + Mortal78 = 78, + + /// + /// >> Mortal79 + /// + Mortal79 = 79, + + /// + /// >> Mortal80 + /// + Mortal80 = 80, + + /// + /// >> Mortal81 + /// + Mortal81 = 81, + + /// + /// >> Mortal82 + /// + Mortal82 = 82, + + /// + /// >> Mortal83 + /// + Mortal83 = 83, + + /// + /// >> Mortal84 + /// + Mortal84 = 84, + + /// + /// >> Mortal85 + /// + Mortal85 = 85, + + /// + /// >> Mortal86 + /// + Mortal86 = 86, + + /// + /// >> Mortal87 + /// + Mortal87 = 87, + + /// + /// >> Mortal88 + /// + Mortal88 = 88, + + /// + /// >> Mortal89 + /// + Mortal89 = 89, + + /// + /// >> Mortal90 + /// + Mortal90 = 90, + + /// + /// >> Mortal91 + /// + Mortal91 = 91, + + /// + /// >> Mortal92 + /// + Mortal92 = 92, + + /// + /// >> Mortal93 + /// + Mortal93 = 93, + + /// + /// >> Mortal94 + /// + Mortal94 = 94, + + /// + /// >> Mortal95 + /// + Mortal95 = 95, + + /// + /// >> Mortal96 + /// + Mortal96 = 96, + + /// + /// >> Mortal97 + /// + Mortal97 = 97, + + /// + /// >> Mortal98 + /// + Mortal98 = 98, + + /// + /// >> Mortal99 + /// + Mortal99 = 99, + + /// + /// >> Mortal100 + /// + Mortal100 = 100, + + /// + /// >> Mortal101 + /// + Mortal101 = 101, + + /// + /// >> Mortal102 + /// + Mortal102 = 102, + + /// + /// >> Mortal103 + /// + Mortal103 = 103, + + /// + /// >> Mortal104 + /// + Mortal104 = 104, + + /// + /// >> Mortal105 + /// + Mortal105 = 105, + + /// + /// >> Mortal106 + /// + Mortal106 = 106, + + /// + /// >> Mortal107 + /// + Mortal107 = 107, + + /// + /// >> Mortal108 + /// + Mortal108 = 108, + + /// + /// >> Mortal109 + /// + Mortal109 = 109, + + /// + /// >> Mortal110 + /// + Mortal110 = 110, + + /// + /// >> Mortal111 + /// + Mortal111 = 111, + + /// + /// >> Mortal112 + /// + Mortal112 = 112, + + /// + /// >> Mortal113 + /// + Mortal113 = 113, + + /// + /// >> Mortal114 + /// + Mortal114 = 114, + + /// + /// >> Mortal115 + /// + Mortal115 = 115, + + /// + /// >> Mortal116 + /// + Mortal116 = 116, + + /// + /// >> Mortal117 + /// + Mortal117 = 117, + + /// + /// >> Mortal118 + /// + Mortal118 = 118, + + /// + /// >> Mortal119 + /// + Mortal119 = 119, + + /// + /// >> Mortal120 + /// + Mortal120 = 120, + + /// + /// >> Mortal121 + /// + Mortal121 = 121, + + /// + /// >> Mortal122 + /// + Mortal122 = 122, + + /// + /// >> Mortal123 + /// + Mortal123 = 123, + + /// + /// >> Mortal124 + /// + Mortal124 = 124, + + /// + /// >> Mortal125 + /// + Mortal125 = 125, + + /// + /// >> Mortal126 + /// + Mortal126 = 126, + + /// + /// >> Mortal127 + /// + Mortal127 = 127, + + /// + /// >> Mortal128 + /// + Mortal128 = 128, + + /// + /// >> Mortal129 + /// + Mortal129 = 129, + + /// + /// >> Mortal130 + /// + Mortal130 = 130, + + /// + /// >> Mortal131 + /// + Mortal131 = 131, + + /// + /// >> Mortal132 + /// + Mortal132 = 132, + + /// + /// >> Mortal133 + /// + Mortal133 = 133, + + /// + /// >> Mortal134 + /// + Mortal134 = 134, + + /// + /// >> Mortal135 + /// + Mortal135 = 135, + + /// + /// >> Mortal136 + /// + Mortal136 = 136, + + /// + /// >> Mortal137 + /// + Mortal137 = 137, + + /// + /// >> Mortal138 + /// + Mortal138 = 138, + + /// + /// >> Mortal139 + /// + Mortal139 = 139, + + /// + /// >> Mortal140 + /// + Mortal140 = 140, + + /// + /// >> Mortal141 + /// + Mortal141 = 141, + + /// + /// >> Mortal142 + /// + Mortal142 = 142, + + /// + /// >> Mortal143 + /// + Mortal143 = 143, + + /// + /// >> Mortal144 + /// + Mortal144 = 144, + + /// + /// >> Mortal145 + /// + Mortal145 = 145, + + /// + /// >> Mortal146 + /// + Mortal146 = 146, + + /// + /// >> Mortal147 + /// + Mortal147 = 147, + + /// + /// >> Mortal148 + /// + Mortal148 = 148, + + /// + /// >> Mortal149 + /// + Mortal149 = 149, + + /// + /// >> Mortal150 + /// + Mortal150 = 150, + + /// + /// >> Mortal151 + /// + Mortal151 = 151, + + /// + /// >> Mortal152 + /// + Mortal152 = 152, + + /// + /// >> Mortal153 + /// + Mortal153 = 153, + + /// + /// >> Mortal154 + /// + Mortal154 = 154, + + /// + /// >> Mortal155 + /// + Mortal155 = 155, + + /// + /// >> Mortal156 + /// + Mortal156 = 156, + + /// + /// >> Mortal157 + /// + Mortal157 = 157, + + /// + /// >> Mortal158 + /// + Mortal158 = 158, + + /// + /// >> Mortal159 + /// + Mortal159 = 159, + + /// + /// >> Mortal160 + /// + Mortal160 = 160, + + /// + /// >> Mortal161 + /// + Mortal161 = 161, + + /// + /// >> Mortal162 + /// + Mortal162 = 162, + + /// + /// >> Mortal163 + /// + Mortal163 = 163, + + /// + /// >> Mortal164 + /// + Mortal164 = 164, + + /// + /// >> Mortal165 + /// + Mortal165 = 165, + + /// + /// >> Mortal166 + /// + Mortal166 = 166, + + /// + /// >> Mortal167 + /// + Mortal167 = 167, + + /// + /// >> Mortal168 + /// + Mortal168 = 168, + + /// + /// >> Mortal169 + /// + Mortal169 = 169, + + /// + /// >> Mortal170 + /// + Mortal170 = 170, + + /// + /// >> Mortal171 + /// + Mortal171 = 171, + + /// + /// >> Mortal172 + /// + Mortal172 = 172, + + /// + /// >> Mortal173 + /// + Mortal173 = 173, + + /// + /// >> Mortal174 + /// + Mortal174 = 174, + + /// + /// >> Mortal175 + /// + Mortal175 = 175, + + /// + /// >> Mortal176 + /// + Mortal176 = 176, + + /// + /// >> Mortal177 + /// + Mortal177 = 177, + + /// + /// >> Mortal178 + /// + Mortal178 = 178, + + /// + /// >> Mortal179 + /// + Mortal179 = 179, + + /// + /// >> Mortal180 + /// + Mortal180 = 180, + + /// + /// >> Mortal181 + /// + Mortal181 = 181, + + /// + /// >> Mortal182 + /// + Mortal182 = 182, + + /// + /// >> Mortal183 + /// + Mortal183 = 183, + + /// + /// >> Mortal184 + /// + Mortal184 = 184, + + /// + /// >> Mortal185 + /// + Mortal185 = 185, + + /// + /// >> Mortal186 + /// + Mortal186 = 186, + + /// + /// >> Mortal187 + /// + Mortal187 = 187, + + /// + /// >> Mortal188 + /// + Mortal188 = 188, + + /// + /// >> Mortal189 + /// + Mortal189 = 189, + + /// + /// >> Mortal190 + /// + Mortal190 = 190, + + /// + /// >> Mortal191 + /// + Mortal191 = 191, + + /// + /// >> Mortal192 + /// + Mortal192 = 192, + + /// + /// >> Mortal193 + /// + Mortal193 = 193, + + /// + /// >> Mortal194 + /// + Mortal194 = 194, + + /// + /// >> Mortal195 + /// + Mortal195 = 195, + + /// + /// >> Mortal196 + /// + Mortal196 = 196, + + /// + /// >> Mortal197 + /// + Mortal197 = 197, + + /// + /// >> Mortal198 + /// + Mortal198 = 198, + + /// + /// >> Mortal199 + /// + Mortal199 = 199, + + /// + /// >> Mortal200 + /// + Mortal200 = 200, + + /// + /// >> Mortal201 + /// + Mortal201 = 201, + + /// + /// >> Mortal202 + /// + Mortal202 = 202, + + /// + /// >> Mortal203 + /// + Mortal203 = 203, + + /// + /// >> Mortal204 + /// + Mortal204 = 204, + + /// + /// >> Mortal205 + /// + Mortal205 = 205, + + /// + /// >> Mortal206 + /// + Mortal206 = 206, + + /// + /// >> Mortal207 + /// + Mortal207 = 207, + + /// + /// >> Mortal208 + /// + Mortal208 = 208, + + /// + /// >> Mortal209 + /// + Mortal209 = 209, + + /// + /// >> Mortal210 + /// + Mortal210 = 210, + + /// + /// >> Mortal211 + /// + Mortal211 = 211, + + /// + /// >> Mortal212 + /// + Mortal212 = 212, + + /// + /// >> Mortal213 + /// + Mortal213 = 213, + + /// + /// >> Mortal214 + /// + Mortal214 = 214, + + /// + /// >> Mortal215 + /// + Mortal215 = 215, + + /// + /// >> Mortal216 + /// + Mortal216 = 216, + + /// + /// >> Mortal217 + /// + Mortal217 = 217, + + /// + /// >> Mortal218 + /// + Mortal218 = 218, + + /// + /// >> Mortal219 + /// + Mortal219 = 219, + + /// + /// >> Mortal220 + /// + Mortal220 = 220, + + /// + /// >> Mortal221 + /// + Mortal221 = 221, + + /// + /// >> Mortal222 + /// + Mortal222 = 222, + + /// + /// >> Mortal223 + /// + Mortal223 = 223, + + /// + /// >> Mortal224 + /// + Mortal224 = 224, + + /// + /// >> Mortal225 + /// + Mortal225 = 225, + + /// + /// >> Mortal226 + /// + Mortal226 = 226, + + /// + /// >> Mortal227 + /// + Mortal227 = 227, + + /// + /// >> Mortal228 + /// + Mortal228 = 228, + + /// + /// >> Mortal229 + /// + Mortal229 = 229, + + /// + /// >> Mortal230 + /// + Mortal230 = 230, + + /// + /// >> Mortal231 + /// + Mortal231 = 231, + + /// + /// >> Mortal232 + /// + Mortal232 = 232, + + /// + /// >> Mortal233 + /// + Mortal233 = 233, + + /// + /// >> Mortal234 + /// + Mortal234 = 234, + + /// + /// >> Mortal235 + /// + Mortal235 = 235, + + /// + /// >> Mortal236 + /// + Mortal236 = 236, + + /// + /// >> Mortal237 + /// + Mortal237 = 237, + + /// + /// >> Mortal238 + /// + Mortal238 = 238, + + /// + /// >> Mortal239 + /// + Mortal239 = 239, + + /// + /// >> Mortal240 + /// + Mortal240 = 240, + + /// + /// >> Mortal241 + /// + Mortal241 = 241, + + /// + /// >> Mortal242 + /// + Mortal242 = 242, + + /// + /// >> Mortal243 + /// + Mortal243 = 243, + + /// + /// >> Mortal244 + /// + Mortal244 = 244, + + /// + /// >> Mortal245 + /// + Mortal245 = 245, + + /// + /// >> Mortal246 + /// + Mortal246 = 246, + + /// + /// >> Mortal247 + /// + Mortal247 = 247, + + /// + /// >> Mortal248 + /// + Mortal248 = 248, + + /// + /// >> Mortal249 + /// + Mortal249 = 249, + + /// + /// >> Mortal250 + /// + Mortal250 = 250, + + /// + /// >> Mortal251 + /// + Mortal251 = 251, + + /// + /// >> Mortal252 + /// + Mortal252 = 252, + + /// + /// >> Mortal253 + /// + Mortal253 = 253, + + /// + /// >> Mortal254 + /// + Mortal254 = 254, + + /// + /// >> Mortal255 + /// + Mortal255 = 255, + } + + /// + /// >> 647 - Variant[sp_runtime.generic.era.Era] + /// + public sealed class EnumEra : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumEra() + { + AddTypeDecoder(Era.Immortal); + AddTypeDecoder(Era.Mortal1); + AddTypeDecoder(Era.Mortal2); + AddTypeDecoder(Era.Mortal3); + AddTypeDecoder(Era.Mortal4); + AddTypeDecoder(Era.Mortal5); + AddTypeDecoder(Era.Mortal6); + AddTypeDecoder(Era.Mortal7); + AddTypeDecoder(Era.Mortal8); + AddTypeDecoder(Era.Mortal9); + AddTypeDecoder(Era.Mortal10); + AddTypeDecoder(Era.Mortal11); + AddTypeDecoder(Era.Mortal12); + AddTypeDecoder(Era.Mortal13); + AddTypeDecoder(Era.Mortal14); + AddTypeDecoder(Era.Mortal15); + AddTypeDecoder(Era.Mortal16); + AddTypeDecoder(Era.Mortal17); + AddTypeDecoder(Era.Mortal18); + AddTypeDecoder(Era.Mortal19); + AddTypeDecoder(Era.Mortal20); + AddTypeDecoder(Era.Mortal21); + AddTypeDecoder(Era.Mortal22); + AddTypeDecoder(Era.Mortal23); + AddTypeDecoder(Era.Mortal24); + AddTypeDecoder(Era.Mortal25); + AddTypeDecoder(Era.Mortal26); + AddTypeDecoder(Era.Mortal27); + AddTypeDecoder(Era.Mortal28); + AddTypeDecoder(Era.Mortal29); + AddTypeDecoder(Era.Mortal30); + AddTypeDecoder(Era.Mortal31); + AddTypeDecoder(Era.Mortal32); + AddTypeDecoder(Era.Mortal33); + AddTypeDecoder(Era.Mortal34); + AddTypeDecoder(Era.Mortal35); + AddTypeDecoder(Era.Mortal36); + AddTypeDecoder(Era.Mortal37); + AddTypeDecoder(Era.Mortal38); + AddTypeDecoder(Era.Mortal39); + AddTypeDecoder(Era.Mortal40); + AddTypeDecoder(Era.Mortal41); + AddTypeDecoder(Era.Mortal42); + AddTypeDecoder(Era.Mortal43); + AddTypeDecoder(Era.Mortal44); + AddTypeDecoder(Era.Mortal45); + AddTypeDecoder(Era.Mortal46); + AddTypeDecoder(Era.Mortal47); + AddTypeDecoder(Era.Mortal48); + AddTypeDecoder(Era.Mortal49); + AddTypeDecoder(Era.Mortal50); + AddTypeDecoder(Era.Mortal51); + AddTypeDecoder(Era.Mortal52); + AddTypeDecoder(Era.Mortal53); + AddTypeDecoder(Era.Mortal54); + AddTypeDecoder(Era.Mortal55); + AddTypeDecoder(Era.Mortal56); + AddTypeDecoder(Era.Mortal57); + AddTypeDecoder(Era.Mortal58); + AddTypeDecoder(Era.Mortal59); + AddTypeDecoder(Era.Mortal60); + AddTypeDecoder(Era.Mortal61); + AddTypeDecoder(Era.Mortal62); + AddTypeDecoder(Era.Mortal63); + AddTypeDecoder(Era.Mortal64); + AddTypeDecoder(Era.Mortal65); + AddTypeDecoder(Era.Mortal66); + AddTypeDecoder(Era.Mortal67); + AddTypeDecoder(Era.Mortal68); + AddTypeDecoder(Era.Mortal69); + AddTypeDecoder(Era.Mortal70); + AddTypeDecoder(Era.Mortal71); + AddTypeDecoder(Era.Mortal72); + AddTypeDecoder(Era.Mortal73); + AddTypeDecoder(Era.Mortal74); + AddTypeDecoder(Era.Mortal75); + AddTypeDecoder(Era.Mortal76); + AddTypeDecoder(Era.Mortal77); + AddTypeDecoder(Era.Mortal78); + AddTypeDecoder(Era.Mortal79); + AddTypeDecoder(Era.Mortal80); + AddTypeDecoder(Era.Mortal81); + AddTypeDecoder(Era.Mortal82); + AddTypeDecoder(Era.Mortal83); + AddTypeDecoder(Era.Mortal84); + AddTypeDecoder(Era.Mortal85); + AddTypeDecoder(Era.Mortal86); + AddTypeDecoder(Era.Mortal87); + AddTypeDecoder(Era.Mortal88); + AddTypeDecoder(Era.Mortal89); + AddTypeDecoder(Era.Mortal90); + AddTypeDecoder(Era.Mortal91); + AddTypeDecoder(Era.Mortal92); + AddTypeDecoder(Era.Mortal93); + AddTypeDecoder(Era.Mortal94); + AddTypeDecoder(Era.Mortal95); + AddTypeDecoder(Era.Mortal96); + AddTypeDecoder(Era.Mortal97); + AddTypeDecoder(Era.Mortal98); + AddTypeDecoder(Era.Mortal99); + AddTypeDecoder(Era.Mortal100); + AddTypeDecoder(Era.Mortal101); + AddTypeDecoder(Era.Mortal102); + AddTypeDecoder(Era.Mortal103); + AddTypeDecoder(Era.Mortal104); + AddTypeDecoder(Era.Mortal105); + AddTypeDecoder(Era.Mortal106); + AddTypeDecoder(Era.Mortal107); + AddTypeDecoder(Era.Mortal108); + AddTypeDecoder(Era.Mortal109); + AddTypeDecoder(Era.Mortal110); + AddTypeDecoder(Era.Mortal111); + AddTypeDecoder(Era.Mortal112); + AddTypeDecoder(Era.Mortal113); + AddTypeDecoder(Era.Mortal114); + AddTypeDecoder(Era.Mortal115); + AddTypeDecoder(Era.Mortal116); + AddTypeDecoder(Era.Mortal117); + AddTypeDecoder(Era.Mortal118); + AddTypeDecoder(Era.Mortal119); + AddTypeDecoder(Era.Mortal120); + AddTypeDecoder(Era.Mortal121); + AddTypeDecoder(Era.Mortal122); + AddTypeDecoder(Era.Mortal123); + AddTypeDecoder(Era.Mortal124); + AddTypeDecoder(Era.Mortal125); + AddTypeDecoder(Era.Mortal126); + AddTypeDecoder(Era.Mortal127); + AddTypeDecoder(Era.Mortal128); + AddTypeDecoder(Era.Mortal129); + AddTypeDecoder(Era.Mortal130); + AddTypeDecoder(Era.Mortal131); + AddTypeDecoder(Era.Mortal132); + AddTypeDecoder(Era.Mortal133); + AddTypeDecoder(Era.Mortal134); + AddTypeDecoder(Era.Mortal135); + AddTypeDecoder(Era.Mortal136); + AddTypeDecoder(Era.Mortal137); + AddTypeDecoder(Era.Mortal138); + AddTypeDecoder(Era.Mortal139); + AddTypeDecoder(Era.Mortal140); + AddTypeDecoder(Era.Mortal141); + AddTypeDecoder(Era.Mortal142); + AddTypeDecoder(Era.Mortal143); + AddTypeDecoder(Era.Mortal144); + AddTypeDecoder(Era.Mortal145); + AddTypeDecoder(Era.Mortal146); + AddTypeDecoder(Era.Mortal147); + AddTypeDecoder(Era.Mortal148); + AddTypeDecoder(Era.Mortal149); + AddTypeDecoder(Era.Mortal150); + AddTypeDecoder(Era.Mortal151); + AddTypeDecoder(Era.Mortal152); + AddTypeDecoder(Era.Mortal153); + AddTypeDecoder(Era.Mortal154); + AddTypeDecoder(Era.Mortal155); + AddTypeDecoder(Era.Mortal156); + AddTypeDecoder(Era.Mortal157); + AddTypeDecoder(Era.Mortal158); + AddTypeDecoder(Era.Mortal159); + AddTypeDecoder(Era.Mortal160); + AddTypeDecoder(Era.Mortal161); + AddTypeDecoder(Era.Mortal162); + AddTypeDecoder(Era.Mortal163); + AddTypeDecoder(Era.Mortal164); + AddTypeDecoder(Era.Mortal165); + AddTypeDecoder(Era.Mortal166); + AddTypeDecoder(Era.Mortal167); + AddTypeDecoder(Era.Mortal168); + AddTypeDecoder(Era.Mortal169); + AddTypeDecoder(Era.Mortal170); + AddTypeDecoder(Era.Mortal171); + AddTypeDecoder(Era.Mortal172); + AddTypeDecoder(Era.Mortal173); + AddTypeDecoder(Era.Mortal174); + AddTypeDecoder(Era.Mortal175); + AddTypeDecoder(Era.Mortal176); + AddTypeDecoder(Era.Mortal177); + AddTypeDecoder(Era.Mortal178); + AddTypeDecoder(Era.Mortal179); + AddTypeDecoder(Era.Mortal180); + AddTypeDecoder(Era.Mortal181); + AddTypeDecoder(Era.Mortal182); + AddTypeDecoder(Era.Mortal183); + AddTypeDecoder(Era.Mortal184); + AddTypeDecoder(Era.Mortal185); + AddTypeDecoder(Era.Mortal186); + AddTypeDecoder(Era.Mortal187); + AddTypeDecoder(Era.Mortal188); + AddTypeDecoder(Era.Mortal189); + AddTypeDecoder(Era.Mortal190); + AddTypeDecoder(Era.Mortal191); + AddTypeDecoder(Era.Mortal192); + AddTypeDecoder(Era.Mortal193); + AddTypeDecoder(Era.Mortal194); + AddTypeDecoder(Era.Mortal195); + AddTypeDecoder(Era.Mortal196); + AddTypeDecoder(Era.Mortal197); + AddTypeDecoder(Era.Mortal198); + AddTypeDecoder(Era.Mortal199); + AddTypeDecoder(Era.Mortal200); + AddTypeDecoder(Era.Mortal201); + AddTypeDecoder(Era.Mortal202); + AddTypeDecoder(Era.Mortal203); + AddTypeDecoder(Era.Mortal204); + AddTypeDecoder(Era.Mortal205); + AddTypeDecoder(Era.Mortal206); + AddTypeDecoder(Era.Mortal207); + AddTypeDecoder(Era.Mortal208); + AddTypeDecoder(Era.Mortal209); + AddTypeDecoder(Era.Mortal210); + AddTypeDecoder(Era.Mortal211); + AddTypeDecoder(Era.Mortal212); + AddTypeDecoder(Era.Mortal213); + AddTypeDecoder(Era.Mortal214); + AddTypeDecoder(Era.Mortal215); + AddTypeDecoder(Era.Mortal216); + AddTypeDecoder(Era.Mortal217); + AddTypeDecoder(Era.Mortal218); + AddTypeDecoder(Era.Mortal219); + AddTypeDecoder(Era.Mortal220); + AddTypeDecoder(Era.Mortal221); + AddTypeDecoder(Era.Mortal222); + AddTypeDecoder(Era.Mortal223); + AddTypeDecoder(Era.Mortal224); + AddTypeDecoder(Era.Mortal225); + AddTypeDecoder(Era.Mortal226); + AddTypeDecoder(Era.Mortal227); + AddTypeDecoder(Era.Mortal228); + AddTypeDecoder(Era.Mortal229); + AddTypeDecoder(Era.Mortal230); + AddTypeDecoder(Era.Mortal231); + AddTypeDecoder(Era.Mortal232); + AddTypeDecoder(Era.Mortal233); + AddTypeDecoder(Era.Mortal234); + AddTypeDecoder(Era.Mortal235); + AddTypeDecoder(Era.Mortal236); + AddTypeDecoder(Era.Mortal237); + AddTypeDecoder(Era.Mortal238); + AddTypeDecoder(Era.Mortal239); + AddTypeDecoder(Era.Mortal240); + AddTypeDecoder(Era.Mortal241); + AddTypeDecoder(Era.Mortal242); + AddTypeDecoder(Era.Mortal243); + AddTypeDecoder(Era.Mortal244); + AddTypeDecoder(Era.Mortal245); + AddTypeDecoder(Era.Mortal246); + AddTypeDecoder(Era.Mortal247); + AddTypeDecoder(Era.Mortal248); + AddTypeDecoder(Era.Mortal249); + AddTypeDecoder(Era.Mortal250); + AddTypeDecoder(Era.Mortal251); + AddTypeDecoder(Era.Mortal252); + AddTypeDecoder(Era.Mortal253); + AddTypeDecoder(Era.Mortal254); + AddTypeDecoder(Era.Mortal255); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/generic/header/Header.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/generic/header/Header.cs new file mode 100644 index 00000000..2c5c9d36 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/generic/header/Header.cs @@ -0,0 +1,86 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_runtime.generic.header +{ + + + /// + /// >> 73 - Composite[sp_runtime.generic.header.Header] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Header : BaseType + { + + /// + /// >> parent_hash + /// + public Substrate.Gear.Api.Generated.Model.primitive_types.H256 ParentHash { get; set; } + /// + /// >> number + /// + public Substrate.NetApi.Model.Types.Base.BaseCom Number { get; set; } + /// + /// >> state_root + /// + public Substrate.Gear.Api.Generated.Model.primitive_types.H256 StateRoot { get; set; } + /// + /// >> extrinsics_root + /// + public Substrate.Gear.Api.Generated.Model.primitive_types.H256 ExtrinsicsRoot { get; set; } + /// + /// >> digest + /// + public Substrate.Gear.Api.Generated.Model.sp_runtime.generic.digest.Digest Digest { get; set; } + + /// + public override string TypeName() + { + return "Header"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(ParentHash.Encode()); + result.AddRange(Number.Encode()); + result.AddRange(StateRoot.Encode()); + result.AddRange(ExtrinsicsRoot.Encode()); + result.AddRange(Digest.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + ParentHash = new Substrate.Gear.Api.Generated.Model.primitive_types.H256(); + ParentHash.Decode(byteArray, ref p); + Number = new Substrate.NetApi.Model.Types.Base.BaseCom(); + Number.Decode(byteArray, ref p); + StateRoot = new Substrate.Gear.Api.Generated.Model.primitive_types.H256(); + StateRoot.Decode(byteArray, ref p); + ExtrinsicsRoot = new Substrate.Gear.Api.Generated.Model.primitive_types.H256(); + ExtrinsicsRoot.Decode(byteArray, ref p); + Digest = new Substrate.Gear.Api.Generated.Model.sp_runtime.generic.digest.Digest(); + Digest.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/generic/unchecked_extrinsic/UncheckedExtrinsic.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/generic/unchecked_extrinsic/UncheckedExtrinsic.cs new file mode 100644 index 00000000..700ee4db --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/generic/unchecked_extrinsic/UncheckedExtrinsic.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_runtime.generic.unchecked_extrinsic +{ + + + /// + /// >> 636 - Composite[sp_runtime.generic.unchecked_extrinsic.UncheckedExtrinsic] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class UncheckedExtrinsic : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec Value { get; set; } + + /// + public override string TypeName() + { + return "UncheckedExtrinsic"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/multiaddress/EnumMultiAddress.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/multiaddress/EnumMultiAddress.cs new file mode 100644 index 00000000..e10f69c6 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/multiaddress/EnumMultiAddress.cs @@ -0,0 +1,68 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress +{ + + + /// + /// >> MultiAddress + /// + public enum MultiAddress + { + + /// + /// >> Id + /// + Id = 0, + + /// + /// >> Index + /// + Index = 1, + + /// + /// >> Raw + /// + Raw = 2, + + /// + /// >> Address32 + /// + Address32 = 3, + + /// + /// >> Address20 + /// + Address20 = 4, + } + + /// + /// >> 94 - Variant[sp_runtime.multiaddress.MultiAddress] + /// + public sealed class EnumMultiAddress : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumMultiAddress() + { + AddTypeDecoder(MultiAddress.Id); + AddTypeDecoder>(MultiAddress.Index); + AddTypeDecoder>(MultiAddress.Raw); + AddTypeDecoder(MultiAddress.Address32); + AddTypeDecoder(MultiAddress.Address20); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/traits/BlakeTwo256.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/traits/BlakeTwo256.cs new file mode 100644 index 00000000..e1d51afd --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_runtime/traits/BlakeTwo256.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_runtime.traits +{ + + + /// + /// >> 277 - Composite[sp_runtime.traits.BlakeTwo256] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BlakeTwo256 : BaseType + { + + /// + public override string TypeName() + { + return "BlakeTwo256"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_session/MembershipProof.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_session/MembershipProof.cs new file mode 100644 index 00000000..af88db1c --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_session/MembershipProof.cs @@ -0,0 +1,72 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_session +{ + + + /// + /// >> 77 - Composite[sp_session.MembershipProof] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class MembershipProof : BaseType + { + + /// + /// >> session + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Session { get; set; } + /// + /// >> trie_nodes + /// + public Substrate.NetApi.Model.Types.Base.BaseVec> TrieNodes { get; set; } + /// + /// >> validator_count + /// + public Substrate.NetApi.Model.Types.Primitive.U32 ValidatorCount { get; set; } + + /// + public override string TypeName() + { + return "MembershipProof"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Session.Encode()); + result.AddRange(TrieNodes.Encode()); + result.AddRange(ValidatorCount.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Session = new Substrate.NetApi.Model.Types.Primitive.U32(); + Session.Decode(byteArray, ref p); + TrieNodes = new Substrate.NetApi.Model.Types.Base.BaseVec>(); + TrieNodes.Decode(byteArray, ref p); + ValidatorCount = new Substrate.NetApi.Model.Types.Primitive.U32(); + ValidatorCount.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_staking/Exposure.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_staking/Exposure.cs new file mode 100644 index 00000000..3bc9ec02 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_staking/Exposure.cs @@ -0,0 +1,72 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_staking +{ + + + /// + /// >> 45 - Composite[sp_staking.Exposure] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Exposure : BaseType + { + + /// + /// >> total + /// + public Substrate.NetApi.Model.Types.Base.BaseCom Total { get; set; } + /// + /// >> own + /// + public Substrate.NetApi.Model.Types.Base.BaseCom Own { get; set; } + /// + /// >> others + /// + public Substrate.NetApi.Model.Types.Base.BaseVec Others { get; set; } + + /// + public override string TypeName() + { + return "Exposure"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Total.Encode()); + result.AddRange(Own.Encode()); + result.AddRange(Others.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Total = new Substrate.NetApi.Model.Types.Base.BaseCom(); + Total.Decode(byteArray, ref p); + Own = new Substrate.NetApi.Model.Types.Base.BaseCom(); + Own.Decode(byteArray, ref p); + Others = new Substrate.NetApi.Model.Types.Base.BaseVec(); + Others.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_staking/ExposurePage.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_staking/ExposurePage.cs new file mode 100644 index 00000000..2c3ae7e2 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_staking/ExposurePage.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_staking +{ + + + /// + /// >> 415 - Composite[sp_staking.ExposurePage] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class ExposurePage : BaseType + { + + /// + /// >> page_total + /// + public Substrate.NetApi.Model.Types.Base.BaseCom PageTotal { get; set; } + /// + /// >> others + /// + public Substrate.NetApi.Model.Types.Base.BaseVec Others { get; set; } + + /// + public override string TypeName() + { + return "ExposurePage"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(PageTotal.Encode()); + result.AddRange(Others.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + PageTotal = new Substrate.NetApi.Model.Types.Base.BaseCom(); + PageTotal.Decode(byteArray, ref p); + Others = new Substrate.NetApi.Model.Types.Base.BaseVec(); + Others.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_staking/IndividualExposure.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_staking/IndividualExposure.cs new file mode 100644 index 00000000..c98b8e45 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_staking/IndividualExposure.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_staking +{ + + + /// + /// >> 48 - Composite[sp_staking.IndividualExposure] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class IndividualExposure : BaseType + { + + /// + /// >> who + /// + public Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 Who { get; set; } + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseCom Value { get; set; } + + /// + public override string TypeName() + { + return "IndividualExposure"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Who.Encode()); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Who = new Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32(); + Who.Decode(byteArray, ref p); + Value = new Substrate.NetApi.Model.Types.Base.BaseCom(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_staking/PagedExposureMetadata.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_staking/PagedExposureMetadata.cs new file mode 100644 index 00000000..73376b23 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_staking/PagedExposureMetadata.cs @@ -0,0 +1,79 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_staking +{ + + + /// + /// >> 413 - Composite[sp_staking.PagedExposureMetadata] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class PagedExposureMetadata : BaseType + { + + /// + /// >> total + /// + public Substrate.NetApi.Model.Types.Base.BaseCom Total { get; set; } + /// + /// >> own + /// + public Substrate.NetApi.Model.Types.Base.BaseCom Own { get; set; } + /// + /// >> nominator_count + /// + public Substrate.NetApi.Model.Types.Primitive.U32 NominatorCount { get; set; } + /// + /// >> page_count + /// + public Substrate.NetApi.Model.Types.Primitive.U32 PageCount { get; set; } + + /// + public override string TypeName() + { + return "PagedExposureMetadata"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Total.Encode()); + result.AddRange(Own.Encode()); + result.AddRange(NominatorCount.Encode()); + result.AddRange(PageCount.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Total = new Substrate.NetApi.Model.Types.Base.BaseCom(); + Total.Decode(byteArray, ref p); + Own = new Substrate.NetApi.Model.Types.Base.BaseCom(); + Own.Decode(byteArray, ref p); + NominatorCount = new Substrate.NetApi.Model.Types.Primitive.U32(); + NominatorCount.Decode(byteArray, ref p); + PageCount = new Substrate.NetApi.Model.Types.Primitive.U32(); + PageCount.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_staking/offence/OffenceDetails.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_staking/offence/OffenceDetails.cs new file mode 100644 index 00000000..18c5f8e1 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_staking/offence/OffenceDetails.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_staking.offence +{ + + + /// + /// >> 530 - Composite[sp_staking.offence.OffenceDetails] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class OffenceDetails : BaseType + { + + /// + /// >> offender + /// + public Substrate.NetApi.Model.Types.Base.BaseTuple Offender { get; set; } + /// + /// >> reporters + /// + public Substrate.NetApi.Model.Types.Base.BaseVec Reporters { get; set; } + + /// + public override string TypeName() + { + return "OffenceDetails"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Offender.Encode()); + result.AddRange(Reporters.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Offender = new Substrate.NetApi.Model.Types.Base.BaseTuple(); + Offender.Decode(byteArray, ref p); + Reporters = new Substrate.NetApi.Model.Types.Base.BaseVec(); + Reporters.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_version/RuntimeVersion.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_version/RuntimeVersion.cs new file mode 100644 index 00000000..38e19c52 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_version/RuntimeVersion.cs @@ -0,0 +1,107 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_version +{ + + + /// + /// >> 345 - Composite[sp_version.RuntimeVersion] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class RuntimeVersion : BaseType + { + + /// + /// >> spec_name + /// + public Substrate.NetApi.Model.Types.Primitive.Str SpecName { get; set; } + /// + /// >> impl_name + /// + public Substrate.NetApi.Model.Types.Primitive.Str ImplName { get; set; } + /// + /// >> authoring_version + /// + public Substrate.NetApi.Model.Types.Primitive.U32 AuthoringVersion { get; set; } + /// + /// >> spec_version + /// + public Substrate.NetApi.Model.Types.Primitive.U32 SpecVersion { get; set; } + /// + /// >> impl_version + /// + public Substrate.NetApi.Model.Types.Primitive.U32 ImplVersion { get; set; } + /// + /// >> apis + /// + public Substrate.Gear.Api.Generated.Types.Base.Cow Apis { get; set; } + /// + /// >> transaction_version + /// + public Substrate.NetApi.Model.Types.Primitive.U32 TransactionVersion { get; set; } + /// + /// >> state_version + /// + public Substrate.NetApi.Model.Types.Primitive.U8 StateVersion { get; set; } + + /// + public override string TypeName() + { + return "RuntimeVersion"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(SpecName.Encode()); + result.AddRange(ImplName.Encode()); + result.AddRange(AuthoringVersion.Encode()); + result.AddRange(SpecVersion.Encode()); + result.AddRange(ImplVersion.Encode()); + result.AddRange(Apis.Encode()); + result.AddRange(TransactionVersion.Encode()); + result.AddRange(StateVersion.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + SpecName = new Substrate.NetApi.Model.Types.Primitive.Str(); + SpecName.Decode(byteArray, ref p); + ImplName = new Substrate.NetApi.Model.Types.Primitive.Str(); + ImplName.Decode(byteArray, ref p); + AuthoringVersion = new Substrate.NetApi.Model.Types.Primitive.U32(); + AuthoringVersion.Decode(byteArray, ref p); + SpecVersion = new Substrate.NetApi.Model.Types.Primitive.U32(); + SpecVersion.Decode(byteArray, ref p); + ImplVersion = new Substrate.NetApi.Model.Types.Primitive.U32(); + ImplVersion.Decode(byteArray, ref p); + Apis = new Substrate.Gear.Api.Generated.Types.Base.Cow(); + Apis.Decode(byteArray, ref p); + TransactionVersion = new Substrate.NetApi.Model.Types.Primitive.U32(); + TransactionVersion.Decode(byteArray, ref p); + StateVersion = new Substrate.NetApi.Model.Types.Primitive.U8(); + StateVersion.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_weights/RuntimeDbWeight.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_weights/RuntimeDbWeight.cs new file mode 100644 index 00000000..eddb4a74 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_weights/RuntimeDbWeight.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_weights +{ + + + /// + /// >> 344 - Composite[sp_weights.RuntimeDbWeight] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class RuntimeDbWeight : BaseType + { + + /// + /// >> read + /// + public Substrate.NetApi.Model.Types.Primitive.U64 Read { get; set; } + /// + /// >> write + /// + public Substrate.NetApi.Model.Types.Primitive.U64 Write { get; set; } + + /// + public override string TypeName() + { + return "RuntimeDbWeight"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Read.Encode()); + result.AddRange(Write.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Read = new Substrate.NetApi.Model.Types.Primitive.U64(); + Read.Decode(byteArray, ref p); + Write = new Substrate.NetApi.Model.Types.Primitive.U64(); + Write.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_weights/weight_v2/Weight.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_weights/weight_v2/Weight.cs new file mode 100644 index 00000000..0c46501d --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/sp_weights/weight_v2/Weight.cs @@ -0,0 +1,65 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2 +{ + + + /// + /// >> 9 - Composite[sp_weights.weight_v2.Weight] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Weight : BaseType + { + + /// + /// >> ref_time + /// + public Substrate.NetApi.Model.Types.Base.BaseCom RefTime { get; set; } + /// + /// >> proof_size + /// + public Substrate.NetApi.Model.Types.Base.BaseCom ProofSize { get; set; } + + /// + public override string TypeName() + { + return "Weight"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(RefTime.Encode()); + result.AddRange(ProofSize.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + RefTime = new Substrate.NetApi.Model.Types.Base.BaseCom(); + RefTime.Decode(byteArray, ref p); + ProofSize = new Substrate.NetApi.Model.Types.Base.BaseCom(); + ProofSize.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/vara_runtime/CustomCheckNonce.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/vara_runtime/CustomCheckNonce.cs new file mode 100644 index 00000000..de769e97 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/vara_runtime/CustomCheckNonce.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.vara_runtime +{ + + + /// + /// >> 648 - Composite[vara_runtime.CustomCheckNonce] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class CustomCheckNonce : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseCom Value { get; set; } + + /// + public override string TypeName() + { + return "CustomCheckNonce"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseCom(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/vara_runtime/EnumOriginCaller.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/vara_runtime/EnumOriginCaller.cs new file mode 100644 index 00000000..dd4add59 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/vara_runtime/EnumOriginCaller.cs @@ -0,0 +1,56 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.vara_runtime +{ + + + /// + /// >> OriginCaller + /// + public enum OriginCaller + { + + /// + /// >> system + /// + system = 0, + + /// + /// >> Origins + /// + Origins = 20, + + /// + /// >> Void + /// + Void = 2, + } + + /// + /// >> 120 - Variant[vara_runtime.OriginCaller] + /// + public sealed class EnumOriginCaller : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumOriginCaller() + { + AddTypeDecoder(OriginCaller.system); + AddTypeDecoder(OriginCaller.Origins); + AddTypeDecoder(OriginCaller.Void); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/vara_runtime/EnumProxyType.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/vara_runtime/EnumProxyType.cs new file mode 100644 index 00000000..7f5ee367 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/vara_runtime/EnumProxyType.cs @@ -0,0 +1,61 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.vara_runtime +{ + + + /// + /// >> ProxyType + /// + public enum ProxyType + { + + /// + /// >> Any + /// + Any = 0, + + /// + /// >> NonTransfer + /// + NonTransfer = 1, + + /// + /// >> Governance + /// + Governance = 2, + + /// + /// >> Staking + /// + Staking = 3, + + /// + /// >> IdentityJudgement + /// + IdentityJudgement = 4, + + /// + /// >> CancelProxy + /// + CancelProxy = 5, + } + + /// + /// >> 182 - Variant[vara_runtime.ProxyType] + /// + public sealed class EnumProxyType : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/vara_runtime/EnumRuntimeCall.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/vara_runtime/EnumRuntimeCall.cs new file mode 100644 index 00000000..504ec843 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/vara_runtime/EnumRuntimeCall.cs @@ -0,0 +1,212 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.vara_runtime +{ + + + /// + /// >> RuntimeCall + /// + public enum RuntimeCall + { + + /// + /// >> System + /// + System = 0, + + /// + /// >> Timestamp + /// + Timestamp = 1, + + /// + /// >> Babe + /// + Babe = 3, + + /// + /// >> Grandpa + /// + Grandpa = 4, + + /// + /// >> Balances + /// + Balances = 5, + + /// + /// >> Vesting + /// + Vesting = 10, + + /// + /// >> BagsList + /// + BagsList = 11, + + /// + /// >> ImOnline + /// + ImOnline = 12, + + /// + /// >> Staking + /// + Staking = 13, + + /// + /// >> Session + /// + Session = 7, + + /// + /// >> Treasury + /// + Treasury = 14, + + /// + /// >> Utility + /// + Utility = 8, + + /// + /// >> ConvictionVoting + /// + ConvictionVoting = 16, + + /// + /// >> Referenda + /// + Referenda = 17, + + /// + /// >> FellowshipCollective + /// + FellowshipCollective = 18, + + /// + /// >> FellowshipReferenda + /// + FellowshipReferenda = 19, + + /// + /// >> Whitelist + /// + Whitelist = 21, + + /// + /// >> Scheduler + /// + Scheduler = 22, + + /// + /// >> Preimage + /// + Preimage = 23, + + /// + /// >> Identity + /// + Identity = 24, + + /// + /// >> Proxy + /// + Proxy = 25, + + /// + /// >> Multisig + /// + Multisig = 26, + + /// + /// >> ElectionProviderMultiPhase + /// + ElectionProviderMultiPhase = 27, + + /// + /// >> Bounties + /// + Bounties = 29, + + /// + /// >> ChildBounties + /// + ChildBounties = 30, + + /// + /// >> NominationPools + /// + NominationPools = 31, + + /// + /// >> Gear + /// + Gear = 104, + + /// + /// >> StakingRewards + /// + StakingRewards = 106, + + /// + /// >> GearVoucher + /// + GearVoucher = 107, + } + + /// + /// >> 65 - Variant[vara_runtime.RuntimeCall] + /// + public sealed class EnumRuntimeCall : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumRuntimeCall() + { + AddTypeDecoder(RuntimeCall.System); + AddTypeDecoder(RuntimeCall.Timestamp); + AddTypeDecoder(RuntimeCall.Babe); + AddTypeDecoder(RuntimeCall.Grandpa); + AddTypeDecoder(RuntimeCall.Balances); + AddTypeDecoder(RuntimeCall.Vesting); + AddTypeDecoder(RuntimeCall.BagsList); + AddTypeDecoder(RuntimeCall.ImOnline); + AddTypeDecoder(RuntimeCall.Staking); + AddTypeDecoder(RuntimeCall.Session); + AddTypeDecoder(RuntimeCall.Treasury); + AddTypeDecoder(RuntimeCall.Utility); + AddTypeDecoder(RuntimeCall.ConvictionVoting); + AddTypeDecoder(RuntimeCall.Referenda); + AddTypeDecoder(RuntimeCall.FellowshipCollective); + AddTypeDecoder(RuntimeCall.FellowshipReferenda); + AddTypeDecoder(RuntimeCall.Whitelist); + AddTypeDecoder(RuntimeCall.Scheduler); + AddTypeDecoder(RuntimeCall.Preimage); + AddTypeDecoder(RuntimeCall.Identity); + AddTypeDecoder(RuntimeCall.Proxy); + AddTypeDecoder(RuntimeCall.Multisig); + AddTypeDecoder(RuntimeCall.ElectionProviderMultiPhase); + AddTypeDecoder(RuntimeCall.Bounties); + AddTypeDecoder(RuntimeCall.ChildBounties); + AddTypeDecoder(RuntimeCall.NominationPools); + AddTypeDecoder(RuntimeCall.Gear); + AddTypeDecoder(RuntimeCall.StakingRewards); + AddTypeDecoder(RuntimeCall.GearVoucher); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/vara_runtime/EnumRuntimeEvent.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/vara_runtime/EnumRuntimeEvent.cs new file mode 100644 index 00000000..cf6d6dcb --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/vara_runtime/EnumRuntimeEvent.cs @@ -0,0 +1,212 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.vara_runtime +{ + + + /// + /// >> RuntimeEvent + /// + public enum RuntimeEvent + { + + /// + /// >> System + /// + System = 0, + + /// + /// >> Grandpa + /// + Grandpa = 4, + + /// + /// >> Balances + /// + Balances = 5, + + /// + /// >> Vesting + /// + Vesting = 10, + + /// + /// >> TransactionPayment + /// + TransactionPayment = 6, + + /// + /// >> BagsList + /// + BagsList = 11, + + /// + /// >> ImOnline + /// + ImOnline = 12, + + /// + /// >> Staking + /// + Staking = 13, + + /// + /// >> Session + /// + Session = 7, + + /// + /// >> Treasury + /// + Treasury = 14, + + /// + /// >> Utility + /// + Utility = 8, + + /// + /// >> ConvictionVoting + /// + ConvictionVoting = 16, + + /// + /// >> Referenda + /// + Referenda = 17, + + /// + /// >> FellowshipCollective + /// + FellowshipCollective = 18, + + /// + /// >> FellowshipReferenda + /// + FellowshipReferenda = 19, + + /// + /// >> Whitelist + /// + Whitelist = 21, + + /// + /// >> Scheduler + /// + Scheduler = 22, + + /// + /// >> Preimage + /// + Preimage = 23, + + /// + /// >> Identity + /// + Identity = 24, + + /// + /// >> Proxy + /// + Proxy = 25, + + /// + /// >> Multisig + /// + Multisig = 26, + + /// + /// >> ElectionProviderMultiPhase + /// + ElectionProviderMultiPhase = 27, + + /// + /// >> Offences + /// + Offences = 28, + + /// + /// >> Bounties + /// + Bounties = 29, + + /// + /// >> ChildBounties + /// + ChildBounties = 30, + + /// + /// >> NominationPools + /// + NominationPools = 31, + + /// + /// >> Gear + /// + Gear = 104, + + /// + /// >> StakingRewards + /// + StakingRewards = 106, + + /// + /// >> GearVoucher + /// + GearVoucher = 107, + } + + /// + /// >> 20 - Variant[vara_runtime.RuntimeEvent] + /// + public sealed class EnumRuntimeEvent : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumRuntimeEvent() + { + AddTypeDecoder(RuntimeEvent.System); + AddTypeDecoder(RuntimeEvent.Grandpa); + AddTypeDecoder(RuntimeEvent.Balances); + AddTypeDecoder(RuntimeEvent.Vesting); + AddTypeDecoder(RuntimeEvent.TransactionPayment); + AddTypeDecoder(RuntimeEvent.BagsList); + AddTypeDecoder(RuntimeEvent.ImOnline); + AddTypeDecoder(RuntimeEvent.Staking); + AddTypeDecoder(RuntimeEvent.Session); + AddTypeDecoder(RuntimeEvent.Treasury); + AddTypeDecoder(RuntimeEvent.Utility); + AddTypeDecoder(RuntimeEvent.ConvictionVoting); + AddTypeDecoder(RuntimeEvent.Referenda); + AddTypeDecoder(RuntimeEvent.FellowshipCollective); + AddTypeDecoder(RuntimeEvent.FellowshipReferenda); + AddTypeDecoder(RuntimeEvent.Whitelist); + AddTypeDecoder(RuntimeEvent.Scheduler); + AddTypeDecoder(RuntimeEvent.Preimage); + AddTypeDecoder(RuntimeEvent.Identity); + AddTypeDecoder(RuntimeEvent.Proxy); + AddTypeDecoder(RuntimeEvent.Multisig); + AddTypeDecoder(RuntimeEvent.ElectionProviderMultiPhase); + AddTypeDecoder(RuntimeEvent.Offences); + AddTypeDecoder(RuntimeEvent.Bounties); + AddTypeDecoder(RuntimeEvent.ChildBounties); + AddTypeDecoder(RuntimeEvent.NominationPools); + AddTypeDecoder(RuntimeEvent.Gear); + AddTypeDecoder(RuntimeEvent.StakingRewards); + AddTypeDecoder(RuntimeEvent.GearVoucher); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/vara_runtime/EnumRuntimeFreezeReason.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/vara_runtime/EnumRuntimeFreezeReason.cs new file mode 100644 index 00000000..2b26893c --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/vara_runtime/EnumRuntimeFreezeReason.cs @@ -0,0 +1,44 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.vara_runtime +{ + + + /// + /// >> RuntimeFreezeReason + /// + public enum RuntimeFreezeReason + { + + /// + /// >> NominationPools + /// + NominationPools = 31, + } + + /// + /// >> 386 - Variant[vara_runtime.RuntimeFreezeReason] + /// + public sealed class EnumRuntimeFreezeReason : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumRuntimeFreezeReason() + { + AddTypeDecoder(RuntimeFreezeReason.NominationPools); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/vara_runtime/EnumRuntimeHoldReason.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/vara_runtime/EnumRuntimeHoldReason.cs new file mode 100644 index 00000000..a09bb74f --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/vara_runtime/EnumRuntimeHoldReason.cs @@ -0,0 +1,44 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.vara_runtime +{ + + + /// + /// >> RuntimeHoldReason + /// + public enum RuntimeHoldReason + { + + /// + /// >> Preimage + /// + Preimage = 23, + } + + /// + /// >> 381 - Variant[vara_runtime.RuntimeHoldReason] + /// + public sealed class EnumRuntimeHoldReason : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumRuntimeHoldReason() + { + AddTypeDecoder(RuntimeHoldReason.Preimage); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/vara_runtime/NposSolution16.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/vara_runtime/NposSolution16.cs new file mode 100644 index 00000000..b63d73c9 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/vara_runtime/NposSolution16.cs @@ -0,0 +1,163 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.vara_runtime +{ + + + /// + /// >> 188 - Composite[vara_runtime.NposSolution16] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class NposSolution16 : BaseType + { + + /// + /// >> votes1 + /// + public Substrate.NetApi.Model.Types.Base.BaseVec, Substrate.NetApi.Model.Types.Base.BaseCom>> Votes1 { get; set; } + /// + /// >> votes2 + /// + public Substrate.NetApi.Model.Types.Base.BaseVec, Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>, Substrate.NetApi.Model.Types.Base.BaseCom>> Votes2 { get; set; } + /// + /// >> votes3 + /// + public Substrate.NetApi.Model.Types.Base.BaseVec, Substrate.Gear.Api.Generated.Types.Base.Arr2BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>> Votes3 { get; set; } + /// + /// >> votes4 + /// + public Substrate.NetApi.Model.Types.Base.BaseVec, Substrate.Gear.Api.Generated.Types.Base.Arr3BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>> Votes4 { get; set; } + /// + /// >> votes5 + /// + public Substrate.NetApi.Model.Types.Base.BaseVec, Substrate.Gear.Api.Generated.Types.Base.Arr4BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>> Votes5 { get; set; } + /// + /// >> votes6 + /// + public Substrate.NetApi.Model.Types.Base.BaseVec, Substrate.Gear.Api.Generated.Types.Base.Arr5BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>> Votes6 { get; set; } + /// + /// >> votes7 + /// + public Substrate.NetApi.Model.Types.Base.BaseVec, Substrate.Gear.Api.Generated.Types.Base.Arr6BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>> Votes7 { get; set; } + /// + /// >> votes8 + /// + public Substrate.NetApi.Model.Types.Base.BaseVec, Substrate.Gear.Api.Generated.Types.Base.Arr7BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>> Votes8 { get; set; } + /// + /// >> votes9 + /// + public Substrate.NetApi.Model.Types.Base.BaseVec, Substrate.Gear.Api.Generated.Types.Base.Arr8BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>> Votes9 { get; set; } + /// + /// >> votes10 + /// + public Substrate.NetApi.Model.Types.Base.BaseVec, Substrate.Gear.Api.Generated.Types.Base.Arr9BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>> Votes10 { get; set; } + /// + /// >> votes11 + /// + public Substrate.NetApi.Model.Types.Base.BaseVec, Substrate.Gear.Api.Generated.Types.Base.Arr10BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>> Votes11 { get; set; } + /// + /// >> votes12 + /// + public Substrate.NetApi.Model.Types.Base.BaseVec, Substrate.Gear.Api.Generated.Types.Base.Arr11BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>> Votes12 { get; set; } + /// + /// >> votes13 + /// + public Substrate.NetApi.Model.Types.Base.BaseVec, Substrate.Gear.Api.Generated.Types.Base.Arr12BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>> Votes13 { get; set; } + /// + /// >> votes14 + /// + public Substrate.NetApi.Model.Types.Base.BaseVec, Substrate.Gear.Api.Generated.Types.Base.Arr13BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>> Votes14 { get; set; } + /// + /// >> votes15 + /// + public Substrate.NetApi.Model.Types.Base.BaseVec, Substrate.Gear.Api.Generated.Types.Base.Arr14BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>> Votes15 { get; set; } + /// + /// >> votes16 + /// + public Substrate.NetApi.Model.Types.Base.BaseVec, Substrate.Gear.Api.Generated.Types.Base.Arr15BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>> Votes16 { get; set; } + + /// + public override string TypeName() + { + return "NposSolution16"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Votes1.Encode()); + result.AddRange(Votes2.Encode()); + result.AddRange(Votes3.Encode()); + result.AddRange(Votes4.Encode()); + result.AddRange(Votes5.Encode()); + result.AddRange(Votes6.Encode()); + result.AddRange(Votes7.Encode()); + result.AddRange(Votes8.Encode()); + result.AddRange(Votes9.Encode()); + result.AddRange(Votes10.Encode()); + result.AddRange(Votes11.Encode()); + result.AddRange(Votes12.Encode()); + result.AddRange(Votes13.Encode()); + result.AddRange(Votes14.Encode()); + result.AddRange(Votes15.Encode()); + result.AddRange(Votes16.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Votes1 = new Substrate.NetApi.Model.Types.Base.BaseVec, Substrate.NetApi.Model.Types.Base.BaseCom>>(); + Votes1.Decode(byteArray, ref p); + Votes2 = new Substrate.NetApi.Model.Types.Base.BaseVec, Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>, Substrate.NetApi.Model.Types.Base.BaseCom>>(); + Votes2.Decode(byteArray, ref p); + Votes3 = new Substrate.NetApi.Model.Types.Base.BaseVec, Substrate.Gear.Api.Generated.Types.Base.Arr2BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>>(); + Votes3.Decode(byteArray, ref p); + Votes4 = new Substrate.NetApi.Model.Types.Base.BaseVec, Substrate.Gear.Api.Generated.Types.Base.Arr3BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>>(); + Votes4.Decode(byteArray, ref p); + Votes5 = new Substrate.NetApi.Model.Types.Base.BaseVec, Substrate.Gear.Api.Generated.Types.Base.Arr4BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>>(); + Votes5.Decode(byteArray, ref p); + Votes6 = new Substrate.NetApi.Model.Types.Base.BaseVec, Substrate.Gear.Api.Generated.Types.Base.Arr5BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>>(); + Votes6.Decode(byteArray, ref p); + Votes7 = new Substrate.NetApi.Model.Types.Base.BaseVec, Substrate.Gear.Api.Generated.Types.Base.Arr6BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>>(); + Votes7.Decode(byteArray, ref p); + Votes8 = new Substrate.NetApi.Model.Types.Base.BaseVec, Substrate.Gear.Api.Generated.Types.Base.Arr7BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>>(); + Votes8.Decode(byteArray, ref p); + Votes9 = new Substrate.NetApi.Model.Types.Base.BaseVec, Substrate.Gear.Api.Generated.Types.Base.Arr8BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>>(); + Votes9.Decode(byteArray, ref p); + Votes10 = new Substrate.NetApi.Model.Types.Base.BaseVec, Substrate.Gear.Api.Generated.Types.Base.Arr9BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>>(); + Votes10.Decode(byteArray, ref p); + Votes11 = new Substrate.NetApi.Model.Types.Base.BaseVec, Substrate.Gear.Api.Generated.Types.Base.Arr10BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>>(); + Votes11.Decode(byteArray, ref p); + Votes12 = new Substrate.NetApi.Model.Types.Base.BaseVec, Substrate.Gear.Api.Generated.Types.Base.Arr11BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>>(); + Votes12.Decode(byteArray, ref p); + Votes13 = new Substrate.NetApi.Model.Types.Base.BaseVec, Substrate.Gear.Api.Generated.Types.Base.Arr12BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>>(); + Votes13.Decode(byteArray, ref p); + Votes14 = new Substrate.NetApi.Model.Types.Base.BaseVec, Substrate.Gear.Api.Generated.Types.Base.Arr13BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>>(); + Votes14.Decode(byteArray, ref p); + Votes15 = new Substrate.NetApi.Model.Types.Base.BaseVec, Substrate.Gear.Api.Generated.Types.Base.Arr14BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>>(); + Votes15.Decode(byteArray, ref p); + Votes16 = new Substrate.NetApi.Model.Types.Base.BaseVec, Substrate.Gear.Api.Generated.Types.Base.Arr15BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>>(); + Votes16.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/vara_runtime/Runtime.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/vara_runtime/Runtime.cs new file mode 100644 index 00000000..71939ed3 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/vara_runtime/Runtime.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.vara_runtime +{ + + + /// + /// >> 651 - Composite[vara_runtime.Runtime] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Runtime : BaseType + { + + /// + public override string TypeName() + { + return "Runtime"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/vara_runtime/SessionKeys.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/vara_runtime/SessionKeys.cs new file mode 100644 index 00000000..4b96e1f9 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/vara_runtime/SessionKeys.cs @@ -0,0 +1,79 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.vara_runtime +{ + + + /// + /// >> 114 - Composite[vara_runtime.SessionKeys] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class SessionKeys : BaseType + { + + /// + /// >> babe + /// + public Substrate.Gear.Api.Generated.Model.sp_consensus_babe.app.Public Babe { get; set; } + /// + /// >> grandpa + /// + public Substrate.Gear.Api.Generated.Model.sp_consensus_grandpa.app.Public Grandpa { get; set; } + /// + /// >> im_online + /// + public Substrate.Gear.Api.Generated.Model.pallet_im_online.sr25519.app_sr25519.Public ImOnline { get; set; } + /// + /// >> authority_discovery + /// + public Substrate.Gear.Api.Generated.Model.sp_authority_discovery.app.Public AuthorityDiscovery { get; set; } + + /// + public override string TypeName() + { + return "SessionKeys"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Babe.Encode()); + result.AddRange(Grandpa.Encode()); + result.AddRange(ImOnline.Encode()); + result.AddRange(AuthorityDiscovery.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Babe = new Substrate.Gear.Api.Generated.Model.sp_consensus_babe.app.Public(); + Babe.Decode(byteArray, ref p); + Grandpa = new Substrate.Gear.Api.Generated.Model.sp_consensus_grandpa.app.Public(); + Grandpa.Decode(byteArray, ref p); + ImOnline = new Substrate.Gear.Api.Generated.Model.pallet_im_online.sr25519.app_sr25519.Public(); + ImOnline.Decode(byteArray, ref p); + AuthorityDiscovery = new Substrate.Gear.Api.Generated.Model.sp_authority_discovery.app.Public(); + AuthorityDiscovery.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Model/vara_runtime/governance/origins/pallet_custom_origins/EnumOrigin.cs b/net/src/Substrate.Gear.Api/Api/Generated/Model/vara_runtime/governance/origins/pallet_custom_origins/EnumOrigin.cs new file mode 100644 index 00000000..85638276 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Model/vara_runtime/governance/origins/pallet_custom_origins/EnumOrigin.cs @@ -0,0 +1,156 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Model.vara_runtime.governance.origins.pallet_custom_origins +{ + + + /// + /// >> Origin + /// + public enum Origin + { + + /// + /// >> StakingAdmin + /// + StakingAdmin = 0, + + /// + /// >> Treasurer + /// + Treasurer = 1, + + /// + /// >> FellowshipAdmin + /// + FellowshipAdmin = 2, + + /// + /// >> GeneralAdmin + /// + GeneralAdmin = 3, + + /// + /// >> ReferendumCanceller + /// + ReferendumCanceller = 4, + + /// + /// >> ReferendumKiller + /// + ReferendumKiller = 5, + + /// + /// >> SmallTipper + /// + SmallTipper = 6, + + /// + /// >> BigTipper + /// + BigTipper = 7, + + /// + /// >> SmallSpender + /// + SmallSpender = 8, + + /// + /// >> MediumSpender + /// + MediumSpender = 9, + + /// + /// >> BigSpender + /// + BigSpender = 10, + + /// + /// >> WhitelistedCaller + /// + WhitelistedCaller = 11, + + /// + /// >> FellowshipInitiates + /// + FellowshipInitiates = 12, + + /// + /// >> Fellows + /// + Fellows = 13, + + /// + /// >> FellowshipExperts + /// + FellowshipExperts = 14, + + /// + /// >> FellowshipMasters + /// + FellowshipMasters = 15, + + /// + /// >> Fellowship1Dan + /// + Fellowship1Dan = 16, + + /// + /// >> Fellowship2Dan + /// + Fellowship2Dan = 17, + + /// + /// >> Fellowship3Dan + /// + Fellowship3Dan = 18, + + /// + /// >> Fellowship4Dan + /// + Fellowship4Dan = 19, + + /// + /// >> Fellowship5Dan + /// + Fellowship5Dan = 20, + + /// + /// >> Fellowship6Dan + /// + Fellowship6Dan = 21, + + /// + /// >> Fellowship7Dan + /// + Fellowship7Dan = 22, + + /// + /// >> Fellowship8Dan + /// + Fellowship8Dan = 23, + + /// + /// >> Fellowship9Dan + /// + Fellowship9Dan = 24, + } + + /// + /// >> 122 - Variant[vara_runtime.governance.origins.pallet_custom_origins.Origin] + /// + public sealed class EnumOrigin : BaseEnum + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainAuthorityDiscovery.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainAuthorityDiscovery.cs new file mode 100644 index 00000000..ea425b2c --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainAuthorityDiscovery.cs @@ -0,0 +1,115 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> AuthorityDiscoveryStorage + /// + public sealed class AuthorityDiscoveryStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> AuthorityDiscoveryStorage Constructor + /// + public AuthorityDiscoveryStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("AuthorityDiscovery", "Keys"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.bounded_collections.weak_bounded_vec.WeakBoundedVecT1))); + _client.StorageKeyDict.Add(new System.Tuple("AuthorityDiscovery", "NextKeys"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.bounded_collections.weak_bounded_vec.WeakBoundedVecT1))); + } + + /// + /// >> KeysParams + /// Keys of the current authority set. + /// + public static string KeysParams() + { + return RequestGenerator.GetStorage("AuthorityDiscovery", "Keys", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> KeysDefault + /// Default value as hex string + /// + public static string KeysDefault() + { + return "0x00"; + } + + /// + /// >> Keys + /// Keys of the current authority set. + /// + public async Task Keys(string blockhash, CancellationToken token) + { + string parameters = AuthorityDiscoveryStorage.KeysParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> NextKeysParams + /// Keys of the next authority set. + /// + public static string NextKeysParams() + { + return RequestGenerator.GetStorage("AuthorityDiscovery", "NextKeys", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> NextKeysDefault + /// Default value as hex string + /// + public static string NextKeysDefault() + { + return "0x00"; + } + + /// + /// >> NextKeys + /// Keys of the next authority set. + /// + public async Task NextKeys(string blockhash, CancellationToken token) + { + string parameters = AuthorityDiscoveryStorage.NextKeysParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + } + + /// + /// >> AuthorityDiscoveryCalls + /// + public sealed class AuthorityDiscoveryCalls + { + } + + /// + /// >> AuthorityDiscoveryConstants + /// + public sealed class AuthorityDiscoveryConstants + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainAuthorship.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainAuthorship.cs new file mode 100644 index 00000000..4e987898 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainAuthorship.cs @@ -0,0 +1,85 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> AuthorshipStorage + /// + public sealed class AuthorshipStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> AuthorshipStorage Constructor + /// + public AuthorshipStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("Authorship", "Author"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32))); + } + + /// + /// >> AuthorParams + /// Author of current block. + /// + public static string AuthorParams() + { + return RequestGenerator.GetStorage("Authorship", "Author", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> AuthorDefault + /// Default value as hex string + /// + public static string AuthorDefault() + { + return "0x00"; + } + + /// + /// >> Author + /// Author of current block. + /// + public async Task Author(string blockhash, CancellationToken token) + { + string parameters = AuthorshipStorage.AuthorParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + } + + /// + /// >> AuthorshipCalls + /// + public sealed class AuthorshipCalls + { + } + + /// + /// >> AuthorshipConstants + /// + public sealed class AuthorshipConstants + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainBabe.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainBabe.cs new file mode 100644 index 00000000..10faed51 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainBabe.cs @@ -0,0 +1,762 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> BabeStorage + /// + public sealed class BabeStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> BabeStorage Constructor + /// + public BabeStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("Babe", "EpochIndex"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U64))); + _client.StorageKeyDict.Add(new System.Tuple("Babe", "Authorities"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.bounded_collections.weak_bounded_vec.WeakBoundedVecT2))); + _client.StorageKeyDict.Add(new System.Tuple("Babe", "GenesisSlot"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.sp_consensus_slots.Slot))); + _client.StorageKeyDict.Add(new System.Tuple("Babe", "CurrentSlot"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.sp_consensus_slots.Slot))); + _client.StorageKeyDict.Add(new System.Tuple("Babe", "Randomness"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Types.Base.Arr32U8))); + _client.StorageKeyDict.Add(new System.Tuple("Babe", "PendingEpochConfigChange"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.sp_consensus_babe.digests.EnumNextConfigDescriptor))); + _client.StorageKeyDict.Add(new System.Tuple("Babe", "NextRandomness"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Types.Base.Arr32U8))); + _client.StorageKeyDict.Add(new System.Tuple("Babe", "NextAuthorities"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.bounded_collections.weak_bounded_vec.WeakBoundedVecT2))); + _client.StorageKeyDict.Add(new System.Tuple("Babe", "SegmentIndex"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("Babe", "UnderConstruction"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Primitive.U32), typeof(Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec.BoundedVecT3))); + _client.StorageKeyDict.Add(new System.Tuple("Babe", "Initialized"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Base.BaseOpt))); + _client.StorageKeyDict.Add(new System.Tuple("Babe", "AuthorVrfRandomness"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Base.BaseOpt))); + _client.StorageKeyDict.Add(new System.Tuple("Babe", "EpochStart"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Base.BaseTuple))); + _client.StorageKeyDict.Add(new System.Tuple("Babe", "Lateness"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("Babe", "EpochConfig"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.sp_consensus_babe.BabeEpochConfiguration))); + _client.StorageKeyDict.Add(new System.Tuple("Babe", "NextEpochConfig"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.sp_consensus_babe.BabeEpochConfiguration))); + _client.StorageKeyDict.Add(new System.Tuple("Babe", "SkippedEpochs"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec.BoundedVecT4))); + } + + /// + /// >> EpochIndexParams + /// Current epoch index. + /// + public static string EpochIndexParams() + { + return RequestGenerator.GetStorage("Babe", "EpochIndex", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> EpochIndexDefault + /// Default value as hex string + /// + public static string EpochIndexDefault() + { + return "0x0000000000000000"; + } + + /// + /// >> EpochIndex + /// Current epoch index. + /// + public async Task EpochIndex(string blockhash, CancellationToken token) + { + string parameters = BabeStorage.EpochIndexParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> AuthoritiesParams + /// Current epoch authorities. + /// + public static string AuthoritiesParams() + { + return RequestGenerator.GetStorage("Babe", "Authorities", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> AuthoritiesDefault + /// Default value as hex string + /// + public static string AuthoritiesDefault() + { + return "0x00"; + } + + /// + /// >> Authorities + /// Current epoch authorities. + /// + public async Task Authorities(string blockhash, CancellationToken token) + { + string parameters = BabeStorage.AuthoritiesParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> GenesisSlotParams + /// The slot at which the first epoch actually started. This is 0 + /// until the first block of the chain. + /// + public static string GenesisSlotParams() + { + return RequestGenerator.GetStorage("Babe", "GenesisSlot", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> GenesisSlotDefault + /// Default value as hex string + /// + public static string GenesisSlotDefault() + { + return "0x0000000000000000"; + } + + /// + /// >> GenesisSlot + /// The slot at which the first epoch actually started. This is 0 + /// until the first block of the chain. + /// + public async Task GenesisSlot(string blockhash, CancellationToken token) + { + string parameters = BabeStorage.GenesisSlotParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> CurrentSlotParams + /// Current slot number. + /// + public static string CurrentSlotParams() + { + return RequestGenerator.GetStorage("Babe", "CurrentSlot", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> CurrentSlotDefault + /// Default value as hex string + /// + public static string CurrentSlotDefault() + { + return "0x0000000000000000"; + } + + /// + /// >> CurrentSlot + /// Current slot number. + /// + public async Task CurrentSlot(string blockhash, CancellationToken token) + { + string parameters = BabeStorage.CurrentSlotParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> RandomnessParams + /// The epoch randomness for the *current* epoch. + /// + /// # Security + /// + /// This MUST NOT be used for gambling, as it can be influenced by a + /// malicious validator in the short term. It MAY be used in many + /// cryptographic protocols, however, so long as one remembers that this + /// (like everything else on-chain) it is public. For example, it can be + /// used where a number is needed that cannot have been chosen by an + /// adversary, for purposes such as public-coin zero-knowledge proofs. + /// + public static string RandomnessParams() + { + return RequestGenerator.GetStorage("Babe", "Randomness", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> RandomnessDefault + /// Default value as hex string + /// + public static string RandomnessDefault() + { + return "0x0000000000000000000000000000000000000000000000000000000000000000"; + } + + /// + /// >> Randomness + /// The epoch randomness for the *current* epoch. + /// + /// # Security + /// + /// This MUST NOT be used for gambling, as it can be influenced by a + /// malicious validator in the short term. It MAY be used in many + /// cryptographic protocols, however, so long as one remembers that this + /// (like everything else on-chain) it is public. For example, it can be + /// used where a number is needed that cannot have been chosen by an + /// adversary, for purposes such as public-coin zero-knowledge proofs. + /// + public async Task Randomness(string blockhash, CancellationToken token) + { + string parameters = BabeStorage.RandomnessParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> PendingEpochConfigChangeParams + /// Pending epoch configuration change that will be applied when the next epoch is enacted. + /// + public static string PendingEpochConfigChangeParams() + { + return RequestGenerator.GetStorage("Babe", "PendingEpochConfigChange", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> PendingEpochConfigChangeDefault + /// Default value as hex string + /// + public static string PendingEpochConfigChangeDefault() + { + return "0x00"; + } + + /// + /// >> PendingEpochConfigChange + /// Pending epoch configuration change that will be applied when the next epoch is enacted. + /// + public async Task PendingEpochConfigChange(string blockhash, CancellationToken token) + { + string parameters = BabeStorage.PendingEpochConfigChangeParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> NextRandomnessParams + /// Next epoch randomness. + /// + public static string NextRandomnessParams() + { + return RequestGenerator.GetStorage("Babe", "NextRandomness", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> NextRandomnessDefault + /// Default value as hex string + /// + public static string NextRandomnessDefault() + { + return "0x0000000000000000000000000000000000000000000000000000000000000000"; + } + + /// + /// >> NextRandomness + /// Next epoch randomness. + /// + public async Task NextRandomness(string blockhash, CancellationToken token) + { + string parameters = BabeStorage.NextRandomnessParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> NextAuthoritiesParams + /// Next epoch authorities. + /// + public static string NextAuthoritiesParams() + { + return RequestGenerator.GetStorage("Babe", "NextAuthorities", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> NextAuthoritiesDefault + /// Default value as hex string + /// + public static string NextAuthoritiesDefault() + { + return "0x00"; + } + + /// + /// >> NextAuthorities + /// Next epoch authorities. + /// + public async Task NextAuthorities(string blockhash, CancellationToken token) + { + string parameters = BabeStorage.NextAuthoritiesParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> SegmentIndexParams + /// Randomness under construction. + /// + /// We make a trade-off between storage accesses and list length. + /// We store the under-construction randomness in segments of up to + /// `UNDER_CONSTRUCTION_SEGMENT_LENGTH`. + /// + /// Once a segment reaches this length, we begin the next one. + /// We reset all segments and return to `0` at the beginning of every + /// epoch. + /// + public static string SegmentIndexParams() + { + return RequestGenerator.GetStorage("Babe", "SegmentIndex", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> SegmentIndexDefault + /// Default value as hex string + /// + public static string SegmentIndexDefault() + { + return "0x00000000"; + } + + /// + /// >> SegmentIndex + /// Randomness under construction. + /// + /// We make a trade-off between storage accesses and list length. + /// We store the under-construction randomness in segments of up to + /// `UNDER_CONSTRUCTION_SEGMENT_LENGTH`. + /// + /// Once a segment reaches this length, we begin the next one. + /// We reset all segments and return to `0` at the beginning of every + /// epoch. + /// + public async Task SegmentIndex(string blockhash, CancellationToken token) + { + string parameters = BabeStorage.SegmentIndexParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> UnderConstructionParams + /// TWOX-NOTE: `SegmentIndex` is an increasing integer, so this is okay. + /// + public static string UnderConstructionParams(Substrate.NetApi.Model.Types.Primitive.U32 key) + { + return RequestGenerator.GetStorage("Babe", "UnderConstruction", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> UnderConstructionDefault + /// Default value as hex string + /// + public static string UnderConstructionDefault() + { + return "0x00"; + } + + /// + /// >> UnderConstruction + /// TWOX-NOTE: `SegmentIndex` is an increasing integer, so this is okay. + /// + public async Task UnderConstruction(Substrate.NetApi.Model.Types.Primitive.U32 key, string blockhash, CancellationToken token) + { + string parameters = BabeStorage.UnderConstructionParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> InitializedParams + /// Temporary value (cleared at block finalization) which is `Some` + /// if per-block initialization has already been called for current block. + /// + public static string InitializedParams() + { + return RequestGenerator.GetStorage("Babe", "Initialized", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> InitializedDefault + /// Default value as hex string + /// + public static string InitializedDefault() + { + return "0x00"; + } + + /// + /// >> Initialized + /// Temporary value (cleared at block finalization) which is `Some` + /// if per-block initialization has already been called for current block. + /// + public async Task> Initialized(string blockhash, CancellationToken token) + { + string parameters = BabeStorage.InitializedParams(); + var result = await _client.GetStorageAsync>(parameters, blockhash, token); + return result; + } + + /// + /// >> AuthorVrfRandomnessParams + /// This field should always be populated during block processing unless + /// secondary plain slots are enabled (which don't contain a VRF output). + /// + /// It is set in `on_finalize`, before it will contain the value from the last block. + /// + public static string AuthorVrfRandomnessParams() + { + return RequestGenerator.GetStorage("Babe", "AuthorVrfRandomness", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> AuthorVrfRandomnessDefault + /// Default value as hex string + /// + public static string AuthorVrfRandomnessDefault() + { + return "0x00"; + } + + /// + /// >> AuthorVrfRandomness + /// This field should always be populated during block processing unless + /// secondary plain slots are enabled (which don't contain a VRF output). + /// + /// It is set in `on_finalize`, before it will contain the value from the last block. + /// + public async Task> AuthorVrfRandomness(string blockhash, CancellationToken token) + { + string parameters = BabeStorage.AuthorVrfRandomnessParams(); + var result = await _client.GetStorageAsync>(parameters, blockhash, token); + return result; + } + + /// + /// >> EpochStartParams + /// The block numbers when the last and current epoch have started, respectively `N-1` and + /// `N`. + /// NOTE: We track this is in order to annotate the block number when a given pool of + /// entropy was fixed (i.e. it was known to chain observers). Since epochs are defined in + /// slots, which may be skipped, the block numbers may not line up with the slot numbers. + /// + public static string EpochStartParams() + { + return RequestGenerator.GetStorage("Babe", "EpochStart", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> EpochStartDefault + /// Default value as hex string + /// + public static string EpochStartDefault() + { + return "0x0000000000000000"; + } + + /// + /// >> EpochStart + /// The block numbers when the last and current epoch have started, respectively `N-1` and + /// `N`. + /// NOTE: We track this is in order to annotate the block number when a given pool of + /// entropy was fixed (i.e. it was known to chain observers). Since epochs are defined in + /// slots, which may be skipped, the block numbers may not line up with the slot numbers. + /// + public async Task> EpochStart(string blockhash, CancellationToken token) + { + string parameters = BabeStorage.EpochStartParams(); + var result = await _client.GetStorageAsync>(parameters, blockhash, token); + return result; + } + + /// + /// >> LatenessParams + /// How late the current block is compared to its parent. + /// + /// This entry is populated as part of block execution and is cleaned up + /// on block finalization. Querying this storage entry outside of block + /// execution context should always yield zero. + /// + public static string LatenessParams() + { + return RequestGenerator.GetStorage("Babe", "Lateness", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> LatenessDefault + /// Default value as hex string + /// + public static string LatenessDefault() + { + return "0x00000000"; + } + + /// + /// >> Lateness + /// How late the current block is compared to its parent. + /// + /// This entry is populated as part of block execution and is cleaned up + /// on block finalization. Querying this storage entry outside of block + /// execution context should always yield zero. + /// + public async Task Lateness(string blockhash, CancellationToken token) + { + string parameters = BabeStorage.LatenessParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> EpochConfigParams + /// The configuration for the current epoch. Should never be `None` as it is initialized in + /// genesis. + /// + public static string EpochConfigParams() + { + return RequestGenerator.GetStorage("Babe", "EpochConfig", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> EpochConfigDefault + /// Default value as hex string + /// + public static string EpochConfigDefault() + { + return "0x00"; + } + + /// + /// >> EpochConfig + /// The configuration for the current epoch. Should never be `None` as it is initialized in + /// genesis. + /// + public async Task EpochConfig(string blockhash, CancellationToken token) + { + string parameters = BabeStorage.EpochConfigParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> NextEpochConfigParams + /// The configuration for the next epoch, `None` if the config will not change + /// (you can fallback to `EpochConfig` instead in that case). + /// + public static string NextEpochConfigParams() + { + return RequestGenerator.GetStorage("Babe", "NextEpochConfig", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> NextEpochConfigDefault + /// Default value as hex string + /// + public static string NextEpochConfigDefault() + { + return "0x00"; + } + + /// + /// >> NextEpochConfig + /// The configuration for the next epoch, `None` if the config will not change + /// (you can fallback to `EpochConfig` instead in that case). + /// + public async Task NextEpochConfig(string blockhash, CancellationToken token) + { + string parameters = BabeStorage.NextEpochConfigParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> SkippedEpochsParams + /// A list of the last 100 skipped epochs and the corresponding session index + /// when the epoch was skipped. + /// + /// This is only used for validating equivocation proofs. An equivocation proof + /// must contains a key-ownership proof for a given session, therefore we need a + /// way to tie together sessions and epoch indices, i.e. we need to validate that + /// a validator was the owner of a given key on a given session, and what the + /// active epoch index was during that session. + /// + public static string SkippedEpochsParams() + { + return RequestGenerator.GetStorage("Babe", "SkippedEpochs", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> SkippedEpochsDefault + /// Default value as hex string + /// + public static string SkippedEpochsDefault() + { + return "0x00"; + } + + /// + /// >> SkippedEpochs + /// A list of the last 100 skipped epochs and the corresponding session index + /// when the epoch was skipped. + /// + /// This is only used for validating equivocation proofs. An equivocation proof + /// must contains a key-ownership proof for a given session, therefore we need a + /// way to tie together sessions and epoch indices, i.e. we need to validate that + /// a validator was the owner of a given key on a given session, and what the + /// active epoch index was during that session. + /// + public async Task SkippedEpochs(string blockhash, CancellationToken token) + { + string parameters = BabeStorage.SkippedEpochsParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + } + + /// + /// >> BabeCalls + /// + public sealed class BabeCalls + { + + /// + /// >> report_equivocation + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ReportEquivocation(Substrate.Gear.Api.Generated.Model.sp_consensus_slots.EquivocationProof equivocation_proof, Substrate.Gear.Api.Generated.Model.sp_session.MembershipProof key_owner_proof) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(equivocation_proof.Encode()); + byteArray.AddRange(key_owner_proof.Encode()); + return new Method(3, "Babe", 0, "report_equivocation", byteArray.ToArray()); + } + + /// + /// >> report_equivocation_unsigned + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ReportEquivocationUnsigned(Substrate.Gear.Api.Generated.Model.sp_consensus_slots.EquivocationProof equivocation_proof, Substrate.Gear.Api.Generated.Model.sp_session.MembershipProof key_owner_proof) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(equivocation_proof.Encode()); + byteArray.AddRange(key_owner_proof.Encode()); + return new Method(3, "Babe", 1, "report_equivocation_unsigned", byteArray.ToArray()); + } + + /// + /// >> plan_config_change + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method PlanConfigChange(Substrate.Gear.Api.Generated.Model.sp_consensus_babe.digests.EnumNextConfigDescriptor config) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(config.Encode()); + return new Method(3, "Babe", 2, "plan_config_change", byteArray.ToArray()); + } + } + + /// + /// >> BabeConstants + /// + public sealed class BabeConstants + { + + /// + /// >> EpochDuration + /// The amount of time, in slots, that each epoch should last. + /// NOTE: Currently it is not possible to change the epoch duration after + /// the chain has started. Attempting to do so will brick block production. + /// + public Substrate.NetApi.Model.Types.Primitive.U64 EpochDuration() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U64(); + result.Create("0x6009000000000000"); + return result; + } + + /// + /// >> ExpectedBlockTime + /// The expected average block time at which BABE should be creating + /// blocks. Since BABE is probabilistic it is not trivial to figure out + /// what the expected average block time should be based on the slot + /// duration and the security parameter `c` (where `1 - c` represents + /// the probability of a slot being empty). + /// + public Substrate.NetApi.Model.Types.Primitive.U64 ExpectedBlockTime() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U64(); + result.Create("0xB80B000000000000"); + return result; + } + + /// + /// >> MaxAuthorities + /// Max number of authorities allowed + /// + public Substrate.NetApi.Model.Types.Primitive.U32 MaxAuthorities() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0xA0860100"); + return result; + } + + /// + /// >> MaxNominators + /// The maximum number of nominators for each validator. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 MaxNominators() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x00020000"); + return result; + } + } + + /// + /// >> BabeErrors + /// + public enum BabeErrors + { + + /// + /// >> InvalidEquivocationProof + /// An equivocation proof provided as part of an equivocation report is invalid. + /// + InvalidEquivocationProof, + + /// + /// >> InvalidKeyOwnershipProof + /// A key ownership proof provided as part of an equivocation report is invalid. + /// + InvalidKeyOwnershipProof, + + /// + /// >> DuplicateOffenceReport + /// A given equivocation report is valid but already previously reported. + /// + DuplicateOffenceReport, + + /// + /// >> InvalidConfiguration + /// Submitted configuration is invalid. + /// + InvalidConfiguration, + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainBagsList.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainBagsList.cs new file mode 100644 index 00000000..206e86d2 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainBagsList.cs @@ -0,0 +1,299 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> BagsListStorage + /// + public sealed class BagsListStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> BagsListStorage Constructor + /// + public BagsListStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("BagsList", "ListNodes"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32), typeof(Substrate.Gear.Api.Generated.Model.pallet_bags_list.list.Node))); + _client.StorageKeyDict.Add(new System.Tuple("BagsList", "CounterForListNodes"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("BagsList", "ListBags"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Primitive.U64), typeof(Substrate.Gear.Api.Generated.Model.pallet_bags_list.list.Bag))); + } + + /// + /// >> ListNodesParams + /// A single node, within some bag. + /// + /// Nodes store links forward and back within their respective bags. + /// + public static string ListNodesParams(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key) + { + return RequestGenerator.GetStorage("BagsList", "ListNodes", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> ListNodesDefault + /// Default value as hex string + /// + public static string ListNodesDefault() + { + return "0x00"; + } + + /// + /// >> ListNodes + /// A single node, within some bag. + /// + /// Nodes store links forward and back within their respective bags. + /// + public async Task ListNodes(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key, string blockhash, CancellationToken token) + { + string parameters = BagsListStorage.ListNodesParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> CounterForListNodesParams + /// Counter for the related counted storage map + /// + public static string CounterForListNodesParams() + { + return RequestGenerator.GetStorage("BagsList", "CounterForListNodes", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> CounterForListNodesDefault + /// Default value as hex string + /// + public static string CounterForListNodesDefault() + { + return "0x00000000"; + } + + /// + /// >> CounterForListNodes + /// Counter for the related counted storage map + /// + public async Task CounterForListNodes(string blockhash, CancellationToken token) + { + string parameters = BagsListStorage.CounterForListNodesParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> ListBagsParams + /// A bag stored in storage. + /// + /// Stores a `Bag` struct, which stores head and tail pointers to itself. + /// + public static string ListBagsParams(Substrate.NetApi.Model.Types.Primitive.U64 key) + { + return RequestGenerator.GetStorage("BagsList", "ListBags", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> ListBagsDefault + /// Default value as hex string + /// + public static string ListBagsDefault() + { + return "0x00"; + } + + /// + /// >> ListBags + /// A bag stored in storage. + /// + /// Stores a `Bag` struct, which stores head and tail pointers to itself. + /// + public async Task ListBags(Substrate.NetApi.Model.Types.Primitive.U64 key, string blockhash, CancellationToken token) + { + string parameters = BagsListStorage.ListBagsParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + } + + /// + /// >> BagsListCalls + /// + public sealed class BagsListCalls + { + + /// + /// >> rebag + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Rebag(Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress dislocated) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(dislocated.Encode()); + return new Method(11, "BagsList", 0, "rebag", byteArray.ToArray()); + } + + /// + /// >> put_in_front_of + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method PutInFrontOf(Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress lighter) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(lighter.Encode()); + return new Method(11, "BagsList", 1, "put_in_front_of", byteArray.ToArray()); + } + + /// + /// >> put_in_front_of_other + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method PutInFrontOfOther(Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress heavier, Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress lighter) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(heavier.Encode()); + byteArray.AddRange(lighter.Encode()); + return new Method(11, "BagsList", 2, "put_in_front_of_other", byteArray.ToArray()); + } + } + + /// + /// >> BagsListConstants + /// + public sealed class BagsListConstants + { + + /// + /// >> BagThresholds + /// The list of thresholds separating the various bags. + /// + /// Ids are separated into unsorted bags according to their score. This specifies the + /// thresholds separating the bags. An id's bag is the largest bag for which the id's score + /// is less than or equal to its upper threshold. + /// + /// When ids are iterated, higher bags are iterated completely before lower bags. This means + /// that iteration is _semi-sorted_: ids of higher score tend to come before ids of lower + /// score, but peer ids within a particular bag are sorted in insertion order. + /// + /// # Expressing the constant + /// + /// This constant must be sorted in strictly increasing order. Duplicate items are not + /// permitted. + /// + /// There is an implied upper limit of `Score::MAX`; that value does not need to be + /// specified within the bag. For any two threshold lists, if one ends with + /// `Score::MAX`, the other one does not, and they are otherwise equal, the two + /// lists will behave identically. + /// + /// # Calculation + /// + /// It is recommended to generate the set of thresholds in a geometric series, such that + /// there exists some constant ratio such that `threshold[k + 1] == (threshold[k] * + /// constant_ratio).max(threshold[k] + 1)` for all `k`. + /// + /// The helpers in the `/utils/frame/generate-bags` module can simplify this calculation. + /// + /// # Examples + /// + /// - If `BagThresholds::get().is_empty()`, then all ids are put into the same bag, and + /// iteration is strictly in insertion order. + /// - If `BagThresholds::get().len() == 64`, and the thresholds are determined according to + /// the procedure given above, then the constant ratio is equal to 2. + /// - If `BagThresholds::get().len() == 200`, and the thresholds are determined according to + /// the procedure given above, then the constant ratio is approximately equal to 1.248. + /// - If the threshold list begins `[1, 2, 3, ...]`, then an id with score 0 or 1 will fall + /// into bag 0, an id with score 2 will fall into bag 1, etc. + /// + /// # Migration + /// + /// In the event that this list ever changes, a copy of the old bags list must be retained. + /// With that `List::migrate` can be called, which will perform the appropriate migration. + /// + public Substrate.NetApi.Model.Types.Base.BaseVec BagThresholds() + { + var result = new Substrate.NetApi.Model.Types.Base.BaseVec(); + result.Create("0x210300A0724E1809000007A1DC61C70900007005739F830A00000DF0A0044E0B00008CC4DFA1270" + + "C0000D3F8259C110D0000877B712E0D0E0000B6C26FAB1B0F00007FBD457F3E100000940E7A31771" + + "1000083230467C712000067EE82E430140000EF3C9E90B51500000FE1957657170000601D02C9181" + + "900008109C9E4FB1A000017EA4C54031D0000C7C4D7D2311F0000DACA48508A210000F98D08F50F2" + + "40000AB514926C6260000B332998AB0290000AE4BCC0ED32C0000A87445EB31300000D4BAA4A9D13" + + "300007736E32AB73700005578E4ADE73B00003E6686D668400000940839B540450000988128CF754" + + "A0000232C04270F500000F7B26E461456000053D523488D5C0000FB81E1E282630000FFF82275FE6" + + "A000025BFBD110A730000F65D718DB07B000044327C8DFD84000070EA4897FD8E000099CF4921BE9" + + "90000258B18A54DA50000EECEF2B2BBB100000A1CAE0619BF000028DD3E9E77CD00007628F1D1EAD" + + "C0000CDC4736E87ED0000A481D8D063FF00001B94AF04981201002D8166E43D2701004729163C713" + + "D010060D0EEEE4F550100AD83741FFA6E0100D907C25A928A0100598D0CC73DA801008FC9A65524C" + + "80100EDC8C6F870EA010041DE56DD510F0200F1841FA9F836020024E69DBD9A610200E2FBE07F718" + + "F02004111CEA5BAC0020019A53489B8F5020015872181B22E0300F06FE941F56B030088606C44D3A" + + "D030055CC1C35A5F40300E507606BCA4004004CB1E869A992040013DEB768B0EA040087D87EE9554" + + "90500922E295719AF0500BAD965B1831C0600366E1645289206007B9C9C72A510070035FC1083A59" + + "80700A62A828DDF2A0800D3DB706D18C80800DCB2D4CB2371090072A90E3CE5260A006AA2486E51E" + + "A0A00BC9BDE786FBC0B00FAF78C3A5A9E0C00E7AF40D741910D007D178A516D960E00736ED9423CA" + + "F0F0026E7D5B428DD10008D5F4C1EC921120074F26286D27E1300360CF2D01AF61400EC121B379B8" + + "91600074170EF723B1800D55A4109EA0D1A00B8C1E57E74031C005F6F2683B51E1E0010FC390E836" + + "2200002681AAFE9D12200F06358A630702500ECC4F24FDE402800682F23E2BC472B0056658387DF8" + + "82E00CE9C69DBA7083200567DDECFCBCB3500F88B1D055CD73900F2A8299BCA303E00C89AA386F2D" + + "D42003C57C1721FE54700F8B8023B164D4D0038980C081E1D5300A8E0EE1B0A5D5900B866065B441" + + "560007C28A99FD84E6700D4A7DCE780136F00B0947B6DB26D7700A0996BBAAB6880000074D7CB831" + + "08A00C05BCE583A729400B8093252C99B9F00207582B3379CAB0040E2DBBDAD83B800987763B88A6" + + "3C60088D46A537C4ED500C8D5C6CD9758E50010C933FE7497F600B0F82C654B220901801F5A6E111" + + "21D01A0ADA60B9E81320120C240D7CC8D490140A424EDA4556201F0E681B082FA7C01902D36B544A" + + "09901F006D4097C6DB80140393823A08BD901904393AF4627FD01605C0E9C5F70230220E5D99D759" + + "A4C02A0C38695F3DC78022080142A6F73A80200392400F99DDB02E0E44DF972A11203E024B4EFECC" + + "74D03E002AE6A08618D03E022C1D263C2D10340CD3EB50D481B044063B0B200556A0480E0EABEA85" + + "3BF0440B82C6672B61A05409026D864F87C05C02B5088C79DE605C0E58242D4345806404B97A3765" + + "6D2060059CAF719A7550700DE109486D7E207009656D4CFA57A0800D30EFF53DE1D0900249466CF5" + + "CCD0980C0BB3A840D8A0A8087DB9878EE540B807C7386CC102F0C8046DEA2299A190D809E0A7F4EC" + + "6150E805878AFB7E8240F000DB9D4686E48100013BC01D8DF8111007A7115FEE2D21200630ECF8E3" + + "D3D14002CB9995BD7C21500C6E545E4BC651700367F24192228190051763A52650C1B007FC88A7F1" + + "2151D00F6EBC196E6441F001631E042D39E21004681D9DA02262400D66A80A4DCDD26005C1F79690" + + "9CA29002A795F6478EE2C007ED9C18C644F30008A5B12495AF13300F01C398E3DD9370094F205755" + + "00C3C006C905E4E3A90400044C9B03F0F6B4500E0FDE77158A34A001011EADD1C4050000C4974C2E" + + "A485600B48B14D0E1C55C00B48DF018BEBF6300C42614D3E33F6B0034691BFD6B5073004CD73DF63" + + "1FC7B00D8B6071CE24E8500D0CC6E8109558F00A8916AD4261C9A00E830CF88BCB2A500B888E0606" + + "428B200582CE96DE48DBF0030A31BA545F5CD0068632427EC71DD00883B1C5BB118EEFFFFFFFFFFF" + + "FFFFF"); + return result; + } + } + + /// + /// >> BagsListErrors + /// + public enum BagsListErrors + { + + /// + /// >> List + /// A error in the list interface implementation. + /// + List, + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainBalances.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainBalances.cs new file mode 100644 index 00000000..8bf8c205 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainBalances.cs @@ -0,0 +1,543 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> BalancesStorage + /// + public sealed class BalancesStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> BalancesStorage Constructor + /// + public BalancesStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("Balances", "TotalIssuance"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U128))); + _client.StorageKeyDict.Add(new System.Tuple("Balances", "InactiveIssuance"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U128))); + _client.StorageKeyDict.Add(new System.Tuple("Balances", "Account"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.BlakeTwo128Concat}, typeof(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32), typeof(Substrate.Gear.Api.Generated.Model.pallet_balances.types.AccountData))); + _client.StorageKeyDict.Add(new System.Tuple("Balances", "Locks"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.BlakeTwo128Concat}, typeof(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32), typeof(Substrate.Gear.Api.Generated.Model.bounded_collections.weak_bounded_vec.WeakBoundedVecT4))); + _client.StorageKeyDict.Add(new System.Tuple("Balances", "Reserves"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.BlakeTwo128Concat}, typeof(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32), typeof(Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec.BoundedVecT5))); + _client.StorageKeyDict.Add(new System.Tuple("Balances", "Holds"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.BlakeTwo128Concat}, typeof(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32), typeof(Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec.BoundedVecT6))); + _client.StorageKeyDict.Add(new System.Tuple("Balances", "Freezes"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.BlakeTwo128Concat}, typeof(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32), typeof(Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec.BoundedVecT7))); + } + + /// + /// >> TotalIssuanceParams + /// The total units issued in the system. + /// + public static string TotalIssuanceParams() + { + return RequestGenerator.GetStorage("Balances", "TotalIssuance", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> TotalIssuanceDefault + /// Default value as hex string + /// + public static string TotalIssuanceDefault() + { + return "0x00000000000000000000000000000000"; + } + + /// + /// >> TotalIssuance + /// The total units issued in the system. + /// + public async Task TotalIssuance(string blockhash, CancellationToken token) + { + string parameters = BalancesStorage.TotalIssuanceParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> InactiveIssuanceParams + /// The total units of outstanding deactivated balance in the system. + /// + public static string InactiveIssuanceParams() + { + return RequestGenerator.GetStorage("Balances", "InactiveIssuance", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> InactiveIssuanceDefault + /// Default value as hex string + /// + public static string InactiveIssuanceDefault() + { + return "0x00000000000000000000000000000000"; + } + + /// + /// >> InactiveIssuance + /// The total units of outstanding deactivated balance in the system. + /// + public async Task InactiveIssuance(string blockhash, CancellationToken token) + { + string parameters = BalancesStorage.InactiveIssuanceParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> AccountParams + /// The Balances pallet example of storing the balance of an account. + /// + /// # Example + /// + /// ```nocompile + /// impl pallet_balances::Config for Runtime { + /// type AccountStore = StorageMapShim, frame_system::Provider, AccountId, Self::AccountData> + /// } + /// ``` + /// + /// You can also store the balance of an account in the `System` pallet. + /// + /// # Example + /// + /// ```nocompile + /// impl pallet_balances::Config for Runtime { + /// type AccountStore = System + /// } + /// ``` + /// + /// But this comes with tradeoffs, storing account balances in the system pallet stores + /// `frame_system` data alongside the account data contrary to storing account balances in the + /// `Balances` pallet, which uses a `StorageMap` to store balances data only. + /// NOTE: This is only used in the case that this pallet is used to store balances. + /// + public static string AccountParams(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key) + { + return RequestGenerator.GetStorage("Balances", "Account", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.BlakeTwo128Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> AccountDefault + /// Default value as hex string + /// + public static string AccountDefault() + { + return "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000" + + "0000000000000000000000000000000000000000000000080"; + } + + /// + /// >> Account + /// The Balances pallet example of storing the balance of an account. + /// + /// # Example + /// + /// ```nocompile + /// impl pallet_balances::Config for Runtime { + /// type AccountStore = StorageMapShim, frame_system::Provider, AccountId, Self::AccountData> + /// } + /// ``` + /// + /// You can also store the balance of an account in the `System` pallet. + /// + /// # Example + /// + /// ```nocompile + /// impl pallet_balances::Config for Runtime { + /// type AccountStore = System + /// } + /// ``` + /// + /// But this comes with tradeoffs, storing account balances in the system pallet stores + /// `frame_system` data alongside the account data contrary to storing account balances in the + /// `Balances` pallet, which uses a `StorageMap` to store balances data only. + /// NOTE: This is only used in the case that this pallet is used to store balances. + /// + public async Task Account(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key, string blockhash, CancellationToken token) + { + string parameters = BalancesStorage.AccountParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> LocksParams + /// Any liquidity locks on some account balances. + /// NOTE: Should only be accessed when setting, changing and freeing a lock. + /// + public static string LocksParams(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key) + { + return RequestGenerator.GetStorage("Balances", "Locks", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.BlakeTwo128Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> LocksDefault + /// Default value as hex string + /// + public static string LocksDefault() + { + return "0x00"; + } + + /// + /// >> Locks + /// Any liquidity locks on some account balances. + /// NOTE: Should only be accessed when setting, changing and freeing a lock. + /// + public async Task Locks(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key, string blockhash, CancellationToken token) + { + string parameters = BalancesStorage.LocksParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> ReservesParams + /// Named reserves on some account balances. + /// + public static string ReservesParams(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key) + { + return RequestGenerator.GetStorage("Balances", "Reserves", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.BlakeTwo128Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> ReservesDefault + /// Default value as hex string + /// + public static string ReservesDefault() + { + return "0x00"; + } + + /// + /// >> Reserves + /// Named reserves on some account balances. + /// + public async Task Reserves(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key, string blockhash, CancellationToken token) + { + string parameters = BalancesStorage.ReservesParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> HoldsParams + /// Holds on account balances. + /// + public static string HoldsParams(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key) + { + return RequestGenerator.GetStorage("Balances", "Holds", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.BlakeTwo128Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> HoldsDefault + /// Default value as hex string + /// + public static string HoldsDefault() + { + return "0x00"; + } + + /// + /// >> Holds + /// Holds on account balances. + /// + public async Task Holds(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key, string blockhash, CancellationToken token) + { + string parameters = BalancesStorage.HoldsParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> FreezesParams + /// Freeze locks on account balances. + /// + public static string FreezesParams(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key) + { + return RequestGenerator.GetStorage("Balances", "Freezes", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.BlakeTwo128Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> FreezesDefault + /// Default value as hex string + /// + public static string FreezesDefault() + { + return "0x00"; + } + + /// + /// >> Freezes + /// Freeze locks on account balances. + /// + public async Task Freezes(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key, string blockhash, CancellationToken token) + { + string parameters = BalancesStorage.FreezesParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + } + + /// + /// >> BalancesCalls + /// + public sealed class BalancesCalls + { + + /// + /// >> transfer_allow_death + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method TransferAllowDeath(Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress dest, Substrate.NetApi.Model.Types.Base.BaseCom value) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(dest.Encode()); + byteArray.AddRange(value.Encode()); + return new Method(5, "Balances", 0, "transfer_allow_death", byteArray.ToArray()); + } + + /// + /// >> force_transfer + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ForceTransfer(Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress source, Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress dest, Substrate.NetApi.Model.Types.Base.BaseCom value) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(source.Encode()); + byteArray.AddRange(dest.Encode()); + byteArray.AddRange(value.Encode()); + return new Method(5, "Balances", 2, "force_transfer", byteArray.ToArray()); + } + + /// + /// >> transfer_keep_alive + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method TransferKeepAlive(Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress dest, Substrate.NetApi.Model.Types.Base.BaseCom value) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(dest.Encode()); + byteArray.AddRange(value.Encode()); + return new Method(5, "Balances", 3, "transfer_keep_alive", byteArray.ToArray()); + } + + /// + /// >> transfer_all + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method TransferAll(Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress dest, Substrate.NetApi.Model.Types.Primitive.Bool keep_alive) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(dest.Encode()); + byteArray.AddRange(keep_alive.Encode()); + return new Method(5, "Balances", 4, "transfer_all", byteArray.ToArray()); + } + + /// + /// >> force_unreserve + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ForceUnreserve(Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress who, Substrate.NetApi.Model.Types.Primitive.U128 amount) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(who.Encode()); + byteArray.AddRange(amount.Encode()); + return new Method(5, "Balances", 5, "force_unreserve", byteArray.ToArray()); + } + + /// + /// >> upgrade_accounts + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method UpgradeAccounts(Substrate.NetApi.Model.Types.Base.BaseVec who) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(who.Encode()); + return new Method(5, "Balances", 6, "upgrade_accounts", byteArray.ToArray()); + } + + /// + /// >> force_set_balance + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ForceSetBalance(Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress who, Substrate.NetApi.Model.Types.Base.BaseCom new_free) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(who.Encode()); + byteArray.AddRange(new_free.Encode()); + return new Method(5, "Balances", 8, "force_set_balance", byteArray.ToArray()); + } + } + + /// + /// >> BalancesConstants + /// + public sealed class BalancesConstants + { + + /// + /// >> ExistentialDeposit + /// The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO! + /// + /// If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for + /// this pallet. However, you do so at your own risk: this will open up a major DoS vector. + /// In case you have multiple sources of provider references, you may also get unexpected + /// behaviour if you set this to zero. + /// + /// Bottom line: Do yourself a favour and make it at least one! + /// + public Substrate.NetApi.Model.Types.Primitive.U128 ExistentialDeposit() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U128(); + result.Create("0x0010A5D4E80000000000000000000000"); + return result; + } + + /// + /// >> MaxLocks + /// The maximum number of locks that should exist on an account. + /// Not strictly enforced, but used for weight estimation. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 MaxLocks() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x32000000"); + return result; + } + + /// + /// >> MaxReserves + /// The maximum number of named reserves that can exist on an account. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 MaxReserves() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x32000000"); + return result; + } + + /// + /// >> MaxHolds + /// The maximum number of holds that can exist on an account at any time. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 MaxHolds() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x02000000"); + return result; + } + + /// + /// >> MaxFreezes + /// The maximum number of individual freeze locks that can exist on an account at any time. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 MaxFreezes() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x08000000"); + return result; + } + } + + /// + /// >> BalancesErrors + /// + public enum BalancesErrors + { + + /// + /// >> VestingBalance + /// Vesting balance too high to send value. + /// + VestingBalance, + + /// + /// >> LiquidityRestrictions + /// Account liquidity restrictions prevent withdrawal. + /// + LiquidityRestrictions, + + /// + /// >> InsufficientBalance + /// Balance too low to send value. + /// + InsufficientBalance, + + /// + /// >> ExistentialDeposit + /// Value too low to create account due to existential deposit. + /// + ExistentialDeposit, + + /// + /// >> Expendability + /// Transfer/payment would kill account. + /// + Expendability, + + /// + /// >> ExistingVestingSchedule + /// A vesting schedule already exists for this account. + /// + ExistingVestingSchedule, + + /// + /// >> DeadAccount + /// Beneficiary account must pre-exist. + /// + DeadAccount, + + /// + /// >> TooManyReserves + /// Number of named reserves exceed `MaxReserves`. + /// + TooManyReserves, + + /// + /// >> TooManyHolds + /// Number of holds exceed `MaxHolds`. + /// + TooManyHolds, + + /// + /// >> TooManyFreezes + /// Number of freezes exceed `MaxFreezes`. + /// + TooManyFreezes, + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainBounties.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainBounties.cs new file mode 100644 index 00000000..391fd145 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainBounties.cs @@ -0,0 +1,463 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> BountiesStorage + /// + public sealed class BountiesStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> BountiesStorage Constructor + /// + public BountiesStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("Bounties", "BountyCount"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("Bounties", "Bounties"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Primitive.U32), typeof(Substrate.Gear.Api.Generated.Model.pallet_bounties.Bounty))); + _client.StorageKeyDict.Add(new System.Tuple("Bounties", "BountyDescriptions"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Primitive.U32), typeof(Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec.BoundedVecT28))); + _client.StorageKeyDict.Add(new System.Tuple("Bounties", "BountyApprovals"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec.BoundedVecT12))); + } + + /// + /// >> BountyCountParams + /// Number of bounty proposals that have been made. + /// + public static string BountyCountParams() + { + return RequestGenerator.GetStorage("Bounties", "BountyCount", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> BountyCountDefault + /// Default value as hex string + /// + public static string BountyCountDefault() + { + return "0x00000000"; + } + + /// + /// >> BountyCount + /// Number of bounty proposals that have been made. + /// + public async Task BountyCount(string blockhash, CancellationToken token) + { + string parameters = BountiesStorage.BountyCountParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> BountiesParams + /// Bounties that have been made. + /// + public static string BountiesParams(Substrate.NetApi.Model.Types.Primitive.U32 key) + { + return RequestGenerator.GetStorage("Bounties", "Bounties", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> BountiesDefault + /// Default value as hex string + /// + public static string BountiesDefault() + { + return "0x00"; + } + + /// + /// >> Bounties + /// Bounties that have been made. + /// + public async Task Bounties(Substrate.NetApi.Model.Types.Primitive.U32 key, string blockhash, CancellationToken token) + { + string parameters = BountiesStorage.BountiesParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> BountyDescriptionsParams + /// The description of each bounty. + /// + public static string BountyDescriptionsParams(Substrate.NetApi.Model.Types.Primitive.U32 key) + { + return RequestGenerator.GetStorage("Bounties", "BountyDescriptions", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> BountyDescriptionsDefault + /// Default value as hex string + /// + public static string BountyDescriptionsDefault() + { + return "0x00"; + } + + /// + /// >> BountyDescriptions + /// The description of each bounty. + /// + public async Task BountyDescriptions(Substrate.NetApi.Model.Types.Primitive.U32 key, string blockhash, CancellationToken token) + { + string parameters = BountiesStorage.BountyDescriptionsParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> BountyApprovalsParams + /// Bounty indices that have been approved but not yet funded. + /// + public static string BountyApprovalsParams() + { + return RequestGenerator.GetStorage("Bounties", "BountyApprovals", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> BountyApprovalsDefault + /// Default value as hex string + /// + public static string BountyApprovalsDefault() + { + return "0x00"; + } + + /// + /// >> BountyApprovals + /// Bounty indices that have been approved but not yet funded. + /// + public async Task BountyApprovals(string blockhash, CancellationToken token) + { + string parameters = BountiesStorage.BountyApprovalsParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + } + + /// + /// >> BountiesCalls + /// + public sealed class BountiesCalls + { + + /// + /// >> propose_bounty + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ProposeBounty(Substrate.NetApi.Model.Types.Base.BaseCom value, Substrate.NetApi.Model.Types.Base.BaseVec description) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(value.Encode()); + byteArray.AddRange(description.Encode()); + return new Method(29, "Bounties", 0, "propose_bounty", byteArray.ToArray()); + } + + /// + /// >> approve_bounty + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ApproveBounty(Substrate.NetApi.Model.Types.Base.BaseCom bounty_id) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(bounty_id.Encode()); + return new Method(29, "Bounties", 1, "approve_bounty", byteArray.ToArray()); + } + + /// + /// >> propose_curator + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ProposeCurator(Substrate.NetApi.Model.Types.Base.BaseCom bounty_id, Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress curator, Substrate.NetApi.Model.Types.Base.BaseCom fee) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(bounty_id.Encode()); + byteArray.AddRange(curator.Encode()); + byteArray.AddRange(fee.Encode()); + return new Method(29, "Bounties", 2, "propose_curator", byteArray.ToArray()); + } + + /// + /// >> unassign_curator + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method UnassignCurator(Substrate.NetApi.Model.Types.Base.BaseCom bounty_id) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(bounty_id.Encode()); + return new Method(29, "Bounties", 3, "unassign_curator", byteArray.ToArray()); + } + + /// + /// >> accept_curator + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method AcceptCurator(Substrate.NetApi.Model.Types.Base.BaseCom bounty_id) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(bounty_id.Encode()); + return new Method(29, "Bounties", 4, "accept_curator", byteArray.ToArray()); + } + + /// + /// >> award_bounty + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method AwardBounty(Substrate.NetApi.Model.Types.Base.BaseCom bounty_id, Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress beneficiary) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(bounty_id.Encode()); + byteArray.AddRange(beneficiary.Encode()); + return new Method(29, "Bounties", 5, "award_bounty", byteArray.ToArray()); + } + + /// + /// >> claim_bounty + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ClaimBounty(Substrate.NetApi.Model.Types.Base.BaseCom bounty_id) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(bounty_id.Encode()); + return new Method(29, "Bounties", 6, "claim_bounty", byteArray.ToArray()); + } + + /// + /// >> close_bounty + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method CloseBounty(Substrate.NetApi.Model.Types.Base.BaseCom bounty_id) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(bounty_id.Encode()); + return new Method(29, "Bounties", 7, "close_bounty", byteArray.ToArray()); + } + + /// + /// >> extend_bounty_expiry + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ExtendBountyExpiry(Substrate.NetApi.Model.Types.Base.BaseCom bounty_id, Substrate.NetApi.Model.Types.Base.BaseVec remark) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(bounty_id.Encode()); + byteArray.AddRange(remark.Encode()); + return new Method(29, "Bounties", 8, "extend_bounty_expiry", byteArray.ToArray()); + } + } + + /// + /// >> BountiesConstants + /// + public sealed class BountiesConstants + { + + /// + /// >> BountyDepositBase + /// The amount held on deposit for placing a bounty proposal. + /// + public Substrate.NetApi.Model.Types.Primitive.U128 BountyDepositBase() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U128(); + result.Create("0x00A0724E180900000000000000000000"); + return result; + } + + /// + /// >> BountyDepositPayoutDelay + /// The delay period for which a bounty beneficiary need to wait before claim the payout. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 BountyDepositPayoutDelay() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x80700000"); + return result; + } + + /// + /// >> BountyUpdatePeriod + /// Bounty duration in blocks. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 BountyUpdatePeriod() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x00270600"); + return result; + } + + /// + /// >> CuratorDepositMultiplier + /// The curator deposit is calculated as a percentage of the curator fee. + /// + /// This deposit has optional upper and lower bounds with `CuratorDepositMax` and + /// `CuratorDepositMin`. + /// + public Substrate.Gear.Api.Generated.Model.sp_arithmetic.per_things.Permill CuratorDepositMultiplier() + { + var result = new Substrate.Gear.Api.Generated.Model.sp_arithmetic.per_things.Permill(); + result.Create("0x20A10700"); + return result; + } + + /// + /// >> CuratorDepositMax + /// Maximum amount of funds that should be placed in a deposit for making a proposal. + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt CuratorDepositMax() + { + var result = new Substrate.NetApi.Model.Types.Base.BaseOpt(); + result.Create("0x010080C6A47E8D03000000000000000000"); + return result; + } + + /// + /// >> CuratorDepositMin + /// Minimum amount of funds that should be placed in a deposit for making a proposal. + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt CuratorDepositMin() + { + var result = new Substrate.NetApi.Model.Types.Base.BaseOpt(); + result.Create("0x0100A0724E180900000000000000000000"); + return result; + } + + /// + /// >> BountyValueMinimum + /// Minimum value for a bounty. + /// + public Substrate.NetApi.Model.Types.Primitive.U128 BountyValueMinimum() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U128(); + result.Create("0x00203D88792D00000000000000000000"); + return result; + } + + /// + /// >> DataDepositPerByte + /// The amount held on deposit per byte within the tip report reason or bounty description. + /// + public Substrate.NetApi.Model.Types.Primitive.U128 DataDepositPerByte() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U128(); + result.Create("0x00E87648170000000000000000000000"); + return result; + } + + /// + /// >> MaximumReasonLength + /// Maximum acceptable reason length. + /// + /// Benchmarks depend on this value, be sure to update weights file when changing this value + /// + public Substrate.NetApi.Model.Types.Primitive.U32 MaximumReasonLength() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x2C010000"); + return result; + } + } + + /// + /// >> BountiesErrors + /// + public enum BountiesErrors + { + + /// + /// >> InsufficientProposersBalance + /// Proposer's balance is too low. + /// + InsufficientProposersBalance, + + /// + /// >> InvalidIndex + /// No proposal or bounty at that index. + /// + InvalidIndex, + + /// + /// >> ReasonTooBig + /// The reason given is just too big. + /// + ReasonTooBig, + + /// + /// >> UnexpectedStatus + /// The bounty status is unexpected. + /// + UnexpectedStatus, + + /// + /// >> RequireCurator + /// Require bounty curator. + /// + RequireCurator, + + /// + /// >> InvalidValue + /// Invalid bounty value. + /// + InvalidValue, + + /// + /// >> InvalidFee + /// Invalid bounty fee. + /// + InvalidFee, + + /// + /// >> PendingPayout + /// A bounty payout is pending. + /// To cancel the bounty, you must unassign and slash the curator. + /// + PendingPayout, + + /// + /// >> Premature + /// The bounties cannot be claimed/closed because it's still in the countdown period. + /// + Premature, + + /// + /// >> HasActiveChildBounty + /// The bounty cannot be closed because it has active child bounties. + /// + HasActiveChildBounty, + + /// + /// >> TooManyQueued + /// Too many approvals are already queued. + /// + TooManyQueued, + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainChildBounties.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainChildBounties.cs new file mode 100644 index 00000000..a6cc362f --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainChildBounties.cs @@ -0,0 +1,355 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> ChildBountiesStorage + /// + public sealed class ChildBountiesStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> ChildBountiesStorage Constructor + /// + public ChildBountiesStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("ChildBounties", "ChildBountyCount"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("ChildBounties", "ParentChildBounties"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Primitive.U32), typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("ChildBounties", "ChildBounties"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat, + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Base.BaseTuple), typeof(Substrate.Gear.Api.Generated.Model.pallet_child_bounties.ChildBounty))); + _client.StorageKeyDict.Add(new System.Tuple("ChildBounties", "ChildBountyDescriptions"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Primitive.U32), typeof(Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec.BoundedVecT28))); + _client.StorageKeyDict.Add(new System.Tuple("ChildBounties", "ChildrenCuratorFees"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Primitive.U32), typeof(Substrate.NetApi.Model.Types.Primitive.U128))); + } + + /// + /// >> ChildBountyCountParams + /// Number of total child bounties. + /// + public static string ChildBountyCountParams() + { + return RequestGenerator.GetStorage("ChildBounties", "ChildBountyCount", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> ChildBountyCountDefault + /// Default value as hex string + /// + public static string ChildBountyCountDefault() + { + return "0x00000000"; + } + + /// + /// >> ChildBountyCount + /// Number of total child bounties. + /// + public async Task ChildBountyCount(string blockhash, CancellationToken token) + { + string parameters = ChildBountiesStorage.ChildBountyCountParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> ParentChildBountiesParams + /// Number of child bounties per parent bounty. + /// Map of parent bounty index to number of child bounties. + /// + public static string ParentChildBountiesParams(Substrate.NetApi.Model.Types.Primitive.U32 key) + { + return RequestGenerator.GetStorage("ChildBounties", "ParentChildBounties", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> ParentChildBountiesDefault + /// Default value as hex string + /// + public static string ParentChildBountiesDefault() + { + return "0x00000000"; + } + + /// + /// >> ParentChildBounties + /// Number of child bounties per parent bounty. + /// Map of parent bounty index to number of child bounties. + /// + public async Task ParentChildBounties(Substrate.NetApi.Model.Types.Primitive.U32 key, string blockhash, CancellationToken token) + { + string parameters = ChildBountiesStorage.ParentChildBountiesParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> ChildBountiesParams + /// Child bounties that have been added. + /// + public static string ChildBountiesParams(Substrate.NetApi.Model.Types.Base.BaseTuple key) + { + return RequestGenerator.GetStorage("ChildBounties", "ChildBounties", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat, + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, key.Value); + } + + /// + /// >> ChildBountiesDefault + /// Default value as hex string + /// + public static string ChildBountiesDefault() + { + return "0x00"; + } + + /// + /// >> ChildBounties + /// Child bounties that have been added. + /// + public async Task ChildBounties(Substrate.NetApi.Model.Types.Base.BaseTuple key, string blockhash, CancellationToken token) + { + string parameters = ChildBountiesStorage.ChildBountiesParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> ChildBountyDescriptionsParams + /// The description of each child-bounty. + /// + public static string ChildBountyDescriptionsParams(Substrate.NetApi.Model.Types.Primitive.U32 key) + { + return RequestGenerator.GetStorage("ChildBounties", "ChildBountyDescriptions", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> ChildBountyDescriptionsDefault + /// Default value as hex string + /// + public static string ChildBountyDescriptionsDefault() + { + return "0x00"; + } + + /// + /// >> ChildBountyDescriptions + /// The description of each child-bounty. + /// + public async Task ChildBountyDescriptions(Substrate.NetApi.Model.Types.Primitive.U32 key, string blockhash, CancellationToken token) + { + string parameters = ChildBountiesStorage.ChildBountyDescriptionsParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> ChildrenCuratorFeesParams + /// The cumulative child-bounty curator fee for each parent bounty. + /// + public static string ChildrenCuratorFeesParams(Substrate.NetApi.Model.Types.Primitive.U32 key) + { + return RequestGenerator.GetStorage("ChildBounties", "ChildrenCuratorFees", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> ChildrenCuratorFeesDefault + /// Default value as hex string + /// + public static string ChildrenCuratorFeesDefault() + { + return "0x00000000000000000000000000000000"; + } + + /// + /// >> ChildrenCuratorFees + /// The cumulative child-bounty curator fee for each parent bounty. + /// + public async Task ChildrenCuratorFees(Substrate.NetApi.Model.Types.Primitive.U32 key, string blockhash, CancellationToken token) + { + string parameters = ChildBountiesStorage.ChildrenCuratorFeesParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + } + + /// + /// >> ChildBountiesCalls + /// + public sealed class ChildBountiesCalls + { + + /// + /// >> add_child_bounty + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method AddChildBounty(Substrate.NetApi.Model.Types.Base.BaseCom parent_bounty_id, Substrate.NetApi.Model.Types.Base.BaseCom value, Substrate.NetApi.Model.Types.Base.BaseVec description) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(parent_bounty_id.Encode()); + byteArray.AddRange(value.Encode()); + byteArray.AddRange(description.Encode()); + return new Method(30, "ChildBounties", 0, "add_child_bounty", byteArray.ToArray()); + } + + /// + /// >> propose_curator + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ProposeCurator(Substrate.NetApi.Model.Types.Base.BaseCom parent_bounty_id, Substrate.NetApi.Model.Types.Base.BaseCom child_bounty_id, Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress curator, Substrate.NetApi.Model.Types.Base.BaseCom fee) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(parent_bounty_id.Encode()); + byteArray.AddRange(child_bounty_id.Encode()); + byteArray.AddRange(curator.Encode()); + byteArray.AddRange(fee.Encode()); + return new Method(30, "ChildBounties", 1, "propose_curator", byteArray.ToArray()); + } + + /// + /// >> accept_curator + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method AcceptCurator(Substrate.NetApi.Model.Types.Base.BaseCom parent_bounty_id, Substrate.NetApi.Model.Types.Base.BaseCom child_bounty_id) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(parent_bounty_id.Encode()); + byteArray.AddRange(child_bounty_id.Encode()); + return new Method(30, "ChildBounties", 2, "accept_curator", byteArray.ToArray()); + } + + /// + /// >> unassign_curator + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method UnassignCurator(Substrate.NetApi.Model.Types.Base.BaseCom parent_bounty_id, Substrate.NetApi.Model.Types.Base.BaseCom child_bounty_id) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(parent_bounty_id.Encode()); + byteArray.AddRange(child_bounty_id.Encode()); + return new Method(30, "ChildBounties", 3, "unassign_curator", byteArray.ToArray()); + } + + /// + /// >> award_child_bounty + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method AwardChildBounty(Substrate.NetApi.Model.Types.Base.BaseCom parent_bounty_id, Substrate.NetApi.Model.Types.Base.BaseCom child_bounty_id, Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress beneficiary) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(parent_bounty_id.Encode()); + byteArray.AddRange(child_bounty_id.Encode()); + byteArray.AddRange(beneficiary.Encode()); + return new Method(30, "ChildBounties", 4, "award_child_bounty", byteArray.ToArray()); + } + + /// + /// >> claim_child_bounty + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ClaimChildBounty(Substrate.NetApi.Model.Types.Base.BaseCom parent_bounty_id, Substrate.NetApi.Model.Types.Base.BaseCom child_bounty_id) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(parent_bounty_id.Encode()); + byteArray.AddRange(child_bounty_id.Encode()); + return new Method(30, "ChildBounties", 5, "claim_child_bounty", byteArray.ToArray()); + } + + /// + /// >> close_child_bounty + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method CloseChildBounty(Substrate.NetApi.Model.Types.Base.BaseCom parent_bounty_id, Substrate.NetApi.Model.Types.Base.BaseCom child_bounty_id) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(parent_bounty_id.Encode()); + byteArray.AddRange(child_bounty_id.Encode()); + return new Method(30, "ChildBounties", 6, "close_child_bounty", byteArray.ToArray()); + } + } + + /// + /// >> ChildBountiesConstants + /// + public sealed class ChildBountiesConstants + { + + /// + /// >> MaxActiveChildBountyCount + /// Maximum number of child bounties that can be added to a parent bounty. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 MaxActiveChildBountyCount() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x05000000"); + return result; + } + + /// + /// >> ChildBountyValueMinimum + /// Minimum value for a child-bounty. + /// + public Substrate.NetApi.Model.Types.Primitive.U128 ChildBountyValueMinimum() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U128(); + result.Create("0x00A0724E180900000000000000000000"); + return result; + } + } + + /// + /// >> ChildBountiesErrors + /// + public enum ChildBountiesErrors + { + + /// + /// >> ParentBountyNotActive + /// The parent bounty is not in active state. + /// + ParentBountyNotActive, + + /// + /// >> InsufficientBountyBalance + /// The bounty balance is not enough to add new child-bounty. + /// + InsufficientBountyBalance, + + /// + /// >> TooManyChildBounties + /// Number of child bounties exceeds limit `MaxActiveChildBountyCount`. + /// + TooManyChildBounties, + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainConvictionVoting.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainConvictionVoting.cs new file mode 100644 index 00000000..9c770e89 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainConvictionVoting.cs @@ -0,0 +1,311 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> ConvictionVotingStorage + /// + public sealed class ConvictionVotingStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> ConvictionVotingStorage Constructor + /// + public ConvictionVotingStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("ConvictionVoting", "VotingFor"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat, + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Base.BaseTuple), typeof(Substrate.Gear.Api.Generated.Model.pallet_conviction_voting.vote.EnumVoting))); + _client.StorageKeyDict.Add(new System.Tuple("ConvictionVoting", "ClassLocksFor"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32), typeof(Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec.BoundedVecT14))); + } + + /// + /// >> VotingForParams + /// All voting for a particular voter in a particular voting class. We store the balance for the + /// number of votes that we have recorded. + /// + public static string VotingForParams(Substrate.NetApi.Model.Types.Base.BaseTuple key) + { + return RequestGenerator.GetStorage("ConvictionVoting", "VotingFor", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat, + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, key.Value); + } + + /// + /// >> VotingForDefault + /// Default value as hex string + /// + public static string VotingForDefault() + { + return "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000" + + "00000000000000000000000000000"; + } + + /// + /// >> VotingFor + /// All voting for a particular voter in a particular voting class. We store the balance for the + /// number of votes that we have recorded. + /// + public async Task VotingFor(Substrate.NetApi.Model.Types.Base.BaseTuple key, string blockhash, CancellationToken token) + { + string parameters = ConvictionVotingStorage.VotingForParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> ClassLocksForParams + /// The voting classes which have a non-zero lock requirement and the lock amounts which they + /// require. The actual amount locked on behalf of this pallet should always be the maximum of + /// this list. + /// + public static string ClassLocksForParams(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key) + { + return RequestGenerator.GetStorage("ConvictionVoting", "ClassLocksFor", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> ClassLocksForDefault + /// Default value as hex string + /// + public static string ClassLocksForDefault() + { + return "0x00"; + } + + /// + /// >> ClassLocksFor + /// The voting classes which have a non-zero lock requirement and the lock amounts which they + /// require. The actual amount locked on behalf of this pallet should always be the maximum of + /// this list. + /// + public async Task ClassLocksFor(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key, string blockhash, CancellationToken token) + { + string parameters = ConvictionVotingStorage.ClassLocksForParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + } + + /// + /// >> ConvictionVotingCalls + /// + public sealed class ConvictionVotingCalls + { + + /// + /// >> vote + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Vote(Substrate.NetApi.Model.Types.Base.BaseCom poll_index, Substrate.Gear.Api.Generated.Model.pallet_conviction_voting.vote.EnumAccountVote vote) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(poll_index.Encode()); + byteArray.AddRange(vote.Encode()); + return new Method(16, "ConvictionVoting", 0, "vote", byteArray.ToArray()); + } + + /// + /// >> delegate + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Delegate(Substrate.NetApi.Model.Types.Primitive.U16 @class, Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress to, Substrate.Gear.Api.Generated.Model.pallet_conviction_voting.conviction.EnumConviction conviction, Substrate.NetApi.Model.Types.Primitive.U128 balance) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(@class.Encode()); + byteArray.AddRange(to.Encode()); + byteArray.AddRange(conviction.Encode()); + byteArray.AddRange(balance.Encode()); + return new Method(16, "ConvictionVoting", 1, "delegate", byteArray.ToArray()); + } + + /// + /// >> undelegate + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Undelegate(Substrate.NetApi.Model.Types.Primitive.U16 @class) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(@class.Encode()); + return new Method(16, "ConvictionVoting", 2, "undelegate", byteArray.ToArray()); + } + + /// + /// >> unlock + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Unlock(Substrate.NetApi.Model.Types.Primitive.U16 @class, Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress target) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(@class.Encode()); + byteArray.AddRange(target.Encode()); + return new Method(16, "ConvictionVoting", 3, "unlock", byteArray.ToArray()); + } + + /// + /// >> remove_vote + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method RemoveVote(Substrate.NetApi.Model.Types.Base.BaseOpt @class, Substrate.NetApi.Model.Types.Primitive.U32 index) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(@class.Encode()); + byteArray.AddRange(index.Encode()); + return new Method(16, "ConvictionVoting", 4, "remove_vote", byteArray.ToArray()); + } + + /// + /// >> remove_other_vote + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method RemoveOtherVote(Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress target, Substrate.NetApi.Model.Types.Primitive.U16 @class, Substrate.NetApi.Model.Types.Primitive.U32 index) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(target.Encode()); + byteArray.AddRange(@class.Encode()); + byteArray.AddRange(index.Encode()); + return new Method(16, "ConvictionVoting", 5, "remove_other_vote", byteArray.ToArray()); + } + } + + /// + /// >> ConvictionVotingConstants + /// + public sealed class ConvictionVotingConstants + { + + /// + /// >> MaxVotes + /// The maximum number of concurrent votes an account may have. + /// + /// Also used to compute weight, an overly large value can lead to extrinsics with large + /// weight estimation: see `delegate` for instance. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 MaxVotes() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x00020000"); + return result; + } + + /// + /// >> VoteLockingPeriod + /// The minimum period of vote locking. + /// + /// It should be no shorter than enactment period to ensure that in the case of an approval, + /// those successful voters are locked into the consequences that their votes entail. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 VoteLockingPeriod() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x80130300"); + return result; + } + } + + /// + /// >> ConvictionVotingErrors + /// + public enum ConvictionVotingErrors + { + + /// + /// >> NotOngoing + /// Poll is not ongoing. + /// + NotOngoing, + + /// + /// >> NotVoter + /// The given account did not vote on the poll. + /// + NotVoter, + + /// + /// >> NoPermission + /// The actor has no permission to conduct the action. + /// + NoPermission, + + /// + /// >> NoPermissionYet + /// The actor has no permission to conduct the action right now but will do in the future. + /// + NoPermissionYet, + + /// + /// >> AlreadyDelegating + /// The account is already delegating. + /// + AlreadyDelegating, + + /// + /// >> AlreadyVoting + /// The account currently has votes attached to it and the operation cannot succeed until + /// these are removed, either through `unvote` or `reap_vote`. + /// + AlreadyVoting, + + /// + /// >> InsufficientFunds + /// Too high a balance was provided that the account cannot afford. + /// + InsufficientFunds, + + /// + /// >> NotDelegating + /// The account is not currently delegating. + /// + NotDelegating, + + /// + /// >> Nonsense + /// Delegation to oneself makes no sense. + /// + Nonsense, + + /// + /// >> MaxVotesReached + /// Maximum number of votes reached. + /// + MaxVotesReached, + + /// + /// >> ClassNeeded + /// The class must be supplied since it is not easily determinable from the state. + /// + ClassNeeded, + + /// + /// >> BadClass + /// The class ID supplied is invalid. + /// + BadClass, + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainElectionProviderMultiPhase.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainElectionProviderMultiPhase.cs new file mode 100644 index 00000000..5c668eac --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainElectionProviderMultiPhase.cs @@ -0,0 +1,777 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> ElectionProviderMultiPhaseStorage + /// + public sealed class ElectionProviderMultiPhaseStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> ElectionProviderMultiPhaseStorage Constructor + /// + public ElectionProviderMultiPhaseStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("ElectionProviderMultiPhase", "Round"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("ElectionProviderMultiPhase", "CurrentPhase"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.pallet_election_provider_multi_phase.EnumPhase))); + _client.StorageKeyDict.Add(new System.Tuple("ElectionProviderMultiPhase", "QueuedSolution"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.pallet_election_provider_multi_phase.ReadySolution))); + _client.StorageKeyDict.Add(new System.Tuple("ElectionProviderMultiPhase", "Snapshot"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.pallet_election_provider_multi_phase.RoundSnapshot))); + _client.StorageKeyDict.Add(new System.Tuple("ElectionProviderMultiPhase", "DesiredTargets"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("ElectionProviderMultiPhase", "SnapshotMetadata"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.pallet_election_provider_multi_phase.SolutionOrSnapshotSize))); + _client.StorageKeyDict.Add(new System.Tuple("ElectionProviderMultiPhase", "SignedSubmissionNextIndex"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("ElectionProviderMultiPhase", "SignedSubmissionIndices"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec.BoundedVecT27))); + _client.StorageKeyDict.Add(new System.Tuple("ElectionProviderMultiPhase", "SignedSubmissionsMap"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Primitive.U32), typeof(Substrate.Gear.Api.Generated.Model.pallet_election_provider_multi_phase.signed.SignedSubmission))); + _client.StorageKeyDict.Add(new System.Tuple("ElectionProviderMultiPhase", "MinimumUntrustedScore"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.sp_npos_elections.ElectionScore))); + } + + /// + /// >> RoundParams + /// Internal counter for the number of rounds. + /// + /// This is useful for de-duplication of transactions submitted to the pool, and general + /// diagnostics of the pallet. + /// + /// This is merely incremented once per every time that an upstream `elect` is called. + /// + public static string RoundParams() + { + return RequestGenerator.GetStorage("ElectionProviderMultiPhase", "Round", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> RoundDefault + /// Default value as hex string + /// + public static string RoundDefault() + { + return "0x01000000"; + } + + /// + /// >> Round + /// Internal counter for the number of rounds. + /// + /// This is useful for de-duplication of transactions submitted to the pool, and general + /// diagnostics of the pallet. + /// + /// This is merely incremented once per every time that an upstream `elect` is called. + /// + public async Task Round(string blockhash, CancellationToken token) + { + string parameters = ElectionProviderMultiPhaseStorage.RoundParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> CurrentPhaseParams + /// Current phase. + /// + public static string CurrentPhaseParams() + { + return RequestGenerator.GetStorage("ElectionProviderMultiPhase", "CurrentPhase", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> CurrentPhaseDefault + /// Default value as hex string + /// + public static string CurrentPhaseDefault() + { + return "0x00"; + } + + /// + /// >> CurrentPhase + /// Current phase. + /// + public async Task CurrentPhase(string blockhash, CancellationToken token) + { + string parameters = ElectionProviderMultiPhaseStorage.CurrentPhaseParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> QueuedSolutionParams + /// Current best solution, signed or unsigned, queued to be returned upon `elect`. + /// + /// Always sorted by score. + /// + public static string QueuedSolutionParams() + { + return RequestGenerator.GetStorage("ElectionProviderMultiPhase", "QueuedSolution", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> QueuedSolutionDefault + /// Default value as hex string + /// + public static string QueuedSolutionDefault() + { + return "0x00"; + } + + /// + /// >> QueuedSolution + /// Current best solution, signed or unsigned, queued to be returned upon `elect`. + /// + /// Always sorted by score. + /// + public async Task QueuedSolution(string blockhash, CancellationToken token) + { + string parameters = ElectionProviderMultiPhaseStorage.QueuedSolutionParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> SnapshotParams + /// Snapshot data of the round. + /// + /// This is created at the beginning of the signed phase and cleared upon calling `elect`. + /// + public static string SnapshotParams() + { + return RequestGenerator.GetStorage("ElectionProviderMultiPhase", "Snapshot", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> SnapshotDefault + /// Default value as hex string + /// + public static string SnapshotDefault() + { + return "0x00"; + } + + /// + /// >> Snapshot + /// Snapshot data of the round. + /// + /// This is created at the beginning of the signed phase and cleared upon calling `elect`. + /// + public async Task Snapshot(string blockhash, CancellationToken token) + { + string parameters = ElectionProviderMultiPhaseStorage.SnapshotParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> DesiredTargetsParams + /// Desired number of targets to elect for this round. + /// + /// Only exists when [`Snapshot`] is present. + /// + public static string DesiredTargetsParams() + { + return RequestGenerator.GetStorage("ElectionProviderMultiPhase", "DesiredTargets", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> DesiredTargetsDefault + /// Default value as hex string + /// + public static string DesiredTargetsDefault() + { + return "0x00"; + } + + /// + /// >> DesiredTargets + /// Desired number of targets to elect for this round. + /// + /// Only exists when [`Snapshot`] is present. + /// + public async Task DesiredTargets(string blockhash, CancellationToken token) + { + string parameters = ElectionProviderMultiPhaseStorage.DesiredTargetsParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> SnapshotMetadataParams + /// The metadata of the [`RoundSnapshot`] + /// + /// Only exists when [`Snapshot`] is present. + /// + public static string SnapshotMetadataParams() + { + return RequestGenerator.GetStorage("ElectionProviderMultiPhase", "SnapshotMetadata", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> SnapshotMetadataDefault + /// Default value as hex string + /// + public static string SnapshotMetadataDefault() + { + return "0x00"; + } + + /// + /// >> SnapshotMetadata + /// The metadata of the [`RoundSnapshot`] + /// + /// Only exists when [`Snapshot`] is present. + /// + public async Task SnapshotMetadata(string blockhash, CancellationToken token) + { + string parameters = ElectionProviderMultiPhaseStorage.SnapshotMetadataParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> SignedSubmissionNextIndexParams + /// The next index to be assigned to an incoming signed submission. + /// + /// Every accepted submission is assigned a unique index; that index is bound to that particular + /// submission for the duration of the election. On election finalization, the next index is + /// reset to 0. + /// + /// We can't just use `SignedSubmissionIndices.len()`, because that's a bounded set; past its + /// capacity, it will simply saturate. We can't just iterate over `SignedSubmissionsMap`, + /// because iteration is slow. Instead, we store the value here. + /// + public static string SignedSubmissionNextIndexParams() + { + return RequestGenerator.GetStorage("ElectionProviderMultiPhase", "SignedSubmissionNextIndex", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> SignedSubmissionNextIndexDefault + /// Default value as hex string + /// + public static string SignedSubmissionNextIndexDefault() + { + return "0x00000000"; + } + + /// + /// >> SignedSubmissionNextIndex + /// The next index to be assigned to an incoming signed submission. + /// + /// Every accepted submission is assigned a unique index; that index is bound to that particular + /// submission for the duration of the election. On election finalization, the next index is + /// reset to 0. + /// + /// We can't just use `SignedSubmissionIndices.len()`, because that's a bounded set; past its + /// capacity, it will simply saturate. We can't just iterate over `SignedSubmissionsMap`, + /// because iteration is slow. Instead, we store the value here. + /// + public async Task SignedSubmissionNextIndex(string blockhash, CancellationToken token) + { + string parameters = ElectionProviderMultiPhaseStorage.SignedSubmissionNextIndexParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> SignedSubmissionIndicesParams + /// A sorted, bounded vector of `(score, block_number, index)`, where each `index` points to a + /// value in `SignedSubmissions`. + /// + /// We never need to process more than a single signed submission at a time. Signed submissions + /// can be quite large, so we're willing to pay the cost of multiple database accesses to access + /// them one at a time instead of reading and decoding all of them at once. + /// + public static string SignedSubmissionIndicesParams() + { + return RequestGenerator.GetStorage("ElectionProviderMultiPhase", "SignedSubmissionIndices", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> SignedSubmissionIndicesDefault + /// Default value as hex string + /// + public static string SignedSubmissionIndicesDefault() + { + return "0x00"; + } + + /// + /// >> SignedSubmissionIndices + /// A sorted, bounded vector of `(score, block_number, index)`, where each `index` points to a + /// value in `SignedSubmissions`. + /// + /// We never need to process more than a single signed submission at a time. Signed submissions + /// can be quite large, so we're willing to pay the cost of multiple database accesses to access + /// them one at a time instead of reading and decoding all of them at once. + /// + public async Task SignedSubmissionIndices(string blockhash, CancellationToken token) + { + string parameters = ElectionProviderMultiPhaseStorage.SignedSubmissionIndicesParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> SignedSubmissionsMapParams + /// Unchecked, signed solutions. + /// + /// Together with `SubmissionIndices`, this stores a bounded set of `SignedSubmissions` while + /// allowing us to keep only a single one in memory at a time. + /// + /// Twox note: the key of the map is an auto-incrementing index which users cannot inspect or + /// affect; we shouldn't need a cryptographically secure hasher. + /// + public static string SignedSubmissionsMapParams(Substrate.NetApi.Model.Types.Primitive.U32 key) + { + return RequestGenerator.GetStorage("ElectionProviderMultiPhase", "SignedSubmissionsMap", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> SignedSubmissionsMapDefault + /// Default value as hex string + /// + public static string SignedSubmissionsMapDefault() + { + return "0x00"; + } + + /// + /// >> SignedSubmissionsMap + /// Unchecked, signed solutions. + /// + /// Together with `SubmissionIndices`, this stores a bounded set of `SignedSubmissions` while + /// allowing us to keep only a single one in memory at a time. + /// + /// Twox note: the key of the map is an auto-incrementing index which users cannot inspect or + /// affect; we shouldn't need a cryptographically secure hasher. + /// + public async Task SignedSubmissionsMap(Substrate.NetApi.Model.Types.Primitive.U32 key, string blockhash, CancellationToken token) + { + string parameters = ElectionProviderMultiPhaseStorage.SignedSubmissionsMapParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> MinimumUntrustedScoreParams + /// The minimum score that each 'untrusted' solution must attain in order to be considered + /// feasible. + /// + /// Can be set via `set_minimum_untrusted_score`. + /// + public static string MinimumUntrustedScoreParams() + { + return RequestGenerator.GetStorage("ElectionProviderMultiPhase", "MinimumUntrustedScore", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> MinimumUntrustedScoreDefault + /// Default value as hex string + /// + public static string MinimumUntrustedScoreDefault() + { + return "0x00"; + } + + /// + /// >> MinimumUntrustedScore + /// The minimum score that each 'untrusted' solution must attain in order to be considered + /// feasible. + /// + /// Can be set via `set_minimum_untrusted_score`. + /// + public async Task MinimumUntrustedScore(string blockhash, CancellationToken token) + { + string parameters = ElectionProviderMultiPhaseStorage.MinimumUntrustedScoreParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + } + + /// + /// >> ElectionProviderMultiPhaseCalls + /// + public sealed class ElectionProviderMultiPhaseCalls + { + + /// + /// >> submit_unsigned + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method SubmitUnsigned(Substrate.Gear.Api.Generated.Model.pallet_election_provider_multi_phase.RawSolution raw_solution, Substrate.Gear.Api.Generated.Model.pallet_election_provider_multi_phase.SolutionOrSnapshotSize witness) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(raw_solution.Encode()); + byteArray.AddRange(witness.Encode()); + return new Method(27, "ElectionProviderMultiPhase", 0, "submit_unsigned", byteArray.ToArray()); + } + + /// + /// >> set_minimum_untrusted_score + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method SetMinimumUntrustedScore(Substrate.NetApi.Model.Types.Base.BaseOpt maybe_next_score) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(maybe_next_score.Encode()); + return new Method(27, "ElectionProviderMultiPhase", 1, "set_minimum_untrusted_score", byteArray.ToArray()); + } + + /// + /// >> set_emergency_election_result + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method SetEmergencyElectionResult(Substrate.NetApi.Model.Types.Base.BaseVec> supports) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(supports.Encode()); + return new Method(27, "ElectionProviderMultiPhase", 2, "set_emergency_election_result", byteArray.ToArray()); + } + + /// + /// >> submit + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Submit(Substrate.Gear.Api.Generated.Model.pallet_election_provider_multi_phase.RawSolution raw_solution) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(raw_solution.Encode()); + return new Method(27, "ElectionProviderMultiPhase", 3, "submit", byteArray.ToArray()); + } + + /// + /// >> governance_fallback + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method GovernanceFallback(Substrate.NetApi.Model.Types.Base.BaseOpt maybe_max_voters, Substrate.NetApi.Model.Types.Base.BaseOpt maybe_max_targets) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(maybe_max_voters.Encode()); + byteArray.AddRange(maybe_max_targets.Encode()); + return new Method(27, "ElectionProviderMultiPhase", 4, "governance_fallback", byteArray.ToArray()); + } + } + + /// + /// >> ElectionProviderMultiPhaseConstants + /// + public sealed class ElectionProviderMultiPhaseConstants + { + + /// + /// >> UnsignedPhase + /// Duration of the unsigned phase. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 UnsignedPhase() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x58020000"); + return result; + } + + /// + /// >> SignedPhase + /// Duration of the signed phase. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 SignedPhase() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x58020000"); + return result; + } + + /// + /// >> BetterSignedThreshold + /// The minimum amount of improvement to the solution score that defines a solution as + /// "better" in the Signed phase. + /// + public Substrate.Gear.Api.Generated.Model.sp_arithmetic.per_things.Perbill BetterSignedThreshold() + { + var result = new Substrate.Gear.Api.Generated.Model.sp_arithmetic.per_things.Perbill(); + result.Create("0x00000000"); + return result; + } + + /// + /// >> BetterUnsignedThreshold + /// The minimum amount of improvement to the solution score that defines a solution as + /// "better" in the Unsigned phase. + /// + public Substrate.Gear.Api.Generated.Model.sp_arithmetic.per_things.Perbill BetterUnsignedThreshold() + { + var result = new Substrate.Gear.Api.Generated.Model.sp_arithmetic.per_things.Perbill(); + result.Create("0xA0860100"); + return result; + } + + /// + /// >> OffchainRepeat + /// The repeat threshold of the offchain worker. + /// + /// For example, if it is 5, that means that at least 5 blocks will elapse between attempts + /// to submit the worker's solution. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 OffchainRepeat() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x25000000"); + return result; + } + + /// + /// >> MinerTxPriority + /// The priority of the unsigned transaction submitted in the unsigned-phase + /// + public Substrate.NetApi.Model.Types.Primitive.U64 MinerTxPriority() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U64(); + result.Create("0xFEFFFFFFFFFFFF7F"); + return result; + } + + /// + /// >> SignedMaxSubmissions + /// Maximum number of signed submissions that can be queued. + /// + /// It is best to avoid adjusting this during an election, as it impacts downstream data + /// structures. In particular, `SignedSubmissionIndices` is bounded on this value. If you + /// update this value during an election, you _must_ ensure that + /// `SignedSubmissionIndices.len()` is less than or equal to the new value. Otherwise, + /// attempts to submit new solutions may cause a runtime panic. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 SignedMaxSubmissions() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x0A000000"); + return result; + } + + /// + /// >> SignedMaxWeight + /// Maximum weight of a signed solution. + /// + /// If [`Config::MinerConfig`] is being implemented to submit signed solutions (outside of + /// this pallet), then [`MinerConfig::solution_weight`] is used to compare against + /// this value. + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight SignedMaxWeight() + { + var result = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + result.Create("0x071059531A3313EC51B81E85EB5138"); + return result; + } + + /// + /// >> SignedMaxRefunds + /// The maximum amount of unchecked solutions to refund the call fee for. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 SignedMaxRefunds() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x03000000"); + return result; + } + + /// + /// >> SignedRewardBase + /// Base reward for a signed solution + /// + public Substrate.NetApi.Model.Types.Primitive.U128 SignedRewardBase() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U128(); + result.Create("0x00A0724E180900000000000000000000"); + return result; + } + + /// + /// >> SignedDepositByte + /// Per-byte deposit for a signed solution. + /// + public Substrate.NetApi.Model.Types.Primitive.U128 SignedDepositByte() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U128(); + result.Create("0x00E87648170000000000000000000000"); + return result; + } + + /// + /// >> SignedDepositWeight + /// Per-weight deposit for a signed solution. + /// + public Substrate.NetApi.Model.Types.Primitive.U128 SignedDepositWeight() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U128(); + result.Create("0x00000000000000000000000000000000"); + return result; + } + + /// + /// >> MaxWinners + /// The maximum number of winners that can be elected by this `ElectionProvider` + /// implementation. + /// + /// Note: This must always be greater or equal to `T::DataProvider::desired_targets()`. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 MaxWinners() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0xE8030000"); + return result; + } + + /// + /// >> MinerMaxLength + /// + public Substrate.NetApi.Model.Types.Primitive.U32 MinerMaxLength() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x00002400"); + return result; + } + + /// + /// >> MinerMaxWeight + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight MinerMaxWeight() + { + var result = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + result.Create("0x071059531A3313EC51B81E85EB5138"); + return result; + } + + /// + /// >> MinerMaxVotesPerVoter + /// + public Substrate.NetApi.Model.Types.Primitive.U32 MinerMaxVotesPerVoter() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x10000000"); + return result; + } + + /// + /// >> MinerMaxWinners + /// + public Substrate.NetApi.Model.Types.Primitive.U32 MinerMaxWinners() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0xE8030000"); + return result; + } + } + + /// + /// >> ElectionProviderMultiPhaseErrors + /// + public enum ElectionProviderMultiPhaseErrors + { + + /// + /// >> PreDispatchEarlySubmission + /// Submission was too early. + /// + PreDispatchEarlySubmission, + + /// + /// >> PreDispatchWrongWinnerCount + /// Wrong number of winners presented. + /// + PreDispatchWrongWinnerCount, + + /// + /// >> PreDispatchWeakSubmission + /// Submission was too weak, score-wise. + /// + PreDispatchWeakSubmission, + + /// + /// >> SignedQueueFull + /// The queue was full, and the solution was not better than any of the existing ones. + /// + SignedQueueFull, + + /// + /// >> SignedCannotPayDeposit + /// The origin failed to pay the deposit. + /// + SignedCannotPayDeposit, + + /// + /// >> SignedInvalidWitness + /// Witness data to dispatchable is invalid. + /// + SignedInvalidWitness, + + /// + /// >> SignedTooMuchWeight + /// The signed submission consumes too much weight + /// + SignedTooMuchWeight, + + /// + /// >> OcwCallWrongEra + /// OCW submitted solution for wrong round + /// + OcwCallWrongEra, + + /// + /// >> MissingSnapshotMetadata + /// Snapshot metadata should exist but didn't. + /// + MissingSnapshotMetadata, + + /// + /// >> InvalidSubmissionIndex + /// `Self::insert_submission` returned an invalid index. + /// + InvalidSubmissionIndex, + + /// + /// >> CallNotAllowed + /// The call is not allowed at this point. + /// + CallNotAllowed, + + /// + /// >> FallbackFailed + /// The fallback failed + /// + FallbackFailed, + + /// + /// >> BoundNotMet + /// Some bound not met + /// + BoundNotMet, + + /// + /// >> TooManyWinners + /// Submitted solution has too many winners + /// + TooManyWinners, + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainFellowshipCollective.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainFellowshipCollective.cs new file mode 100644 index 00000000..e5065ff2 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainFellowshipCollective.cs @@ -0,0 +1,388 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> FellowshipCollectiveStorage + /// + public sealed class FellowshipCollectiveStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> FellowshipCollectiveStorage Constructor + /// + public FellowshipCollectiveStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("FellowshipCollective", "MemberCount"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Primitive.U16), typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("FellowshipCollective", "Members"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32), typeof(Substrate.Gear.Api.Generated.Model.pallet_ranked_collective.MemberRecord))); + _client.StorageKeyDict.Add(new System.Tuple("FellowshipCollective", "IdToIndex"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat, + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Base.BaseTuple), typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("FellowshipCollective", "IndexToId"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat, + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Base.BaseTuple), typeof(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32))); + _client.StorageKeyDict.Add(new System.Tuple("FellowshipCollective", "Voting"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.BlakeTwo128Concat, + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Base.BaseTuple), typeof(Substrate.Gear.Api.Generated.Model.pallet_ranked_collective.EnumVoteRecord))); + _client.StorageKeyDict.Add(new System.Tuple("FellowshipCollective", "VotingCleanup"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.BlakeTwo128Concat}, typeof(Substrate.NetApi.Model.Types.Primitive.U32), typeof(Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec.BoundedVecT16))); + } + + /// + /// >> MemberCountParams + /// The number of members in the collective who have at least the rank according to the index + /// of the vec. + /// + public static string MemberCountParams(Substrate.NetApi.Model.Types.Primitive.U16 key) + { + return RequestGenerator.GetStorage("FellowshipCollective", "MemberCount", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> MemberCountDefault + /// Default value as hex string + /// + public static string MemberCountDefault() + { + return "0x00000000"; + } + + /// + /// >> MemberCount + /// The number of members in the collective who have at least the rank according to the index + /// of the vec. + /// + public async Task MemberCount(Substrate.NetApi.Model.Types.Primitive.U16 key, string blockhash, CancellationToken token) + { + string parameters = FellowshipCollectiveStorage.MemberCountParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> MembersParams + /// The current members of the collective. + /// + public static string MembersParams(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key) + { + return RequestGenerator.GetStorage("FellowshipCollective", "Members", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> MembersDefault + /// Default value as hex string + /// + public static string MembersDefault() + { + return "0x00"; + } + + /// + /// >> Members + /// The current members of the collective. + /// + public async Task Members(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key, string blockhash, CancellationToken token) + { + string parameters = FellowshipCollectiveStorage.MembersParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> IdToIndexParams + /// The index of each ranks's member into the group of members who have at least that rank. + /// + public static string IdToIndexParams(Substrate.NetApi.Model.Types.Base.BaseTuple key) + { + return RequestGenerator.GetStorage("FellowshipCollective", "IdToIndex", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat, + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, key.Value); + } + + /// + /// >> IdToIndexDefault + /// Default value as hex string + /// + public static string IdToIndexDefault() + { + return "0x00"; + } + + /// + /// >> IdToIndex + /// The index of each ranks's member into the group of members who have at least that rank. + /// + public async Task IdToIndex(Substrate.NetApi.Model.Types.Base.BaseTuple key, string blockhash, CancellationToken token) + { + string parameters = FellowshipCollectiveStorage.IdToIndexParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> IndexToIdParams + /// The members in the collective by index. All indices in the range `0..MemberCount` will + /// return `Some`, however a member's index is not guaranteed to remain unchanged over time. + /// + public static string IndexToIdParams(Substrate.NetApi.Model.Types.Base.BaseTuple key) + { + return RequestGenerator.GetStorage("FellowshipCollective", "IndexToId", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat, + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, key.Value); + } + + /// + /// >> IndexToIdDefault + /// Default value as hex string + /// + public static string IndexToIdDefault() + { + return "0x00"; + } + + /// + /// >> IndexToId + /// The members in the collective by index. All indices in the range `0..MemberCount` will + /// return `Some`, however a member's index is not guaranteed to remain unchanged over time. + /// + public async Task IndexToId(Substrate.NetApi.Model.Types.Base.BaseTuple key, string blockhash, CancellationToken token) + { + string parameters = FellowshipCollectiveStorage.IndexToIdParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> VotingParams + /// Votes on a given proposal, if it is ongoing. + /// + public static string VotingParams(Substrate.NetApi.Model.Types.Base.BaseTuple key) + { + return RequestGenerator.GetStorage("FellowshipCollective", "Voting", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.BlakeTwo128Concat, + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, key.Value); + } + + /// + /// >> VotingDefault + /// Default value as hex string + /// + public static string VotingDefault() + { + return "0x00"; + } + + /// + /// >> Voting + /// Votes on a given proposal, if it is ongoing. + /// + public async Task Voting(Substrate.NetApi.Model.Types.Base.BaseTuple key, string blockhash, CancellationToken token) + { + string parameters = FellowshipCollectiveStorage.VotingParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> VotingCleanupParams + /// + public static string VotingCleanupParams(Substrate.NetApi.Model.Types.Primitive.U32 key) + { + return RequestGenerator.GetStorage("FellowshipCollective", "VotingCleanup", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.BlakeTwo128Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> VotingCleanupDefault + /// Default value as hex string + /// + public static string VotingCleanupDefault() + { + return "0x00"; + } + + /// + /// >> VotingCleanup + /// + public async Task VotingCleanup(Substrate.NetApi.Model.Types.Primitive.U32 key, string blockhash, CancellationToken token) + { + string parameters = FellowshipCollectiveStorage.VotingCleanupParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + } + + /// + /// >> FellowshipCollectiveCalls + /// + public sealed class FellowshipCollectiveCalls + { + + /// + /// >> add_member + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method AddMember(Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress who) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(who.Encode()); + return new Method(18, "FellowshipCollective", 0, "add_member", byteArray.ToArray()); + } + + /// + /// >> promote_member + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method PromoteMember(Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress who) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(who.Encode()); + return new Method(18, "FellowshipCollective", 1, "promote_member", byteArray.ToArray()); + } + + /// + /// >> demote_member + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method DemoteMember(Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress who) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(who.Encode()); + return new Method(18, "FellowshipCollective", 2, "demote_member", byteArray.ToArray()); + } + + /// + /// >> remove_member + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method RemoveMember(Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress who, Substrate.NetApi.Model.Types.Primitive.U16 min_rank) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(who.Encode()); + byteArray.AddRange(min_rank.Encode()); + return new Method(18, "FellowshipCollective", 3, "remove_member", byteArray.ToArray()); + } + + /// + /// >> vote + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Vote(Substrate.NetApi.Model.Types.Primitive.U32 poll, Substrate.NetApi.Model.Types.Primitive.Bool aye) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(poll.Encode()); + byteArray.AddRange(aye.Encode()); + return new Method(18, "FellowshipCollective", 4, "vote", byteArray.ToArray()); + } + + /// + /// >> cleanup_poll + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method CleanupPoll(Substrate.NetApi.Model.Types.Primitive.U32 poll_index, Substrate.NetApi.Model.Types.Primitive.U32 max) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(poll_index.Encode()); + byteArray.AddRange(max.Encode()); + return new Method(18, "FellowshipCollective", 5, "cleanup_poll", byteArray.ToArray()); + } + } + + /// + /// >> FellowshipCollectiveConstants + /// + public sealed class FellowshipCollectiveConstants + { + } + + /// + /// >> FellowshipCollectiveErrors + /// + public enum FellowshipCollectiveErrors + { + + /// + /// >> AlreadyMember + /// Account is already a member. + /// + AlreadyMember, + + /// + /// >> NotMember + /// Account is not a member. + /// + NotMember, + + /// + /// >> NotPolling + /// The given poll index is unknown or has closed. + /// + NotPolling, + + /// + /// >> Ongoing + /// The given poll is still ongoing. + /// + Ongoing, + + /// + /// >> NoneRemaining + /// There are no further records to be removed. + /// + NoneRemaining, + + /// + /// >> Corruption + /// Unexpected error in state. + /// + Corruption, + + /// + /// >> RankTooLow + /// The member's rank is too low to vote. + /// + RankTooLow, + + /// + /// >> InvalidWitness + /// The information provided is incorrect. + /// + InvalidWitness, + + /// + /// >> NoPermission + /// The origin is not sufficiently privileged to do the operation. + /// + NoPermission, + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainFellowshipReferenda.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainFellowshipReferenda.cs new file mode 100644 index 00000000..f3937f45 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainFellowshipReferenda.cs @@ -0,0 +1,496 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> FellowshipReferendaStorage + /// + public sealed class FellowshipReferendaStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> FellowshipReferendaStorage Constructor + /// + public FellowshipReferendaStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("FellowshipReferenda", "ReferendumCount"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("FellowshipReferenda", "ReferendumInfoFor"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.BlakeTwo128Concat}, typeof(Substrate.NetApi.Model.Types.Primitive.U32), typeof(Substrate.Gear.Api.Generated.Model.pallet_referenda.types.EnumReferendumInfo))); + _client.StorageKeyDict.Add(new System.Tuple("FellowshipReferenda", "TrackQueue"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Primitive.U16), typeof(Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec.BoundedVecT17))); + _client.StorageKeyDict.Add(new System.Tuple("FellowshipReferenda", "DecidingCount"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Primitive.U16), typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("FellowshipReferenda", "MetadataOf"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.BlakeTwo128Concat}, typeof(Substrate.NetApi.Model.Types.Primitive.U32), typeof(Substrate.Gear.Api.Generated.Model.primitive_types.H256))); + } + + /// + /// >> ReferendumCountParams + /// The next free referendum index, aka the number of referenda started so far. + /// + public static string ReferendumCountParams() + { + return RequestGenerator.GetStorage("FellowshipReferenda", "ReferendumCount", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> ReferendumCountDefault + /// Default value as hex string + /// + public static string ReferendumCountDefault() + { + return "0x00000000"; + } + + /// + /// >> ReferendumCount + /// The next free referendum index, aka the number of referenda started so far. + /// + public async Task ReferendumCount(string blockhash, CancellationToken token) + { + string parameters = FellowshipReferendaStorage.ReferendumCountParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> ReferendumInfoForParams + /// Information concerning any given referendum. + /// + public static string ReferendumInfoForParams(Substrate.NetApi.Model.Types.Primitive.U32 key) + { + return RequestGenerator.GetStorage("FellowshipReferenda", "ReferendumInfoFor", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.BlakeTwo128Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> ReferendumInfoForDefault + /// Default value as hex string + /// + public static string ReferendumInfoForDefault() + { + return "0x00"; + } + + /// + /// >> ReferendumInfoFor + /// Information concerning any given referendum. + /// + public async Task ReferendumInfoFor(Substrate.NetApi.Model.Types.Primitive.U32 key, string blockhash, CancellationToken token) + { + string parameters = FellowshipReferendaStorage.ReferendumInfoForParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> TrackQueueParams + /// The sorted list of referenda ready to be decided but not yet being decided, ordered by + /// conviction-weighted approvals. + /// + /// This should be empty if `DecidingCount` is less than `TrackInfo::max_deciding`. + /// + public static string TrackQueueParams(Substrate.NetApi.Model.Types.Primitive.U16 key) + { + return RequestGenerator.GetStorage("FellowshipReferenda", "TrackQueue", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> TrackQueueDefault + /// Default value as hex string + /// + public static string TrackQueueDefault() + { + return "0x00"; + } + + /// + /// >> TrackQueue + /// The sorted list of referenda ready to be decided but not yet being decided, ordered by + /// conviction-weighted approvals. + /// + /// This should be empty if `DecidingCount` is less than `TrackInfo::max_deciding`. + /// + public async Task TrackQueue(Substrate.NetApi.Model.Types.Primitive.U16 key, string blockhash, CancellationToken token) + { + string parameters = FellowshipReferendaStorage.TrackQueueParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> DecidingCountParams + /// The number of referenda being decided currently. + /// + public static string DecidingCountParams(Substrate.NetApi.Model.Types.Primitive.U16 key) + { + return RequestGenerator.GetStorage("FellowshipReferenda", "DecidingCount", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> DecidingCountDefault + /// Default value as hex string + /// + public static string DecidingCountDefault() + { + return "0x00000000"; + } + + /// + /// >> DecidingCount + /// The number of referenda being decided currently. + /// + public async Task DecidingCount(Substrate.NetApi.Model.Types.Primitive.U16 key, string blockhash, CancellationToken token) + { + string parameters = FellowshipReferendaStorage.DecidingCountParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> MetadataOfParams + /// The metadata is a general information concerning the referendum. + /// The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON + /// dump or IPFS hash of a JSON file. + /// + /// Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove) + /// large preimages. + /// + public static string MetadataOfParams(Substrate.NetApi.Model.Types.Primitive.U32 key) + { + return RequestGenerator.GetStorage("FellowshipReferenda", "MetadataOf", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.BlakeTwo128Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> MetadataOfDefault + /// Default value as hex string + /// + public static string MetadataOfDefault() + { + return "0x00"; + } + + /// + /// >> MetadataOf + /// The metadata is a general information concerning the referendum. + /// The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON + /// dump or IPFS hash of a JSON file. + /// + /// Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove) + /// large preimages. + /// + public async Task MetadataOf(Substrate.NetApi.Model.Types.Primitive.U32 key, string blockhash, CancellationToken token) + { + string parameters = FellowshipReferendaStorage.MetadataOfParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + } + + /// + /// >> FellowshipReferendaCalls + /// + public sealed class FellowshipReferendaCalls + { + + /// + /// >> submit + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Submit(Substrate.Gear.Api.Generated.Model.vara_runtime.EnumOriginCaller proposal_origin, Substrate.Gear.Api.Generated.Model.frame_support.traits.preimages.EnumBounded proposal, Substrate.Gear.Api.Generated.Model.frame_support.traits.schedule.EnumDispatchTime enactment_moment) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(proposal_origin.Encode()); + byteArray.AddRange(proposal.Encode()); + byteArray.AddRange(enactment_moment.Encode()); + return new Method(19, "FellowshipReferenda", 0, "submit", byteArray.ToArray()); + } + + /// + /// >> place_decision_deposit + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method PlaceDecisionDeposit(Substrate.NetApi.Model.Types.Primitive.U32 index) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(index.Encode()); + return new Method(19, "FellowshipReferenda", 1, "place_decision_deposit", byteArray.ToArray()); + } + + /// + /// >> refund_decision_deposit + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method RefundDecisionDeposit(Substrate.NetApi.Model.Types.Primitive.U32 index) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(index.Encode()); + return new Method(19, "FellowshipReferenda", 2, "refund_decision_deposit", byteArray.ToArray()); + } + + /// + /// >> cancel + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Cancel(Substrate.NetApi.Model.Types.Primitive.U32 index) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(index.Encode()); + return new Method(19, "FellowshipReferenda", 3, "cancel", byteArray.ToArray()); + } + + /// + /// >> kill + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Kill(Substrate.NetApi.Model.Types.Primitive.U32 index) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(index.Encode()); + return new Method(19, "FellowshipReferenda", 4, "kill", byteArray.ToArray()); + } + + /// + /// >> nudge_referendum + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method NudgeReferendum(Substrate.NetApi.Model.Types.Primitive.U32 index) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(index.Encode()); + return new Method(19, "FellowshipReferenda", 5, "nudge_referendum", byteArray.ToArray()); + } + + /// + /// >> one_fewer_deciding + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method OneFewerDeciding(Substrate.NetApi.Model.Types.Primitive.U16 track) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(track.Encode()); + return new Method(19, "FellowshipReferenda", 6, "one_fewer_deciding", byteArray.ToArray()); + } + + /// + /// >> refund_submission_deposit + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method RefundSubmissionDeposit(Substrate.NetApi.Model.Types.Primitive.U32 index) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(index.Encode()); + return new Method(19, "FellowshipReferenda", 7, "refund_submission_deposit", byteArray.ToArray()); + } + + /// + /// >> set_metadata + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method SetMetadata(Substrate.NetApi.Model.Types.Primitive.U32 index, Substrate.NetApi.Model.Types.Base.BaseOpt maybe_hash) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(index.Encode()); + byteArray.AddRange(maybe_hash.Encode()); + return new Method(19, "FellowshipReferenda", 8, "set_metadata", byteArray.ToArray()); + } + } + + /// + /// >> FellowshipReferendaConstants + /// + public sealed class FellowshipReferendaConstants + { + + /// + /// >> SubmissionDeposit + /// The minimum amount to be used as a deposit for a public referendum proposal. + /// + public Substrate.NetApi.Model.Types.Primitive.U128 SubmissionDeposit() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U128(); + result.Create("0x00000000000000000000000000000000"); + return result; + } + + /// + /// >> MaxQueued + /// Maximum size of the referendum queue for a single track. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 MaxQueued() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x64000000"); + return result; + } + + /// + /// >> UndecidingTimeout + /// The number of blocks after submission that a referendum must begin being decided by. + /// Once this passes, then anyone may cancel the referendum. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 UndecidingTimeout() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x80130300"); + return result; + } + + /// + /// >> AlarmInterval + /// Quantization level for the referendum wakeup scheduler. A higher number will result in + /// fewer storage reads/writes needed for smaller voters, but also result in delays to the + /// automatic referendum status changes. Explicit servicing instructions are unaffected. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 AlarmInterval() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x01000000"); + return result; + } + + /// + /// >> Tracks + /// Information concerning the different referendum tracks. + /// + public Substrate.NetApi.Model.Types.Base.BaseVec> Tracks() + { + var result = new Substrate.NetApi.Model.Types.Base.BaseVec>(); + result.Create("0x2800002863616E646964617465730A0000000080C6A47E8D0300000000000000000058020000801" + + "3030058020000140000000000CA9A3B0065CD1D00CA9A3B0000CA9A3B000000000065CD1D01001C6" + + "D656D626572730A00000000407A10F35A00000000000000000000580200008013030058020000140" + + "000000000CA9A3B0065CD1D00CA9A3B0000CA9A3B000000000065CD1D02002C70726F66696369656" + + "E74730A00000000407A10F35A0000000000000000000058020000801303005802000014000000000" + + "0CA9A3B0065CD1D00CA9A3B0000CA9A3B000000000065CD1D03001C66656C6C6F77730A000000004" + + "07A10F35A00000000000000000000580200008013030058020000140000000000CA9A3B0065CD1D0" + + "0CA9A3B0000CA9A3B000000000065CD1D04003873656E696F722066656C6C6F77730A00000000407" + + "A10F35A00000000000000000000580200008013030058020000140000000000CA9A3B0065CD1D00C" + + "A9A3B0000CA9A3B000000000065CD1D05001C657870657274730A00000000A0724E1809000000000" + + "00000000000580200008013030058020000140000000000CA9A3B0065CD1D00CA9A3B0000CA9A3B0" + + "00000000065CD1D06003873656E696F7220657870657274730A00000000A0724E180900000000000" + + "000000000580200008013030058020000140000000000CA9A3B0065CD1D00CA9A3B0000CA9A3B000" + + "000000065CD1D07001C6D6173746572730A00000000A0724E1809000000000000000000005802000" + + "08013030058020000140000000000CA9A3B0065CD1D00CA9A3B0000CA9A3B000000000065CD1D080" + + "03873656E696F72206D6173746572730A00000000A0724E180900000000000000000000580200008" + + "013030058020000140000000000CA9A3B0065CD1D00CA9A3B0000CA9A3B000000000065CD1D09003" + + "46772616E64206D6173746572730A00000000A0724E1809000000000000000000005802000080130" + + "30058020000140000000000CA9A3B0065CD1D00CA9A3B0000CA9A3B000000000065CD1D"); + return result; + } + } + + /// + /// >> FellowshipReferendaErrors + /// + public enum FellowshipReferendaErrors + { + + /// + /// >> NotOngoing + /// Referendum is not ongoing. + /// + NotOngoing, + + /// + /// >> HasDeposit + /// Referendum's decision deposit is already paid. + /// + HasDeposit, + + /// + /// >> BadTrack + /// The track identifier given was invalid. + /// + BadTrack, + + /// + /// >> Full + /// There are already a full complement of referenda in progress for this track. + /// + Full, + + /// + /// >> QueueEmpty + /// The queue of the track is empty. + /// + QueueEmpty, + + /// + /// >> BadReferendum + /// The referendum index provided is invalid in this context. + /// + BadReferendum, + + /// + /// >> NothingToDo + /// There was nothing to do in the advancement. + /// + NothingToDo, + + /// + /// >> NoTrack + /// No track exists for the proposal origin. + /// + NoTrack, + + /// + /// >> Unfinished + /// Any deposit cannot be refunded until after the decision is over. + /// + Unfinished, + + /// + /// >> NoPermission + /// The deposit refunder is not the depositor. + /// + NoPermission, + + /// + /// >> NoDeposit + /// The deposit cannot be refunded since none was made. + /// + NoDeposit, + + /// + /// >> BadStatus + /// The referendum status is invalid for this operation. + /// + BadStatus, + + /// + /// >> PreimageNotExist + /// The preimage does not exist. + /// + PreimageNotExist, + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainGear.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainGear.cs new file mode 100644 index 00000000..3894daee --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainGear.cs @@ -0,0 +1,573 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> GearStorage + /// + public sealed class GearStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> GearStorage Constructor + /// + public GearStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("Gear", "ExecuteInherent"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.Bool))); + _client.StorageKeyDict.Add(new System.Tuple("Gear", "BlockNumber"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("Gear", "GearRunInBlock"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Base.BaseTuple))); + } + + /// + /// >> ExecuteInherentParams + /// A flag indicating whether the message queue should be processed at the end of a block + /// + /// If not set, the inherent extrinsic that processes the queue will keep throwing an error + /// thereby making the block builder exclude it from the block. + /// + public static string ExecuteInherentParams() + { + return RequestGenerator.GetStorage("Gear", "ExecuteInherent", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> ExecuteInherentDefault + /// Default value as hex string + /// + public static string ExecuteInherentDefault() + { + return "0x01"; + } + + /// + /// >> ExecuteInherent + /// A flag indicating whether the message queue should be processed at the end of a block + /// + /// If not set, the inherent extrinsic that processes the queue will keep throwing an error + /// thereby making the block builder exclude it from the block. + /// + public async Task ExecuteInherent(string blockhash, CancellationToken token) + { + string parameters = GearStorage.ExecuteInherentParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> BlockNumberParams + /// The current block number being processed. + /// + /// It shows block number in which queue is processed. + /// May be less than system pallet block number if panic occurred previously. + /// + public static string BlockNumberParams() + { + return RequestGenerator.GetStorage("Gear", "BlockNumber", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> BlockNumberDefault + /// Default value as hex string + /// + public static string BlockNumberDefault() + { + return "0x00000000"; + } + + /// + /// >> BlockNumber + /// The current block number being processed. + /// + /// It shows block number in which queue is processed. + /// May be less than system pallet block number if panic occurred previously. + /// + public async Task BlockNumber(string blockhash, CancellationToken token) + { + string parameters = GearStorage.BlockNumberParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> GearRunInBlockParams + /// A guard to prohibit all but the first execution of `pallet_gear::run()` call in a block. + /// + /// Set to `Some(())` if the extrinsic is executed for the first time in a block. + /// All subsequent attempts would fail with `Error::::GearRunAlreadyInBlock` error. + /// Set back to `None` in the `on_finalize()` hook at the end of the block. + /// + public static string GearRunInBlockParams() + { + return RequestGenerator.GetStorage("Gear", "GearRunInBlock", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> GearRunInBlockDefault + /// Default value as hex string + /// + public static string GearRunInBlockDefault() + { + return "0x00"; + } + + /// + /// >> GearRunInBlock + /// A guard to prohibit all but the first execution of `pallet_gear::run()` call in a block. + /// + /// Set to `Some(())` if the extrinsic is executed for the first time in a block. + /// All subsequent attempts would fail with `Error::::GearRunAlreadyInBlock` error. + /// Set back to `None` in the `on_finalize()` hook at the end of the block. + /// + public async Task GearRunInBlock(string blockhash, CancellationToken token) + { + string parameters = GearStorage.GearRunInBlockParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + } + + /// + /// >> GearCalls + /// + public sealed class GearCalls + { + + /// + /// >> upload_code + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method UploadCode(Substrate.NetApi.Model.Types.Base.BaseVec code) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(code.Encode()); + return new Method(104, "Gear", 0, "upload_code", byteArray.ToArray()); + } + + /// + /// >> upload_program + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method UploadProgram(Substrate.NetApi.Model.Types.Base.BaseVec code, Substrate.NetApi.Model.Types.Base.BaseVec salt, Substrate.NetApi.Model.Types.Base.BaseVec init_payload, Substrate.NetApi.Model.Types.Primitive.U64 gas_limit, Substrate.NetApi.Model.Types.Primitive.U128 value, Substrate.NetApi.Model.Types.Primitive.Bool keep_alive) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(code.Encode()); + byteArray.AddRange(salt.Encode()); + byteArray.AddRange(init_payload.Encode()); + byteArray.AddRange(gas_limit.Encode()); + byteArray.AddRange(value.Encode()); + byteArray.AddRange(keep_alive.Encode()); + return new Method(104, "Gear", 1, "upload_program", byteArray.ToArray()); + } + + /// + /// >> create_program + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method CreateProgram(Substrate.Gear.Api.Generated.Model.gprimitives.CodeId code_id, Substrate.NetApi.Model.Types.Base.BaseVec salt, Substrate.NetApi.Model.Types.Base.BaseVec init_payload, Substrate.NetApi.Model.Types.Primitive.U64 gas_limit, Substrate.NetApi.Model.Types.Primitive.U128 value, Substrate.NetApi.Model.Types.Primitive.Bool keep_alive) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(code_id.Encode()); + byteArray.AddRange(salt.Encode()); + byteArray.AddRange(init_payload.Encode()); + byteArray.AddRange(gas_limit.Encode()); + byteArray.AddRange(value.Encode()); + byteArray.AddRange(keep_alive.Encode()); + return new Method(104, "Gear", 2, "create_program", byteArray.ToArray()); + } + + /// + /// >> send_message + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method SendMessage(Substrate.Gear.Api.Generated.Model.gprimitives.ActorId destination, Substrate.NetApi.Model.Types.Base.BaseVec payload, Substrate.NetApi.Model.Types.Primitive.U64 gas_limit, Substrate.NetApi.Model.Types.Primitive.U128 value, Substrate.NetApi.Model.Types.Primitive.Bool keep_alive) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(destination.Encode()); + byteArray.AddRange(payload.Encode()); + byteArray.AddRange(gas_limit.Encode()); + byteArray.AddRange(value.Encode()); + byteArray.AddRange(keep_alive.Encode()); + return new Method(104, "Gear", 3, "send_message", byteArray.ToArray()); + } + + /// + /// >> send_reply + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method SendReply(Substrate.Gear.Api.Generated.Model.gprimitives.MessageId reply_to_id, Substrate.NetApi.Model.Types.Base.BaseVec payload, Substrate.NetApi.Model.Types.Primitive.U64 gas_limit, Substrate.NetApi.Model.Types.Primitive.U128 value, Substrate.NetApi.Model.Types.Primitive.Bool keep_alive) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(reply_to_id.Encode()); + byteArray.AddRange(payload.Encode()); + byteArray.AddRange(gas_limit.Encode()); + byteArray.AddRange(value.Encode()); + byteArray.AddRange(keep_alive.Encode()); + return new Method(104, "Gear", 4, "send_reply", byteArray.ToArray()); + } + + /// + /// >> claim_value + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ClaimValue(Substrate.Gear.Api.Generated.Model.gprimitives.MessageId message_id) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(message_id.Encode()); + return new Method(104, "Gear", 5, "claim_value", byteArray.ToArray()); + } + + /// + /// >> run + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Run(Substrate.NetApi.Model.Types.Base.BaseOpt max_gas) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(max_gas.Encode()); + return new Method(104, "Gear", 6, "run", byteArray.ToArray()); + } + + /// + /// >> set_execute_inherent + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method SetExecuteInherent(Substrate.NetApi.Model.Types.Primitive.Bool value) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(value.Encode()); + return new Method(104, "Gear", 7, "set_execute_inherent", byteArray.ToArray()); + } + + /// + /// >> claim_value_to_inheritor + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ClaimValueToInheritor(Substrate.Gear.Api.Generated.Model.gprimitives.ActorId program_id, Substrate.Gear.Api.Generated.Types.Base.NonZeroU32 depth) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(program_id.Encode()); + byteArray.AddRange(depth.Encode()); + return new Method(104, "Gear", 8, "claim_value_to_inheritor", byteArray.ToArray()); + } + } + + /// + /// >> GearConstants + /// + public sealed class GearConstants + { + + /// + /// >> Schedule + /// Cost schedule and limits. + /// + public Substrate.Gear.Api.Generated.Model.pallet_gear.schedule.Schedule Schedule() + { + var result = new Substrate.Gear.Api.Generated.Model.pallet_gear.schedule.Schedule(); + result.Create("0x01878F0000000100000004000080000000008000100000640000000001000020000000200000000" + + "00080000000080000040000540600009F000000CB1A0000461A0000DA260000C82A0000EC1700003" + + "6120000EB0C0000CC1400000C280000880000006312000068550000EB040000000000007D0200001" + + "A050000060500005402000048040000C23000007E010000FA000000A6010000DB00000079010000F" + + "1000000C306000008040000C4000000D2000000580100006A01000053010000A2000000B5000000B" + + "700000052060000EC030000590600007B0300005006000095030000DF0600006503000035060000C" + + "5030000A4070000DA0300008D070000BA040000E5060000C4030000CC060000CD030000210600008" + + "303000094030000BF01000058030000B301000096050000270300004E0D0000B3090000000E0000B" + + "4090000294A0000AA3C0000FA0E000000090000BA0300001302000053030000BF0100006A030000E" + + "E0100000A030000D700000093020000DA000000C502000018010000DF020000DE000000CF020000F" + + "8000000E6195C00001ED736000036053A0000824D0200002EED8D00003A639200006E1F4B00003E7" + + "C40000082EB4000003A14420000D29A410000DED7420000F28F410000B2BB4100003AE87400001D0" + + "300BAF9490000A257410000C6714100008A3A7D0000AE2F420100A63CB700003908007E50BA00002" + + "D0800060F4800009A8C8500002D08004A29980000969C9D00003A94D800002D08006672BB00006A7" + + "FA60200F256BC02006AB40802001E312A0000BAEBC901005E917000002257F30200A10A00EAF1E30" + + "200A50A00A50A005E70420000128D4100009E724200009A10F7040032DB24070036124F0000B5010" + + "0829FB100000EBBB400004AFD610000410200E25D500000C107000E45410000AAB53B040092653C0" + + "30052200F03000A878103002A4E6E03006281C90000DEAEE200000D020045160002CBE5000005020" + + "069160016BAC50600B2105C080082BF630200FE731A07001679E50800A260F202007E22250200C22" + + "2A21800520D33000000000000910100910100910100910100E12E0002E1F505001D0A000284D7170" + + "0290300E21400D8D160E23F99A58D430310CD8754D160624C29C0FD4062ACE3C8C94462273507653" + + "70310EF0F6EE57603409EBF6BA9723D2100310700BD1C00110A00992700B1FD00CA205248453BC6C" + + "A2500009A3F010000"); + return result; + } + + /// + /// >> OutgoingLimit + /// The maximum amount of messages that can be produced in during all message executions. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 OutgoingLimit() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x00040000"); + return result; + } + + /// + /// >> OutgoingBytesLimit + /// The maximum amount of bytes in outgoing messages during message execution. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 OutgoingBytesLimit() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x00000004"); + return result; + } + + /// + /// >> PerformanceMultiplier + /// Performance multiplier. + /// + public Substrate.Gear.Api.Generated.Model.gear_core.percent.Percent PerformanceMultiplier() + { + var result = new Substrate.Gear.Api.Generated.Model.gear_core.percent.Percent(); + result.Create("0x64000000"); + return result; + } + + /// + /// >> MailboxThreshold + /// The minimal gas amount for message to be inserted in mailbox. + /// + /// This gas will be consuming as rent for storing and message will be available + /// for reply or claim, once gas ends, message removes. + /// + /// Messages with gas limit less than that minimum will not be added in mailbox, + /// but will be seen in events. + /// + public Substrate.NetApi.Model.Types.Primitive.U64 MailboxThreshold() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U64(); + result.Create("0xB80B000000000000"); + return result; + } + + /// + /// >> ReservationsLimit + /// Amount of reservations can exist for 1 program. + /// + public Substrate.NetApi.Model.Types.Primitive.U64 ReservationsLimit() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U64(); + result.Create("0x0001000000000000"); + return result; + } + + /// + /// >> ProgramRentFreePeriod + /// The free of charge period of rent. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 ProgramRentFreePeriod() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x00D44900"); + return result; + } + + /// + /// >> ProgramResumeMinimalRentPeriod + /// The minimal amount of blocks to resume. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 ProgramResumeMinimalRentPeriod() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x004E0C00"); + return result; + } + + /// + /// >> ProgramRentCostPerBlock + /// The program rent cost per block. + /// + public Substrate.NetApi.Model.Types.Primitive.U128 ProgramRentCostPerBlock() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U128(); + result.Create("0x40597307000000000000000000000000"); + return result; + } + + /// + /// >> ProgramResumeSessionDuration + /// The amount of blocks for processing resume session. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 ProgramResumeSessionDuration() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0xB0040000"); + return result; + } + + /// + /// >> ProgramRentEnabled + /// The flag determines if program rent mechanism enabled. + /// + public Substrate.NetApi.Model.Types.Primitive.Bool ProgramRentEnabled() + { + var result = new Substrate.NetApi.Model.Types.Primitive.Bool(); + result.Create("0x00"); + return result; + } + + /// + /// >> ProgramRentDisabledDelta + /// The constant defines value that is added if the program + /// rent is disabled. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 ProgramRentDisabledDelta() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x80130300"); + return result; + } + + /// + /// >> RentPoolId + /// The account id of the rent pool if any. + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt RentPoolId() + { + var result = new Substrate.NetApi.Model.Types.Base.BaseOpt(); + result.Create("0x01E68325A26F5E8EA5C6C93BBDCFA596AC3EC8B69301C0CC54029DC7BC891BC515"); + return result; + } + } + + /// + /// >> GearErrors + /// + public enum GearErrors + { + + /// + /// >> MessageNotFound + /// Message wasn't found in the mailbox. + /// + MessageNotFound, + + /// + /// >> InsufficientBalance + /// Not enough balance to execute an action. + /// + /// Usually occurs when the gas_limit specified is such that the origin account can't afford the message. + /// + InsufficientBalance, + + /// + /// >> GasLimitTooHigh + /// Gas limit too high. + /// + /// Occurs when an extrinsic's declared `gas_limit` is greater than a block's maximum gas limit. + /// + GasLimitTooHigh, + + /// + /// >> ProgramAlreadyExists + /// Program already exists. + /// + /// Occurs if a program with some specific program id already exists in program storage. + /// + ProgramAlreadyExists, + + /// + /// >> InactiveProgram + /// Program is terminated. + /// + /// Program init failed, so such message destination is no longer unavailable. + /// + InactiveProgram, + + /// + /// >> NoMessageTree + /// Message gas tree is not found. + /// + /// When a message claimed from the mailbox has a corrupted or non-extant gas tree associated. + /// + NoMessageTree, + + /// + /// >> CodeAlreadyExists + /// Code already exists. + /// + /// Occurs when trying to save to storage a program code that has been saved there. + /// + CodeAlreadyExists, + + /// + /// >> CodeDoesntExist + /// Code does not exist. + /// + /// Occurs when trying to get a program code from storage, that doesn't exist. + /// + CodeDoesntExist, + + /// + /// >> CodeTooLarge + /// The code supplied to `upload_code` or `upload_program` exceeds the limit specified in the + /// current schedule. + /// + CodeTooLarge, + + /// + /// >> ProgramConstructionFailed + /// Failed to create a program. + /// + ProgramConstructionFailed, + + /// + /// >> MessageQueueProcessingDisabled + /// Message queue processing is disabled. + /// + MessageQueueProcessingDisabled, + + /// + /// >> ResumePeriodLessThanMinimal + /// Block count doesn't cover MinimalResumePeriod. + /// + ResumePeriodLessThanMinimal, + + /// + /// >> ProgramNotFound + /// Program with the specified id is not found. + /// + ProgramNotFound, + + /// + /// >> GearRunAlreadyInBlock + /// Gear::run() already included in current block. + /// + GearRunAlreadyInBlock, + + /// + /// >> ProgramRentDisabled + /// The program rent logic is disabled. + /// + ProgramRentDisabled, + + /// + /// >> ActiveProgram + /// Program is active. + /// + ActiveProgram, + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainGearBank.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainGearBank.cs new file mode 100644 index 00000000..1b67844d --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainGearBank.cs @@ -0,0 +1,241 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> GearBankStorage + /// + public sealed class GearBankStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> GearBankStorage Constructor + /// + public GearBankStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("GearBank", "Bank"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, typeof(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32), typeof(Substrate.Gear.Api.Generated.Model.pallet_gear_bank.pallet.BankAccount))); + _client.StorageKeyDict.Add(new System.Tuple("GearBank", "UnusedValue"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U128))); + _client.StorageKeyDict.Add(new System.Tuple("GearBank", "OnFinalizeTransfers"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, typeof(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32), typeof(Substrate.NetApi.Model.Types.Primitive.U128))); + _client.StorageKeyDict.Add(new System.Tuple("GearBank", "OnFinalizeValue"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U128))); + } + + /// + /// >> BankParams + /// + public static string BankParams(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key) + { + return RequestGenerator.GetStorage("GearBank", "Bank", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> BankDefault + /// Default value as hex string + /// + public static string BankDefault() + { + return "0x00"; + } + + /// + /// >> Bank + /// + public async Task Bank(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key, string blockhash, CancellationToken token) + { + string parameters = GearBankStorage.BankParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> UnusedValueParams + /// + public static string UnusedValueParams() + { + return RequestGenerator.GetStorage("GearBank", "UnusedValue", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> UnusedValueDefault + /// Default value as hex string + /// + public static string UnusedValueDefault() + { + return "0x00000000000000000000000000000000"; + } + + /// + /// >> UnusedValue + /// + public async Task UnusedValue(string blockhash, CancellationToken token) + { + string parameters = GearBankStorage.UnusedValueParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> OnFinalizeTransfersParams + /// + public static string OnFinalizeTransfersParams(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key) + { + return RequestGenerator.GetStorage("GearBank", "OnFinalizeTransfers", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> OnFinalizeTransfersDefault + /// Default value as hex string + /// + public static string OnFinalizeTransfersDefault() + { + return "0x00"; + } + + /// + /// >> OnFinalizeTransfers + /// + public async Task OnFinalizeTransfers(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key, string blockhash, CancellationToken token) + { + string parameters = GearBankStorage.OnFinalizeTransfersParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> OnFinalizeValueParams + /// + public static string OnFinalizeValueParams() + { + return RequestGenerator.GetStorage("GearBank", "OnFinalizeValue", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> OnFinalizeValueDefault + /// Default value as hex string + /// + public static string OnFinalizeValueDefault() + { + return "0x00000000000000000000000000000000"; + } + + /// + /// >> OnFinalizeValue + /// + public async Task OnFinalizeValue(string blockhash, CancellationToken token) + { + string parameters = GearBankStorage.OnFinalizeValueParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + } + + /// + /// >> GearBankCalls + /// + public sealed class GearBankCalls + { + } + + /// + /// >> GearBankConstants + /// + public sealed class GearBankConstants + { + + /// + /// >> BankAddress + /// Bank account address, that will keep all reserved funds. + /// + public Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 BankAddress() + { + var result = new Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32(); + result.Create("0x6765617262616E6B6765617262616E6B6765617262616E6B6765617262616E6B"); + return result; + } + + /// + /// >> GasMultiplier + /// Gas price converter. + /// + public Substrate.Gear.Api.Generated.Model.gear_common.EnumGasMultiplier GasMultiplier() + { + var result = new Substrate.Gear.Api.Generated.Model.gear_common.EnumGasMultiplier(); + result.Create("0x0006000000000000000000000000000000"); + return result; + } + } + + /// + /// >> GearBankErrors + /// + public enum GearBankErrors + { + + /// + /// >> InsufficientBalance + /// Insufficient user balance. + /// + InsufficientBalance, + + /// + /// >> InsufficientGasBalance + /// Insufficient user's bank account gas balance. + /// + InsufficientGasBalance, + + /// + /// >> InsufficientValueBalance + /// Insufficient user's bank account gas balance. + /// + InsufficientValueBalance, + + /// + /// >> InsufficientBankBalance + /// Insufficient bank account balance. + /// **Must be unreachable in Gear main protocol.** + /// + InsufficientBankBalance, + + /// + /// >> InsufficientDeposit + /// Deposit of funds that will not keep bank account alive. + /// **Must be unreachable in Gear main protocol.** + /// + InsufficientDeposit, + + /// + /// >> Overflow + /// Overflow during funds transfer. + /// **Must be unreachable in Gear main protocol.** + /// + Overflow, + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainGearBuiltin.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainGearBuiltin.cs new file mode 100644 index 00000000..722b37a2 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainGearBuiltin.cs @@ -0,0 +1,55 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> GearBuiltinStorage + /// + public sealed class GearBuiltinStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> GearBuiltinStorage Constructor + /// + public GearBuiltinStorage(SubstrateClientExt client) + { + this._client = client; + } + } + + /// + /// >> GearBuiltinCalls + /// + public sealed class GearBuiltinCalls + { + } + + /// + /// >> GearBuiltinConstants + /// + public sealed class GearBuiltinConstants + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainGearGas.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainGearGas.cs new file mode 100644 index 00000000..825097b4 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainGearGas.cs @@ -0,0 +1,256 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> GearGasStorage + /// + public sealed class GearGasStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> GearGasStorage Constructor + /// + public GearGasStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("GearGas", "TotalIssuance"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U64))); + _client.StorageKeyDict.Add(new System.Tuple("GearGas", "GasNodes"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, typeof(Substrate.Gear.Api.Generated.Model.gear_common.gas_provider.node.EnumGasNodeId), typeof(Substrate.Gear.Api.Generated.Model.gear_common.gas_provider.node.EnumGasNode))); + _client.StorageKeyDict.Add(new System.Tuple("GearGas", "Allowance"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U64))); + } + + /// + /// >> TotalIssuanceParams + /// + public static string TotalIssuanceParams() + { + return RequestGenerator.GetStorage("GearGas", "TotalIssuance", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> TotalIssuanceDefault + /// Default value as hex string + /// + public static string TotalIssuanceDefault() + { + return "0x00"; + } + + /// + /// >> TotalIssuance + /// + public async Task TotalIssuance(string blockhash, CancellationToken token) + { + string parameters = GearGasStorage.TotalIssuanceParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> GasNodesParams + /// + public static string GasNodesParams(Substrate.Gear.Api.Generated.Model.gear_common.gas_provider.node.EnumGasNodeId key) + { + return RequestGenerator.GetStorage("GearGas", "GasNodes", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> GasNodesDefault + /// Default value as hex string + /// + public static string GasNodesDefault() + { + return "0x00"; + } + + /// + /// >> GasNodes + /// + public async Task GasNodes(Substrate.Gear.Api.Generated.Model.gear_common.gas_provider.node.EnumGasNodeId key, string blockhash, CancellationToken token) + { + string parameters = GearGasStorage.GasNodesParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> AllowanceParams + /// + public static string AllowanceParams() + { + return RequestGenerator.GetStorage("GearGas", "Allowance", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> AllowanceDefault + /// Default value as hex string + /// + public static string AllowanceDefault() + { + return "0x00CC7B9FAE000000"; + } + + /// + /// >> Allowance + /// + public async Task Allowance(string blockhash, CancellationToken token) + { + string parameters = GearGasStorage.AllowanceParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + } + + /// + /// >> GearGasCalls + /// + public sealed class GearGasCalls + { + } + + /// + /// >> GearGasConstants + /// + public sealed class GearGasConstants + { + + /// + /// >> BlockGasLimit + /// The maximum amount of gas that can be used within a single block. + /// + public Substrate.NetApi.Model.Types.Primitive.U64 BlockGasLimit() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U64(); + result.Create("0x00CC7B9FAE000000"); + return result; + } + } + + /// + /// >> GearGasErrors + /// + public enum GearGasErrors + { + + /// + /// >> Forbidden + /// + Forbidden, + + /// + /// >> NodeAlreadyExists + /// + NodeAlreadyExists, + + /// + /// >> InsufficientBalance + /// + InsufficientBalance, + + /// + /// >> NodeNotFound + /// + NodeNotFound, + + /// + /// >> NodeWasConsumed + /// + NodeWasConsumed, + + /// + /// >> ParentIsLost + /// Errors stating that gas tree has been invalidated + /// + ParentIsLost, + + /// + /// >> ParentHasNoChildren + /// + ParentHasNoChildren, + + /// + /// >> UnexpectedConsumeOutput + /// Output of `Tree::consume` procedure that wasn't expected. + /// + /// Outputs of consumption procedure are determined. The error is returned + /// when unexpected one occurred. That signals, that algorithm works wrong + /// and expected invariants are not correct. + /// + UnexpectedConsumeOutput, + + /// + /// >> UnexpectedNodeType + /// Node type that can't occur if algorithm work well + /// + UnexpectedNodeType, + + /// + /// >> ValueIsNotCaught + /// Value must have been caught, but was missed or blocked (for more info see `ValueNode::catch_value`). + /// + ValueIsNotCaught, + + /// + /// >> ValueIsBlocked + /// Value must have been caught or moved upstream, but was blocked (for more info see `ValueNode::catch_value`). + /// + ValueIsBlocked, + + /// + /// >> ValueIsNotBlocked + /// Value must have been blocked, but was either moved or caught (for more info see `ValueNode::catch_value`). + /// + ValueIsNotBlocked, + + /// + /// >> ConsumedWithLock + /// `GasTree::consume` called on node, which has some balance locked. + /// + ConsumedWithLock, + + /// + /// >> ConsumedWithSystemReservation + /// `GasTree::consume` called on node, which has some system reservation. + /// + ConsumedWithSystemReservation, + + /// + /// >> TotalValueIsOverflowed + /// `GasTree::create` called with some value amount leading to + /// the total value overflow. + /// + TotalValueIsOverflowed, + + /// + /// >> TotalValueIsUnderflowed + /// Either `GasTree::consume` or `GasTree::spent` called on a node creating + /// negative imbalance which leads to the total value drop below 0. + /// + TotalValueIsUnderflowed, + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainGearMessenger.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainGearMessenger.cs new file mode 100644 index 00000000..d9bc8f28 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainGearMessenger.cs @@ -0,0 +1,436 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> GearMessengerStorage + /// + public sealed class GearMessengerStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> GearMessengerStorage Constructor + /// + public GearMessengerStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("GearMessenger", "Dequeued"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("GearMessenger", "Dispatches"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, typeof(Substrate.Gear.Api.Generated.Model.gprimitives.MessageId), typeof(Substrate.Gear.Api.Generated.Model.gear_common.storage.complicated.dequeue.LinkedNode))); + _client.StorageKeyDict.Add(new System.Tuple("GearMessenger", "CounterForDispatches"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("GearMessenger", "Head"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.gprimitives.MessageId))); + _client.StorageKeyDict.Add(new System.Tuple("GearMessenger", "Mailbox"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity, + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, typeof(Substrate.NetApi.Model.Types.Base.BaseTuple), typeof(Substrate.NetApi.Model.Types.Base.BaseTuple))); + _client.StorageKeyDict.Add(new System.Tuple("GearMessenger", "QueueProcessing"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.Bool))); + _client.StorageKeyDict.Add(new System.Tuple("GearMessenger", "Sent"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("GearMessenger", "Tail"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.gprimitives.MessageId))); + _client.StorageKeyDict.Add(new System.Tuple("GearMessenger", "Waitlist"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity, + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, typeof(Substrate.NetApi.Model.Types.Base.BaseTuple), typeof(Substrate.NetApi.Model.Types.Base.BaseTuple))); + _client.StorageKeyDict.Add(new System.Tuple("GearMessenger", "DispatchStash"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, typeof(Substrate.Gear.Api.Generated.Model.gprimitives.MessageId), typeof(Substrate.NetApi.Model.Types.Base.BaseTuple))); + } + + /// + /// >> DequeuedParams + /// + public static string DequeuedParams() + { + return RequestGenerator.GetStorage("GearMessenger", "Dequeued", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> DequeuedDefault + /// Default value as hex string + /// + public static string DequeuedDefault() + { + return "0x00"; + } + + /// + /// >> Dequeued + /// + public async Task Dequeued(string blockhash, CancellationToken token) + { + string parameters = GearMessengerStorage.DequeuedParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> DispatchesParams + /// + public static string DispatchesParams(Substrate.Gear.Api.Generated.Model.gprimitives.MessageId key) + { + return RequestGenerator.GetStorage("GearMessenger", "Dispatches", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> DispatchesDefault + /// Default value as hex string + /// + public static string DispatchesDefault() + { + return "0x00"; + } + + /// + /// >> Dispatches + /// + public async Task Dispatches(Substrate.Gear.Api.Generated.Model.gprimitives.MessageId key, string blockhash, CancellationToken token) + { + string parameters = GearMessengerStorage.DispatchesParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> CounterForDispatchesParams + /// Counter for the related counted storage map + /// + public static string CounterForDispatchesParams() + { + return RequestGenerator.GetStorage("GearMessenger", "CounterForDispatches", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> CounterForDispatchesDefault + /// Default value as hex string + /// + public static string CounterForDispatchesDefault() + { + return "0x00000000"; + } + + /// + /// >> CounterForDispatches + /// Counter for the related counted storage map + /// + public async Task CounterForDispatches(string blockhash, CancellationToken token) + { + string parameters = GearMessengerStorage.CounterForDispatchesParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> HeadParams + /// + public static string HeadParams() + { + return RequestGenerator.GetStorage("GearMessenger", "Head", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> HeadDefault + /// Default value as hex string + /// + public static string HeadDefault() + { + return "0x00"; + } + + /// + /// >> Head + /// + public async Task Head(string blockhash, CancellationToken token) + { + string parameters = GearMessengerStorage.HeadParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> MailboxParams + /// + public static string MailboxParams(Substrate.NetApi.Model.Types.Base.BaseTuple key) + { + return RequestGenerator.GetStorage("GearMessenger", "Mailbox", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity, + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, key.Value); + } + + /// + /// >> MailboxDefault + /// Default value as hex string + /// + public static string MailboxDefault() + { + return "0x00"; + } + + /// + /// >> Mailbox + /// + public async Task> Mailbox(Substrate.NetApi.Model.Types.Base.BaseTuple key, string blockhash, CancellationToken token) + { + string parameters = GearMessengerStorage.MailboxParams(key); + var result = await _client.GetStorageAsync>(parameters, blockhash, token); + return result; + } + + /// + /// >> QueueProcessingParams + /// + public static string QueueProcessingParams() + { + return RequestGenerator.GetStorage("GearMessenger", "QueueProcessing", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> QueueProcessingDefault + /// Default value as hex string + /// + public static string QueueProcessingDefault() + { + return "0x00"; + } + + /// + /// >> QueueProcessing + /// + public async Task QueueProcessing(string blockhash, CancellationToken token) + { + string parameters = GearMessengerStorage.QueueProcessingParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> SentParams + /// + public static string SentParams() + { + return RequestGenerator.GetStorage("GearMessenger", "Sent", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> SentDefault + /// Default value as hex string + /// + public static string SentDefault() + { + return "0x00"; + } + + /// + /// >> Sent + /// + public async Task Sent(string blockhash, CancellationToken token) + { + string parameters = GearMessengerStorage.SentParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> TailParams + /// + public static string TailParams() + { + return RequestGenerator.GetStorage("GearMessenger", "Tail", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> TailDefault + /// Default value as hex string + /// + public static string TailDefault() + { + return "0x00"; + } + + /// + /// >> Tail + /// + public async Task Tail(string blockhash, CancellationToken token) + { + string parameters = GearMessengerStorage.TailParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> WaitlistParams + /// + public static string WaitlistParams(Substrate.NetApi.Model.Types.Base.BaseTuple key) + { + return RequestGenerator.GetStorage("GearMessenger", "Waitlist", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity, + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, key.Value); + } + + /// + /// >> WaitlistDefault + /// Default value as hex string + /// + public static string WaitlistDefault() + { + return "0x00"; + } + + /// + /// >> Waitlist + /// + public async Task> Waitlist(Substrate.NetApi.Model.Types.Base.BaseTuple key, string blockhash, CancellationToken token) + { + string parameters = GearMessengerStorage.WaitlistParams(key); + var result = await _client.GetStorageAsync>(parameters, blockhash, token); + return result; + } + + /// + /// >> DispatchStashParams + /// + public static string DispatchStashParams(Substrate.Gear.Api.Generated.Model.gprimitives.MessageId key) + { + return RequestGenerator.GetStorage("GearMessenger", "DispatchStash", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> DispatchStashDefault + /// Default value as hex string + /// + public static string DispatchStashDefault() + { + return "0x00"; + } + + /// + /// >> DispatchStash + /// + public async Task> DispatchStash(Substrate.Gear.Api.Generated.Model.gprimitives.MessageId key, string blockhash, CancellationToken token) + { + string parameters = GearMessengerStorage.DispatchStashParams(key); + var result = await _client.GetStorageAsync>(parameters, blockhash, token); + return result; + } + } + + /// + /// >> GearMessengerCalls + /// + public sealed class GearMessengerCalls + { + } + + /// + /// >> GearMessengerConstants + /// + public sealed class GearMessengerConstants + { + } + + /// + /// >> GearMessengerErrors + /// + public enum GearMessengerErrors + { + + /// + /// >> QueueDuplicateKey + /// Occurs when given key already exists in queue. + /// + QueueDuplicateKey, + + /// + /// >> QueueElementNotFound + /// Occurs when queue's element wasn't found in storage. + /// + QueueElementNotFound, + + /// + /// >> QueueHeadShouldBeSet + /// Occurs when queue's head should contain value, + /// but it's empty for some reason. + /// + QueueHeadShouldBeSet, + + /// + /// >> QueueHeadShouldNotBeSet + /// Occurs when queue's head should be empty, + /// but it contains value for some reason. + /// + QueueHeadShouldNotBeSet, + + /// + /// >> QueueTailHasNextKey + /// Occurs when queue's tail element contains link + /// to the next element. + /// + QueueTailHasNextKey, + + /// + /// >> QueueTailParentNotFound + /// Occurs when while searching queue's pre-tail, + /// element wasn't found. + /// + QueueTailParentNotFound, + + /// + /// >> QueueTailShouldBeSet + /// Occurs when queue's tail should contain value, + /// but it's empty for some reason. + /// + QueueTailShouldBeSet, + + /// + /// >> QueueTailShouldNotBeSet + /// Occurs when queue's tail should be empty, + /// but it contains value for some reason. + /// + QueueTailShouldNotBeSet, + + /// + /// >> MailboxDuplicateKey + /// Occurs when given value already exists in mailbox. + /// + MailboxDuplicateKey, + + /// + /// >> MailboxElementNotFound + /// Occurs when mailbox's element wasn't found in storage. + /// + MailboxElementNotFound, + + /// + /// >> WaitlistDuplicateKey + /// Occurs when given value already exists in waitlist. + /// + WaitlistDuplicateKey, + + /// + /// >> WaitlistElementNotFound + /// Occurs when waitlist's element wasn't found in storage. + /// + WaitlistElementNotFound, + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainGearPayment.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainGearPayment.cs new file mode 100644 index 00000000..28e8a9f4 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainGearPayment.cs @@ -0,0 +1,55 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> GearPaymentStorage + /// + public sealed class GearPaymentStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> GearPaymentStorage Constructor + /// + public GearPaymentStorage(SubstrateClientExt client) + { + this._client = client; + } + } + + /// + /// >> GearPaymentCalls + /// + public sealed class GearPaymentCalls + { + } + + /// + /// >> GearPaymentConstants + /// + public sealed class GearPaymentConstants + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainGearProgram.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainGearProgram.cs new file mode 100644 index 00000000..a9c73709 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainGearProgram.cs @@ -0,0 +1,307 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> GearProgramStorage + /// + public sealed class GearProgramStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> GearProgramStorage Constructor + /// + public GearProgramStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("GearProgram", "CodeStorage"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, typeof(Substrate.Gear.Api.Generated.Model.gprimitives.CodeId), typeof(Substrate.Gear.Api.Generated.Model.gear_core.code.instrumented.InstrumentedCode))); + _client.StorageKeyDict.Add(new System.Tuple("GearProgram", "CodeLenStorage"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, typeof(Substrate.Gear.Api.Generated.Model.gprimitives.CodeId), typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("GearProgram", "OriginalCodeStorage"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, typeof(Substrate.Gear.Api.Generated.Model.gprimitives.CodeId), typeof(Substrate.NetApi.Model.Types.Base.BaseVec))); + _client.StorageKeyDict.Add(new System.Tuple("GearProgram", "MetadataStorage"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, typeof(Substrate.Gear.Api.Generated.Model.gprimitives.CodeId), typeof(Substrate.Gear.Api.Generated.Model.gear_common.CodeMetadata))); + _client.StorageKeyDict.Add(new System.Tuple("GearProgram", "AllocationsStorage"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, typeof(Substrate.Gear.Api.Generated.Model.gprimitives.ActorId), typeof(Substrate.Gear.Api.Generated.Model.numerated.tree.IntervalsTree))); + _client.StorageKeyDict.Add(new System.Tuple("GearProgram", "ProgramStorage"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, typeof(Substrate.Gear.Api.Generated.Model.gprimitives.ActorId), typeof(Substrate.Gear.Api.Generated.Model.gear_core.program.EnumProgram))); + _client.StorageKeyDict.Add(new System.Tuple("GearProgram", "MemoryPages"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity, + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity, + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, typeof(Substrate.NetApi.Model.Types.Base.BaseTuple), typeof(Substrate.Gear.Api.Generated.Model.gear_core.memory.PageBuf))); + } + + /// + /// >> CodeStorageParams + /// + public static string CodeStorageParams(Substrate.Gear.Api.Generated.Model.gprimitives.CodeId key) + { + return RequestGenerator.GetStorage("GearProgram", "CodeStorage", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> CodeStorageDefault + /// Default value as hex string + /// + public static string CodeStorageDefault() + { + return "0x00"; + } + + /// + /// >> CodeStorage + /// + public async Task CodeStorage(Substrate.Gear.Api.Generated.Model.gprimitives.CodeId key, string blockhash, CancellationToken token) + { + string parameters = GearProgramStorage.CodeStorageParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> CodeLenStorageParams + /// + public static string CodeLenStorageParams(Substrate.Gear.Api.Generated.Model.gprimitives.CodeId key) + { + return RequestGenerator.GetStorage("GearProgram", "CodeLenStorage", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> CodeLenStorageDefault + /// Default value as hex string + /// + public static string CodeLenStorageDefault() + { + return "0x00"; + } + + /// + /// >> CodeLenStorage + /// + public async Task CodeLenStorage(Substrate.Gear.Api.Generated.Model.gprimitives.CodeId key, string blockhash, CancellationToken token) + { + string parameters = GearProgramStorage.CodeLenStorageParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> OriginalCodeStorageParams + /// + public static string OriginalCodeStorageParams(Substrate.Gear.Api.Generated.Model.gprimitives.CodeId key) + { + return RequestGenerator.GetStorage("GearProgram", "OriginalCodeStorage", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> OriginalCodeStorageDefault + /// Default value as hex string + /// + public static string OriginalCodeStorageDefault() + { + return "0x00"; + } + + /// + /// >> OriginalCodeStorage + /// + public async Task> OriginalCodeStorage(Substrate.Gear.Api.Generated.Model.gprimitives.CodeId key, string blockhash, CancellationToken token) + { + string parameters = GearProgramStorage.OriginalCodeStorageParams(key); + var result = await _client.GetStorageAsync>(parameters, blockhash, token); + return result; + } + + /// + /// >> MetadataStorageParams + /// + public static string MetadataStorageParams(Substrate.Gear.Api.Generated.Model.gprimitives.CodeId key) + { + return RequestGenerator.GetStorage("GearProgram", "MetadataStorage", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> MetadataStorageDefault + /// Default value as hex string + /// + public static string MetadataStorageDefault() + { + return "0x00"; + } + + /// + /// >> MetadataStorage + /// + public async Task MetadataStorage(Substrate.Gear.Api.Generated.Model.gprimitives.CodeId key, string blockhash, CancellationToken token) + { + string parameters = GearProgramStorage.MetadataStorageParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> AllocationsStorageParams + /// + public static string AllocationsStorageParams(Substrate.Gear.Api.Generated.Model.gprimitives.ActorId key) + { + return RequestGenerator.GetStorage("GearProgram", "AllocationsStorage", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> AllocationsStorageDefault + /// Default value as hex string + /// + public static string AllocationsStorageDefault() + { + return "0x00"; + } + + /// + /// >> AllocationsStorage + /// + public async Task AllocationsStorage(Substrate.Gear.Api.Generated.Model.gprimitives.ActorId key, string blockhash, CancellationToken token) + { + string parameters = GearProgramStorage.AllocationsStorageParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> ProgramStorageParams + /// + public static string ProgramStorageParams(Substrate.Gear.Api.Generated.Model.gprimitives.ActorId key) + { + return RequestGenerator.GetStorage("GearProgram", "ProgramStorage", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> ProgramStorageDefault + /// Default value as hex string + /// + public static string ProgramStorageDefault() + { + return "0x00"; + } + + /// + /// >> ProgramStorage + /// + public async Task ProgramStorage(Substrate.Gear.Api.Generated.Model.gprimitives.ActorId key, string blockhash, CancellationToken token) + { + string parameters = GearProgramStorage.ProgramStorageParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> MemoryPagesParams + /// + public static string MemoryPagesParams(Substrate.NetApi.Model.Types.Base.BaseTuple key) + { + return RequestGenerator.GetStorage("GearProgram", "MemoryPages", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity, + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity, + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, key.Value); + } + + /// + /// >> MemoryPagesDefault + /// Default value as hex string + /// + public static string MemoryPagesDefault() + { + return "0x00"; + } + + /// + /// >> MemoryPages + /// + public async Task MemoryPages(Substrate.NetApi.Model.Types.Base.BaseTuple key, string blockhash, CancellationToken token) + { + string parameters = GearProgramStorage.MemoryPagesParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + } + + /// + /// >> GearProgramCalls + /// + public sealed class GearProgramCalls + { + } + + /// + /// >> GearProgramConstants + /// + public sealed class GearProgramConstants + { + } + + /// + /// >> GearProgramErrors + /// + public enum GearProgramErrors + { + + /// + /// >> DuplicateItem + /// + DuplicateItem, + + /// + /// >> ProgramNotFound + /// + ProgramNotFound, + + /// + /// >> NotActiveProgram + /// + NotActiveProgram, + + /// + /// >> CannotFindDataForPage + /// + CannotFindDataForPage, + + /// + /// >> ProgramCodeNotFound + /// + ProgramCodeNotFound, + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainGearScheduler.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainGearScheduler.cs new file mode 100644 index 00000000..8d252c79 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainGearScheduler.cs @@ -0,0 +1,189 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> GearSchedulerStorage + /// + public sealed class GearSchedulerStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> GearSchedulerStorage Constructor + /// + public GearSchedulerStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("GearScheduler", "FirstIncompleteTasksBlock"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("GearScheduler", "TaskPool"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity, + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, typeof(Substrate.NetApi.Model.Types.Base.BaseTuple), typeof(Substrate.NetApi.Model.Types.Base.BaseTuple))); + } + + /// + /// >> FirstIncompleteTasksBlockParams + /// + public static string FirstIncompleteTasksBlockParams() + { + return RequestGenerator.GetStorage("GearScheduler", "FirstIncompleteTasksBlock", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> FirstIncompleteTasksBlockDefault + /// Default value as hex string + /// + public static string FirstIncompleteTasksBlockDefault() + { + return "0x00"; + } + + /// + /// >> FirstIncompleteTasksBlock + /// + public async Task FirstIncompleteTasksBlock(string blockhash, CancellationToken token) + { + string parameters = GearSchedulerStorage.FirstIncompleteTasksBlockParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> TaskPoolParams + /// + public static string TaskPoolParams(Substrate.NetApi.Model.Types.Base.BaseTuple key) + { + return RequestGenerator.GetStorage("GearScheduler", "TaskPool", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity, + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, key.Value); + } + + /// + /// >> TaskPoolDefault + /// Default value as hex string + /// + public static string TaskPoolDefault() + { + return "0x00"; + } + + /// + /// >> TaskPool + /// + public async Task TaskPool(Substrate.NetApi.Model.Types.Base.BaseTuple key, string blockhash, CancellationToken token) + { + string parameters = GearSchedulerStorage.TaskPoolParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + } + + /// + /// >> GearSchedulerCalls + /// + public sealed class GearSchedulerCalls + { + } + + /// + /// >> GearSchedulerConstants + /// + public sealed class GearSchedulerConstants + { + + /// + /// >> ReserveThreshold + /// Amount of blocks for extra delay used to secure from outdated tasks. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 ReserveThreshold() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x01000000"); + return result; + } + + /// + /// >> WaitlistCost + /// Cost for storing in waitlist per block. + /// + public Substrate.NetApi.Model.Types.Primitive.U64 WaitlistCost() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U64(); + result.Create("0x6400000000000000"); + return result; + } + + /// + /// >> MailboxCost + /// Cost for storing in mailbox per block. + /// + public Substrate.NetApi.Model.Types.Primitive.U64 MailboxCost() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U64(); + result.Create("0x6400000000000000"); + return result; + } + + /// + /// >> ReservationCost + /// Cost for reservation holding. + /// + public Substrate.NetApi.Model.Types.Primitive.U64 ReservationCost() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U64(); + result.Create("0x6400000000000000"); + return result; + } + + /// + /// >> DispatchHoldCost + /// Cost for reservation holding. + /// + public Substrate.NetApi.Model.Types.Primitive.U64 DispatchHoldCost() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U64(); + result.Create("0x6400000000000000"); + return result; + } + } + + /// + /// >> GearSchedulerErrors + /// + public enum GearSchedulerErrors + { + + /// + /// >> DuplicateTask + /// Occurs when given task already exists in task pool. + /// + DuplicateTask, + + /// + /// >> TaskNotFound + /// Occurs when task wasn't found in storage. + /// + TaskNotFound, + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainGearVoucher.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainGearVoucher.cs new file mode 100644 index 00000000..22a5b445 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainGearVoucher.cs @@ -0,0 +1,309 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> GearVoucherStorage + /// + public sealed class GearVoucherStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> GearVoucherStorage Constructor + /// + public GearVoucherStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("GearVoucher", "Issued"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U64))); + _client.StorageKeyDict.Add(new System.Tuple("GearVoucher", "Vouchers"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity, + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, typeof(Substrate.NetApi.Model.Types.Base.BaseTuple), typeof(Substrate.Gear.Api.Generated.Model.pallet_gear_voucher.@internal.VoucherInfo))); + } + + /// + /// >> IssuedParams + /// Storage containing amount of the total vouchers issued. + /// + /// Used as nonce in voucher creation. + /// + public static string IssuedParams() + { + return RequestGenerator.GetStorage("GearVoucher", "Issued", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> IssuedDefault + /// Default value as hex string + /// + public static string IssuedDefault() + { + return "0x00"; + } + + /// + /// >> Issued + /// Storage containing amount of the total vouchers issued. + /// + /// Used as nonce in voucher creation. + /// + public async Task Issued(string blockhash, CancellationToken token) + { + string parameters = GearVoucherStorage.IssuedParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> VouchersParams + /// Double map storage containing data of the voucher, + /// associated with some spender and voucher ids. + /// + public static string VouchersParams(Substrate.NetApi.Model.Types.Base.BaseTuple key) + { + return RequestGenerator.GetStorage("GearVoucher", "Vouchers", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity, + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, key.Value); + } + + /// + /// >> VouchersDefault + /// Default value as hex string + /// + public static string VouchersDefault() + { + return "0x00"; + } + + /// + /// >> Vouchers + /// Double map storage containing data of the voucher, + /// associated with some spender and voucher ids. + /// + public async Task Vouchers(Substrate.NetApi.Model.Types.Base.BaseTuple key, string blockhash, CancellationToken token) + { + string parameters = GearVoucherStorage.VouchersParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + } + + /// + /// >> GearVoucherCalls + /// + public sealed class GearVoucherCalls + { + + /// + /// >> issue + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Issue(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 spender, Substrate.NetApi.Model.Types.Primitive.U128 balance, Substrate.NetApi.Model.Types.Base.BaseOpt programs, Substrate.NetApi.Model.Types.Primitive.Bool code_uploading, Substrate.NetApi.Model.Types.Primitive.U32 duration) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(spender.Encode()); + byteArray.AddRange(balance.Encode()); + byteArray.AddRange(programs.Encode()); + byteArray.AddRange(code_uploading.Encode()); + byteArray.AddRange(duration.Encode()); + return new Method(107, "GearVoucher", 0, "issue", byteArray.ToArray()); + } + + /// + /// >> call + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Call(Substrate.Gear.Api.Generated.Model.pallet_gear_voucher.@internal.VoucherId voucher_id, Substrate.Gear.Api.Generated.Model.pallet_gear_voucher.@internal.EnumPrepaidCall call) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(voucher_id.Encode()); + byteArray.AddRange(call.Encode()); + return new Method(107, "GearVoucher", 1, "call", byteArray.ToArray()); + } + + /// + /// >> revoke + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Revoke(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 spender, Substrate.Gear.Api.Generated.Model.pallet_gear_voucher.@internal.VoucherId voucher_id) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(spender.Encode()); + byteArray.AddRange(voucher_id.Encode()); + return new Method(107, "GearVoucher", 2, "revoke", byteArray.ToArray()); + } + + /// + /// >> update + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Update(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 spender, Substrate.Gear.Api.Generated.Model.pallet_gear_voucher.@internal.VoucherId voucher_id, Substrate.NetApi.Model.Types.Base.BaseOpt move_ownership, Substrate.NetApi.Model.Types.Base.BaseOpt balance_top_up, Substrate.NetApi.Model.Types.Base.BaseOpt> append_programs, Substrate.NetApi.Model.Types.Base.BaseOpt code_uploading, Substrate.NetApi.Model.Types.Base.BaseOpt prolong_duration) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(spender.Encode()); + byteArray.AddRange(voucher_id.Encode()); + byteArray.AddRange(move_ownership.Encode()); + byteArray.AddRange(balance_top_up.Encode()); + byteArray.AddRange(append_programs.Encode()); + byteArray.AddRange(code_uploading.Encode()); + byteArray.AddRange(prolong_duration.Encode()); + return new Method(107, "GearVoucher", 3, "update", byteArray.ToArray()); + } + + /// + /// >> decline + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Decline(Substrate.Gear.Api.Generated.Model.pallet_gear_voucher.@internal.VoucherId voucher_id) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(voucher_id.Encode()); + return new Method(107, "GearVoucher", 4, "decline", byteArray.ToArray()); + } + } + + /// + /// >> GearVoucherConstants + /// + public sealed class GearVoucherConstants + { + + /// + /// >> PalletId + /// The pallet id, used for deriving its sovereign account ID. + /// + public Substrate.Gear.Api.Generated.Model.frame_support.PalletId PalletId() + { + var result = new Substrate.Gear.Api.Generated.Model.frame_support.PalletId(); + result.Create("0x70792F766F756368"); + return result; + } + + /// + /// >> MaxProgramsAmount + /// Maximal amount of programs to be specified to interact with. + /// + public Substrate.NetApi.Model.Types.Primitive.U8 MaxProgramsAmount() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U8(); + result.Create("0x20"); + return result; + } + + /// + /// >> MinDuration + /// Minimal duration in blocks voucher could be issued/prolonged for. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 MinDuration() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x14000000"); + return result; + } + + /// + /// >> MaxDuration + /// Maximal duration in blocks voucher could be issued/prolonged for. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 MaxDuration() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x00EA2400"); + return result; + } + } + + /// + /// >> GearVoucherErrors + /// + public enum GearVoucherErrors + { + + /// + /// >> BadOrigin + /// The origin is not eligible to execute call. + /// + BadOrigin, + + /// + /// >> BalanceTransfer + /// Error trying transfer balance to/from voucher account. + /// + BalanceTransfer, + + /// + /// >> InappropriateDestination + /// Destination program is not in whitelisted set for voucher. + /// + InappropriateDestination, + + /// + /// >> InexistentVoucher + /// Voucher with given identifier doesn't exist for given spender id. + /// + InexistentVoucher, + + /// + /// >> IrrevocableYet + /// Voucher still valid and couldn't be revoked. + /// + IrrevocableYet, + + /// + /// >> MaxProgramsLimitExceeded + /// Try to whitelist more programs than allowed. + /// + MaxProgramsLimitExceeded, + + /// + /// >> UnknownDestination + /// Failed to query destination of the prepaid call. + /// + UnknownDestination, + + /// + /// >> VoucherExpired + /// Voucher has expired and couldn't be used. + /// + VoucherExpired, + + /// + /// >> DurationOutOfBounds + /// Voucher issue/prolongation duration out of [min; max] constants. + /// + DurationOutOfBounds, + + /// + /// >> CodeUploadingEnabled + /// Voucher update function tries to cut voucher ability of code upload. + /// + CodeUploadingEnabled, + + /// + /// >> CodeUploadingDisabled + /// Voucher is disabled for code uploading, but requested. + /// + CodeUploadingDisabled, + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainGrandpa.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainGrandpa.cs new file mode 100644 index 00000000..c4a10fd8 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainGrandpa.cs @@ -0,0 +1,413 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> GrandpaStorage + /// + public sealed class GrandpaStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> GrandpaStorage Constructor + /// + public GrandpaStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("Grandpa", "State"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.pallet_grandpa.EnumStoredState))); + _client.StorageKeyDict.Add(new System.Tuple("Grandpa", "PendingChange"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.pallet_grandpa.StoredPendingChange))); + _client.StorageKeyDict.Add(new System.Tuple("Grandpa", "NextForced"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("Grandpa", "Stalled"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Base.BaseTuple))); + _client.StorageKeyDict.Add(new System.Tuple("Grandpa", "CurrentSetId"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U64))); + _client.StorageKeyDict.Add(new System.Tuple("Grandpa", "SetIdSession"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Primitive.U64), typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("Grandpa", "Authorities"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.bounded_collections.weak_bounded_vec.WeakBoundedVecT3))); + } + + /// + /// >> StateParams + /// State of the current authority set. + /// + public static string StateParams() + { + return RequestGenerator.GetStorage("Grandpa", "State", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> StateDefault + /// Default value as hex string + /// + public static string StateDefault() + { + return "0x00"; + } + + /// + /// >> State + /// State of the current authority set. + /// + public async Task State(string blockhash, CancellationToken token) + { + string parameters = GrandpaStorage.StateParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> PendingChangeParams + /// Pending change: (signaled at, scheduled change). + /// + public static string PendingChangeParams() + { + return RequestGenerator.GetStorage("Grandpa", "PendingChange", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> PendingChangeDefault + /// Default value as hex string + /// + public static string PendingChangeDefault() + { + return "0x00"; + } + + /// + /// >> PendingChange + /// Pending change: (signaled at, scheduled change). + /// + public async Task PendingChange(string blockhash, CancellationToken token) + { + string parameters = GrandpaStorage.PendingChangeParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> NextForcedParams + /// next block number where we can force a change. + /// + public static string NextForcedParams() + { + return RequestGenerator.GetStorage("Grandpa", "NextForced", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> NextForcedDefault + /// Default value as hex string + /// + public static string NextForcedDefault() + { + return "0x00"; + } + + /// + /// >> NextForced + /// next block number where we can force a change. + /// + public async Task NextForced(string blockhash, CancellationToken token) + { + string parameters = GrandpaStorage.NextForcedParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> StalledParams + /// `true` if we are currently stalled. + /// + public static string StalledParams() + { + return RequestGenerator.GetStorage("Grandpa", "Stalled", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> StalledDefault + /// Default value as hex string + /// + public static string StalledDefault() + { + return "0x00"; + } + + /// + /// >> Stalled + /// `true` if we are currently stalled. + /// + public async Task> Stalled(string blockhash, CancellationToken token) + { + string parameters = GrandpaStorage.StalledParams(); + var result = await _client.GetStorageAsync>(parameters, blockhash, token); + return result; + } + + /// + /// >> CurrentSetIdParams + /// The number of changes (both in terms of keys and underlying economic responsibilities) + /// in the "set" of Grandpa validators from genesis. + /// + public static string CurrentSetIdParams() + { + return RequestGenerator.GetStorage("Grandpa", "CurrentSetId", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> CurrentSetIdDefault + /// Default value as hex string + /// + public static string CurrentSetIdDefault() + { + return "0x0000000000000000"; + } + + /// + /// >> CurrentSetId + /// The number of changes (both in terms of keys and underlying economic responsibilities) + /// in the "set" of Grandpa validators from genesis. + /// + public async Task CurrentSetId(string blockhash, CancellationToken token) + { + string parameters = GrandpaStorage.CurrentSetIdParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> SetIdSessionParams + /// A mapping from grandpa set ID to the index of the *most recent* session for which its + /// members were responsible. + /// + /// This is only used for validating equivocation proofs. An equivocation proof must + /// contains a key-ownership proof for a given session, therefore we need a way to tie + /// together sessions and GRANDPA set ids, i.e. we need to validate that a validator + /// was the owner of a given key on a given session, and what the active set ID was + /// during that session. + /// + /// TWOX-NOTE: `SetId` is not under user control. + /// + public static string SetIdSessionParams(Substrate.NetApi.Model.Types.Primitive.U64 key) + { + return RequestGenerator.GetStorage("Grandpa", "SetIdSession", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> SetIdSessionDefault + /// Default value as hex string + /// + public static string SetIdSessionDefault() + { + return "0x00"; + } + + /// + /// >> SetIdSession + /// A mapping from grandpa set ID to the index of the *most recent* session for which its + /// members were responsible. + /// + /// This is only used for validating equivocation proofs. An equivocation proof must + /// contains a key-ownership proof for a given session, therefore we need a way to tie + /// together sessions and GRANDPA set ids, i.e. we need to validate that a validator + /// was the owner of a given key on a given session, and what the active set ID was + /// during that session. + /// + /// TWOX-NOTE: `SetId` is not under user control. + /// + public async Task SetIdSession(Substrate.NetApi.Model.Types.Primitive.U64 key, string blockhash, CancellationToken token) + { + string parameters = GrandpaStorage.SetIdSessionParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> AuthoritiesParams + /// The current list of authorities. + /// + public static string AuthoritiesParams() + { + return RequestGenerator.GetStorage("Grandpa", "Authorities", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> AuthoritiesDefault + /// Default value as hex string + /// + public static string AuthoritiesDefault() + { + return "0x00"; + } + + /// + /// >> Authorities + /// The current list of authorities. + /// + public async Task Authorities(string blockhash, CancellationToken token) + { + string parameters = GrandpaStorage.AuthoritiesParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + } + + /// + /// >> GrandpaCalls + /// + public sealed class GrandpaCalls + { + + /// + /// >> report_equivocation + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ReportEquivocation(Substrate.Gear.Api.Generated.Model.sp_consensus_grandpa.EquivocationProof equivocation_proof, Substrate.Gear.Api.Generated.Model.sp_session.MembershipProof key_owner_proof) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(equivocation_proof.Encode()); + byteArray.AddRange(key_owner_proof.Encode()); + return new Method(4, "Grandpa", 0, "report_equivocation", byteArray.ToArray()); + } + + /// + /// >> report_equivocation_unsigned + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ReportEquivocationUnsigned(Substrate.Gear.Api.Generated.Model.sp_consensus_grandpa.EquivocationProof equivocation_proof, Substrate.Gear.Api.Generated.Model.sp_session.MembershipProof key_owner_proof) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(equivocation_proof.Encode()); + byteArray.AddRange(key_owner_proof.Encode()); + return new Method(4, "Grandpa", 1, "report_equivocation_unsigned", byteArray.ToArray()); + } + + /// + /// >> note_stalled + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method NoteStalled(Substrate.NetApi.Model.Types.Primitive.U32 delay, Substrate.NetApi.Model.Types.Primitive.U32 best_finalized_block_number) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(delay.Encode()); + byteArray.AddRange(best_finalized_block_number.Encode()); + return new Method(4, "Grandpa", 2, "note_stalled", byteArray.ToArray()); + } + } + + /// + /// >> GrandpaConstants + /// + public sealed class GrandpaConstants + { + + /// + /// >> MaxAuthorities + /// Max Authorities in use + /// + public Substrate.NetApi.Model.Types.Primitive.U32 MaxAuthorities() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0xA0860100"); + return result; + } + + /// + /// >> MaxNominators + /// The maximum number of nominators for each validator. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 MaxNominators() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x00020000"); + return result; + } + + /// + /// >> MaxSetIdSessionEntries + /// The maximum number of entries to keep in the set id to session index mapping. + /// + /// Since the `SetIdSession` map is only used for validating equivocations this + /// value should relate to the bonding duration of whatever staking system is + /// being used (if any). If equivocation handling is not enabled then this value + /// can be zero. + /// + public Substrate.NetApi.Model.Types.Primitive.U64 MaxSetIdSessionEntries() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U64(); + result.Create("0x5400000000000000"); + return result; + } + } + + /// + /// >> GrandpaErrors + /// + public enum GrandpaErrors + { + + /// + /// >> PauseFailed + /// Attempt to signal GRANDPA pause when the authority set isn't live + /// (either paused or already pending pause). + /// + PauseFailed, + + /// + /// >> ResumeFailed + /// Attempt to signal GRANDPA resume when the authority set isn't paused + /// (either live or already pending resume). + /// + ResumeFailed, + + /// + /// >> ChangePending + /// Attempt to signal GRANDPA change with one already pending. + /// + ChangePending, + + /// + /// >> TooSoon + /// Cannot signal forced change so soon after last. + /// + TooSoon, + + /// + /// >> InvalidKeyOwnershipProof + /// A key ownership proof provided as part of an equivocation report is invalid. + /// + InvalidKeyOwnershipProof, + + /// + /// >> InvalidEquivocationProof + /// An equivocation proof provided as part of an equivocation report is invalid. + /// + InvalidEquivocationProof, + + /// + /// >> DuplicateOffenceReport + /// A given equivocation report is valid but already previously reported. + /// + DuplicateOffenceReport, + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainHistorical.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainHistorical.cs new file mode 100644 index 00000000..b195bf15 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainHistorical.cs @@ -0,0 +1,118 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> HistoricalStorage + /// + public sealed class HistoricalStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> HistoricalStorage Constructor + /// + public HistoricalStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("Historical", "HistoricalSessions"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Primitive.U32), typeof(Substrate.NetApi.Model.Types.Base.BaseTuple))); + _client.StorageKeyDict.Add(new System.Tuple("Historical", "StoredRange"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Base.BaseTuple))); + } + + /// + /// >> HistoricalSessionsParams + /// Mapping from historical session indices to session-data root hash and validator count. + /// + public static string HistoricalSessionsParams(Substrate.NetApi.Model.Types.Primitive.U32 key) + { + return RequestGenerator.GetStorage("Historical", "HistoricalSessions", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> HistoricalSessionsDefault + /// Default value as hex string + /// + public static string HistoricalSessionsDefault() + { + return "0x00"; + } + + /// + /// >> HistoricalSessions + /// Mapping from historical session indices to session-data root hash and validator count. + /// + public async Task> HistoricalSessions(Substrate.NetApi.Model.Types.Primitive.U32 key, string blockhash, CancellationToken token) + { + string parameters = HistoricalStorage.HistoricalSessionsParams(key); + var result = await _client.GetStorageAsync>(parameters, blockhash, token); + return result; + } + + /// + /// >> StoredRangeParams + /// The range of historical sessions we store. [first, last) + /// + public static string StoredRangeParams() + { + return RequestGenerator.GetStorage("Historical", "StoredRange", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> StoredRangeDefault + /// Default value as hex string + /// + public static string StoredRangeDefault() + { + return "0x00"; + } + + /// + /// >> StoredRange + /// The range of historical sessions we store. [first, last) + /// + public async Task> StoredRange(string blockhash, CancellationToken token) + { + string parameters = HistoricalStorage.StoredRangeParams(); + var result = await _client.GetStorageAsync>(parameters, blockhash, token); + return result; + } + } + + /// + /// >> HistoricalCalls + /// + public sealed class HistoricalCalls + { + } + + /// + /// >> HistoricalConstants + /// + public sealed class HistoricalConstants + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainIdentity.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainIdentity.cs new file mode 100644 index 00000000..a2fa3e85 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainIdentity.cs @@ -0,0 +1,543 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> IdentityStorage + /// + public sealed class IdentityStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> IdentityStorage Constructor + /// + public IdentityStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("Identity", "IdentityOf"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32), typeof(Substrate.Gear.Api.Generated.Model.pallet_identity.types.Registration))); + _client.StorageKeyDict.Add(new System.Tuple("Identity", "SuperOf"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.BlakeTwo128Concat}, typeof(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32), typeof(Substrate.NetApi.Model.Types.Base.BaseTuple))); + _client.StorageKeyDict.Add(new System.Tuple("Identity", "SubsOf"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32), typeof(Substrate.NetApi.Model.Types.Base.BaseTuple))); + _client.StorageKeyDict.Add(new System.Tuple("Identity", "Registrars"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec.BoundedVecT22))); + } + + /// + /// >> IdentityOfParams + /// Information that is pertinent to identify the entity behind an account. + /// + /// TWOX-NOTE: OK ��� `AccountId` is a secure hash. + /// + public static string IdentityOfParams(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key) + { + return RequestGenerator.GetStorage("Identity", "IdentityOf", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> IdentityOfDefault + /// Default value as hex string + /// + public static string IdentityOfDefault() + { + return "0x00"; + } + + /// + /// >> IdentityOf + /// Information that is pertinent to identify the entity behind an account. + /// + /// TWOX-NOTE: OK ��� `AccountId` is a secure hash. + /// + public async Task IdentityOf(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key, string blockhash, CancellationToken token) + { + string parameters = IdentityStorage.IdentityOfParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> SuperOfParams + /// The super-identity of an alternative "sub" identity together with its name, within that + /// context. If the account is not some other account's sub-identity, then just `None`. + /// + public static string SuperOfParams(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key) + { + return RequestGenerator.GetStorage("Identity", "SuperOf", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.BlakeTwo128Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> SuperOfDefault + /// Default value as hex string + /// + public static string SuperOfDefault() + { + return "0x00"; + } + + /// + /// >> SuperOf + /// The super-identity of an alternative "sub" identity together with its name, within that + /// context. If the account is not some other account's sub-identity, then just `None`. + /// + public async Task> SuperOf(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key, string blockhash, CancellationToken token) + { + string parameters = IdentityStorage.SuperOfParams(key); + var result = await _client.GetStorageAsync>(parameters, blockhash, token); + return result; + } + + /// + /// >> SubsOfParams + /// Alternative "sub" identities of this account. + /// + /// The first item is the deposit, the second is a vector of the accounts. + /// + /// TWOX-NOTE: OK ��� `AccountId` is a secure hash. + /// + public static string SubsOfParams(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key) + { + return RequestGenerator.GetStorage("Identity", "SubsOf", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> SubsOfDefault + /// Default value as hex string + /// + public static string SubsOfDefault() + { + return "0x0000000000000000000000000000000000"; + } + + /// + /// >> SubsOf + /// Alternative "sub" identities of this account. + /// + /// The first item is the deposit, the second is a vector of the accounts. + /// + /// TWOX-NOTE: OK ��� `AccountId` is a secure hash. + /// + public async Task> SubsOf(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key, string blockhash, CancellationToken token) + { + string parameters = IdentityStorage.SubsOfParams(key); + var result = await _client.GetStorageAsync>(parameters, blockhash, token); + return result; + } + + /// + /// >> RegistrarsParams + /// The set of registrars. Not expected to get very big as can only be added through a + /// special origin (likely a council motion). + /// + /// The index into this can be cast to `RegistrarIndex` to get a valid value. + /// + public static string RegistrarsParams() + { + return RequestGenerator.GetStorage("Identity", "Registrars", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> RegistrarsDefault + /// Default value as hex string + /// + public static string RegistrarsDefault() + { + return "0x00"; + } + + /// + /// >> Registrars + /// The set of registrars. Not expected to get very big as can only be added through a + /// special origin (likely a council motion). + /// + /// The index into this can be cast to `RegistrarIndex` to get a valid value. + /// + public async Task Registrars(string blockhash, CancellationToken token) + { + string parameters = IdentityStorage.RegistrarsParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + } + + /// + /// >> IdentityCalls + /// + public sealed class IdentityCalls + { + + /// + /// >> add_registrar + /// Identity pallet declaration. + /// + public static Method AddRegistrar(Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress account) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(account.Encode()); + return new Method(24, "Identity", 0, "add_registrar", byteArray.ToArray()); + } + + /// + /// >> set_identity + /// Identity pallet declaration. + /// + public static Method SetIdentity(Substrate.Gear.Api.Generated.Model.pallet_identity.legacy.IdentityInfo info) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(info.Encode()); + return new Method(24, "Identity", 1, "set_identity", byteArray.ToArray()); + } + + /// + /// >> set_subs + /// Identity pallet declaration. + /// + public static Method SetSubs(Substrate.NetApi.Model.Types.Base.BaseVec> subs) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(subs.Encode()); + return new Method(24, "Identity", 2, "set_subs", byteArray.ToArray()); + } + + /// + /// >> clear_identity + /// Identity pallet declaration. + /// + public static Method ClearIdentity() + { + System.Collections.Generic.List byteArray = new List(); + return new Method(24, "Identity", 3, "clear_identity", byteArray.ToArray()); + } + + /// + /// >> request_judgement + /// Identity pallet declaration. + /// + public static Method RequestJudgement(Substrate.NetApi.Model.Types.Base.BaseCom reg_index, Substrate.NetApi.Model.Types.Base.BaseCom max_fee) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(reg_index.Encode()); + byteArray.AddRange(max_fee.Encode()); + return new Method(24, "Identity", 4, "request_judgement", byteArray.ToArray()); + } + + /// + /// >> cancel_request + /// Identity pallet declaration. + /// + public static Method CancelRequest(Substrate.NetApi.Model.Types.Primitive.U32 reg_index) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(reg_index.Encode()); + return new Method(24, "Identity", 5, "cancel_request", byteArray.ToArray()); + } + + /// + /// >> set_fee + /// Identity pallet declaration. + /// + public static Method SetFee(Substrate.NetApi.Model.Types.Base.BaseCom index, Substrate.NetApi.Model.Types.Base.BaseCom fee) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(index.Encode()); + byteArray.AddRange(fee.Encode()); + return new Method(24, "Identity", 6, "set_fee", byteArray.ToArray()); + } + + /// + /// >> set_account_id + /// Identity pallet declaration. + /// + public static Method SetAccountId(Substrate.NetApi.Model.Types.Base.BaseCom index, Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress @new) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(index.Encode()); + byteArray.AddRange(@new.Encode()); + return new Method(24, "Identity", 7, "set_account_id", byteArray.ToArray()); + } + + /// + /// >> set_fields + /// Identity pallet declaration. + /// + public static Method SetFields(Substrate.NetApi.Model.Types.Base.BaseCom index, Substrate.NetApi.Model.Types.Primitive.U64 fields) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(index.Encode()); + byteArray.AddRange(fields.Encode()); + return new Method(24, "Identity", 8, "set_fields", byteArray.ToArray()); + } + + /// + /// >> provide_judgement + /// Identity pallet declaration. + /// + public static Method ProvideJudgement(Substrate.NetApi.Model.Types.Base.BaseCom reg_index, Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress target, Substrate.Gear.Api.Generated.Model.pallet_identity.types.EnumJudgement judgement, Substrate.Gear.Api.Generated.Model.primitive_types.H256 identity) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(reg_index.Encode()); + byteArray.AddRange(target.Encode()); + byteArray.AddRange(judgement.Encode()); + byteArray.AddRange(identity.Encode()); + return new Method(24, "Identity", 9, "provide_judgement", byteArray.ToArray()); + } + + /// + /// >> kill_identity + /// Identity pallet declaration. + /// + public static Method KillIdentity(Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress target) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(target.Encode()); + return new Method(24, "Identity", 10, "kill_identity", byteArray.ToArray()); + } + + /// + /// >> add_sub + /// Identity pallet declaration. + /// + public static Method AddSub(Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress sub, Substrate.Gear.Api.Generated.Model.pallet_identity.types.EnumData data) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(sub.Encode()); + byteArray.AddRange(data.Encode()); + return new Method(24, "Identity", 11, "add_sub", byteArray.ToArray()); + } + + /// + /// >> rename_sub + /// Identity pallet declaration. + /// + public static Method RenameSub(Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress sub, Substrate.Gear.Api.Generated.Model.pallet_identity.types.EnumData data) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(sub.Encode()); + byteArray.AddRange(data.Encode()); + return new Method(24, "Identity", 12, "rename_sub", byteArray.ToArray()); + } + + /// + /// >> remove_sub + /// Identity pallet declaration. + /// + public static Method RemoveSub(Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress sub) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(sub.Encode()); + return new Method(24, "Identity", 13, "remove_sub", byteArray.ToArray()); + } + + /// + /// >> quit_sub + /// Identity pallet declaration. + /// + public static Method QuitSub() + { + System.Collections.Generic.List byteArray = new List(); + return new Method(24, "Identity", 14, "quit_sub", byteArray.ToArray()); + } + } + + /// + /// >> IdentityConstants + /// + public sealed class IdentityConstants + { + + /// + /// >> BasicDeposit + /// The amount held on deposit for a registered identity + /// + public Substrate.NetApi.Model.Types.Primitive.U128 BasicDeposit() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U128(); + result.Create("0x00407A10F35A00000000000000000000"); + return result; + } + + /// + /// >> ByteDeposit + /// The amount held on deposit per encoded byte for a registered identity. + /// + public Substrate.NetApi.Model.Types.Primitive.U128 ByteDeposit() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U128(); + result.Create("0x0070C9B28B0000000000000000000000"); + return result; + } + + /// + /// >> SubAccountDeposit + /// The amount held on deposit for a registered subaccount. This should account for the fact + /// that one storage item's value will increase by the size of an account ID, and there will + /// be another trie item whose value is the size of an account ID plus 32 bytes. + /// + public Substrate.NetApi.Model.Types.Primitive.U128 SubAccountDeposit() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U128(); + result.Create("0x0040E59C301200000000000000000000"); + return result; + } + + /// + /// >> MaxSubAccounts + /// The maximum number of sub-accounts allowed per identified account. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 MaxSubAccounts() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x64000000"); + return result; + } + + /// + /// >> MaxRegistrars + /// Maxmimum number of registrars allowed in the system. Needed to bound the complexity + /// of, e.g., updating judgements. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 MaxRegistrars() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x14000000"); + return result; + } + } + + /// + /// >> IdentityErrors + /// + public enum IdentityErrors + { + + /// + /// >> TooManySubAccounts + /// Too many subs-accounts. + /// + TooManySubAccounts, + + /// + /// >> NotFound + /// Account isn't found. + /// + NotFound, + + /// + /// >> NotNamed + /// Account isn't named. + /// + NotNamed, + + /// + /// >> EmptyIndex + /// Empty index. + /// + EmptyIndex, + + /// + /// >> FeeChanged + /// Fee is changed. + /// + FeeChanged, + + /// + /// >> NoIdentity + /// No identity found. + /// + NoIdentity, + + /// + /// >> StickyJudgement + /// Sticky judgement. + /// + StickyJudgement, + + /// + /// >> JudgementGiven + /// Judgement given. + /// + JudgementGiven, + + /// + /// >> InvalidJudgement + /// Invalid judgement. + /// + InvalidJudgement, + + /// + /// >> InvalidIndex + /// The index is invalid. + /// + InvalidIndex, + + /// + /// >> InvalidTarget + /// The target is invalid. + /// + InvalidTarget, + + /// + /// >> TooManyRegistrars + /// Maximum amount of registrars reached. Cannot add any more. + /// + TooManyRegistrars, + + /// + /// >> AlreadyClaimed + /// Account ID is already named. + /// + AlreadyClaimed, + + /// + /// >> NotSub + /// Sender is not a sub-account. + /// + NotSub, + + /// + /// >> NotOwned + /// Sub-account isn't owned by sender. + /// + NotOwned, + + /// + /// >> JudgementForDifferentIdentity + /// The provided judgement was for a different identity. + /// + JudgementForDifferentIdentity, + + /// + /// >> JudgementPaymentFailed + /// Error that occurs when there is an issue paying for judgement. + /// + JudgementPaymentFailed, + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainImOnline.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainImOnline.cs new file mode 100644 index 00000000..26b578b0 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainImOnline.cs @@ -0,0 +1,250 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> ImOnlineStorage + /// + public sealed class ImOnlineStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> ImOnlineStorage Constructor + /// + public ImOnlineStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("ImOnline", "HeartbeatAfter"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("ImOnline", "Keys"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.bounded_collections.weak_bounded_vec.WeakBoundedVecT5))); + _client.StorageKeyDict.Add(new System.Tuple("ImOnline", "ReceivedHeartbeats"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat, + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Base.BaseTuple), typeof(Substrate.NetApi.Model.Types.Primitive.Bool))); + _client.StorageKeyDict.Add(new System.Tuple("ImOnline", "AuthoredBlocks"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat, + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Base.BaseTuple), typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + } + + /// + /// >> HeartbeatAfterParams + /// The block number after which it's ok to send heartbeats in the current + /// session. + /// + /// At the beginning of each session we set this to a value that should fall + /// roughly in the middle of the session duration. The idea is to first wait for + /// the validators to produce a block in the current session, so that the + /// heartbeat later on will not be necessary. + /// + /// This value will only be used as a fallback if we fail to get a proper session + /// progress estimate from `NextSessionRotation`, as those estimates should be + /// more accurate then the value we calculate for `HeartbeatAfter`. + /// + public static string HeartbeatAfterParams() + { + return RequestGenerator.GetStorage("ImOnline", "HeartbeatAfter", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> HeartbeatAfterDefault + /// Default value as hex string + /// + public static string HeartbeatAfterDefault() + { + return "0x00000000"; + } + + /// + /// >> HeartbeatAfter + /// The block number after which it's ok to send heartbeats in the current + /// session. + /// + /// At the beginning of each session we set this to a value that should fall + /// roughly in the middle of the session duration. The idea is to first wait for + /// the validators to produce a block in the current session, so that the + /// heartbeat later on will not be necessary. + /// + /// This value will only be used as a fallback if we fail to get a proper session + /// progress estimate from `NextSessionRotation`, as those estimates should be + /// more accurate then the value we calculate for `HeartbeatAfter`. + /// + public async Task HeartbeatAfter(string blockhash, CancellationToken token) + { + string parameters = ImOnlineStorage.HeartbeatAfterParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> KeysParams + /// The current set of keys that may issue a heartbeat. + /// + public static string KeysParams() + { + return RequestGenerator.GetStorage("ImOnline", "Keys", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> KeysDefault + /// Default value as hex string + /// + public static string KeysDefault() + { + return "0x00"; + } + + /// + /// >> Keys + /// The current set of keys that may issue a heartbeat. + /// + public async Task Keys(string blockhash, CancellationToken token) + { + string parameters = ImOnlineStorage.KeysParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> ReceivedHeartbeatsParams + /// For each session index, we keep a mapping of `SessionIndex` and `AuthIndex`. + /// + public static string ReceivedHeartbeatsParams(Substrate.NetApi.Model.Types.Base.BaseTuple key) + { + return RequestGenerator.GetStorage("ImOnline", "ReceivedHeartbeats", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat, + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, key.Value); + } + + /// + /// >> ReceivedHeartbeatsDefault + /// Default value as hex string + /// + public static string ReceivedHeartbeatsDefault() + { + return "0x00"; + } + + /// + /// >> ReceivedHeartbeats + /// For each session index, we keep a mapping of `SessionIndex` and `AuthIndex`. + /// + public async Task ReceivedHeartbeats(Substrate.NetApi.Model.Types.Base.BaseTuple key, string blockhash, CancellationToken token) + { + string parameters = ImOnlineStorage.ReceivedHeartbeatsParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> AuthoredBlocksParams + /// For each session index, we keep a mapping of `ValidatorId` to the + /// number of blocks authored by the given authority. + /// + public static string AuthoredBlocksParams(Substrate.NetApi.Model.Types.Base.BaseTuple key) + { + return RequestGenerator.GetStorage("ImOnline", "AuthoredBlocks", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat, + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, key.Value); + } + + /// + /// >> AuthoredBlocksDefault + /// Default value as hex string + /// + public static string AuthoredBlocksDefault() + { + return "0x00000000"; + } + + /// + /// >> AuthoredBlocks + /// For each session index, we keep a mapping of `ValidatorId` to the + /// number of blocks authored by the given authority. + /// + public async Task AuthoredBlocks(Substrate.NetApi.Model.Types.Base.BaseTuple key, string blockhash, CancellationToken token) + { + string parameters = ImOnlineStorage.AuthoredBlocksParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + } + + /// + /// >> ImOnlineCalls + /// + public sealed class ImOnlineCalls + { + + /// + /// >> heartbeat + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Heartbeat(Substrate.Gear.Api.Generated.Model.pallet_im_online.Heartbeat heartbeat, Substrate.Gear.Api.Generated.Model.pallet_im_online.sr25519.app_sr25519.Signature signature) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(heartbeat.Encode()); + byteArray.AddRange(signature.Encode()); + return new Method(12, "ImOnline", 0, "heartbeat", byteArray.ToArray()); + } + } + + /// + /// >> ImOnlineConstants + /// + public sealed class ImOnlineConstants + { + + /// + /// >> UnsignedPriority + /// A configuration for base priority of unsigned transactions. + /// + /// This is exposed so that it can be tuned for particular runtime, when + /// multiple pallets send unsigned transactions. + /// + public Substrate.NetApi.Model.Types.Primitive.U64 UnsignedPriority() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U64(); + result.Create("0xFFFFFFFFFFFFFFFF"); + return result; + } + } + + /// + /// >> ImOnlineErrors + /// + public enum ImOnlineErrors + { + + /// + /// >> InvalidKey + /// Non existent public key. + /// + InvalidKey, + + /// + /// >> DuplicatedHeartbeat + /// Duplicated heartbeat. + /// + DuplicatedHeartbeat, + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainMultisig.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainMultisig.cs new file mode 100644 index 00000000..1b8ed4b6 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainMultisig.cs @@ -0,0 +1,276 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> MultisigStorage + /// + public sealed class MultisigStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> MultisigStorage Constructor + /// + public MultisigStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("Multisig", "Multisigs"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat, + Substrate.NetApi.Model.Meta.Storage.Hasher.BlakeTwo128Concat}, typeof(Substrate.NetApi.Model.Types.Base.BaseTuple), typeof(Substrate.Gear.Api.Generated.Model.pallet_multisig.Multisig))); + } + + /// + /// >> MultisigsParams + /// The set of open multisig operations. + /// + public static string MultisigsParams(Substrate.NetApi.Model.Types.Base.BaseTuple key) + { + return RequestGenerator.GetStorage("Multisig", "Multisigs", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat, + Substrate.NetApi.Model.Meta.Storage.Hasher.BlakeTwo128Concat}, key.Value); + } + + /// + /// >> MultisigsDefault + /// Default value as hex string + /// + public static string MultisigsDefault() + { + return "0x00"; + } + + /// + /// >> Multisigs + /// The set of open multisig operations. + /// + public async Task Multisigs(Substrate.NetApi.Model.Types.Base.BaseTuple key, string blockhash, CancellationToken token) + { + string parameters = MultisigStorage.MultisigsParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + } + + /// + /// >> MultisigCalls + /// + public sealed class MultisigCalls + { + + /// + /// >> as_multi_threshold_1 + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method AsMultiThreshold1(Substrate.NetApi.Model.Types.Base.BaseVec other_signatories, Substrate.Gear.Api.Generated.Model.vara_runtime.EnumRuntimeCall call) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(other_signatories.Encode()); + byteArray.AddRange(call.Encode()); + return new Method(26, "Multisig", 0, "as_multi_threshold_1", byteArray.ToArray()); + } + + /// + /// >> as_multi + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method AsMulti(Substrate.NetApi.Model.Types.Primitive.U16 threshold, Substrate.NetApi.Model.Types.Base.BaseVec other_signatories, Substrate.NetApi.Model.Types.Base.BaseOpt maybe_timepoint, Substrate.Gear.Api.Generated.Model.vara_runtime.EnumRuntimeCall call, Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight max_weight) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(threshold.Encode()); + byteArray.AddRange(other_signatories.Encode()); + byteArray.AddRange(maybe_timepoint.Encode()); + byteArray.AddRange(call.Encode()); + byteArray.AddRange(max_weight.Encode()); + return new Method(26, "Multisig", 1, "as_multi", byteArray.ToArray()); + } + + /// + /// >> approve_as_multi + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ApproveAsMulti(Substrate.NetApi.Model.Types.Primitive.U16 threshold, Substrate.NetApi.Model.Types.Base.BaseVec other_signatories, Substrate.NetApi.Model.Types.Base.BaseOpt maybe_timepoint, Substrate.Gear.Api.Generated.Types.Base.Arr32U8 call_hash, Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight max_weight) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(threshold.Encode()); + byteArray.AddRange(other_signatories.Encode()); + byteArray.AddRange(maybe_timepoint.Encode()); + byteArray.AddRange(call_hash.Encode()); + byteArray.AddRange(max_weight.Encode()); + return new Method(26, "Multisig", 2, "approve_as_multi", byteArray.ToArray()); + } + + /// + /// >> cancel_as_multi + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method CancelAsMulti(Substrate.NetApi.Model.Types.Primitive.U16 threshold, Substrate.NetApi.Model.Types.Base.BaseVec other_signatories, Substrate.Gear.Api.Generated.Model.pallet_multisig.Timepoint timepoint, Substrate.Gear.Api.Generated.Types.Base.Arr32U8 call_hash) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(threshold.Encode()); + byteArray.AddRange(other_signatories.Encode()); + byteArray.AddRange(timepoint.Encode()); + byteArray.AddRange(call_hash.Encode()); + return new Method(26, "Multisig", 3, "cancel_as_multi", byteArray.ToArray()); + } + } + + /// + /// >> MultisigConstants + /// + public sealed class MultisigConstants + { + + /// + /// >> DepositBase + /// The base amount of currency needed to reserve for creating a multisig execution or to + /// store a dispatch call for later. + /// + /// This is held for an additional storage item whose value size is + /// `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is + /// `32 + sizeof(AccountId)` bytes. + /// + public Substrate.NetApi.Model.Types.Primitive.U128 DepositBase() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U128(); + result.Create("0x001836B4623100000000000000000000"); + return result; + } + + /// + /// >> DepositFactor + /// The amount of currency needed per unit threshold when creating a multisig execution. + /// + /// This is held for adding 32 bytes more into a pre-existing storage value. + /// + public Substrate.NetApi.Model.Types.Primitive.U128 DepositFactor() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U128(); + result.Create("0x00002E59761100000000000000000000"); + return result; + } + + /// + /// >> MaxSignatories + /// The maximum amount of signatories allowed in the multisig. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 MaxSignatories() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x64000000"); + return result; + } + } + + /// + /// >> MultisigErrors + /// + public enum MultisigErrors + { + + /// + /// >> MinimumThreshold + /// Threshold must be 2 or greater. + /// + MinimumThreshold, + + /// + /// >> AlreadyApproved + /// Call is already approved by this signatory. + /// + AlreadyApproved, + + /// + /// >> NoApprovalsNeeded + /// Call doesn't need any (more) approvals. + /// + NoApprovalsNeeded, + + /// + /// >> TooFewSignatories + /// There are too few signatories in the list. + /// + TooFewSignatories, + + /// + /// >> TooManySignatories + /// There are too many signatories in the list. + /// + TooManySignatories, + + /// + /// >> SignatoriesOutOfOrder + /// The signatories were provided out of order; they should be ordered. + /// + SignatoriesOutOfOrder, + + /// + /// >> SenderInSignatories + /// The sender was contained in the other signatories; it shouldn't be. + /// + SenderInSignatories, + + /// + /// >> NotFound + /// Multisig operation not found when attempting to cancel. + /// + NotFound, + + /// + /// >> NotOwner + /// Only the account that originally created the multisig is able to cancel it. + /// + NotOwner, + + /// + /// >> NoTimepoint + /// No timepoint was given, yet the multisig operation is already underway. + /// + NoTimepoint, + + /// + /// >> WrongTimepoint + /// A different timepoint was given to the multisig operation that is underway. + /// + WrongTimepoint, + + /// + /// >> UnexpectedTimepoint + /// A timepoint was given, yet no multisig operation is underway. + /// + UnexpectedTimepoint, + + /// + /// >> MaxWeightTooLow + /// The maximum weight information provided was too low. + /// + MaxWeightTooLow, + + /// + /// >> AlreadyStored + /// The data to be stored is already stored. + /// + AlreadyStored, + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainNominationPools.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainNominationPools.cs new file mode 100644 index 00000000..5a0117f7 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainNominationPools.cs @@ -0,0 +1,1257 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> NominationPoolsStorage + /// + public sealed class NominationPoolsStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> NominationPoolsStorage Constructor + /// + public NominationPoolsStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("NominationPools", "TotalValueLocked"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U128))); + _client.StorageKeyDict.Add(new System.Tuple("NominationPools", "MinJoinBond"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U128))); + _client.StorageKeyDict.Add(new System.Tuple("NominationPools", "MinCreateBond"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U128))); + _client.StorageKeyDict.Add(new System.Tuple("NominationPools", "MaxPools"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("NominationPools", "MaxPoolMembers"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("NominationPools", "MaxPoolMembersPerPool"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("NominationPools", "GlobalMaxCommission"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.sp_arithmetic.per_things.Perbill))); + _client.StorageKeyDict.Add(new System.Tuple("NominationPools", "PoolMembers"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32), typeof(Substrate.Gear.Api.Generated.Model.pallet_nomination_pools.PoolMember))); + _client.StorageKeyDict.Add(new System.Tuple("NominationPools", "CounterForPoolMembers"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("NominationPools", "BondedPools"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Primitive.U32), typeof(Substrate.Gear.Api.Generated.Model.pallet_nomination_pools.BondedPoolInner))); + _client.StorageKeyDict.Add(new System.Tuple("NominationPools", "CounterForBondedPools"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("NominationPools", "RewardPools"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Primitive.U32), typeof(Substrate.Gear.Api.Generated.Model.pallet_nomination_pools.RewardPool))); + _client.StorageKeyDict.Add(new System.Tuple("NominationPools", "CounterForRewardPools"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("NominationPools", "SubPoolsStorage"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Primitive.U32), typeof(Substrate.Gear.Api.Generated.Model.pallet_nomination_pools.SubPools))); + _client.StorageKeyDict.Add(new System.Tuple("NominationPools", "CounterForSubPoolsStorage"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("NominationPools", "Metadata"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Primitive.U32), typeof(Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec.BoundedVecT29))); + _client.StorageKeyDict.Add(new System.Tuple("NominationPools", "CounterForMetadata"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("NominationPools", "LastPoolId"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("NominationPools", "ReversePoolIdLookup"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32), typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("NominationPools", "CounterForReversePoolIdLookup"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("NominationPools", "ClaimPermissions"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32), typeof(Substrate.Gear.Api.Generated.Model.pallet_nomination_pools.EnumClaimPermission))); + } + + /// + /// >> TotalValueLockedParams + /// The sum of funds across all pools. + /// + /// This might be lower but never higher than the sum of `total_balance` of all [`PoolMembers`] + /// because calling `pool_withdraw_unbonded` might decrease the total stake of the pool's + /// `bonded_account` without adjusting the pallet-internal `UnbondingPool`'s. + /// + public static string TotalValueLockedParams() + { + return RequestGenerator.GetStorage("NominationPools", "TotalValueLocked", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> TotalValueLockedDefault + /// Default value as hex string + /// + public static string TotalValueLockedDefault() + { + return "0x00000000000000000000000000000000"; + } + + /// + /// >> TotalValueLocked + /// The sum of funds across all pools. + /// + /// This might be lower but never higher than the sum of `total_balance` of all [`PoolMembers`] + /// because calling `pool_withdraw_unbonded` might decrease the total stake of the pool's + /// `bonded_account` without adjusting the pallet-internal `UnbondingPool`'s. + /// + public async Task TotalValueLocked(string blockhash, CancellationToken token) + { + string parameters = NominationPoolsStorage.TotalValueLockedParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> MinJoinBondParams + /// Minimum amount to bond to join a pool. + /// + public static string MinJoinBondParams() + { + return RequestGenerator.GetStorage("NominationPools", "MinJoinBond", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> MinJoinBondDefault + /// Default value as hex string + /// + public static string MinJoinBondDefault() + { + return "0x00000000000000000000000000000000"; + } + + /// + /// >> MinJoinBond + /// Minimum amount to bond to join a pool. + /// + public async Task MinJoinBond(string blockhash, CancellationToken token) + { + string parameters = NominationPoolsStorage.MinJoinBondParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> MinCreateBondParams + /// Minimum bond required to create a pool. + /// + /// This is the amount that the depositor must put as their initial stake in the pool, as an + /// indication of "skin in the game". + /// + /// This is the value that will always exist in the staking ledger of the pool bonded account + /// while all other accounts leave. + /// + public static string MinCreateBondParams() + { + return RequestGenerator.GetStorage("NominationPools", "MinCreateBond", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> MinCreateBondDefault + /// Default value as hex string + /// + public static string MinCreateBondDefault() + { + return "0x00000000000000000000000000000000"; + } + + /// + /// >> MinCreateBond + /// Minimum bond required to create a pool. + /// + /// This is the amount that the depositor must put as their initial stake in the pool, as an + /// indication of "skin in the game". + /// + /// This is the value that will always exist in the staking ledger of the pool bonded account + /// while all other accounts leave. + /// + public async Task MinCreateBond(string blockhash, CancellationToken token) + { + string parameters = NominationPoolsStorage.MinCreateBondParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> MaxPoolsParams + /// Maximum number of nomination pools that can exist. If `None`, then an unbounded number of + /// pools can exist. + /// + public static string MaxPoolsParams() + { + return RequestGenerator.GetStorage("NominationPools", "MaxPools", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> MaxPoolsDefault + /// Default value as hex string + /// + public static string MaxPoolsDefault() + { + return "0x00"; + } + + /// + /// >> MaxPools + /// Maximum number of nomination pools that can exist. If `None`, then an unbounded number of + /// pools can exist. + /// + public async Task MaxPools(string blockhash, CancellationToken token) + { + string parameters = NominationPoolsStorage.MaxPoolsParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> MaxPoolMembersParams + /// Maximum number of members that can exist in the system. If `None`, then the count + /// members are not bound on a system wide basis. + /// + public static string MaxPoolMembersParams() + { + return RequestGenerator.GetStorage("NominationPools", "MaxPoolMembers", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> MaxPoolMembersDefault + /// Default value as hex string + /// + public static string MaxPoolMembersDefault() + { + return "0x00"; + } + + /// + /// >> MaxPoolMembers + /// Maximum number of members that can exist in the system. If `None`, then the count + /// members are not bound on a system wide basis. + /// + public async Task MaxPoolMembers(string blockhash, CancellationToken token) + { + string parameters = NominationPoolsStorage.MaxPoolMembersParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> MaxPoolMembersPerPoolParams + /// Maximum number of members that may belong to pool. If `None`, then the count of + /// members is not bound on a per pool basis. + /// + public static string MaxPoolMembersPerPoolParams() + { + return RequestGenerator.GetStorage("NominationPools", "MaxPoolMembersPerPool", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> MaxPoolMembersPerPoolDefault + /// Default value as hex string + /// + public static string MaxPoolMembersPerPoolDefault() + { + return "0x00"; + } + + /// + /// >> MaxPoolMembersPerPool + /// Maximum number of members that may belong to pool. If `None`, then the count of + /// members is not bound on a per pool basis. + /// + public async Task MaxPoolMembersPerPool(string blockhash, CancellationToken token) + { + string parameters = NominationPoolsStorage.MaxPoolMembersPerPoolParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> GlobalMaxCommissionParams + /// The maximum commission that can be charged by a pool. Used on commission payouts to bound + /// pool commissions that are > `GlobalMaxCommission`, necessary if a future + /// `GlobalMaxCommission` is lower than some current pool commissions. + /// + public static string GlobalMaxCommissionParams() + { + return RequestGenerator.GetStorage("NominationPools", "GlobalMaxCommission", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> GlobalMaxCommissionDefault + /// Default value as hex string + /// + public static string GlobalMaxCommissionDefault() + { + return "0x00"; + } + + /// + /// >> GlobalMaxCommission + /// The maximum commission that can be charged by a pool. Used on commission payouts to bound + /// pool commissions that are > `GlobalMaxCommission`, necessary if a future + /// `GlobalMaxCommission` is lower than some current pool commissions. + /// + public async Task GlobalMaxCommission(string blockhash, CancellationToken token) + { + string parameters = NominationPoolsStorage.GlobalMaxCommissionParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> PoolMembersParams + /// Active members. + /// + /// TWOX-NOTE: SAFE since `AccountId` is a secure hash. + /// + public static string PoolMembersParams(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key) + { + return RequestGenerator.GetStorage("NominationPools", "PoolMembers", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> PoolMembersDefault + /// Default value as hex string + /// + public static string PoolMembersDefault() + { + return "0x00"; + } + + /// + /// >> PoolMembers + /// Active members. + /// + /// TWOX-NOTE: SAFE since `AccountId` is a secure hash. + /// + public async Task PoolMembers(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key, string blockhash, CancellationToken token) + { + string parameters = NominationPoolsStorage.PoolMembersParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> CounterForPoolMembersParams + /// Counter for the related counted storage map + /// + public static string CounterForPoolMembersParams() + { + return RequestGenerator.GetStorage("NominationPools", "CounterForPoolMembers", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> CounterForPoolMembersDefault + /// Default value as hex string + /// + public static string CounterForPoolMembersDefault() + { + return "0x00000000"; + } + + /// + /// >> CounterForPoolMembers + /// Counter for the related counted storage map + /// + public async Task CounterForPoolMembers(string blockhash, CancellationToken token) + { + string parameters = NominationPoolsStorage.CounterForPoolMembersParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> BondedPoolsParams + /// Storage for bonded pools. + /// + public static string BondedPoolsParams(Substrate.NetApi.Model.Types.Primitive.U32 key) + { + return RequestGenerator.GetStorage("NominationPools", "BondedPools", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> BondedPoolsDefault + /// Default value as hex string + /// + public static string BondedPoolsDefault() + { + return "0x00"; + } + + /// + /// >> BondedPools + /// Storage for bonded pools. + /// + public async Task BondedPools(Substrate.NetApi.Model.Types.Primitive.U32 key, string blockhash, CancellationToken token) + { + string parameters = NominationPoolsStorage.BondedPoolsParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> CounterForBondedPoolsParams + /// Counter for the related counted storage map + /// + public static string CounterForBondedPoolsParams() + { + return RequestGenerator.GetStorage("NominationPools", "CounterForBondedPools", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> CounterForBondedPoolsDefault + /// Default value as hex string + /// + public static string CounterForBondedPoolsDefault() + { + return "0x00000000"; + } + + /// + /// >> CounterForBondedPools + /// Counter for the related counted storage map + /// + public async Task CounterForBondedPools(string blockhash, CancellationToken token) + { + string parameters = NominationPoolsStorage.CounterForBondedPoolsParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> RewardPoolsParams + /// Reward pools. This is where there rewards for each pool accumulate. When a members payout is + /// claimed, the balance comes out fo the reward pool. Keyed by the bonded pools account. + /// + public static string RewardPoolsParams(Substrate.NetApi.Model.Types.Primitive.U32 key) + { + return RequestGenerator.GetStorage("NominationPools", "RewardPools", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> RewardPoolsDefault + /// Default value as hex string + /// + public static string RewardPoolsDefault() + { + return "0x00"; + } + + /// + /// >> RewardPools + /// Reward pools. This is where there rewards for each pool accumulate. When a members payout is + /// claimed, the balance comes out fo the reward pool. Keyed by the bonded pools account. + /// + public async Task RewardPools(Substrate.NetApi.Model.Types.Primitive.U32 key, string blockhash, CancellationToken token) + { + string parameters = NominationPoolsStorage.RewardPoolsParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> CounterForRewardPoolsParams + /// Counter for the related counted storage map + /// + public static string CounterForRewardPoolsParams() + { + return RequestGenerator.GetStorage("NominationPools", "CounterForRewardPools", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> CounterForRewardPoolsDefault + /// Default value as hex string + /// + public static string CounterForRewardPoolsDefault() + { + return "0x00000000"; + } + + /// + /// >> CounterForRewardPools + /// Counter for the related counted storage map + /// + public async Task CounterForRewardPools(string blockhash, CancellationToken token) + { + string parameters = NominationPoolsStorage.CounterForRewardPoolsParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> SubPoolsStorageParams + /// Groups of unbonding pools. Each group of unbonding pools belongs to a + /// bonded pool, hence the name sub-pools. Keyed by the bonded pools account. + /// + public static string SubPoolsStorageParams(Substrate.NetApi.Model.Types.Primitive.U32 key) + { + return RequestGenerator.GetStorage("NominationPools", "SubPoolsStorage", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> SubPoolsStorageDefault + /// Default value as hex string + /// + public static string SubPoolsStorageDefault() + { + return "0x00"; + } + + /// + /// >> SubPoolsStorage + /// Groups of unbonding pools. Each group of unbonding pools belongs to a + /// bonded pool, hence the name sub-pools. Keyed by the bonded pools account. + /// + public async Task SubPoolsStorage(Substrate.NetApi.Model.Types.Primitive.U32 key, string blockhash, CancellationToken token) + { + string parameters = NominationPoolsStorage.SubPoolsStorageParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> CounterForSubPoolsStorageParams + /// Counter for the related counted storage map + /// + public static string CounterForSubPoolsStorageParams() + { + return RequestGenerator.GetStorage("NominationPools", "CounterForSubPoolsStorage", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> CounterForSubPoolsStorageDefault + /// Default value as hex string + /// + public static string CounterForSubPoolsStorageDefault() + { + return "0x00000000"; + } + + /// + /// >> CounterForSubPoolsStorage + /// Counter for the related counted storage map + /// + public async Task CounterForSubPoolsStorage(string blockhash, CancellationToken token) + { + string parameters = NominationPoolsStorage.CounterForSubPoolsStorageParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> MetadataParams + /// Metadata for the pool. + /// + public static string MetadataParams(Substrate.NetApi.Model.Types.Primitive.U32 key) + { + return RequestGenerator.GetStorage("NominationPools", "Metadata", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> MetadataDefault + /// Default value as hex string + /// + public static string MetadataDefault() + { + return "0x00"; + } + + /// + /// >> Metadata + /// Metadata for the pool. + /// + public async Task Metadata(Substrate.NetApi.Model.Types.Primitive.U32 key, string blockhash, CancellationToken token) + { + string parameters = NominationPoolsStorage.MetadataParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> CounterForMetadataParams + /// Counter for the related counted storage map + /// + public static string CounterForMetadataParams() + { + return RequestGenerator.GetStorage("NominationPools", "CounterForMetadata", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> CounterForMetadataDefault + /// Default value as hex string + /// + public static string CounterForMetadataDefault() + { + return "0x00000000"; + } + + /// + /// >> CounterForMetadata + /// Counter for the related counted storage map + /// + public async Task CounterForMetadata(string blockhash, CancellationToken token) + { + string parameters = NominationPoolsStorage.CounterForMetadataParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> LastPoolIdParams + /// Ever increasing number of all pools created so far. + /// + public static string LastPoolIdParams() + { + return RequestGenerator.GetStorage("NominationPools", "LastPoolId", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> LastPoolIdDefault + /// Default value as hex string + /// + public static string LastPoolIdDefault() + { + return "0x00000000"; + } + + /// + /// >> LastPoolId + /// Ever increasing number of all pools created so far. + /// + public async Task LastPoolId(string blockhash, CancellationToken token) + { + string parameters = NominationPoolsStorage.LastPoolIdParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> ReversePoolIdLookupParams + /// A reverse lookup from the pool's account id to its id. + /// + /// This is only used for slashing. In all other instances, the pool id is used, and the + /// accounts are deterministically derived from it. + /// + public static string ReversePoolIdLookupParams(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key) + { + return RequestGenerator.GetStorage("NominationPools", "ReversePoolIdLookup", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> ReversePoolIdLookupDefault + /// Default value as hex string + /// + public static string ReversePoolIdLookupDefault() + { + return "0x00"; + } + + /// + /// >> ReversePoolIdLookup + /// A reverse lookup from the pool's account id to its id. + /// + /// This is only used for slashing. In all other instances, the pool id is used, and the + /// accounts are deterministically derived from it. + /// + public async Task ReversePoolIdLookup(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key, string blockhash, CancellationToken token) + { + string parameters = NominationPoolsStorage.ReversePoolIdLookupParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> CounterForReversePoolIdLookupParams + /// Counter for the related counted storage map + /// + public static string CounterForReversePoolIdLookupParams() + { + return RequestGenerator.GetStorage("NominationPools", "CounterForReversePoolIdLookup", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> CounterForReversePoolIdLookupDefault + /// Default value as hex string + /// + public static string CounterForReversePoolIdLookupDefault() + { + return "0x00000000"; + } + + /// + /// >> CounterForReversePoolIdLookup + /// Counter for the related counted storage map + /// + public async Task CounterForReversePoolIdLookup(string blockhash, CancellationToken token) + { + string parameters = NominationPoolsStorage.CounterForReversePoolIdLookupParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> ClaimPermissionsParams + /// Map from a pool member account to their opted claim permission. + /// + public static string ClaimPermissionsParams(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key) + { + return RequestGenerator.GetStorage("NominationPools", "ClaimPermissions", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> ClaimPermissionsDefault + /// Default value as hex string + /// + public static string ClaimPermissionsDefault() + { + return "0x00"; + } + + /// + /// >> ClaimPermissions + /// Map from a pool member account to their opted claim permission. + /// + public async Task ClaimPermissions(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key, string blockhash, CancellationToken token) + { + string parameters = NominationPoolsStorage.ClaimPermissionsParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + } + + /// + /// >> NominationPoolsCalls + /// + public sealed class NominationPoolsCalls + { + + /// + /// >> join + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Join(Substrate.NetApi.Model.Types.Base.BaseCom amount, Substrate.NetApi.Model.Types.Primitive.U32 pool_id) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(amount.Encode()); + byteArray.AddRange(pool_id.Encode()); + return new Method(31, "NominationPools", 0, "join", byteArray.ToArray()); + } + + /// + /// >> bond_extra + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method BondExtra(Substrate.Gear.Api.Generated.Model.pallet_nomination_pools.EnumBondExtra extra) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(extra.Encode()); + return new Method(31, "NominationPools", 1, "bond_extra", byteArray.ToArray()); + } + + /// + /// >> claim_payout + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ClaimPayout() + { + System.Collections.Generic.List byteArray = new List(); + return new Method(31, "NominationPools", 2, "claim_payout", byteArray.ToArray()); + } + + /// + /// >> unbond + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Unbond(Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress member_account, Substrate.NetApi.Model.Types.Base.BaseCom unbonding_points) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(member_account.Encode()); + byteArray.AddRange(unbonding_points.Encode()); + return new Method(31, "NominationPools", 3, "unbond", byteArray.ToArray()); + } + + /// + /// >> pool_withdraw_unbonded + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method PoolWithdrawUnbonded(Substrate.NetApi.Model.Types.Primitive.U32 pool_id, Substrate.NetApi.Model.Types.Primitive.U32 num_slashing_spans) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(pool_id.Encode()); + byteArray.AddRange(num_slashing_spans.Encode()); + return new Method(31, "NominationPools", 4, "pool_withdraw_unbonded", byteArray.ToArray()); + } + + /// + /// >> withdraw_unbonded + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method WithdrawUnbonded(Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress member_account, Substrate.NetApi.Model.Types.Primitive.U32 num_slashing_spans) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(member_account.Encode()); + byteArray.AddRange(num_slashing_spans.Encode()); + return new Method(31, "NominationPools", 5, "withdraw_unbonded", byteArray.ToArray()); + } + + /// + /// >> create + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Create(Substrate.NetApi.Model.Types.Base.BaseCom amount, Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress root, Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress nominator, Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress bouncer) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(amount.Encode()); + byteArray.AddRange(root.Encode()); + byteArray.AddRange(nominator.Encode()); + byteArray.AddRange(bouncer.Encode()); + return new Method(31, "NominationPools", 6, "create", byteArray.ToArray()); + } + + /// + /// >> create_with_pool_id + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method CreateWithPoolId(Substrate.NetApi.Model.Types.Base.BaseCom amount, Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress root, Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress nominator, Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress bouncer, Substrate.NetApi.Model.Types.Primitive.U32 pool_id) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(amount.Encode()); + byteArray.AddRange(root.Encode()); + byteArray.AddRange(nominator.Encode()); + byteArray.AddRange(bouncer.Encode()); + byteArray.AddRange(pool_id.Encode()); + return new Method(31, "NominationPools", 7, "create_with_pool_id", byteArray.ToArray()); + } + + /// + /// >> nominate + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Nominate(Substrate.NetApi.Model.Types.Primitive.U32 pool_id, Substrate.NetApi.Model.Types.Base.BaseVec validators) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(pool_id.Encode()); + byteArray.AddRange(validators.Encode()); + return new Method(31, "NominationPools", 8, "nominate", byteArray.ToArray()); + } + + /// + /// >> set_state + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method SetState(Substrate.NetApi.Model.Types.Primitive.U32 pool_id, Substrate.Gear.Api.Generated.Model.pallet_nomination_pools.EnumPoolState state) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(pool_id.Encode()); + byteArray.AddRange(state.Encode()); + return new Method(31, "NominationPools", 9, "set_state", byteArray.ToArray()); + } + + /// + /// >> set_metadata + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method SetMetadata(Substrate.NetApi.Model.Types.Primitive.U32 pool_id, Substrate.NetApi.Model.Types.Base.BaseVec metadata) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(pool_id.Encode()); + byteArray.AddRange(metadata.Encode()); + return new Method(31, "NominationPools", 10, "set_metadata", byteArray.ToArray()); + } + + /// + /// >> set_configs + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method SetConfigs(Substrate.Gear.Api.Generated.Model.pallet_nomination_pools.EnumConfigOp min_join_bond, Substrate.Gear.Api.Generated.Model.pallet_nomination_pools.EnumConfigOp min_create_bond, Substrate.Gear.Api.Generated.Model.pallet_nomination_pools.EnumConfigOp max_pools, Substrate.Gear.Api.Generated.Model.pallet_nomination_pools.EnumConfigOp max_members, Substrate.Gear.Api.Generated.Model.pallet_nomination_pools.EnumConfigOp max_members_per_pool, Substrate.Gear.Api.Generated.Model.pallet_nomination_pools.EnumConfigOp global_max_commission) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(min_join_bond.Encode()); + byteArray.AddRange(min_create_bond.Encode()); + byteArray.AddRange(max_pools.Encode()); + byteArray.AddRange(max_members.Encode()); + byteArray.AddRange(max_members_per_pool.Encode()); + byteArray.AddRange(global_max_commission.Encode()); + return new Method(31, "NominationPools", 11, "set_configs", byteArray.ToArray()); + } + + /// + /// >> update_roles + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method UpdateRoles(Substrate.NetApi.Model.Types.Primitive.U32 pool_id, Substrate.Gear.Api.Generated.Model.pallet_nomination_pools.EnumConfigOp new_root, Substrate.Gear.Api.Generated.Model.pallet_nomination_pools.EnumConfigOp new_nominator, Substrate.Gear.Api.Generated.Model.pallet_nomination_pools.EnumConfigOp new_bouncer) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(pool_id.Encode()); + byteArray.AddRange(new_root.Encode()); + byteArray.AddRange(new_nominator.Encode()); + byteArray.AddRange(new_bouncer.Encode()); + return new Method(31, "NominationPools", 12, "update_roles", byteArray.ToArray()); + } + + /// + /// >> chill + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Chill(Substrate.NetApi.Model.Types.Primitive.U32 pool_id) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(pool_id.Encode()); + return new Method(31, "NominationPools", 13, "chill", byteArray.ToArray()); + } + + /// + /// >> bond_extra_other + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method BondExtraOther(Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress member, Substrate.Gear.Api.Generated.Model.pallet_nomination_pools.EnumBondExtra extra) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(member.Encode()); + byteArray.AddRange(extra.Encode()); + return new Method(31, "NominationPools", 14, "bond_extra_other", byteArray.ToArray()); + } + + /// + /// >> set_claim_permission + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method SetClaimPermission(Substrate.Gear.Api.Generated.Model.pallet_nomination_pools.EnumClaimPermission permission) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(permission.Encode()); + return new Method(31, "NominationPools", 15, "set_claim_permission", byteArray.ToArray()); + } + + /// + /// >> claim_payout_other + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ClaimPayoutOther(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 other) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(other.Encode()); + return new Method(31, "NominationPools", 16, "claim_payout_other", byteArray.ToArray()); + } + + /// + /// >> set_commission + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method SetCommission(Substrate.NetApi.Model.Types.Primitive.U32 pool_id, Substrate.NetApi.Model.Types.Base.BaseOpt> new_commission) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(pool_id.Encode()); + byteArray.AddRange(new_commission.Encode()); + return new Method(31, "NominationPools", 17, "set_commission", byteArray.ToArray()); + } + + /// + /// >> set_commission_max + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method SetCommissionMax(Substrate.NetApi.Model.Types.Primitive.U32 pool_id, Substrate.Gear.Api.Generated.Model.sp_arithmetic.per_things.Perbill max_commission) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(pool_id.Encode()); + byteArray.AddRange(max_commission.Encode()); + return new Method(31, "NominationPools", 18, "set_commission_max", byteArray.ToArray()); + } + + /// + /// >> set_commission_change_rate + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method SetCommissionChangeRate(Substrate.NetApi.Model.Types.Primitive.U32 pool_id, Substrate.Gear.Api.Generated.Model.pallet_nomination_pools.CommissionChangeRate change_rate) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(pool_id.Encode()); + byteArray.AddRange(change_rate.Encode()); + return new Method(31, "NominationPools", 19, "set_commission_change_rate", byteArray.ToArray()); + } + + /// + /// >> claim_commission + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ClaimCommission(Substrate.NetApi.Model.Types.Primitive.U32 pool_id) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(pool_id.Encode()); + return new Method(31, "NominationPools", 20, "claim_commission", byteArray.ToArray()); + } + + /// + /// >> adjust_pool_deposit + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method AdjustPoolDeposit(Substrate.NetApi.Model.Types.Primitive.U32 pool_id) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(pool_id.Encode()); + return new Method(31, "NominationPools", 21, "adjust_pool_deposit", byteArray.ToArray()); + } + } + + /// + /// >> NominationPoolsConstants + /// + public sealed class NominationPoolsConstants + { + + /// + /// >> PalletId + /// The nomination pool's pallet id. + /// + public Substrate.Gear.Api.Generated.Model.frame_support.PalletId PalletId() + { + var result = new Substrate.Gear.Api.Generated.Model.frame_support.PalletId(); + result.Create("0x70792F6E6F706C73"); + return result; + } + + /// + /// >> MaxPointsToBalance + /// The maximum pool points-to-balance ratio that an `open` pool can have. + /// + /// This is important in the event slashing takes place and the pool's points-to-balance + /// ratio becomes disproportional. + /// + /// Moreover, this relates to the `RewardCounter` type as well, as the arithmetic operations + /// are a function of number of points, and by setting this value to e.g. 10, you ensure + /// that the total number of points in the system are at most 10 times the total_issuance of + /// the chain, in the absolute worse case. + /// + /// For a value of 10, the threshold would be a pool points-to-balance ratio of 10:1. + /// Such a scenario would also be the equivalent of the pool being 90% slashed. + /// + public Substrate.NetApi.Model.Types.Primitive.U8 MaxPointsToBalance() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U8(); + result.Create("0x0A"); + return result; + } + } + + /// + /// >> NominationPoolsErrors + /// + public enum NominationPoolsErrors + { + + /// + /// >> PoolNotFound + /// A (bonded) pool id does not exist. + /// + PoolNotFound, + + /// + /// >> PoolMemberNotFound + /// An account is not a member. + /// + PoolMemberNotFound, + + /// + /// >> RewardPoolNotFound + /// A reward pool does not exist. In all cases this is a system logic error. + /// + RewardPoolNotFound, + + /// + /// >> SubPoolsNotFound + /// A sub pool does not exist. + /// + SubPoolsNotFound, + + /// + /// >> AccountBelongsToOtherPool + /// An account is already delegating in another pool. An account may only belong to one + /// pool at a time. + /// + AccountBelongsToOtherPool, + + /// + /// >> FullyUnbonding + /// The member is fully unbonded (and thus cannot access the bonded and reward pool + /// anymore to, for example, collect rewards). + /// + FullyUnbonding, + + /// + /// >> MaxUnbondingLimit + /// The member cannot unbond further chunks due to reaching the limit. + /// + MaxUnbondingLimit, + + /// + /// >> CannotWithdrawAny + /// None of the funds can be withdrawn yet because the bonding duration has not passed. + /// + CannotWithdrawAny, + + /// + /// >> MinimumBondNotMet + /// The amount does not meet the minimum bond to either join or create a pool. + /// + /// The depositor can never unbond to a value less than `Pallet::depositor_min_bond`. The + /// caller does not have nominating permissions for the pool. Members can never unbond to a + /// value below `MinJoinBond`. + /// + MinimumBondNotMet, + + /// + /// >> OverflowRisk + /// The transaction could not be executed due to overflow risk for the pool. + /// + OverflowRisk, + + /// + /// >> NotDestroying + /// A pool must be in [`PoolState::Destroying`] in order for the depositor to unbond or for + /// other members to be permissionlessly unbonded. + /// + NotDestroying, + + /// + /// >> NotNominator + /// The caller does not have nominating permissions for the pool. + /// + NotNominator, + + /// + /// >> NotKickerOrDestroying + /// Either a) the caller cannot make a valid kick or b) the pool is not destroying. + /// + NotKickerOrDestroying, + + /// + /// >> NotOpen + /// The pool is not open to join + /// + NotOpen, + + /// + /// >> MaxPools + /// The system is maxed out on pools. + /// + MaxPools, + + /// + /// >> MaxPoolMembers + /// Too many members in the pool or system. + /// + MaxPoolMembers, + + /// + /// >> CanNotChangeState + /// The pools state cannot be changed. + /// + CanNotChangeState, + + /// + /// >> DoesNotHavePermission + /// The caller does not have adequate permissions. + /// + DoesNotHavePermission, + + /// + /// >> MetadataExceedsMaxLen + /// Metadata exceeds [`Config::MaxMetadataLen`] + /// + MetadataExceedsMaxLen, + + /// + /// >> Defensive + /// Some error occurred that should never happen. This should be reported to the + /// maintainers. + /// + Defensive, + + /// + /// >> PartialUnbondNotAllowedPermissionlessly + /// Partial unbonding now allowed permissionlessly. + /// + PartialUnbondNotAllowedPermissionlessly, + + /// + /// >> MaxCommissionRestricted + /// The pool's max commission cannot be set higher than the existing value. + /// + MaxCommissionRestricted, + + /// + /// >> CommissionExceedsMaximum + /// The supplied commission exceeds the max allowed commission. + /// + CommissionExceedsMaximum, + + /// + /// >> CommissionExceedsGlobalMaximum + /// The supplied commission exceeds global maximum commission. + /// + CommissionExceedsGlobalMaximum, + + /// + /// >> CommissionChangeThrottled + /// Not enough blocks have surpassed since the last commission update. + /// + CommissionChangeThrottled, + + /// + /// >> CommissionChangeRateNotAllowed + /// The submitted changes to commission change rate are not allowed. + /// + CommissionChangeRateNotAllowed, + + /// + /// >> NoPendingCommission + /// There is no pending commission to claim. + /// + NoPendingCommission, + + /// + /// >> NoCommissionCurrentSet + /// No commission current has been set. + /// + NoCommissionCurrentSet, + + /// + /// >> PoolIdInUse + /// Pool id currently in use. + /// + PoolIdInUse, + + /// + /// >> InvalidPoolId + /// Pool id provided is not correct/usable. + /// + InvalidPoolId, + + /// + /// >> BondExtraRestricted + /// Bonding extra is restricted to the exact pending reward amount. + /// + BondExtraRestricted, + + /// + /// >> NothingToAdjust + /// No imbalance in the ED deposit for the pool. + /// + NothingToAdjust, + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainOffences.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainOffences.cs new file mode 100644 index 00000000..e947e188 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainOffences.cs @@ -0,0 +1,122 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> OffencesStorage + /// + public sealed class OffencesStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> OffencesStorage Constructor + /// + public OffencesStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("Offences", "Reports"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.Gear.Api.Generated.Model.primitive_types.H256), typeof(Substrate.Gear.Api.Generated.Model.sp_staking.offence.OffenceDetails))); + _client.StorageKeyDict.Add(new System.Tuple("Offences", "ConcurrentReportsIndex"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat, + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Base.BaseTuple>), typeof(Substrate.NetApi.Model.Types.Base.BaseVec))); + } + + /// + /// >> ReportsParams + /// The primary structure that holds all offence records keyed by report identifiers. + /// + public static string ReportsParams(Substrate.Gear.Api.Generated.Model.primitive_types.H256 key) + { + return RequestGenerator.GetStorage("Offences", "Reports", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> ReportsDefault + /// Default value as hex string + /// + public static string ReportsDefault() + { + return "0x00"; + } + + /// + /// >> Reports + /// The primary structure that holds all offence records keyed by report identifiers. + /// + public async Task Reports(Substrate.Gear.Api.Generated.Model.primitive_types.H256 key, string blockhash, CancellationToken token) + { + string parameters = OffencesStorage.ReportsParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> ConcurrentReportsIndexParams + /// A vector of reports of the same kind that happened at the same time slot. + /// + public static string ConcurrentReportsIndexParams(Substrate.NetApi.Model.Types.Base.BaseTuple> key) + { + return RequestGenerator.GetStorage("Offences", "ConcurrentReportsIndex", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat, + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, key.Value); + } + + /// + /// >> ConcurrentReportsIndexDefault + /// Default value as hex string + /// + public static string ConcurrentReportsIndexDefault() + { + return "0x00"; + } + + /// + /// >> ConcurrentReportsIndex + /// A vector of reports of the same kind that happened at the same time slot. + /// + public async Task> ConcurrentReportsIndex(Substrate.NetApi.Model.Types.Base.BaseTuple> key, string blockhash, CancellationToken token) + { + string parameters = OffencesStorage.ConcurrentReportsIndexParams(key); + var result = await _client.GetStorageAsync>(parameters, blockhash, token); + return result; + } + } + + /// + /// >> OffencesCalls + /// + public sealed class OffencesCalls + { + } + + /// + /// >> OffencesConstants + /// + public sealed class OffencesConstants + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainOrigins.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainOrigins.cs new file mode 100644 index 00000000..c185be37 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainOrigins.cs @@ -0,0 +1,55 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> OriginsStorage + /// + public sealed class OriginsStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> OriginsStorage Constructor + /// + public OriginsStorage(SubstrateClientExt client) + { + this._client = client; + } + } + + /// + /// >> OriginsCalls + /// + public sealed class OriginsCalls + { + } + + /// + /// >> OriginsConstants + /// + public sealed class OriginsConstants + { + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainPreimage.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainPreimage.cs new file mode 100644 index 00000000..77ed8371 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainPreimage.cs @@ -0,0 +1,262 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> PreimageStorage + /// + public sealed class PreimageStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> PreimageStorage Constructor + /// + public PreimageStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("Preimage", "StatusFor"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, typeof(Substrate.Gear.Api.Generated.Model.primitive_types.H256), typeof(Substrate.Gear.Api.Generated.Model.pallet_preimage.EnumOldRequestStatus))); + _client.StorageKeyDict.Add(new System.Tuple("Preimage", "RequestStatusFor"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, typeof(Substrate.Gear.Api.Generated.Model.primitive_types.H256), typeof(Substrate.Gear.Api.Generated.Model.pallet_preimage.EnumRequestStatus))); + _client.StorageKeyDict.Add(new System.Tuple("Preimage", "PreimageFor"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, typeof(Substrate.NetApi.Model.Types.Base.BaseTuple), typeof(Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec.BoundedVecT19))); + } + + /// + /// >> StatusForParams + /// The request status of a given hash. + /// + public static string StatusForParams(Substrate.Gear.Api.Generated.Model.primitive_types.H256 key) + { + return RequestGenerator.GetStorage("Preimage", "StatusFor", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> StatusForDefault + /// Default value as hex string + /// + public static string StatusForDefault() + { + return "0x00"; + } + + /// + /// >> StatusFor + /// The request status of a given hash. + /// + public async Task StatusFor(Substrate.Gear.Api.Generated.Model.primitive_types.H256 key, string blockhash, CancellationToken token) + { + string parameters = PreimageStorage.StatusForParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> RequestStatusForParams + /// The request status of a given hash. + /// + public static string RequestStatusForParams(Substrate.Gear.Api.Generated.Model.primitive_types.H256 key) + { + return RequestGenerator.GetStorage("Preimage", "RequestStatusFor", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> RequestStatusForDefault + /// Default value as hex string + /// + public static string RequestStatusForDefault() + { + return "0x00"; + } + + /// + /// >> RequestStatusFor + /// The request status of a given hash. + /// + public async Task RequestStatusFor(Substrate.Gear.Api.Generated.Model.primitive_types.H256 key, string blockhash, CancellationToken token) + { + string parameters = PreimageStorage.RequestStatusForParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> PreimageForParams + /// + public static string PreimageForParams(Substrate.NetApi.Model.Types.Base.BaseTuple key) + { + return RequestGenerator.GetStorage("Preimage", "PreimageFor", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Identity}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> PreimageForDefault + /// Default value as hex string + /// + public static string PreimageForDefault() + { + return "0x00"; + } + + /// + /// >> PreimageFor + /// + public async Task PreimageFor(Substrate.NetApi.Model.Types.Base.BaseTuple key, string blockhash, CancellationToken token) + { + string parameters = PreimageStorage.PreimageForParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + } + + /// + /// >> PreimageCalls + /// + public sealed class PreimageCalls + { + + /// + /// >> note_preimage + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method NotePreimage(Substrate.NetApi.Model.Types.Base.BaseVec bytes) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(bytes.Encode()); + return new Method(23, "Preimage", 0, "note_preimage", byteArray.ToArray()); + } + + /// + /// >> unnote_preimage + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method UnnotePreimage(Substrate.Gear.Api.Generated.Model.primitive_types.H256 hash) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(hash.Encode()); + return new Method(23, "Preimage", 1, "unnote_preimage", byteArray.ToArray()); + } + + /// + /// >> request_preimage + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method RequestPreimage(Substrate.Gear.Api.Generated.Model.primitive_types.H256 hash) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(hash.Encode()); + return new Method(23, "Preimage", 2, "request_preimage", byteArray.ToArray()); + } + + /// + /// >> unrequest_preimage + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method UnrequestPreimage(Substrate.Gear.Api.Generated.Model.primitive_types.H256 hash) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(hash.Encode()); + return new Method(23, "Preimage", 3, "unrequest_preimage", byteArray.ToArray()); + } + + /// + /// >> ensure_updated + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method EnsureUpdated(Substrate.NetApi.Model.Types.Base.BaseVec hashes) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(hashes.Encode()); + return new Method(23, "Preimage", 4, "ensure_updated", byteArray.ToArray()); + } + } + + /// + /// >> PreimageConstants + /// + public sealed class PreimageConstants + { + } + + /// + /// >> PreimageErrors + /// + public enum PreimageErrors + { + + /// + /// >> TooBig + /// Preimage is too large to store on-chain. + /// + TooBig, + + /// + /// >> AlreadyNoted + /// Preimage has already been noted on-chain. + /// + AlreadyNoted, + + /// + /// >> NotAuthorized + /// The user is not authorized to perform this action. + /// + NotAuthorized, + + /// + /// >> NotNoted + /// The preimage cannot be removed since it has not yet been noted. + /// + NotNoted, + + /// + /// >> Requested + /// A preimage may not be removed when there are outstanding requests. + /// + Requested, + + /// + /// >> NotRequested + /// The preimage request cannot be removed since no outstanding requests exist. + /// + NotRequested, + + /// + /// >> TooMany + /// More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once. + /// + TooMany, + + /// + /// >> TooFew + /// Too few hashes were requested to be upgraded (i.e. zero). + /// + TooFew, + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainProxy.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainProxy.cs new file mode 100644 index 00000000..50d06cd4 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainProxy.cs @@ -0,0 +1,384 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> ProxyStorage + /// + public sealed class ProxyStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> ProxyStorage Constructor + /// + public ProxyStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("Proxy", "Proxies"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32), typeof(Substrate.NetApi.Model.Types.Base.BaseTuple))); + _client.StorageKeyDict.Add(new System.Tuple("Proxy", "Announcements"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32), typeof(Substrate.NetApi.Model.Types.Base.BaseTuple))); + } + + /// + /// >> ProxiesParams + /// The set of account proxies. Maps the account which has delegated to the accounts + /// which are being delegated to, together with the amount held on deposit. + /// + public static string ProxiesParams(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key) + { + return RequestGenerator.GetStorage("Proxy", "Proxies", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> ProxiesDefault + /// Default value as hex string + /// + public static string ProxiesDefault() + { + return "0x0000000000000000000000000000000000"; + } + + /// + /// >> Proxies + /// The set of account proxies. Maps the account which has delegated to the accounts + /// which are being delegated to, together with the amount held on deposit. + /// + public async Task> Proxies(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key, string blockhash, CancellationToken token) + { + string parameters = ProxyStorage.ProxiesParams(key); + var result = await _client.GetStorageAsync>(parameters, blockhash, token); + return result; + } + + /// + /// >> AnnouncementsParams + /// The announcements made by the proxy (key). + /// + public static string AnnouncementsParams(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key) + { + return RequestGenerator.GetStorage("Proxy", "Announcements", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> AnnouncementsDefault + /// Default value as hex string + /// + public static string AnnouncementsDefault() + { + return "0x0000000000000000000000000000000000"; + } + + /// + /// >> Announcements + /// The announcements made by the proxy (key). + /// + public async Task> Announcements(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key, string blockhash, CancellationToken token) + { + string parameters = ProxyStorage.AnnouncementsParams(key); + var result = await _client.GetStorageAsync>(parameters, blockhash, token); + return result; + } + } + + /// + /// >> ProxyCalls + /// + public sealed class ProxyCalls + { + + /// + /// >> proxy + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Proxy(Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress real, Substrate.NetApi.Model.Types.Base.BaseOpt force_proxy_type, Substrate.Gear.Api.Generated.Model.vara_runtime.EnumRuntimeCall call) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(real.Encode()); + byteArray.AddRange(force_proxy_type.Encode()); + byteArray.AddRange(call.Encode()); + return new Method(25, "Proxy", 0, "proxy", byteArray.ToArray()); + } + + /// + /// >> add_proxy + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method AddProxy(Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress @delegate, Substrate.Gear.Api.Generated.Model.vara_runtime.EnumProxyType proxy_type, Substrate.NetApi.Model.Types.Primitive.U32 delay) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(@delegate.Encode()); + byteArray.AddRange(proxy_type.Encode()); + byteArray.AddRange(delay.Encode()); + return new Method(25, "Proxy", 1, "add_proxy", byteArray.ToArray()); + } + + /// + /// >> remove_proxy + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method RemoveProxy(Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress @delegate, Substrate.Gear.Api.Generated.Model.vara_runtime.EnumProxyType proxy_type, Substrate.NetApi.Model.Types.Primitive.U32 delay) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(@delegate.Encode()); + byteArray.AddRange(proxy_type.Encode()); + byteArray.AddRange(delay.Encode()); + return new Method(25, "Proxy", 2, "remove_proxy", byteArray.ToArray()); + } + + /// + /// >> remove_proxies + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method RemoveProxies() + { + System.Collections.Generic.List byteArray = new List(); + return new Method(25, "Proxy", 3, "remove_proxies", byteArray.ToArray()); + } + + /// + /// >> create_pure + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method CreatePure(Substrate.Gear.Api.Generated.Model.vara_runtime.EnumProxyType proxy_type, Substrate.NetApi.Model.Types.Primitive.U32 delay, Substrate.NetApi.Model.Types.Primitive.U16 index) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(proxy_type.Encode()); + byteArray.AddRange(delay.Encode()); + byteArray.AddRange(index.Encode()); + return new Method(25, "Proxy", 4, "create_pure", byteArray.ToArray()); + } + + /// + /// >> kill_pure + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method KillPure(Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress spawner, Substrate.Gear.Api.Generated.Model.vara_runtime.EnumProxyType proxy_type, Substrate.NetApi.Model.Types.Primitive.U16 index, Substrate.NetApi.Model.Types.Base.BaseCom height, Substrate.NetApi.Model.Types.Base.BaseCom ext_index) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(spawner.Encode()); + byteArray.AddRange(proxy_type.Encode()); + byteArray.AddRange(index.Encode()); + byteArray.AddRange(height.Encode()); + byteArray.AddRange(ext_index.Encode()); + return new Method(25, "Proxy", 5, "kill_pure", byteArray.ToArray()); + } + + /// + /// >> announce + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Announce(Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress real, Substrate.Gear.Api.Generated.Model.primitive_types.H256 call_hash) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(real.Encode()); + byteArray.AddRange(call_hash.Encode()); + return new Method(25, "Proxy", 6, "announce", byteArray.ToArray()); + } + + /// + /// >> remove_announcement + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method RemoveAnnouncement(Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress real, Substrate.Gear.Api.Generated.Model.primitive_types.H256 call_hash) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(real.Encode()); + byteArray.AddRange(call_hash.Encode()); + return new Method(25, "Proxy", 7, "remove_announcement", byteArray.ToArray()); + } + + /// + /// >> reject_announcement + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method RejectAnnouncement(Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress @delegate, Substrate.Gear.Api.Generated.Model.primitive_types.H256 call_hash) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(@delegate.Encode()); + byteArray.AddRange(call_hash.Encode()); + return new Method(25, "Proxy", 8, "reject_announcement", byteArray.ToArray()); + } + + /// + /// >> proxy_announced + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ProxyAnnounced(Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress @delegate, Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress real, Substrate.NetApi.Model.Types.Base.BaseOpt force_proxy_type, Substrate.Gear.Api.Generated.Model.vara_runtime.EnumRuntimeCall call) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(@delegate.Encode()); + byteArray.AddRange(real.Encode()); + byteArray.AddRange(force_proxy_type.Encode()); + byteArray.AddRange(call.Encode()); + return new Method(25, "Proxy", 9, "proxy_announced", byteArray.ToArray()); + } + } + + /// + /// >> ProxyConstants + /// + public sealed class ProxyConstants + { + + /// + /// >> ProxyDepositBase + /// The base amount of currency needed to reserve for creating a proxy. + /// + /// This is held for an additional storage item whose value size is + /// `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes. + /// + public Substrate.NetApi.Model.Types.Primitive.U128 ProxyDepositBase() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U128(); + result.Create("0x001843D5BA0500000000000000000000"); + return result; + } + + /// + /// >> ProxyDepositFactor + /// The amount of currency needed per proxy added. + /// + /// This is held for adding 32 bytes plus an instance of `ProxyType` more into a + /// pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take + /// into account `32 + proxy_type.encode().len()` bytes of data. + /// + public Substrate.NetApi.Model.Types.Primitive.U128 ProxyDepositFactor() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U128(); + result.Create("0x0070F70B021200000000000000000000"); + return result; + } + + /// + /// >> MaxProxies + /// The maximum amount of proxies allowed for a single account. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 MaxProxies() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x20000000"); + return result; + } + + /// + /// >> MaxPending + /// The maximum amount of time-delayed announcements that are allowed to be pending. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 MaxPending() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x20000000"); + return result; + } + + /// + /// >> AnnouncementDepositBase + /// The base amount of currency needed to reserve for creating an announcement. + /// + /// This is held when a new storage item holding a `Balance` is created (typically 16 + /// bytes). + /// + public Substrate.NetApi.Model.Types.Primitive.U128 AnnouncementDepositBase() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U128(); + result.Create("0x001843D5BA0500000000000000000000"); + return result; + } + + /// + /// >> AnnouncementDepositFactor + /// The amount of currency needed per announcement made. + /// + /// This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes) + /// into a pre-existing storage value. + /// + public Substrate.NetApi.Model.Types.Primitive.U128 AnnouncementDepositFactor() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U128(); + result.Create("0x00E0EE17042400000000000000000000"); + return result; + } + } + + /// + /// >> ProxyErrors + /// + public enum ProxyErrors + { + + /// + /// >> TooMany + /// There are too many proxies registered or too many announcements pending. + /// + TooMany, + + /// + /// >> NotFound + /// Proxy registration not found. + /// + NotFound, + + /// + /// >> NotProxy + /// Sender is not a proxy of the account to be proxied. + /// + NotProxy, + + /// + /// >> Unproxyable + /// A call which is incompatible with the proxy type's filter was attempted. + /// + Unproxyable, + + /// + /// >> Duplicate + /// Account is already a proxy. + /// + Duplicate, + + /// + /// >> NoPermission + /// Call may not be made by proxy because it may escalate its privileges. + /// + NoPermission, + + /// + /// >> Unannounced + /// Announcement, if made at all, was made too recently. + /// + Unannounced, + + /// + /// >> NoSelfProxy + /// Cannot add self as proxy. + /// + NoSelfProxy, + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainReferenda.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainReferenda.cs new file mode 100644 index 00000000..13ba2efa --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainReferenda.cs @@ -0,0 +1,507 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> ReferendaStorage + /// + public sealed class ReferendaStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> ReferendaStorage Constructor + /// + public ReferendaStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("Referenda", "ReferendumCount"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("Referenda", "ReferendumInfoFor"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.BlakeTwo128Concat}, typeof(Substrate.NetApi.Model.Types.Primitive.U32), typeof(Substrate.Gear.Api.Generated.Model.pallet_referenda.types.EnumReferendumInfo))); + _client.StorageKeyDict.Add(new System.Tuple("Referenda", "TrackQueue"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Primitive.U16), typeof(Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec.BoundedVecT15))); + _client.StorageKeyDict.Add(new System.Tuple("Referenda", "DecidingCount"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Primitive.U16), typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("Referenda", "MetadataOf"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.BlakeTwo128Concat}, typeof(Substrate.NetApi.Model.Types.Primitive.U32), typeof(Substrate.Gear.Api.Generated.Model.primitive_types.H256))); + } + + /// + /// >> ReferendumCountParams + /// The next free referendum index, aka the number of referenda started so far. + /// + public static string ReferendumCountParams() + { + return RequestGenerator.GetStorage("Referenda", "ReferendumCount", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> ReferendumCountDefault + /// Default value as hex string + /// + public static string ReferendumCountDefault() + { + return "0x00000000"; + } + + /// + /// >> ReferendumCount + /// The next free referendum index, aka the number of referenda started so far. + /// + public async Task ReferendumCount(string blockhash, CancellationToken token) + { + string parameters = ReferendaStorage.ReferendumCountParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> ReferendumInfoForParams + /// Information concerning any given referendum. + /// + public static string ReferendumInfoForParams(Substrate.NetApi.Model.Types.Primitive.U32 key) + { + return RequestGenerator.GetStorage("Referenda", "ReferendumInfoFor", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.BlakeTwo128Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> ReferendumInfoForDefault + /// Default value as hex string + /// + public static string ReferendumInfoForDefault() + { + return "0x00"; + } + + /// + /// >> ReferendumInfoFor + /// Information concerning any given referendum. + /// + public async Task ReferendumInfoFor(Substrate.NetApi.Model.Types.Primitive.U32 key, string blockhash, CancellationToken token) + { + string parameters = ReferendaStorage.ReferendumInfoForParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> TrackQueueParams + /// The sorted list of referenda ready to be decided but not yet being decided, ordered by + /// conviction-weighted approvals. + /// + /// This should be empty if `DecidingCount` is less than `TrackInfo::max_deciding`. + /// + public static string TrackQueueParams(Substrate.NetApi.Model.Types.Primitive.U16 key) + { + return RequestGenerator.GetStorage("Referenda", "TrackQueue", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> TrackQueueDefault + /// Default value as hex string + /// + public static string TrackQueueDefault() + { + return "0x00"; + } + + /// + /// >> TrackQueue + /// The sorted list of referenda ready to be decided but not yet being decided, ordered by + /// conviction-weighted approvals. + /// + /// This should be empty if `DecidingCount` is less than `TrackInfo::max_deciding`. + /// + public async Task TrackQueue(Substrate.NetApi.Model.Types.Primitive.U16 key, string blockhash, CancellationToken token) + { + string parameters = ReferendaStorage.TrackQueueParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> DecidingCountParams + /// The number of referenda being decided currently. + /// + public static string DecidingCountParams(Substrate.NetApi.Model.Types.Primitive.U16 key) + { + return RequestGenerator.GetStorage("Referenda", "DecidingCount", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> DecidingCountDefault + /// Default value as hex string + /// + public static string DecidingCountDefault() + { + return "0x00000000"; + } + + /// + /// >> DecidingCount + /// The number of referenda being decided currently. + /// + public async Task DecidingCount(Substrate.NetApi.Model.Types.Primitive.U16 key, string blockhash, CancellationToken token) + { + string parameters = ReferendaStorage.DecidingCountParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> MetadataOfParams + /// The metadata is a general information concerning the referendum. + /// The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON + /// dump or IPFS hash of a JSON file. + /// + /// Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove) + /// large preimages. + /// + public static string MetadataOfParams(Substrate.NetApi.Model.Types.Primitive.U32 key) + { + return RequestGenerator.GetStorage("Referenda", "MetadataOf", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.BlakeTwo128Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> MetadataOfDefault + /// Default value as hex string + /// + public static string MetadataOfDefault() + { + return "0x00"; + } + + /// + /// >> MetadataOf + /// The metadata is a general information concerning the referendum. + /// The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON + /// dump or IPFS hash of a JSON file. + /// + /// Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove) + /// large preimages. + /// + public async Task MetadataOf(Substrate.NetApi.Model.Types.Primitive.U32 key, string blockhash, CancellationToken token) + { + string parameters = ReferendaStorage.MetadataOfParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + } + + /// + /// >> ReferendaCalls + /// + public sealed class ReferendaCalls + { + + /// + /// >> submit + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Submit(Substrate.Gear.Api.Generated.Model.vara_runtime.EnumOriginCaller proposal_origin, Substrate.Gear.Api.Generated.Model.frame_support.traits.preimages.EnumBounded proposal, Substrate.Gear.Api.Generated.Model.frame_support.traits.schedule.EnumDispatchTime enactment_moment) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(proposal_origin.Encode()); + byteArray.AddRange(proposal.Encode()); + byteArray.AddRange(enactment_moment.Encode()); + return new Method(17, "Referenda", 0, "submit", byteArray.ToArray()); + } + + /// + /// >> place_decision_deposit + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method PlaceDecisionDeposit(Substrate.NetApi.Model.Types.Primitive.U32 index) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(index.Encode()); + return new Method(17, "Referenda", 1, "place_decision_deposit", byteArray.ToArray()); + } + + /// + /// >> refund_decision_deposit + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method RefundDecisionDeposit(Substrate.NetApi.Model.Types.Primitive.U32 index) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(index.Encode()); + return new Method(17, "Referenda", 2, "refund_decision_deposit", byteArray.ToArray()); + } + + /// + /// >> cancel + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Cancel(Substrate.NetApi.Model.Types.Primitive.U32 index) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(index.Encode()); + return new Method(17, "Referenda", 3, "cancel", byteArray.ToArray()); + } + + /// + /// >> kill + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Kill(Substrate.NetApi.Model.Types.Primitive.U32 index) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(index.Encode()); + return new Method(17, "Referenda", 4, "kill", byteArray.ToArray()); + } + + /// + /// >> nudge_referendum + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method NudgeReferendum(Substrate.NetApi.Model.Types.Primitive.U32 index) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(index.Encode()); + return new Method(17, "Referenda", 5, "nudge_referendum", byteArray.ToArray()); + } + + /// + /// >> one_fewer_deciding + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method OneFewerDeciding(Substrate.NetApi.Model.Types.Primitive.U16 track) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(track.Encode()); + return new Method(17, "Referenda", 6, "one_fewer_deciding", byteArray.ToArray()); + } + + /// + /// >> refund_submission_deposit + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method RefundSubmissionDeposit(Substrate.NetApi.Model.Types.Primitive.U32 index) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(index.Encode()); + return new Method(17, "Referenda", 7, "refund_submission_deposit", byteArray.ToArray()); + } + + /// + /// >> set_metadata + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method SetMetadata(Substrate.NetApi.Model.Types.Primitive.U32 index, Substrate.NetApi.Model.Types.Base.BaseOpt maybe_hash) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(index.Encode()); + byteArray.AddRange(maybe_hash.Encode()); + return new Method(17, "Referenda", 8, "set_metadata", byteArray.ToArray()); + } + } + + /// + /// >> ReferendaConstants + /// + public sealed class ReferendaConstants + { + + /// + /// >> SubmissionDeposit + /// The minimum amount to be used as a deposit for a public referendum proposal. + /// + public Substrate.NetApi.Model.Types.Primitive.U128 SubmissionDeposit() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U128(); + result.Create("0x00407A10F35A00000000000000000000"); + return result; + } + + /// + /// >> MaxQueued + /// Maximum size of the referendum queue for a single track. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 MaxQueued() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x64000000"); + return result; + } + + /// + /// >> UndecidingTimeout + /// The number of blocks after submission that a referendum must begin being decided by. + /// Once this passes, then anyone may cancel the referendum. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 UndecidingTimeout() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x00270600"); + return result; + } + + /// + /// >> AlarmInterval + /// Quantization level for the referendum wakeup scheduler. A higher number will result in + /// fewer storage reads/writes needed for smaller voters, but also result in delays to the + /// automatic referendum status changes. Explicit servicing instructions are unaffected. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 AlarmInterval() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x01000000"); + return result; + } + + /// + /// >> Tracks + /// Information concerning the different referendum tracks. + /// + public Substrate.NetApi.Model.Types.Base.BaseVec> Tracks() + { + var result = new Substrate.NetApi.Model.Types.Base.BaseVec>(); + result.Create("0x34000010726F6F7401000000000064A7B3B6E00D000000000000000060090000002706008070000" + + "0807000000290D73E0D000000005743DE13000000005443DE13000000000000CA9A3B00000000006" + + "5CD1D01004877686974656C69737465645F63616C6C65726400000000008A5D78456301000000000" + + "00000005802000000270600C8000000C800000002EC972510000000007B573C170000000042392F1" + + "200000000020E00840000000000D6E61F010000000039627902000000000A00347374616B696E675" + + "F61646D696E0A0000000000C52EBCA2B10000000000000000006009000000270600100E0000C8000" + + "00000C94330240065CD1D00CA9A3B025D6F780000000000E82EED00000000008C6889FFFFFFFFFF0" + + "B00247472656173757265720A0000000000C16FF2862300000000000000000060090000002706001" + + "00E0000807000000290D73E0D000000005743DE13000000005443DE13000000000000CA9A3B00000" + + "0000065CD1D0C004066656C6C6F77736869705F61646D696E0A0000000000C52EBCA2B1000000000" + + "0000000006009000000270600100E0000C800000000C94330240065CD1D00CA9A3B025D6F7800000" + + "00000E82EED00000000008C6889FFFFFFFFFF0D003467656E6572616C5F61646D696E0A000000000" + + "0C52EBCA2B10000000000000000006009000000270600100E0000C80000000290D73E0D000000005" + + "743DE13000000005443DE13000000000259A2F40200000000A3296B05000000002E6B4AFDFFFFFFF" + + "F1400507265666572656E64756D5F63616E63656C6C6572E803000000008A5D78456301000000000" + + "00000006009000080130300100E0000C800000000C94330240065CD1D00CA9A3B025D6F780000000" + + "000E82EED00000000008C6889FFFFFFFFFF1500447265666572656E64756D5F6B696C6C6572E8030" + + "0000000B2D3595BF00600000000000000006009000000270600100E0000C800000000C9433024006" + + "5CD1D00CA9A3B025D6F780000000000E82EED00000000008C6889FFFFFFFFFF1E0030736D616C6C5" + + "F746970706572C800000000A0724E1809000000000000000000001400000080130300C8000000140" + + "0000000499149150065CD1D00CA9A3B02F9BA1800000000002A4D3100000000006B59E7FFFFFFFFF" + + "F1F00286269675F7469707065726400000000407A10F35A00000000000000000000C800000080130" + + "300B0040000C800000000499149150065CD1D00CA9A3B02694F3F000000000035967D0000000000E" + + "534C1FFFFFFFFFF200034736D616C6C5F7370656E646572320000000080C6A47E8D0300000000000" + + "0000000C012000000270600403800008070000000C94330240065CD1D00CA9A3B025D6F780000000" + + "000E82EED00000000008C6889FFFFFFFFFF2100386D656469756D5F7370656E64657232000000000" + + "08D49FD1A07000000000000000000C0120000002706008070000080700000005B01F6300065CD1D0" + + "0CA9A3B021161DB0000000000BFD1AA010000000020972AFFFFFFFFFF22002C6269675F7370656E6" + + "465723200000000001A93FA350E000000000000000000C01200000027060000E1000080700000000" + + "0CA9A3B0065CD1D00CA9A3B02413CB00100000000755D34030000000045D165FEFFFFFFFF"); + return result; + } + } + + /// + /// >> ReferendaErrors + /// + public enum ReferendaErrors + { + + /// + /// >> NotOngoing + /// Referendum is not ongoing. + /// + NotOngoing, + + /// + /// >> HasDeposit + /// Referendum's decision deposit is already paid. + /// + HasDeposit, + + /// + /// >> BadTrack + /// The track identifier given was invalid. + /// + BadTrack, + + /// + /// >> Full + /// There are already a full complement of referenda in progress for this track. + /// + Full, + + /// + /// >> QueueEmpty + /// The queue of the track is empty. + /// + QueueEmpty, + + /// + /// >> BadReferendum + /// The referendum index provided is invalid in this context. + /// + BadReferendum, + + /// + /// >> NothingToDo + /// There was nothing to do in the advancement. + /// + NothingToDo, + + /// + /// >> NoTrack + /// No track exists for the proposal origin. + /// + NoTrack, + + /// + /// >> Unfinished + /// Any deposit cannot be refunded until after the decision is over. + /// + Unfinished, + + /// + /// >> NoPermission + /// The deposit refunder is not the depositor. + /// + NoPermission, + + /// + /// >> NoDeposit + /// The deposit cannot be refunded since none was made. + /// + NoDeposit, + + /// + /// >> BadStatus + /// The referendum status is invalid for this operation. + /// + BadStatus, + + /// + /// >> PreimageNotExist + /// The preimage does not exist. + /// + PreimageNotExist, + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainScheduler.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainScheduler.cs new file mode 100644 index 00000000..2938245e --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainScheduler.cs @@ -0,0 +1,299 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> SchedulerStorage + /// + public sealed class SchedulerStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> SchedulerStorage Constructor + /// + public SchedulerStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("Scheduler", "IncompleteSince"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("Scheduler", "Agenda"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Primitive.U32), typeof(Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec.BoundedVecT18))); + _client.StorageKeyDict.Add(new System.Tuple("Scheduler", "Lookup"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.Gear.Api.Generated.Types.Base.Arr32U8), typeof(Substrate.NetApi.Model.Types.Base.BaseTuple))); + } + + /// + /// >> IncompleteSinceParams + /// + public static string IncompleteSinceParams() + { + return RequestGenerator.GetStorage("Scheduler", "IncompleteSince", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> IncompleteSinceDefault + /// Default value as hex string + /// + public static string IncompleteSinceDefault() + { + return "0x00"; + } + + /// + /// >> IncompleteSince + /// + public async Task IncompleteSince(string blockhash, CancellationToken token) + { + string parameters = SchedulerStorage.IncompleteSinceParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> AgendaParams + /// Items to be executed, indexed by the block number that they should be executed on. + /// + public static string AgendaParams(Substrate.NetApi.Model.Types.Primitive.U32 key) + { + return RequestGenerator.GetStorage("Scheduler", "Agenda", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> AgendaDefault + /// Default value as hex string + /// + public static string AgendaDefault() + { + return "0x00"; + } + + /// + /// >> Agenda + /// Items to be executed, indexed by the block number that they should be executed on. + /// + public async Task Agenda(Substrate.NetApi.Model.Types.Primitive.U32 key, string blockhash, CancellationToken token) + { + string parameters = SchedulerStorage.AgendaParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> LookupParams + /// Lookup from a name to the block number and index of the task. + /// + /// For v3 -> v4 the previously unbounded identities are Blake2-256 hashed to form the v4 + /// identities. + /// + public static string LookupParams(Substrate.Gear.Api.Generated.Types.Base.Arr32U8 key) + { + return RequestGenerator.GetStorage("Scheduler", "Lookup", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> LookupDefault + /// Default value as hex string + /// + public static string LookupDefault() + { + return "0x00"; + } + + /// + /// >> Lookup + /// Lookup from a name to the block number and index of the task. + /// + /// For v3 -> v4 the previously unbounded identities are Blake2-256 hashed to form the v4 + /// identities. + /// + public async Task> Lookup(Substrate.Gear.Api.Generated.Types.Base.Arr32U8 key, string blockhash, CancellationToken token) + { + string parameters = SchedulerStorage.LookupParams(key); + var result = await _client.GetStorageAsync>(parameters, blockhash, token); + return result; + } + } + + /// + /// >> SchedulerCalls + /// + public sealed class SchedulerCalls + { + + /// + /// >> schedule + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Schedule(Substrate.NetApi.Model.Types.Primitive.U32 when, Substrate.NetApi.Model.Types.Base.BaseOpt> maybe_periodic, Substrate.NetApi.Model.Types.Primitive.U8 priority, Substrate.Gear.Api.Generated.Model.vara_runtime.EnumRuntimeCall call) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(when.Encode()); + byteArray.AddRange(maybe_periodic.Encode()); + byteArray.AddRange(priority.Encode()); + byteArray.AddRange(call.Encode()); + return new Method(22, "Scheduler", 0, "schedule", byteArray.ToArray()); + } + + /// + /// >> cancel + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Cancel(Substrate.NetApi.Model.Types.Primitive.U32 when, Substrate.NetApi.Model.Types.Primitive.U32 index) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(when.Encode()); + byteArray.AddRange(index.Encode()); + return new Method(22, "Scheduler", 1, "cancel", byteArray.ToArray()); + } + + /// + /// >> schedule_named + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ScheduleNamed(Substrate.Gear.Api.Generated.Types.Base.Arr32U8 id, Substrate.NetApi.Model.Types.Primitive.U32 when, Substrate.NetApi.Model.Types.Base.BaseOpt> maybe_periodic, Substrate.NetApi.Model.Types.Primitive.U8 priority, Substrate.Gear.Api.Generated.Model.vara_runtime.EnumRuntimeCall call) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(id.Encode()); + byteArray.AddRange(when.Encode()); + byteArray.AddRange(maybe_periodic.Encode()); + byteArray.AddRange(priority.Encode()); + byteArray.AddRange(call.Encode()); + return new Method(22, "Scheduler", 2, "schedule_named", byteArray.ToArray()); + } + + /// + /// >> cancel_named + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method CancelNamed(Substrate.Gear.Api.Generated.Types.Base.Arr32U8 id) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(id.Encode()); + return new Method(22, "Scheduler", 3, "cancel_named", byteArray.ToArray()); + } + + /// + /// >> schedule_after + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ScheduleAfter(Substrate.NetApi.Model.Types.Primitive.U32 after, Substrate.NetApi.Model.Types.Base.BaseOpt> maybe_periodic, Substrate.NetApi.Model.Types.Primitive.U8 priority, Substrate.Gear.Api.Generated.Model.vara_runtime.EnumRuntimeCall call) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(after.Encode()); + byteArray.AddRange(maybe_periodic.Encode()); + byteArray.AddRange(priority.Encode()); + byteArray.AddRange(call.Encode()); + return new Method(22, "Scheduler", 4, "schedule_after", byteArray.ToArray()); + } + + /// + /// >> schedule_named_after + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ScheduleNamedAfter(Substrate.Gear.Api.Generated.Types.Base.Arr32U8 id, Substrate.NetApi.Model.Types.Primitive.U32 after, Substrate.NetApi.Model.Types.Base.BaseOpt> maybe_periodic, Substrate.NetApi.Model.Types.Primitive.U8 priority, Substrate.Gear.Api.Generated.Model.vara_runtime.EnumRuntimeCall call) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(id.Encode()); + byteArray.AddRange(after.Encode()); + byteArray.AddRange(maybe_periodic.Encode()); + byteArray.AddRange(priority.Encode()); + byteArray.AddRange(call.Encode()); + return new Method(22, "Scheduler", 5, "schedule_named_after", byteArray.ToArray()); + } + } + + /// + /// >> SchedulerConstants + /// + public sealed class SchedulerConstants + { + + /// + /// >> MaximumWeight + /// The maximum weight that may be scheduled per block for any dispatchables. + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight MaximumWeight() + { + var result = new Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight(); + result.Create("0x070040B743BA13CCCCCCCCCCCCCCCC"); + return result; + } + + /// + /// >> MaxScheduledPerBlock + /// The maximum number of scheduled calls in the queue for a single block. + /// + /// NOTE: + /// + Dependent pallets' benchmarks might require a higher limit for the setting. Set a + /// higher limit under `runtime-benchmarks` feature. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 MaxScheduledPerBlock() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x00020000"); + return result; + } + } + + /// + /// >> SchedulerErrors + /// + public enum SchedulerErrors + { + + /// + /// >> FailedToSchedule + /// Failed to schedule a call + /// + FailedToSchedule, + + /// + /// >> NotFound + /// Cannot find the scheduled call. + /// + NotFound, + + /// + /// >> TargetBlockNumberInPast + /// Given target block number is in the past. + /// + TargetBlockNumberInPast, + + /// + /// >> RescheduleNoChange + /// Reschedule failed because it does not change scheduled time. + /// + RescheduleNoChange, + + /// + /// >> Named + /// Attempt to use a non-named function on a named task. + /// + Named, + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainSession.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainSession.cs new file mode 100644 index 00000000..d50cc023 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainSession.cs @@ -0,0 +1,342 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> SessionStorage + /// + public sealed class SessionStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> SessionStorage Constructor + /// + public SessionStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("Session", "Validators"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Base.BaseVec))); + _client.StorageKeyDict.Add(new System.Tuple("Session", "CurrentIndex"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("Session", "QueuedChanged"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.Bool))); + _client.StorageKeyDict.Add(new System.Tuple("Session", "QueuedKeys"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Base.BaseVec>))); + _client.StorageKeyDict.Add(new System.Tuple("Session", "DisabledValidators"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Base.BaseVec))); + _client.StorageKeyDict.Add(new System.Tuple("Session", "NextKeys"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32), typeof(Substrate.Gear.Api.Generated.Model.vara_runtime.SessionKeys))); + _client.StorageKeyDict.Add(new System.Tuple("Session", "KeyOwner"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Base.BaseTuple>), typeof(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32))); + } + + /// + /// >> ValidatorsParams + /// The current set of validators. + /// + public static string ValidatorsParams() + { + return RequestGenerator.GetStorage("Session", "Validators", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> ValidatorsDefault + /// Default value as hex string + /// + public static string ValidatorsDefault() + { + return "0x00"; + } + + /// + /// >> Validators + /// The current set of validators. + /// + public async Task> Validators(string blockhash, CancellationToken token) + { + string parameters = SessionStorage.ValidatorsParams(); + var result = await _client.GetStorageAsync>(parameters, blockhash, token); + return result; + } + + /// + /// >> CurrentIndexParams + /// Current index of the session. + /// + public static string CurrentIndexParams() + { + return RequestGenerator.GetStorage("Session", "CurrentIndex", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> CurrentIndexDefault + /// Default value as hex string + /// + public static string CurrentIndexDefault() + { + return "0x00000000"; + } + + /// + /// >> CurrentIndex + /// Current index of the session. + /// + public async Task CurrentIndex(string blockhash, CancellationToken token) + { + string parameters = SessionStorage.CurrentIndexParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> QueuedChangedParams + /// True if the underlying economic identities or weighting behind the validators + /// has changed in the queued validator set. + /// + public static string QueuedChangedParams() + { + return RequestGenerator.GetStorage("Session", "QueuedChanged", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> QueuedChangedDefault + /// Default value as hex string + /// + public static string QueuedChangedDefault() + { + return "0x00"; + } + + /// + /// >> QueuedChanged + /// True if the underlying economic identities or weighting behind the validators + /// has changed in the queued validator set. + /// + public async Task QueuedChanged(string blockhash, CancellationToken token) + { + string parameters = SessionStorage.QueuedChangedParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> QueuedKeysParams + /// The queued keys for the next session. When the next session begins, these keys + /// will be used to determine the validator's session keys. + /// + public static string QueuedKeysParams() + { + return RequestGenerator.GetStorage("Session", "QueuedKeys", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> QueuedKeysDefault + /// Default value as hex string + /// + public static string QueuedKeysDefault() + { + return "0x00"; + } + + /// + /// >> QueuedKeys + /// The queued keys for the next session. When the next session begins, these keys + /// will be used to determine the validator's session keys. + /// + public async Task>> QueuedKeys(string blockhash, CancellationToken token) + { + string parameters = SessionStorage.QueuedKeysParams(); + var result = await _client.GetStorageAsync>>(parameters, blockhash, token); + return result; + } + + /// + /// >> DisabledValidatorsParams + /// Indices of disabled validators. + /// + /// The vec is always kept sorted so that we can find whether a given validator is + /// disabled using binary search. It gets cleared when `on_session_ending` returns + /// a new set of identities. + /// + public static string DisabledValidatorsParams() + { + return RequestGenerator.GetStorage("Session", "DisabledValidators", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> DisabledValidatorsDefault + /// Default value as hex string + /// + public static string DisabledValidatorsDefault() + { + return "0x00"; + } + + /// + /// >> DisabledValidators + /// Indices of disabled validators. + /// + /// The vec is always kept sorted so that we can find whether a given validator is + /// disabled using binary search. It gets cleared when `on_session_ending` returns + /// a new set of identities. + /// + public async Task> DisabledValidators(string blockhash, CancellationToken token) + { + string parameters = SessionStorage.DisabledValidatorsParams(); + var result = await _client.GetStorageAsync>(parameters, blockhash, token); + return result; + } + + /// + /// >> NextKeysParams + /// The next session keys for a validator. + /// + public static string NextKeysParams(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key) + { + return RequestGenerator.GetStorage("Session", "NextKeys", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> NextKeysDefault + /// Default value as hex string + /// + public static string NextKeysDefault() + { + return "0x00"; + } + + /// + /// >> NextKeys + /// The next session keys for a validator. + /// + public async Task NextKeys(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key, string blockhash, CancellationToken token) + { + string parameters = SessionStorage.NextKeysParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> KeyOwnerParams + /// The owner of a key. The key is the `KeyTypeId` + the encoded key. + /// + public static string KeyOwnerParams(Substrate.NetApi.Model.Types.Base.BaseTuple> key) + { + return RequestGenerator.GetStorage("Session", "KeyOwner", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> KeyOwnerDefault + /// Default value as hex string + /// + public static string KeyOwnerDefault() + { + return "0x00"; + } + + /// + /// >> KeyOwner + /// The owner of a key. The key is the `KeyTypeId` + the encoded key. + /// + public async Task KeyOwner(Substrate.NetApi.Model.Types.Base.BaseTuple> key, string blockhash, CancellationToken token) + { + string parameters = SessionStorage.KeyOwnerParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + } + + /// + /// >> SessionCalls + /// + public sealed class SessionCalls + { + + /// + /// >> set_keys + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method SetKeys(Substrate.Gear.Api.Generated.Model.vara_runtime.SessionKeys keys, Substrate.NetApi.Model.Types.Base.BaseVec proof) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(keys.Encode()); + byteArray.AddRange(proof.Encode()); + return new Method(7, "Session", 0, "set_keys", byteArray.ToArray()); + } + + /// + /// >> purge_keys + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method PurgeKeys() + { + System.Collections.Generic.List byteArray = new List(); + return new Method(7, "Session", 1, "purge_keys", byteArray.ToArray()); + } + } + + /// + /// >> SessionConstants + /// + public sealed class SessionConstants + { + } + + /// + /// >> SessionErrors + /// + public enum SessionErrors + { + + /// + /// >> InvalidProof + /// Invalid ownership proof. + /// + InvalidProof, + + /// + /// >> NoAssociatedValidatorId + /// No associated validator ID for account. + /// + NoAssociatedValidatorId, + + /// + /// >> DuplicatedKey + /// Registered duplicate key. + /// + DuplicatedKey, + + /// + /// >> NoKeys + /// No keys are associated with this account. + /// + NoKeys, + + /// + /// >> NoAccount + /// Key setting account is not live, so it's impossible to associate keys. + /// + NoAccount, + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainStaking.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainStaking.cs new file mode 100644 index 00000000..9390dee8 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainStaking.cs @@ -0,0 +1,2133 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> StakingStorage + /// + public sealed class StakingStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> StakingStorage Constructor + /// + public StakingStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("Staking", "ValidatorCount"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "MinimumValidatorCount"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "Invulnerables"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Base.BaseVec))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "Bonded"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32), typeof(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "MinNominatorBond"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U128))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "MinValidatorBond"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U128))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "MinimumActiveStake"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U128))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "MinCommission"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.sp_arithmetic.per_things.Perbill))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "Ledger"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.BlakeTwo128Concat}, typeof(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32), typeof(Substrate.Gear.Api.Generated.Model.pallet_staking.StakingLedger))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "Payee"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32), typeof(Substrate.Gear.Api.Generated.Model.pallet_staking.EnumRewardDestination))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "Validators"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32), typeof(Substrate.Gear.Api.Generated.Model.pallet_staking.ValidatorPrefs))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "CounterForValidators"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "MaxValidatorsCount"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "Nominators"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32), typeof(Substrate.Gear.Api.Generated.Model.pallet_staking.Nominations))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "CounterForNominators"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "MaxNominatorsCount"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "CurrentEra"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "ActiveEra"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.pallet_staking.ActiveEraInfo))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "ErasStartSessionIndex"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Primitive.U32), typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "ErasStakers"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat, + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Base.BaseTuple), typeof(Substrate.Gear.Api.Generated.Model.sp_staking.Exposure))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "ErasStakersOverview"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat, + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Base.BaseTuple), typeof(Substrate.Gear.Api.Generated.Model.sp_staking.PagedExposureMetadata))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "ErasStakersClipped"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat, + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Base.BaseTuple), typeof(Substrate.Gear.Api.Generated.Model.sp_staking.Exposure))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "ErasStakersPaged"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat, + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat, + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Base.BaseTuple), typeof(Substrate.Gear.Api.Generated.Model.sp_staking.ExposurePage))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "ClaimedRewards"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat, + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Base.BaseTuple), typeof(Substrate.NetApi.Model.Types.Base.BaseVec))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "ErasValidatorPrefs"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat, + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Base.BaseTuple), typeof(Substrate.Gear.Api.Generated.Model.pallet_staking.ValidatorPrefs))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "ErasValidatorReward"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Primitive.U32), typeof(Substrate.NetApi.Model.Types.Primitive.U128))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "ErasRewardPoints"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Primitive.U32), typeof(Substrate.Gear.Api.Generated.Model.pallet_staking.EraRewardPoints))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "ErasTotalStake"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Primitive.U32), typeof(Substrate.NetApi.Model.Types.Primitive.U128))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "ForceEra"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.pallet_staking.EnumForcing))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "SlashRewardFraction"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.sp_arithmetic.per_things.Perbill))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "CanceledSlashPayout"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U128))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "UnappliedSlashes"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Primitive.U32), typeof(Substrate.NetApi.Model.Types.Base.BaseVec))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "BondedEras"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Base.BaseVec>))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "ValidatorSlashInEra"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat, + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Base.BaseTuple), typeof(Substrate.NetApi.Model.Types.Base.BaseTuple))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "NominatorSlashInEra"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat, + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Base.BaseTuple), typeof(Substrate.NetApi.Model.Types.Primitive.U128))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "SlashingSpans"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32), typeof(Substrate.Gear.Api.Generated.Model.pallet_staking.slashing.SlashingSpans))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "SpanSlash"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Base.BaseTuple), typeof(Substrate.Gear.Api.Generated.Model.pallet_staking.slashing.SpanRecord))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "CurrentPlannedSession"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "OffendingValidators"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Base.BaseVec>))); + _client.StorageKeyDict.Add(new System.Tuple("Staking", "ChillThreshold"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.sp_arithmetic.per_things.Percent))); + } + + /// + /// >> ValidatorCountParams + /// The ideal number of active validators. + /// + public static string ValidatorCountParams() + { + return RequestGenerator.GetStorage("Staking", "ValidatorCount", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> ValidatorCountDefault + /// Default value as hex string + /// + public static string ValidatorCountDefault() + { + return "0x00000000"; + } + + /// + /// >> ValidatorCount + /// The ideal number of active validators. + /// + public async Task ValidatorCount(string blockhash, CancellationToken token) + { + string parameters = StakingStorage.ValidatorCountParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> MinimumValidatorCountParams + /// Minimum number of staking participants before emergency conditions are imposed. + /// + public static string MinimumValidatorCountParams() + { + return RequestGenerator.GetStorage("Staking", "MinimumValidatorCount", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> MinimumValidatorCountDefault + /// Default value as hex string + /// + public static string MinimumValidatorCountDefault() + { + return "0x00000000"; + } + + /// + /// >> MinimumValidatorCount + /// Minimum number of staking participants before emergency conditions are imposed. + /// + public async Task MinimumValidatorCount(string blockhash, CancellationToken token) + { + string parameters = StakingStorage.MinimumValidatorCountParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> InvulnerablesParams + /// Any validators that may never be slashed or forcibly kicked. It's a Vec since they're + /// easy to initialize and the performance hit is minimal (we expect no more than four + /// invulnerables) and restricted to testnets. + /// + public static string InvulnerablesParams() + { + return RequestGenerator.GetStorage("Staking", "Invulnerables", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> InvulnerablesDefault + /// Default value as hex string + /// + public static string InvulnerablesDefault() + { + return "0x00"; + } + + /// + /// >> Invulnerables + /// Any validators that may never be slashed or forcibly kicked. It's a Vec since they're + /// easy to initialize and the performance hit is minimal (we expect no more than four + /// invulnerables) and restricted to testnets. + /// + public async Task> Invulnerables(string blockhash, CancellationToken token) + { + string parameters = StakingStorage.InvulnerablesParams(); + var result = await _client.GetStorageAsync>(parameters, blockhash, token); + return result; + } + + /// + /// >> BondedParams + /// Map from all locked "stash" accounts to the controller account. + /// + /// TWOX-NOTE: SAFE since `AccountId` is a secure hash. + /// + public static string BondedParams(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key) + { + return RequestGenerator.GetStorage("Staking", "Bonded", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> BondedDefault + /// Default value as hex string + /// + public static string BondedDefault() + { + return "0x00"; + } + + /// + /// >> Bonded + /// Map from all locked "stash" accounts to the controller account. + /// + /// TWOX-NOTE: SAFE since `AccountId` is a secure hash. + /// + public async Task Bonded(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key, string blockhash, CancellationToken token) + { + string parameters = StakingStorage.BondedParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> MinNominatorBondParams + /// The minimum active bond to become and maintain the role of a nominator. + /// + public static string MinNominatorBondParams() + { + return RequestGenerator.GetStorage("Staking", "MinNominatorBond", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> MinNominatorBondDefault + /// Default value as hex string + /// + public static string MinNominatorBondDefault() + { + return "0x00000000000000000000000000000000"; + } + + /// + /// >> MinNominatorBond + /// The minimum active bond to become and maintain the role of a nominator. + /// + public async Task MinNominatorBond(string blockhash, CancellationToken token) + { + string parameters = StakingStorage.MinNominatorBondParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> MinValidatorBondParams + /// The minimum active bond to become and maintain the role of a validator. + /// + public static string MinValidatorBondParams() + { + return RequestGenerator.GetStorage("Staking", "MinValidatorBond", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> MinValidatorBondDefault + /// Default value as hex string + /// + public static string MinValidatorBondDefault() + { + return "0x00000000000000000000000000000000"; + } + + /// + /// >> MinValidatorBond + /// The minimum active bond to become and maintain the role of a validator. + /// + public async Task MinValidatorBond(string blockhash, CancellationToken token) + { + string parameters = StakingStorage.MinValidatorBondParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> MinimumActiveStakeParams + /// The minimum active nominator stake of the last successful election. + /// + public static string MinimumActiveStakeParams() + { + return RequestGenerator.GetStorage("Staking", "MinimumActiveStake", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> MinimumActiveStakeDefault + /// Default value as hex string + /// + public static string MinimumActiveStakeDefault() + { + return "0x00000000000000000000000000000000"; + } + + /// + /// >> MinimumActiveStake + /// The minimum active nominator stake of the last successful election. + /// + public async Task MinimumActiveStake(string blockhash, CancellationToken token) + { + string parameters = StakingStorage.MinimumActiveStakeParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> MinCommissionParams + /// The minimum amount of commission that validators can set. + /// + /// If set to `0`, no limit exists. + /// + public static string MinCommissionParams() + { + return RequestGenerator.GetStorage("Staking", "MinCommission", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> MinCommissionDefault + /// Default value as hex string + /// + public static string MinCommissionDefault() + { + return "0x00000000"; + } + + /// + /// >> MinCommission + /// The minimum amount of commission that validators can set. + /// + /// If set to `0`, no limit exists. + /// + public async Task MinCommission(string blockhash, CancellationToken token) + { + string parameters = StakingStorage.MinCommissionParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> LedgerParams + /// Map from all (unlocked) "controller" accounts to the info regarding the staking. + /// + /// Note: All the reads and mutations to this storage *MUST* be done through the methods exposed + /// by [`StakingLedger`] to ensure data and lock consistency. + /// + public static string LedgerParams(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key) + { + return RequestGenerator.GetStorage("Staking", "Ledger", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.BlakeTwo128Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> LedgerDefault + /// Default value as hex string + /// + public static string LedgerDefault() + { + return "0x00"; + } + + /// + /// >> Ledger + /// Map from all (unlocked) "controller" accounts to the info regarding the staking. + /// + /// Note: All the reads and mutations to this storage *MUST* be done through the methods exposed + /// by [`StakingLedger`] to ensure data and lock consistency. + /// + public async Task Ledger(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key, string blockhash, CancellationToken token) + { + string parameters = StakingStorage.LedgerParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> PayeeParams + /// Where the reward payment should be made. Keyed by stash. + /// + /// TWOX-NOTE: SAFE since `AccountId` is a secure hash. + /// + public static string PayeeParams(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key) + { + return RequestGenerator.GetStorage("Staking", "Payee", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> PayeeDefault + /// Default value as hex string + /// + public static string PayeeDefault() + { + return "0x00"; + } + + /// + /// >> Payee + /// Where the reward payment should be made. Keyed by stash. + /// + /// TWOX-NOTE: SAFE since `AccountId` is a secure hash. + /// + public async Task Payee(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key, string blockhash, CancellationToken token) + { + string parameters = StakingStorage.PayeeParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> ValidatorsParams + /// The map from (wannabe) validator stash key to the preferences of that validator. + /// + /// TWOX-NOTE: SAFE since `AccountId` is a secure hash. + /// + public static string ValidatorsParams(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key) + { + return RequestGenerator.GetStorage("Staking", "Validators", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> ValidatorsDefault + /// Default value as hex string + /// + public static string ValidatorsDefault() + { + return "0x0000"; + } + + /// + /// >> Validators + /// The map from (wannabe) validator stash key to the preferences of that validator. + /// + /// TWOX-NOTE: SAFE since `AccountId` is a secure hash. + /// + public async Task Validators(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key, string blockhash, CancellationToken token) + { + string parameters = StakingStorage.ValidatorsParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> CounterForValidatorsParams + /// Counter for the related counted storage map + /// + public static string CounterForValidatorsParams() + { + return RequestGenerator.GetStorage("Staking", "CounterForValidators", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> CounterForValidatorsDefault + /// Default value as hex string + /// + public static string CounterForValidatorsDefault() + { + return "0x00000000"; + } + + /// + /// >> CounterForValidators + /// Counter for the related counted storage map + /// + public async Task CounterForValidators(string blockhash, CancellationToken token) + { + string parameters = StakingStorage.CounterForValidatorsParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> MaxValidatorsCountParams + /// The maximum validator count before we stop allowing new validators to join. + /// + /// When this value is not set, no limits are enforced. + /// + public static string MaxValidatorsCountParams() + { + return RequestGenerator.GetStorage("Staking", "MaxValidatorsCount", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> MaxValidatorsCountDefault + /// Default value as hex string + /// + public static string MaxValidatorsCountDefault() + { + return "0x00"; + } + + /// + /// >> MaxValidatorsCount + /// The maximum validator count before we stop allowing new validators to join. + /// + /// When this value is not set, no limits are enforced. + /// + public async Task MaxValidatorsCount(string blockhash, CancellationToken token) + { + string parameters = StakingStorage.MaxValidatorsCountParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> NominatorsParams + /// The map from nominator stash key to their nomination preferences, namely the validators that + /// they wish to support. + /// + /// Note that the keys of this storage map might become non-decodable in case the + /// account's [`NominationsQuota::MaxNominations`] configuration is decreased. + /// In this rare case, these nominators + /// are still existent in storage, their key is correct and retrievable (i.e. `contains_key` + /// indicates that they exist), but their value cannot be decoded. Therefore, the non-decodable + /// nominators will effectively not-exist, until they re-submit their preferences such that it + /// is within the bounds of the newly set `Config::MaxNominations`. + /// + /// This implies that `::iter_keys().count()` and `::iter().count()` might return different + /// values for this map. Moreover, the main `::count()` is aligned with the former, namely the + /// number of keys that exist. + /// + /// Lastly, if any of the nominators become non-decodable, they can be chilled immediately via + /// [`Call::chill_other`] dispatchable by anyone. + /// + /// TWOX-NOTE: SAFE since `AccountId` is a secure hash. + /// + public static string NominatorsParams(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key) + { + return RequestGenerator.GetStorage("Staking", "Nominators", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> NominatorsDefault + /// Default value as hex string + /// + public static string NominatorsDefault() + { + return "0x00"; + } + + /// + /// >> Nominators + /// The map from nominator stash key to their nomination preferences, namely the validators that + /// they wish to support. + /// + /// Note that the keys of this storage map might become non-decodable in case the + /// account's [`NominationsQuota::MaxNominations`] configuration is decreased. + /// In this rare case, these nominators + /// are still existent in storage, their key is correct and retrievable (i.e. `contains_key` + /// indicates that they exist), but their value cannot be decoded. Therefore, the non-decodable + /// nominators will effectively not-exist, until they re-submit their preferences such that it + /// is within the bounds of the newly set `Config::MaxNominations`. + /// + /// This implies that `::iter_keys().count()` and `::iter().count()` might return different + /// values for this map. Moreover, the main `::count()` is aligned with the former, namely the + /// number of keys that exist. + /// + /// Lastly, if any of the nominators become non-decodable, they can be chilled immediately via + /// [`Call::chill_other`] dispatchable by anyone. + /// + /// TWOX-NOTE: SAFE since `AccountId` is a secure hash. + /// + public async Task Nominators(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key, string blockhash, CancellationToken token) + { + string parameters = StakingStorage.NominatorsParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> CounterForNominatorsParams + /// Counter for the related counted storage map + /// + public static string CounterForNominatorsParams() + { + return RequestGenerator.GetStorage("Staking", "CounterForNominators", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> CounterForNominatorsDefault + /// Default value as hex string + /// + public static string CounterForNominatorsDefault() + { + return "0x00000000"; + } + + /// + /// >> CounterForNominators + /// Counter for the related counted storage map + /// + public async Task CounterForNominators(string blockhash, CancellationToken token) + { + string parameters = StakingStorage.CounterForNominatorsParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> MaxNominatorsCountParams + /// The maximum nominator count before we stop allowing new validators to join. + /// + /// When this value is not set, no limits are enforced. + /// + public static string MaxNominatorsCountParams() + { + return RequestGenerator.GetStorage("Staking", "MaxNominatorsCount", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> MaxNominatorsCountDefault + /// Default value as hex string + /// + public static string MaxNominatorsCountDefault() + { + return "0x00"; + } + + /// + /// >> MaxNominatorsCount + /// The maximum nominator count before we stop allowing new validators to join. + /// + /// When this value is not set, no limits are enforced. + /// + public async Task MaxNominatorsCount(string blockhash, CancellationToken token) + { + string parameters = StakingStorage.MaxNominatorsCountParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> CurrentEraParams + /// The current era index. + /// + /// This is the latest planned era, depending on how the Session pallet queues the validator + /// set, it might be active or not. + /// + public static string CurrentEraParams() + { + return RequestGenerator.GetStorage("Staking", "CurrentEra", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> CurrentEraDefault + /// Default value as hex string + /// + public static string CurrentEraDefault() + { + return "0x00"; + } + + /// + /// >> CurrentEra + /// The current era index. + /// + /// This is the latest planned era, depending on how the Session pallet queues the validator + /// set, it might be active or not. + /// + public async Task CurrentEra(string blockhash, CancellationToken token) + { + string parameters = StakingStorage.CurrentEraParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> ActiveEraParams + /// The active era information, it holds index and start. + /// + /// The active era is the era being currently rewarded. Validator set of this era must be + /// equal to [`SessionInterface::validators`]. + /// + public static string ActiveEraParams() + { + return RequestGenerator.GetStorage("Staking", "ActiveEra", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> ActiveEraDefault + /// Default value as hex string + /// + public static string ActiveEraDefault() + { + return "0x00"; + } + + /// + /// >> ActiveEra + /// The active era information, it holds index and start. + /// + /// The active era is the era being currently rewarded. Validator set of this era must be + /// equal to [`SessionInterface::validators`]. + /// + public async Task ActiveEra(string blockhash, CancellationToken token) + { + string parameters = StakingStorage.ActiveEraParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> ErasStartSessionIndexParams + /// The session index at which the era start for the last [`Config::HistoryDepth`] eras. + /// + /// Note: This tracks the starting session (i.e. session index when era start being active) + /// for the eras in `[CurrentEra - HISTORY_DEPTH, CurrentEra]`. + /// + public static string ErasStartSessionIndexParams(Substrate.NetApi.Model.Types.Primitive.U32 key) + { + return RequestGenerator.GetStorage("Staking", "ErasStartSessionIndex", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> ErasStartSessionIndexDefault + /// Default value as hex string + /// + public static string ErasStartSessionIndexDefault() + { + return "0x00"; + } + + /// + /// >> ErasStartSessionIndex + /// The session index at which the era start for the last [`Config::HistoryDepth`] eras. + /// + /// Note: This tracks the starting session (i.e. session index when era start being active) + /// for the eras in `[CurrentEra - HISTORY_DEPTH, CurrentEra]`. + /// + public async Task ErasStartSessionIndex(Substrate.NetApi.Model.Types.Primitive.U32 key, string blockhash, CancellationToken token) + { + string parameters = StakingStorage.ErasStartSessionIndexParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> ErasStakersParams + /// Exposure of validator at era. + /// + /// This is keyed first by the era index to allow bulk deletion and then the stash account. + /// + /// Is it removed after [`Config::HistoryDepth`] eras. + /// If stakers hasn't been set or has been removed then empty exposure is returned. + /// + /// Note: Deprecated since v14. Use `EraInfo` instead to work with exposures. + /// + public static string ErasStakersParams(Substrate.NetApi.Model.Types.Base.BaseTuple key) + { + return RequestGenerator.GetStorage("Staking", "ErasStakers", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat, + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, key.Value); + } + + /// + /// >> ErasStakersDefault + /// Default value as hex string + /// + public static string ErasStakersDefault() + { + return "0x000000"; + } + + /// + /// >> ErasStakers + /// Exposure of validator at era. + /// + /// This is keyed first by the era index to allow bulk deletion and then the stash account. + /// + /// Is it removed after [`Config::HistoryDepth`] eras. + /// If stakers hasn't been set or has been removed then empty exposure is returned. + /// + /// Note: Deprecated since v14. Use `EraInfo` instead to work with exposures. + /// + public async Task ErasStakers(Substrate.NetApi.Model.Types.Base.BaseTuple key, string blockhash, CancellationToken token) + { + string parameters = StakingStorage.ErasStakersParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> ErasStakersOverviewParams + /// Summary of validator exposure at a given era. + /// + /// This contains the total stake in support of the validator and their own stake. In addition, + /// it can also be used to get the number of nominators backing this validator and the number of + /// exposure pages they are divided into. The page count is useful to determine the number of + /// pages of rewards that needs to be claimed. + /// + /// This is keyed first by the era index to allow bulk deletion and then the stash account. + /// Should only be accessed through `EraInfo`. + /// + /// Is it removed after [`Config::HistoryDepth`] eras. + /// If stakers hasn't been set or has been removed then empty overview is returned. + /// + public static string ErasStakersOverviewParams(Substrate.NetApi.Model.Types.Base.BaseTuple key) + { + return RequestGenerator.GetStorage("Staking", "ErasStakersOverview", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat, + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, key.Value); + } + + /// + /// >> ErasStakersOverviewDefault + /// Default value as hex string + /// + public static string ErasStakersOverviewDefault() + { + return "0x00"; + } + + /// + /// >> ErasStakersOverview + /// Summary of validator exposure at a given era. + /// + /// This contains the total stake in support of the validator and their own stake. In addition, + /// it can also be used to get the number of nominators backing this validator and the number of + /// exposure pages they are divided into. The page count is useful to determine the number of + /// pages of rewards that needs to be claimed. + /// + /// This is keyed first by the era index to allow bulk deletion and then the stash account. + /// Should only be accessed through `EraInfo`. + /// + /// Is it removed after [`Config::HistoryDepth`] eras. + /// If stakers hasn't been set or has been removed then empty overview is returned. + /// + public async Task ErasStakersOverview(Substrate.NetApi.Model.Types.Base.BaseTuple key, string blockhash, CancellationToken token) + { + string parameters = StakingStorage.ErasStakersOverviewParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> ErasStakersClippedParams + /// Clipped Exposure of validator at era. + /// + /// Note: This is deprecated, should be used as read-only and will be removed in the future. + /// New `Exposure`s are stored in a paged manner in `ErasStakersPaged` instead. + /// + /// This is similar to [`ErasStakers`] but number of nominators exposed is reduced to the + /// `T::MaxExposurePageSize` biggest stakers. + /// (Note: the field `total` and `own` of the exposure remains unchanged). + /// This is used to limit the i/o cost for the nominator payout. + /// + /// This is keyed fist by the era index to allow bulk deletion and then the stash account. + /// + /// It is removed after [`Config::HistoryDepth`] eras. + /// If stakers hasn't been set or has been removed then empty exposure is returned. + /// + /// Note: Deprecated since v14. Use `EraInfo` instead to work with exposures. + /// + public static string ErasStakersClippedParams(Substrate.NetApi.Model.Types.Base.BaseTuple key) + { + return RequestGenerator.GetStorage("Staking", "ErasStakersClipped", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat, + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, key.Value); + } + + /// + /// >> ErasStakersClippedDefault + /// Default value as hex string + /// + public static string ErasStakersClippedDefault() + { + return "0x000000"; + } + + /// + /// >> ErasStakersClipped + /// Clipped Exposure of validator at era. + /// + /// Note: This is deprecated, should be used as read-only and will be removed in the future. + /// New `Exposure`s are stored in a paged manner in `ErasStakersPaged` instead. + /// + /// This is similar to [`ErasStakers`] but number of nominators exposed is reduced to the + /// `T::MaxExposurePageSize` biggest stakers. + /// (Note: the field `total` and `own` of the exposure remains unchanged). + /// This is used to limit the i/o cost for the nominator payout. + /// + /// This is keyed fist by the era index to allow bulk deletion and then the stash account. + /// + /// It is removed after [`Config::HistoryDepth`] eras. + /// If stakers hasn't been set or has been removed then empty exposure is returned. + /// + /// Note: Deprecated since v14. Use `EraInfo` instead to work with exposures. + /// + public async Task ErasStakersClipped(Substrate.NetApi.Model.Types.Base.BaseTuple key, string blockhash, CancellationToken token) + { + string parameters = StakingStorage.ErasStakersClippedParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> ErasStakersPagedParams + /// Paginated exposure of a validator at given era. + /// + /// This is keyed first by the era index to allow bulk deletion, then stash account and finally + /// the page. Should only be accessed through `EraInfo`. + /// + /// This is cleared after [`Config::HistoryDepth`] eras. + /// + public static string ErasStakersPagedParams(Substrate.NetApi.Model.Types.Base.BaseTuple key) + { + return RequestGenerator.GetStorage("Staking", "ErasStakersPaged", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat, + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat, + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, key.Value); + } + + /// + /// >> ErasStakersPagedDefault + /// Default value as hex string + /// + public static string ErasStakersPagedDefault() + { + return "0x00"; + } + + /// + /// >> ErasStakersPaged + /// Paginated exposure of a validator at given era. + /// + /// This is keyed first by the era index to allow bulk deletion, then stash account and finally + /// the page. Should only be accessed through `EraInfo`. + /// + /// This is cleared after [`Config::HistoryDepth`] eras. + /// + public async Task ErasStakersPaged(Substrate.NetApi.Model.Types.Base.BaseTuple key, string blockhash, CancellationToken token) + { + string parameters = StakingStorage.ErasStakersPagedParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> ClaimedRewardsParams + /// History of claimed paged rewards by era and validator. + /// + /// This is keyed by era and validator stash which maps to the set of page indexes which have + /// been claimed. + /// + /// It is removed after [`Config::HistoryDepth`] eras. + /// + public static string ClaimedRewardsParams(Substrate.NetApi.Model.Types.Base.BaseTuple key) + { + return RequestGenerator.GetStorage("Staking", "ClaimedRewards", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat, + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, key.Value); + } + + /// + /// >> ClaimedRewardsDefault + /// Default value as hex string + /// + public static string ClaimedRewardsDefault() + { + return "0x00"; + } + + /// + /// >> ClaimedRewards + /// History of claimed paged rewards by era and validator. + /// + /// This is keyed by era and validator stash which maps to the set of page indexes which have + /// been claimed. + /// + /// It is removed after [`Config::HistoryDepth`] eras. + /// + public async Task> ClaimedRewards(Substrate.NetApi.Model.Types.Base.BaseTuple key, string blockhash, CancellationToken token) + { + string parameters = StakingStorage.ClaimedRewardsParams(key); + var result = await _client.GetStorageAsync>(parameters, blockhash, token); + return result; + } + + /// + /// >> ErasValidatorPrefsParams + /// Similar to `ErasStakers`, this holds the preferences of validators. + /// + /// This is keyed first by the era index to allow bulk deletion and then the stash account. + /// + /// Is it removed after [`Config::HistoryDepth`] eras. + /// + public static string ErasValidatorPrefsParams(Substrate.NetApi.Model.Types.Base.BaseTuple key) + { + return RequestGenerator.GetStorage("Staking", "ErasValidatorPrefs", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat, + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, key.Value); + } + + /// + /// >> ErasValidatorPrefsDefault + /// Default value as hex string + /// + public static string ErasValidatorPrefsDefault() + { + return "0x0000"; + } + + /// + /// >> ErasValidatorPrefs + /// Similar to `ErasStakers`, this holds the preferences of validators. + /// + /// This is keyed first by the era index to allow bulk deletion and then the stash account. + /// + /// Is it removed after [`Config::HistoryDepth`] eras. + /// + public async Task ErasValidatorPrefs(Substrate.NetApi.Model.Types.Base.BaseTuple key, string blockhash, CancellationToken token) + { + string parameters = StakingStorage.ErasValidatorPrefsParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> ErasValidatorRewardParams + /// The total validator era payout for the last [`Config::HistoryDepth`] eras. + /// + /// Eras that haven't finished yet or has been removed doesn't have reward. + /// + public static string ErasValidatorRewardParams(Substrate.NetApi.Model.Types.Primitive.U32 key) + { + return RequestGenerator.GetStorage("Staking", "ErasValidatorReward", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> ErasValidatorRewardDefault + /// Default value as hex string + /// + public static string ErasValidatorRewardDefault() + { + return "0x00"; + } + + /// + /// >> ErasValidatorReward + /// The total validator era payout for the last [`Config::HistoryDepth`] eras. + /// + /// Eras that haven't finished yet or has been removed doesn't have reward. + /// + public async Task ErasValidatorReward(Substrate.NetApi.Model.Types.Primitive.U32 key, string blockhash, CancellationToken token) + { + string parameters = StakingStorage.ErasValidatorRewardParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> ErasRewardPointsParams + /// Rewards for the last [`Config::HistoryDepth`] eras. + /// If reward hasn't been set or has been removed then 0 reward is returned. + /// + public static string ErasRewardPointsParams(Substrate.NetApi.Model.Types.Primitive.U32 key) + { + return RequestGenerator.GetStorage("Staking", "ErasRewardPoints", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> ErasRewardPointsDefault + /// Default value as hex string + /// + public static string ErasRewardPointsDefault() + { + return "0x0000000000"; + } + + /// + /// >> ErasRewardPoints + /// Rewards for the last [`Config::HistoryDepth`] eras. + /// If reward hasn't been set or has been removed then 0 reward is returned. + /// + public async Task ErasRewardPoints(Substrate.NetApi.Model.Types.Primitive.U32 key, string blockhash, CancellationToken token) + { + string parameters = StakingStorage.ErasRewardPointsParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> ErasTotalStakeParams + /// The total amount staked for the last [`Config::HistoryDepth`] eras. + /// If total hasn't been set or has been removed then 0 stake is returned. + /// + public static string ErasTotalStakeParams(Substrate.NetApi.Model.Types.Primitive.U32 key) + { + return RequestGenerator.GetStorage("Staking", "ErasTotalStake", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> ErasTotalStakeDefault + /// Default value as hex string + /// + public static string ErasTotalStakeDefault() + { + return "0x00000000000000000000000000000000"; + } + + /// + /// >> ErasTotalStake + /// The total amount staked for the last [`Config::HistoryDepth`] eras. + /// If total hasn't been set or has been removed then 0 stake is returned. + /// + public async Task ErasTotalStake(Substrate.NetApi.Model.Types.Primitive.U32 key, string blockhash, CancellationToken token) + { + string parameters = StakingStorage.ErasTotalStakeParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> ForceEraParams + /// Mode of era forcing. + /// + public static string ForceEraParams() + { + return RequestGenerator.GetStorage("Staking", "ForceEra", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> ForceEraDefault + /// Default value as hex string + /// + public static string ForceEraDefault() + { + return "0x00"; + } + + /// + /// >> ForceEra + /// Mode of era forcing. + /// + public async Task ForceEra(string blockhash, CancellationToken token) + { + string parameters = StakingStorage.ForceEraParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> SlashRewardFractionParams + /// The percentage of the slash that is distributed to reporters. + /// + /// The rest of the slashed value is handled by the `Slash`. + /// + public static string SlashRewardFractionParams() + { + return RequestGenerator.GetStorage("Staking", "SlashRewardFraction", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> SlashRewardFractionDefault + /// Default value as hex string + /// + public static string SlashRewardFractionDefault() + { + return "0x00000000"; + } + + /// + /// >> SlashRewardFraction + /// The percentage of the slash that is distributed to reporters. + /// + /// The rest of the slashed value is handled by the `Slash`. + /// + public async Task SlashRewardFraction(string blockhash, CancellationToken token) + { + string parameters = StakingStorage.SlashRewardFractionParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> CanceledSlashPayoutParams + /// The amount of currency given to reporters of a slash event which was + /// canceled by extraordinary circumstances (e.g. governance). + /// + public static string CanceledSlashPayoutParams() + { + return RequestGenerator.GetStorage("Staking", "CanceledSlashPayout", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> CanceledSlashPayoutDefault + /// Default value as hex string + /// + public static string CanceledSlashPayoutDefault() + { + return "0x00000000000000000000000000000000"; + } + + /// + /// >> CanceledSlashPayout + /// The amount of currency given to reporters of a slash event which was + /// canceled by extraordinary circumstances (e.g. governance). + /// + public async Task CanceledSlashPayout(string blockhash, CancellationToken token) + { + string parameters = StakingStorage.CanceledSlashPayoutParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> UnappliedSlashesParams + /// All unapplied slashes that are queued for later. + /// + public static string UnappliedSlashesParams(Substrate.NetApi.Model.Types.Primitive.U32 key) + { + return RequestGenerator.GetStorage("Staking", "UnappliedSlashes", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> UnappliedSlashesDefault + /// Default value as hex string + /// + public static string UnappliedSlashesDefault() + { + return "0x00"; + } + + /// + /// >> UnappliedSlashes + /// All unapplied slashes that are queued for later. + /// + public async Task> UnappliedSlashes(Substrate.NetApi.Model.Types.Primitive.U32 key, string blockhash, CancellationToken token) + { + string parameters = StakingStorage.UnappliedSlashesParams(key); + var result = await _client.GetStorageAsync>(parameters, blockhash, token); + return result; + } + + /// + /// >> BondedErasParams + /// A mapping from still-bonded eras to the first session index of that era. + /// + /// Must contains information for eras for the range: + /// `[active_era - bounding_duration; active_era]` + /// + public static string BondedErasParams() + { + return RequestGenerator.GetStorage("Staking", "BondedEras", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> BondedErasDefault + /// Default value as hex string + /// + public static string BondedErasDefault() + { + return "0x00"; + } + + /// + /// >> BondedEras + /// A mapping from still-bonded eras to the first session index of that era. + /// + /// Must contains information for eras for the range: + /// `[active_era - bounding_duration; active_era]` + /// + public async Task>> BondedEras(string blockhash, CancellationToken token) + { + string parameters = StakingStorage.BondedErasParams(); + var result = await _client.GetStorageAsync>>(parameters, blockhash, token); + return result; + } + + /// + /// >> ValidatorSlashInEraParams + /// All slashing events on validators, mapped by era to the highest slash proportion + /// and slash value of the era. + /// + public static string ValidatorSlashInEraParams(Substrate.NetApi.Model.Types.Base.BaseTuple key) + { + return RequestGenerator.GetStorage("Staking", "ValidatorSlashInEra", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat, + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, key.Value); + } + + /// + /// >> ValidatorSlashInEraDefault + /// Default value as hex string + /// + public static string ValidatorSlashInEraDefault() + { + return "0x00"; + } + + /// + /// >> ValidatorSlashInEra + /// All slashing events on validators, mapped by era to the highest slash proportion + /// and slash value of the era. + /// + public async Task> ValidatorSlashInEra(Substrate.NetApi.Model.Types.Base.BaseTuple key, string blockhash, CancellationToken token) + { + string parameters = StakingStorage.ValidatorSlashInEraParams(key); + var result = await _client.GetStorageAsync>(parameters, blockhash, token); + return result; + } + + /// + /// >> NominatorSlashInEraParams + /// All slashing events on nominators, mapped by era to the highest slash value of the era. + /// + public static string NominatorSlashInEraParams(Substrate.NetApi.Model.Types.Base.BaseTuple key) + { + return RequestGenerator.GetStorage("Staking", "NominatorSlashInEra", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat, + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, key.Value); + } + + /// + /// >> NominatorSlashInEraDefault + /// Default value as hex string + /// + public static string NominatorSlashInEraDefault() + { + return "0x00"; + } + + /// + /// >> NominatorSlashInEra + /// All slashing events on nominators, mapped by era to the highest slash value of the era. + /// + public async Task NominatorSlashInEra(Substrate.NetApi.Model.Types.Base.BaseTuple key, string blockhash, CancellationToken token) + { + string parameters = StakingStorage.NominatorSlashInEraParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> SlashingSpansParams + /// Slashing spans for stash accounts. + /// + public static string SlashingSpansParams(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key) + { + return RequestGenerator.GetStorage("Staking", "SlashingSpans", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> SlashingSpansDefault + /// Default value as hex string + /// + public static string SlashingSpansDefault() + { + return "0x00"; + } + + /// + /// >> SlashingSpans + /// Slashing spans for stash accounts. + /// + public async Task SlashingSpans(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key, string blockhash, CancellationToken token) + { + string parameters = StakingStorage.SlashingSpansParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> SpanSlashParams + /// Records information about the maximum slash of a stash within a slashing span, + /// as well as how much reward has been paid out. + /// + public static string SpanSlashParams(Substrate.NetApi.Model.Types.Base.BaseTuple key) + { + return RequestGenerator.GetStorage("Staking", "SpanSlash", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> SpanSlashDefault + /// Default value as hex string + /// + public static string SpanSlashDefault() + { + return "0x0000000000000000000000000000000000000000000000000000000000000000"; + } + + /// + /// >> SpanSlash + /// Records information about the maximum slash of a stash within a slashing span, + /// as well as how much reward has been paid out. + /// + public async Task SpanSlash(Substrate.NetApi.Model.Types.Base.BaseTuple key, string blockhash, CancellationToken token) + { + string parameters = StakingStorage.SpanSlashParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> CurrentPlannedSessionParams + /// The last planned session scheduled by the session pallet. + /// + /// This is basically in sync with the call to [`pallet_session::SessionManager::new_session`]. + /// + public static string CurrentPlannedSessionParams() + { + return RequestGenerator.GetStorage("Staking", "CurrentPlannedSession", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> CurrentPlannedSessionDefault + /// Default value as hex string + /// + public static string CurrentPlannedSessionDefault() + { + return "0x00000000"; + } + + /// + /// >> CurrentPlannedSession + /// The last planned session scheduled by the session pallet. + /// + /// This is basically in sync with the call to [`pallet_session::SessionManager::new_session`]. + /// + public async Task CurrentPlannedSession(string blockhash, CancellationToken token) + { + string parameters = StakingStorage.CurrentPlannedSessionParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> OffendingValidatorsParams + /// Indices of validators that have offended in the active era and whether they are currently + /// disabled. + /// + /// This value should be a superset of disabled validators since not all offences lead to the + /// validator being disabled (if there was no slash). This is needed to track the percentage of + /// validators that have offended in the current era, ensuring a new era is forced if + /// `OffendingValidatorsThreshold` is reached. The vec is always kept sorted so that we can find + /// whether a given validator has previously offended using binary search. It gets cleared when + /// the era ends. + /// + public static string OffendingValidatorsParams() + { + return RequestGenerator.GetStorage("Staking", "OffendingValidators", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> OffendingValidatorsDefault + /// Default value as hex string + /// + public static string OffendingValidatorsDefault() + { + return "0x00"; + } + + /// + /// >> OffendingValidators + /// Indices of validators that have offended in the active era and whether they are currently + /// disabled. + /// + /// This value should be a superset of disabled validators since not all offences lead to the + /// validator being disabled (if there was no slash). This is needed to track the percentage of + /// validators that have offended in the current era, ensuring a new era is forced if + /// `OffendingValidatorsThreshold` is reached. The vec is always kept sorted so that we can find + /// whether a given validator has previously offended using binary search. It gets cleared when + /// the era ends. + /// + public async Task>> OffendingValidators(string blockhash, CancellationToken token) + { + string parameters = StakingStorage.OffendingValidatorsParams(); + var result = await _client.GetStorageAsync>>(parameters, blockhash, token); + return result; + } + + /// + /// >> ChillThresholdParams + /// The threshold for when users can start calling `chill_other` for other validators / + /// nominators. The threshold is compared to the actual number of validators / nominators + /// (`CountFor*`) in the system compared to the configured max (`Max*Count`). + /// + public static string ChillThresholdParams() + { + return RequestGenerator.GetStorage("Staking", "ChillThreshold", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> ChillThresholdDefault + /// Default value as hex string + /// + public static string ChillThresholdDefault() + { + return "0x00"; + } + + /// + /// >> ChillThreshold + /// The threshold for when users can start calling `chill_other` for other validators / + /// nominators. The threshold is compared to the actual number of validators / nominators + /// (`CountFor*`) in the system compared to the configured max (`Max*Count`). + /// + public async Task ChillThreshold(string blockhash, CancellationToken token) + { + string parameters = StakingStorage.ChillThresholdParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + } + + /// + /// >> StakingCalls + /// + public sealed class StakingCalls + { + + /// + /// >> bond + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Bond(Substrate.NetApi.Model.Types.Base.BaseCom value, Substrate.Gear.Api.Generated.Model.pallet_staking.EnumRewardDestination payee) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(value.Encode()); + byteArray.AddRange(payee.Encode()); + return new Method(13, "Staking", 0, "bond", byteArray.ToArray()); + } + + /// + /// >> bond_extra + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method BondExtra(Substrate.NetApi.Model.Types.Base.BaseCom max_additional) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(max_additional.Encode()); + return new Method(13, "Staking", 1, "bond_extra", byteArray.ToArray()); + } + + /// + /// >> unbond + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Unbond(Substrate.NetApi.Model.Types.Base.BaseCom value) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(value.Encode()); + return new Method(13, "Staking", 2, "unbond", byteArray.ToArray()); + } + + /// + /// >> withdraw_unbonded + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method WithdrawUnbonded(Substrate.NetApi.Model.Types.Primitive.U32 num_slashing_spans) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(num_slashing_spans.Encode()); + return new Method(13, "Staking", 3, "withdraw_unbonded", byteArray.ToArray()); + } + + /// + /// >> validate + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Validate(Substrate.Gear.Api.Generated.Model.pallet_staking.ValidatorPrefs prefs) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(prefs.Encode()); + return new Method(13, "Staking", 4, "validate", byteArray.ToArray()); + } + + /// + /// >> nominate + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Nominate(Substrate.NetApi.Model.Types.Base.BaseVec targets) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(targets.Encode()); + return new Method(13, "Staking", 5, "nominate", byteArray.ToArray()); + } + + /// + /// >> chill + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Chill() + { + System.Collections.Generic.List byteArray = new List(); + return new Method(13, "Staking", 6, "chill", byteArray.ToArray()); + } + + /// + /// >> set_payee + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method SetPayee(Substrate.Gear.Api.Generated.Model.pallet_staking.EnumRewardDestination payee) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(payee.Encode()); + return new Method(13, "Staking", 7, "set_payee", byteArray.ToArray()); + } + + /// + /// >> set_controller + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method SetController() + { + System.Collections.Generic.List byteArray = new List(); + return new Method(13, "Staking", 8, "set_controller", byteArray.ToArray()); + } + + /// + /// >> set_validator_count + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method SetValidatorCount(Substrate.NetApi.Model.Types.Base.BaseCom @new) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(@new.Encode()); + return new Method(13, "Staking", 9, "set_validator_count", byteArray.ToArray()); + } + + /// + /// >> increase_validator_count + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method IncreaseValidatorCount(Substrate.NetApi.Model.Types.Base.BaseCom additional) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(additional.Encode()); + return new Method(13, "Staking", 10, "increase_validator_count", byteArray.ToArray()); + } + + /// + /// >> scale_validator_count + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ScaleValidatorCount(Substrate.Gear.Api.Generated.Model.sp_arithmetic.per_things.Percent factor) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(factor.Encode()); + return new Method(13, "Staking", 11, "scale_validator_count", byteArray.ToArray()); + } + + /// + /// >> force_no_eras + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ForceNoEras() + { + System.Collections.Generic.List byteArray = new List(); + return new Method(13, "Staking", 12, "force_no_eras", byteArray.ToArray()); + } + + /// + /// >> force_new_era + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ForceNewEra() + { + System.Collections.Generic.List byteArray = new List(); + return new Method(13, "Staking", 13, "force_new_era", byteArray.ToArray()); + } + + /// + /// >> set_invulnerables + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method SetInvulnerables(Substrate.NetApi.Model.Types.Base.BaseVec invulnerables) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(invulnerables.Encode()); + return new Method(13, "Staking", 14, "set_invulnerables", byteArray.ToArray()); + } + + /// + /// >> force_unstake + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ForceUnstake(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 stash, Substrate.NetApi.Model.Types.Primitive.U32 num_slashing_spans) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(stash.Encode()); + byteArray.AddRange(num_slashing_spans.Encode()); + return new Method(13, "Staking", 15, "force_unstake", byteArray.ToArray()); + } + + /// + /// >> force_new_era_always + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ForceNewEraAlways() + { + System.Collections.Generic.List byteArray = new List(); + return new Method(13, "Staking", 16, "force_new_era_always", byteArray.ToArray()); + } + + /// + /// >> cancel_deferred_slash + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method CancelDeferredSlash(Substrate.NetApi.Model.Types.Primitive.U32 era, Substrate.NetApi.Model.Types.Base.BaseVec slash_indices) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(era.Encode()); + byteArray.AddRange(slash_indices.Encode()); + return new Method(13, "Staking", 17, "cancel_deferred_slash", byteArray.ToArray()); + } + + /// + /// >> payout_stakers + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method PayoutStakers(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 validator_stash, Substrate.NetApi.Model.Types.Primitive.U32 era) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(validator_stash.Encode()); + byteArray.AddRange(era.Encode()); + return new Method(13, "Staking", 18, "payout_stakers", byteArray.ToArray()); + } + + /// + /// >> rebond + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Rebond(Substrate.NetApi.Model.Types.Base.BaseCom value) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(value.Encode()); + return new Method(13, "Staking", 19, "rebond", byteArray.ToArray()); + } + + /// + /// >> reap_stash + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ReapStash(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 stash, Substrate.NetApi.Model.Types.Primitive.U32 num_slashing_spans) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(stash.Encode()); + byteArray.AddRange(num_slashing_spans.Encode()); + return new Method(13, "Staking", 20, "reap_stash", byteArray.ToArray()); + } + + /// + /// >> kick + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Kick(Substrate.NetApi.Model.Types.Base.BaseVec who) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(who.Encode()); + return new Method(13, "Staking", 21, "kick", byteArray.ToArray()); + } + + /// + /// >> set_staking_configs + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method SetStakingConfigs(Substrate.Gear.Api.Generated.Model.pallet_staking.pallet.pallet.EnumConfigOp min_nominator_bond, Substrate.Gear.Api.Generated.Model.pallet_staking.pallet.pallet.EnumConfigOp min_validator_bond, Substrate.Gear.Api.Generated.Model.pallet_staking.pallet.pallet.EnumConfigOp max_nominator_count, Substrate.Gear.Api.Generated.Model.pallet_staking.pallet.pallet.EnumConfigOp max_validator_count, Substrate.Gear.Api.Generated.Model.pallet_staking.pallet.pallet.EnumConfigOp chill_threshold, Substrate.Gear.Api.Generated.Model.pallet_staking.pallet.pallet.EnumConfigOp min_commission) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(min_nominator_bond.Encode()); + byteArray.AddRange(min_validator_bond.Encode()); + byteArray.AddRange(max_nominator_count.Encode()); + byteArray.AddRange(max_validator_count.Encode()); + byteArray.AddRange(chill_threshold.Encode()); + byteArray.AddRange(min_commission.Encode()); + return new Method(13, "Staking", 22, "set_staking_configs", byteArray.ToArray()); + } + + /// + /// >> chill_other + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ChillOther(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 controller) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(controller.Encode()); + return new Method(13, "Staking", 23, "chill_other", byteArray.ToArray()); + } + + /// + /// >> force_apply_min_commission + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ForceApplyMinCommission(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 validator_stash) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(validator_stash.Encode()); + return new Method(13, "Staking", 24, "force_apply_min_commission", byteArray.ToArray()); + } + + /// + /// >> set_min_commission + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method SetMinCommission(Substrate.Gear.Api.Generated.Model.sp_arithmetic.per_things.Perbill @new) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(@new.Encode()); + return new Method(13, "Staking", 25, "set_min_commission", byteArray.ToArray()); + } + + /// + /// >> payout_stakers_by_page + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method PayoutStakersByPage(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 validator_stash, Substrate.NetApi.Model.Types.Primitive.U32 era, Substrate.NetApi.Model.Types.Primitive.U32 page) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(validator_stash.Encode()); + byteArray.AddRange(era.Encode()); + byteArray.AddRange(page.Encode()); + return new Method(13, "Staking", 26, "payout_stakers_by_page", byteArray.ToArray()); + } + } + + /// + /// >> StakingConstants + /// + public sealed class StakingConstants + { + + /// + /// >> HistoryDepth + /// Number of eras to keep in history. + /// + /// Following information is kept for eras in `[current_era - + /// HistoryDepth, current_era]`: `ErasStakers`, `ErasStakersClipped`, + /// `ErasValidatorPrefs`, `ErasValidatorReward`, `ErasRewardPoints`, + /// `ErasTotalStake`, `ErasStartSessionIndex`, `ClaimedRewards`, `ErasStakersPaged`, + /// `ErasStakersOverview`. + /// + /// Must be more than the number of eras delayed by session. + /// I.e. active era must always be in history. I.e. `active_era > + /// current_era - history_depth` must be guaranteed. + /// + /// If migrating an existing pallet from storage value to config value, + /// this should be set to same value or greater as in storage. + /// + /// Note: `HistoryDepth` is used as the upper bound for the `BoundedVec` + /// item `StakingLedger.legacy_claimed_rewards`. Setting this value lower than + /// the existing value can lead to inconsistencies in the + /// `StakingLedger` and will need to be handled properly in a migration. + /// The test `reducing_history_depth_abrupt` shows this effect. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 HistoryDepth() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x54000000"); + return result; + } + + /// + /// >> SessionsPerEra + /// Number of sessions per era. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 SessionsPerEra() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x06000000"); + return result; + } + + /// + /// >> BondingDuration + /// Number of eras that staked funds must remain bonded for. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 BondingDuration() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x0E000000"); + return result; + } + + /// + /// >> SlashDeferDuration + /// Number of eras that slashes are deferred by, after computation. + /// + /// This should be less than the bonding duration. Set to 0 if slashes + /// should be applied immediately, without opportunity for intervention. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 SlashDeferDuration() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x0D000000"); + return result; + } + + /// + /// >> MaxExposurePageSize + /// The maximum size of each `T::ExposurePage`. + /// + /// An `ExposurePage` is weakly bounded to a maximum of `MaxExposurePageSize` + /// nominators. + /// + /// For older non-paged exposure, a reward payout was restricted to the top + /// `MaxExposurePageSize` nominators. This is to limit the i/o cost for the + /// nominator payout. + /// + /// Note: `MaxExposurePageSize` is used to bound `ClaimedRewards` and is unsafe to reduce + /// without handling it in a migration. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 MaxExposurePageSize() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x00010000"); + return result; + } + + /// + /// >> MaxUnlockingChunks + /// The maximum number of `unlocking` chunks a [`StakingLedger`] can + /// have. Effectively determines how many unique eras a staker may be + /// unbonding in. + /// + /// Note: `MaxUnlockingChunks` is used as the upper bound for the + /// `BoundedVec` item `StakingLedger.unlocking`. Setting this value + /// lower than the existing value can lead to inconsistencies in the + /// `StakingLedger` and will need to be handled properly in a runtime + /// migration. The test `reducing_max_unlocking_chunks_abrupt` shows + /// this effect. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 MaxUnlockingChunks() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x20000000"); + return result; + } + } + + /// + /// >> StakingErrors + /// + public enum StakingErrors + { + + /// + /// >> NotController + /// Not a controller account. + /// + NotController, + + /// + /// >> NotStash + /// Not a stash account. + /// + NotStash, + + /// + /// >> AlreadyBonded + /// Stash is already bonded. + /// + AlreadyBonded, + + /// + /// >> AlreadyPaired + /// Controller is already paired. + /// + AlreadyPaired, + + /// + /// >> EmptyTargets + /// Targets cannot be empty. + /// + EmptyTargets, + + /// + /// >> DuplicateIndex + /// Duplicate index. + /// + DuplicateIndex, + + /// + /// >> InvalidSlashIndex + /// Slash record index out of bounds. + /// + InvalidSlashIndex, + + /// + /// >> InsufficientBond + /// Cannot have a validator or nominator role, with value less than the minimum defined by + /// governance (see `MinValidatorBond` and `MinNominatorBond`). If unbonding is the + /// intention, `chill` first to remove one's role as validator/nominator. + /// + InsufficientBond, + + /// + /// >> NoMoreChunks + /// Can not schedule more unlock chunks. + /// + NoMoreChunks, + + /// + /// >> NoUnlockChunk + /// Can not rebond without unlocking chunks. + /// + NoUnlockChunk, + + /// + /// >> FundedTarget + /// Attempting to target a stash that still has funds. + /// + FundedTarget, + + /// + /// >> InvalidEraToReward + /// Invalid era to reward. + /// + InvalidEraToReward, + + /// + /// >> InvalidNumberOfNominations + /// Invalid number of nominations. + /// + InvalidNumberOfNominations, + + /// + /// >> NotSortedAndUnique + /// Items are not sorted and unique. + /// + NotSortedAndUnique, + + /// + /// >> AlreadyClaimed + /// Rewards for this era have already been claimed for this validator. + /// + AlreadyClaimed, + + /// + /// >> InvalidPage + /// No nominators exist on this page. + /// + InvalidPage, + + /// + /// >> IncorrectHistoryDepth + /// Incorrect previous history depth input provided. + /// + IncorrectHistoryDepth, + + /// + /// >> IncorrectSlashingSpans + /// Incorrect number of slashing spans provided. + /// + IncorrectSlashingSpans, + + /// + /// >> BadState + /// Internal state has become somehow corrupted and the operation cannot continue. + /// + BadState, + + /// + /// >> TooManyTargets + /// Too many nomination targets supplied. + /// + TooManyTargets, + + /// + /// >> BadTarget + /// A nomination target was supplied that was blocked or otherwise not a validator. + /// + BadTarget, + + /// + /// >> CannotChillOther + /// The user has enough bond and thus cannot be chilled forcefully by an external person. + /// + CannotChillOther, + + /// + /// >> TooManyNominators + /// There are too many nominators in the system. Governance needs to adjust the staking + /// settings to keep things safe for the runtime. + /// + TooManyNominators, + + /// + /// >> TooManyValidators + /// There are too many validator candidates in the system. Governance needs to adjust the + /// staking settings to keep things safe for the runtime. + /// + TooManyValidators, + + /// + /// >> CommissionTooLow + /// Commission is too low. Must be at least `MinCommission`. + /// + CommissionTooLow, + + /// + /// >> BoundNotMet + /// Some bound is not met. + /// + BoundNotMet, + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainStakingRewards.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainStakingRewards.cs new file mode 100644 index 00000000..9c4d80ff --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainStakingRewards.cs @@ -0,0 +1,303 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> StakingRewardsStorage + /// + public sealed class StakingRewardsStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> StakingRewardsStorage Constructor + /// + public StakingRewardsStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("StakingRewards", "TargetInflation"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.sp_arithmetic.per_things.Perquintill))); + _client.StorageKeyDict.Add(new System.Tuple("StakingRewards", "IdealStakingRatio"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.sp_arithmetic.per_things.Perquintill))); + _client.StorageKeyDict.Add(new System.Tuple("StakingRewards", "NonStakeableShare"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.sp_arithmetic.per_things.Perquintill))); + _client.StorageKeyDict.Add(new System.Tuple("StakingRewards", "FilteredAccounts"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Types.Base.BTreeSetT3))); + } + + /// + /// >> TargetInflationParams + /// Target inflation (at ideal stake) + /// + public static string TargetInflationParams() + { + return RequestGenerator.GetStorage("StakingRewards", "TargetInflation", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> TargetInflationDefault + /// Default value as hex string + /// + public static string TargetInflationDefault() + { + return "0x0000000000000000"; + } + + /// + /// >> TargetInflation + /// Target inflation (at ideal stake) + /// + public async Task TargetInflation(string blockhash, CancellationToken token) + { + string parameters = StakingRewardsStorage.TargetInflationParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> IdealStakingRatioParams + /// Ideal staking ratio + /// + public static string IdealStakingRatioParams() + { + return RequestGenerator.GetStorage("StakingRewards", "IdealStakingRatio", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> IdealStakingRatioDefault + /// Default value as hex string + /// + public static string IdealStakingRatioDefault() + { + return "0x0000000000000000"; + } + + /// + /// >> IdealStakingRatio + /// Ideal staking ratio + /// + public async Task IdealStakingRatio(string blockhash, CancellationToken token) + { + string parameters = StakingRewardsStorage.IdealStakingRatioParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> NonStakeableShareParams + /// The current share of issued tokens that cannot be staked (e.g. being vested) + /// This value is guaranteed to remain unchanged for the first year until vesting kicks in. + /// Subsequently, the non-stakeable share should be calculated based on the vesting balances. + /// + public static string NonStakeableShareParams() + { + return RequestGenerator.GetStorage("StakingRewards", "NonStakeableShare", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> NonStakeableShareDefault + /// Default value as hex string + /// + public static string NonStakeableShareDefault() + { + return "0x0000000000000000"; + } + + /// + /// >> NonStakeableShare + /// The current share of issued tokens that cannot be staked (e.g. being vested) + /// This value is guaranteed to remain unchanged for the first year until vesting kicks in. + /// Subsequently, the non-stakeable share should be calculated based on the vesting balances. + /// + public async Task NonStakeableShare(string blockhash, CancellationToken token) + { + string parameters = StakingRewardsStorage.NonStakeableShareParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> FilteredAccountsParams + /// List of accounts whose locked balance (due to incomplete vesting) should be excluded from + /// the total stakeable quantity. + /// During the 1st year the non-stakeable amount is accounted for as a fixed fraction of TTS. + /// + public static string FilteredAccountsParams() + { + return RequestGenerator.GetStorage("StakingRewards", "FilteredAccounts", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> FilteredAccountsDefault + /// Default value as hex string + /// + public static string FilteredAccountsDefault() + { + return "0x00"; + } + + /// + /// >> FilteredAccounts + /// List of accounts whose locked balance (due to incomplete vesting) should be excluded from + /// the total stakeable quantity. + /// During the 1st year the non-stakeable amount is accounted for as a fixed fraction of TTS. + /// + public async Task FilteredAccounts(string blockhash, CancellationToken token) + { + string parameters = StakingRewardsStorage.FilteredAccountsParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + } + + /// + /// >> StakingRewardsCalls + /// + public sealed class StakingRewardsCalls + { + + /// + /// >> refill + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Refill(Substrate.NetApi.Model.Types.Primitive.U128 value) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(value.Encode()); + return new Method(106, "StakingRewards", 0, "refill", byteArray.ToArray()); + } + + /// + /// >> force_refill + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ForceRefill(Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress from, Substrate.NetApi.Model.Types.Primitive.U128 value) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(from.Encode()); + byteArray.AddRange(value.Encode()); + return new Method(106, "StakingRewards", 1, "force_refill", byteArray.ToArray()); + } + + /// + /// >> withdraw + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Withdraw(Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress to, Substrate.NetApi.Model.Types.Primitive.U128 value) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(to.Encode()); + byteArray.AddRange(value.Encode()); + return new Method(106, "StakingRewards", 2, "withdraw", byteArray.ToArray()); + } + + /// + /// >> align_supply + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method AlignSupply(Substrate.NetApi.Model.Types.Primitive.U128 target) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(target.Encode()); + return new Method(106, "StakingRewards", 3, "align_supply", byteArray.ToArray()); + } + } + + /// + /// >> StakingRewardsConstants + /// + public sealed class StakingRewardsConstants + { + + /// + /// >> PalletId + /// The staking rewards' pallet id, used for deriving its sovereign account ID. + /// + public Substrate.Gear.Api.Generated.Model.frame_support.PalletId PalletId() + { + var result = new Substrate.Gear.Api.Generated.Model.frame_support.PalletId(); + result.Create("0x70792F7374727764"); + return result; + } + + /// + /// >> MillisecondsPerYear + /// Milliseconds per year to calculate inflation. + /// + public Substrate.NetApi.Model.Types.Primitive.U64 MillisecondsPerYear() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U64(); + result.Create("0x00C3FA5807000000"); + return result; + } + + /// + /// >> MinInflation + /// Minimum annual inflation. + /// + public Substrate.Gear.Api.Generated.Model.sp_arithmetic.per_things.Perquintill MinInflation() + { + var result = new Substrate.Gear.Api.Generated.Model.sp_arithmetic.per_things.Perquintill(); + result.Create("0x0000C16FF2862300"); + return result; + } + + /// + /// >> MaxROI + /// ROI cap. + /// + public Substrate.Gear.Api.Generated.Model.sp_arithmetic.per_things.Perquintill MaxROI() + { + var result = new Substrate.Gear.Api.Generated.Model.sp_arithmetic.per_things.Perquintill(); + result.Create("0x00009E1869D02904"); + return result; + } + + /// + /// >> Falloff + /// Exponential decay (fall-off) parameter. + /// + public Substrate.Gear.Api.Generated.Model.sp_arithmetic.per_things.Perquintill Falloff() + { + var result = new Substrate.Gear.Api.Generated.Model.sp_arithmetic.per_things.Perquintill(); + result.Create("0x000082DFE40D4700"); + return result; + } + } + + /// + /// >> StakingRewardsErrors + /// + public enum StakingRewardsErrors + { + + /// + /// >> FailureToRefillPool + /// Pool not replenished due to error. + /// + FailureToRefillPool, + + /// + /// >> FailureToWithdrawFromPool + /// Failure to withdraw funds from the rewards pool. + /// + FailureToWithdrawFromPool, + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainSystem.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainSystem.cs new file mode 100644 index 00000000..a1724cc4 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainSystem.cs @@ -0,0 +1,790 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> SystemStorage + /// + public sealed class SystemStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> SystemStorage Constructor + /// + public SystemStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("System", "Account"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.BlakeTwo128Concat}, typeof(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32), typeof(Substrate.Gear.Api.Generated.Model.frame_system.AccountInfo))); + _client.StorageKeyDict.Add(new System.Tuple("System", "ExtrinsicCount"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("System", "BlockWeight"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.frame_support.dispatch.PerDispatchClassT1))); + _client.StorageKeyDict.Add(new System.Tuple("System", "AllExtrinsicsLen"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("System", "BlockHash"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Primitive.U32), typeof(Substrate.Gear.Api.Generated.Model.primitive_types.H256))); + _client.StorageKeyDict.Add(new System.Tuple("System", "ExtrinsicData"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Primitive.U32), typeof(Substrate.NetApi.Model.Types.Base.BaseVec))); + _client.StorageKeyDict.Add(new System.Tuple("System", "Number"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("System", "ParentHash"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.primitive_types.H256))); + _client.StorageKeyDict.Add(new System.Tuple("System", "Digest"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.sp_runtime.generic.digest.Digest))); + _client.StorageKeyDict.Add(new System.Tuple("System", "Events"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Base.BaseVec))); + _client.StorageKeyDict.Add(new System.Tuple("System", "EventCount"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("System", "EventTopics"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.BlakeTwo128Concat}, typeof(Substrate.Gear.Api.Generated.Model.primitive_types.H256), typeof(Substrate.NetApi.Model.Types.Base.BaseVec>))); + _client.StorageKeyDict.Add(new System.Tuple("System", "LastRuntimeUpgrade"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.frame_system.LastRuntimeUpgradeInfo))); + _client.StorageKeyDict.Add(new System.Tuple("System", "UpgradedToU32RefCount"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.Bool))); + _client.StorageKeyDict.Add(new System.Tuple("System", "UpgradedToTripleRefCount"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.Bool))); + _client.StorageKeyDict.Add(new System.Tuple("System", "ExecutionPhase"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.frame_system.EnumPhase))); + } + + /// + /// >> AccountParams + /// The full account information for a particular account ID. + /// + public static string AccountParams(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key) + { + return RequestGenerator.GetStorage("System", "Account", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.BlakeTwo128Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> AccountDefault + /// Default value as hex string + /// + public static string AccountDefault() + { + return "0x0000000000000000000000000000000000000000000000000000000000000000000000000000000" + + "00000000000000000000000000000000000000000000000000000000000000000000000000000008" + + "0"; + } + + /// + /// >> Account + /// The full account information for a particular account ID. + /// + public async Task Account(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key, string blockhash, CancellationToken token) + { + string parameters = SystemStorage.AccountParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> ExtrinsicCountParams + /// Total extrinsics count for the current block. + /// + public static string ExtrinsicCountParams() + { + return RequestGenerator.GetStorage("System", "ExtrinsicCount", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> ExtrinsicCountDefault + /// Default value as hex string + /// + public static string ExtrinsicCountDefault() + { + return "0x00"; + } + + /// + /// >> ExtrinsicCount + /// Total extrinsics count for the current block. + /// + public async Task ExtrinsicCount(string blockhash, CancellationToken token) + { + string parameters = SystemStorage.ExtrinsicCountParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> BlockWeightParams + /// The current weight for the block. + /// + public static string BlockWeightParams() + { + return RequestGenerator.GetStorage("System", "BlockWeight", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> BlockWeightDefault + /// Default value as hex string + /// + public static string BlockWeightDefault() + { + return "0x000000000000"; + } + + /// + /// >> BlockWeight + /// The current weight for the block. + /// + public async Task BlockWeight(string blockhash, CancellationToken token) + { + string parameters = SystemStorage.BlockWeightParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> AllExtrinsicsLenParams + /// Total length (in bytes) for all extrinsics put together, for the current block. + /// + public static string AllExtrinsicsLenParams() + { + return RequestGenerator.GetStorage("System", "AllExtrinsicsLen", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> AllExtrinsicsLenDefault + /// Default value as hex string + /// + public static string AllExtrinsicsLenDefault() + { + return "0x00"; + } + + /// + /// >> AllExtrinsicsLen + /// Total length (in bytes) for all extrinsics put together, for the current block. + /// + public async Task AllExtrinsicsLen(string blockhash, CancellationToken token) + { + string parameters = SystemStorage.AllExtrinsicsLenParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> BlockHashParams + /// Map of block numbers to block hashes. + /// + public static string BlockHashParams(Substrate.NetApi.Model.Types.Primitive.U32 key) + { + return RequestGenerator.GetStorage("System", "BlockHash", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> BlockHashDefault + /// Default value as hex string + /// + public static string BlockHashDefault() + { + return "0x0000000000000000000000000000000000000000000000000000000000000000"; + } + + /// + /// >> BlockHash + /// Map of block numbers to block hashes. + /// + public async Task BlockHash(Substrate.NetApi.Model.Types.Primitive.U32 key, string blockhash, CancellationToken token) + { + string parameters = SystemStorage.BlockHashParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> ExtrinsicDataParams + /// Extrinsics data for the current block (maps an extrinsic's index to its data). + /// + public static string ExtrinsicDataParams(Substrate.NetApi.Model.Types.Primitive.U32 key) + { + return RequestGenerator.GetStorage("System", "ExtrinsicData", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> ExtrinsicDataDefault + /// Default value as hex string + /// + public static string ExtrinsicDataDefault() + { + return "0x00"; + } + + /// + /// >> ExtrinsicData + /// Extrinsics data for the current block (maps an extrinsic's index to its data). + /// + public async Task> ExtrinsicData(Substrate.NetApi.Model.Types.Primitive.U32 key, string blockhash, CancellationToken token) + { + string parameters = SystemStorage.ExtrinsicDataParams(key); + var result = await _client.GetStorageAsync>(parameters, blockhash, token); + return result; + } + + /// + /// >> NumberParams + /// The current block number being processed. Set by `execute_block`. + /// + public static string NumberParams() + { + return RequestGenerator.GetStorage("System", "Number", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> NumberDefault + /// Default value as hex string + /// + public static string NumberDefault() + { + return "0x00000000"; + } + + /// + /// >> Number + /// The current block number being processed. Set by `execute_block`. + /// + public async Task Number(string blockhash, CancellationToken token) + { + string parameters = SystemStorage.NumberParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> ParentHashParams + /// Hash of the previous block. + /// + public static string ParentHashParams() + { + return RequestGenerator.GetStorage("System", "ParentHash", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> ParentHashDefault + /// Default value as hex string + /// + public static string ParentHashDefault() + { + return "0x0000000000000000000000000000000000000000000000000000000000000000"; + } + + /// + /// >> ParentHash + /// Hash of the previous block. + /// + public async Task ParentHash(string blockhash, CancellationToken token) + { + string parameters = SystemStorage.ParentHashParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> DigestParams + /// Digest of the current block, also part of the block header. + /// + public static string DigestParams() + { + return RequestGenerator.GetStorage("System", "Digest", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> DigestDefault + /// Default value as hex string + /// + public static string DigestDefault() + { + return "0x00"; + } + + /// + /// >> Digest + /// Digest of the current block, also part of the block header. + /// + public async Task Digest(string blockhash, CancellationToken token) + { + string parameters = SystemStorage.DigestParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> EventsParams + /// Events deposited for the current block. + /// + /// NOTE: The item is unbound and should therefore never be read on chain. + /// It could otherwise inflate the PoV size of a block. + /// + /// Events have a large in-memory size. Box the events to not go out-of-memory + /// just in case someone still reads them from within the runtime. + /// + public static string EventsParams() + { + return RequestGenerator.GetStorage("System", "Events", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> EventsDefault + /// Default value as hex string + /// + public static string EventsDefault() + { + return "0x00"; + } + + /// + /// >> Events + /// Events deposited for the current block. + /// + /// NOTE: The item is unbound and should therefore never be read on chain. + /// It could otherwise inflate the PoV size of a block. + /// + /// Events have a large in-memory size. Box the events to not go out-of-memory + /// just in case someone still reads them from within the runtime. + /// + public async Task> Events(string blockhash, CancellationToken token) + { + string parameters = SystemStorage.EventsParams(); + var result = await _client.GetStorageAsync>(parameters, blockhash, token); + return result; + } + + /// + /// >> EventCountParams + /// The number of events in the `Events` list. + /// + public static string EventCountParams() + { + return RequestGenerator.GetStorage("System", "EventCount", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> EventCountDefault + /// Default value as hex string + /// + public static string EventCountDefault() + { + return "0x00000000"; + } + + /// + /// >> EventCount + /// The number of events in the `Events` list. + /// + public async Task EventCount(string blockhash, CancellationToken token) + { + string parameters = SystemStorage.EventCountParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> EventTopicsParams + /// Mapping between a topic (represented by T::Hash) and a vector of indexes + /// of events in the `>` list. + /// + /// All topic vectors have deterministic storage locations depending on the topic. This + /// allows light-clients to leverage the changes trie storage tracking mechanism and + /// in case of changes fetch the list of events of interest. + /// + /// The value has the type `(BlockNumberFor, EventIndex)` because if we used only just + /// the `EventIndex` then in case if the topic has the same contents on the next block + /// no notification will be triggered thus the event might be lost. + /// + public static string EventTopicsParams(Substrate.Gear.Api.Generated.Model.primitive_types.H256 key) + { + return RequestGenerator.GetStorage("System", "EventTopics", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.BlakeTwo128Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> EventTopicsDefault + /// Default value as hex string + /// + public static string EventTopicsDefault() + { + return "0x00"; + } + + /// + /// >> EventTopics + /// Mapping between a topic (represented by T::Hash) and a vector of indexes + /// of events in the `>` list. + /// + /// All topic vectors have deterministic storage locations depending on the topic. This + /// allows light-clients to leverage the changes trie storage tracking mechanism and + /// in case of changes fetch the list of events of interest. + /// + /// The value has the type `(BlockNumberFor, EventIndex)` because if we used only just + /// the `EventIndex` then in case if the topic has the same contents on the next block + /// no notification will be triggered thus the event might be lost. + /// + public async Task>> EventTopics(Substrate.Gear.Api.Generated.Model.primitive_types.H256 key, string blockhash, CancellationToken token) + { + string parameters = SystemStorage.EventTopicsParams(key); + var result = await _client.GetStorageAsync>>(parameters, blockhash, token); + return result; + } + + /// + /// >> LastRuntimeUpgradeParams + /// Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened. + /// + public static string LastRuntimeUpgradeParams() + { + return RequestGenerator.GetStorage("System", "LastRuntimeUpgrade", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> LastRuntimeUpgradeDefault + /// Default value as hex string + /// + public static string LastRuntimeUpgradeDefault() + { + return "0x00"; + } + + /// + /// >> LastRuntimeUpgrade + /// Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened. + /// + public async Task LastRuntimeUpgrade(string blockhash, CancellationToken token) + { + string parameters = SystemStorage.LastRuntimeUpgradeParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> UpgradedToU32RefCountParams + /// True if we have upgraded so that `type RefCount` is `u32`. False (default) if not. + /// + public static string UpgradedToU32RefCountParams() + { + return RequestGenerator.GetStorage("System", "UpgradedToU32RefCount", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> UpgradedToU32RefCountDefault + /// Default value as hex string + /// + public static string UpgradedToU32RefCountDefault() + { + return "0x00"; + } + + /// + /// >> UpgradedToU32RefCount + /// True if we have upgraded so that `type RefCount` is `u32`. False (default) if not. + /// + public async Task UpgradedToU32RefCount(string blockhash, CancellationToken token) + { + string parameters = SystemStorage.UpgradedToU32RefCountParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> UpgradedToTripleRefCountParams + /// True if we have upgraded so that AccountInfo contains three types of `RefCount`. False + /// (default) if not. + /// + public static string UpgradedToTripleRefCountParams() + { + return RequestGenerator.GetStorage("System", "UpgradedToTripleRefCount", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> UpgradedToTripleRefCountDefault + /// Default value as hex string + /// + public static string UpgradedToTripleRefCountDefault() + { + return "0x00"; + } + + /// + /// >> UpgradedToTripleRefCount + /// True if we have upgraded so that AccountInfo contains three types of `RefCount`. False + /// (default) if not. + /// + public async Task UpgradedToTripleRefCount(string blockhash, CancellationToken token) + { + string parameters = SystemStorage.UpgradedToTripleRefCountParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> ExecutionPhaseParams + /// The execution phase of the block. + /// + public static string ExecutionPhaseParams() + { + return RequestGenerator.GetStorage("System", "ExecutionPhase", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> ExecutionPhaseDefault + /// Default value as hex string + /// + public static string ExecutionPhaseDefault() + { + return "0x00"; + } + + /// + /// >> ExecutionPhase + /// The execution phase of the block. + /// + public async Task ExecutionPhase(string blockhash, CancellationToken token) + { + string parameters = SystemStorage.ExecutionPhaseParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + } + + /// + /// >> SystemCalls + /// + public sealed class SystemCalls + { + + /// + /// >> remark + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Remark(Substrate.NetApi.Model.Types.Base.BaseVec remark) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(remark.Encode()); + return new Method(0, "System", 0, "remark", byteArray.ToArray()); + } + + /// + /// >> set_heap_pages + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method SetHeapPages(Substrate.NetApi.Model.Types.Primitive.U64 pages) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(pages.Encode()); + return new Method(0, "System", 1, "set_heap_pages", byteArray.ToArray()); + } + + /// + /// >> set_code + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method SetCode(Substrate.NetApi.Model.Types.Base.BaseVec code) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(code.Encode()); + return new Method(0, "System", 2, "set_code", byteArray.ToArray()); + } + + /// + /// >> set_code_without_checks + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method SetCodeWithoutChecks(Substrate.NetApi.Model.Types.Base.BaseVec code) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(code.Encode()); + return new Method(0, "System", 3, "set_code_without_checks", byteArray.ToArray()); + } + + /// + /// >> set_storage + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method SetStorage(Substrate.NetApi.Model.Types.Base.BaseVec, Substrate.NetApi.Model.Types.Base.BaseVec>> items) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(items.Encode()); + return new Method(0, "System", 4, "set_storage", byteArray.ToArray()); + } + + /// + /// >> kill_storage + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method KillStorage(Substrate.NetApi.Model.Types.Base.BaseVec> keys) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(keys.Encode()); + return new Method(0, "System", 5, "kill_storage", byteArray.ToArray()); + } + + /// + /// >> kill_prefix + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method KillPrefix(Substrate.NetApi.Model.Types.Base.BaseVec prefix, Substrate.NetApi.Model.Types.Primitive.U32 subkeys) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(prefix.Encode()); + byteArray.AddRange(subkeys.Encode()); + return new Method(0, "System", 6, "kill_prefix", byteArray.ToArray()); + } + + /// + /// >> remark_with_event + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method RemarkWithEvent(Substrate.NetApi.Model.Types.Base.BaseVec remark) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(remark.Encode()); + return new Method(0, "System", 7, "remark_with_event", byteArray.ToArray()); + } + } + + /// + /// >> SystemConstants + /// + public sealed class SystemConstants + { + + /// + /// >> BlockWeights + /// Block & extrinsics weights: base values and limits. + /// + public Substrate.Gear.Api.Generated.Model.frame_system.limits.BlockWeights BlockWeights() + { + var result = new Substrate.Gear.Api.Generated.Model.frame_system.limits.BlockWeights(); + result.Create("0x025B1F5D00070010A5D4E813FFFFFFFFFFFFFFFFC2A0A91D000107D02F9B313313EC51B81E85EB5" + + "1380107004429353A130000000000000040010000C2A0A91D000107D0FB16D1E113EB51B81E85EB5" + + "1F801070010A5D4E813FFFFFFFFFFFFFFFF010700CC7B9FAE13FFFFFFFFFFFFFFBFC2A0A91D00000" + + "000"); + return result; + } + + /// + /// >> BlockLength + /// The maximum length of a block (in bytes). + /// + public Substrate.Gear.Api.Generated.Model.frame_system.limits.BlockLength BlockLength() + { + var result = new Substrate.Gear.Api.Generated.Model.frame_system.limits.BlockLength(); + result.Create("0x000028000000500000005000"); + return result; + } + + /// + /// >> BlockHashCount + /// Maximum number of block number to block hash mappings to keep (oldest pruned first). + /// + public Substrate.NetApi.Model.Types.Primitive.U32 BlockHashCount() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x60090000"); + return result; + } + + /// + /// >> DbWeight + /// The weight of runtime database operations the runtime can invoke. + /// + public Substrate.Gear.Api.Generated.Model.sp_weights.RuntimeDbWeight DbWeight() + { + var result = new Substrate.Gear.Api.Generated.Model.sp_weights.RuntimeDbWeight(); + result.Create("0x40787D010000000000E1F50500000000"); + return result; + } + + /// + /// >> Version + /// Get the chain's current version. + /// + public Substrate.Gear.Api.Generated.Model.sp_version.RuntimeVersion Version() + { + var result = new Substrate.Gear.Api.Generated.Model.sp_version.RuntimeVersion(); + result.Create(@"0x1076617261107661726101000000540600000100000048CBCA25E39F14238702000000F3FF14D5AB5270590300000017A6BC0D0062AEB30100000018EF58A3B67BA7700100000029CA33476F4108AA01000000F757F704C8EA14FE01000000FE1BBC43DE74BAEC01000000FBC577B9D747EFD601000000DF6ACB689907609B0400000037E397FC7C91F5E40200000040FE3AD401F8959A06000000D2BC9897EED08F1503000000F78B278BE53F454C02000000AB3C0572291FEB8B01000000ED99C5ACB25EEDF503000000BC9D89904F5B923F0100000037C8BB1350A9A2A804000000FF8DC88037F26223020000000100000001"); + return result; + } + + /// + /// >> SS58Prefix + /// The designated SS58 prefix of this chain. + /// + /// This replaces the "ss58Format" property declared in the chain spec. Reason is + /// that the runtime should know about the prefix in order to make use of it as + /// an identifier of the chain. + /// + public Substrate.NetApi.Model.Types.Primitive.U16 SS58Prefix() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U16(); + result.Create("0x8900"); + return result; + } + } + + /// + /// >> SystemErrors + /// + public enum SystemErrors + { + + /// + /// >> InvalidSpecName + /// The name of specification does not match between the current runtime + /// and the new runtime. + /// + InvalidSpecName, + + /// + /// >> SpecVersionNeedsToIncrease + /// The specification version is not allowed to decrease between the current runtime + /// and the new runtime. + /// + SpecVersionNeedsToIncrease, + + /// + /// >> FailedToExtractRuntimeVersion + /// Failed to extract the runtime version from the new runtime. + /// + /// Either calling `Core_version` or decoding `RuntimeVersion` failed. + /// + FailedToExtractRuntimeVersion, + + /// + /// >> NonDefaultComposite + /// Suicide called when the account has non-default composite data. + /// + NonDefaultComposite, + + /// + /// >> NonZeroRefCount + /// There is a non-zero reference count preventing the account from being purged. + /// + NonZeroRefCount, + + /// + /// >> CallFiltered + /// The origin filter prevent the call to be dispatched. + /// + CallFiltered, + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainTimestamp.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainTimestamp.cs new file mode 100644 index 00000000..93f31fe2 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainTimestamp.cs @@ -0,0 +1,148 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> TimestampStorage + /// + public sealed class TimestampStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> TimestampStorage Constructor + /// + public TimestampStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("Timestamp", "Now"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U64))); + _client.StorageKeyDict.Add(new System.Tuple("Timestamp", "DidUpdate"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.Bool))); + } + + /// + /// >> NowParams + /// The current time for the current block. + /// + public static string NowParams() + { + return RequestGenerator.GetStorage("Timestamp", "Now", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> NowDefault + /// Default value as hex string + /// + public static string NowDefault() + { + return "0x0000000000000000"; + } + + /// + /// >> Now + /// The current time for the current block. + /// + public async Task Now(string blockhash, CancellationToken token) + { + string parameters = TimestampStorage.NowParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> DidUpdateParams + /// Whether the timestamp has been updated in this block. + /// + /// This value is updated to `true` upon successful submission of a timestamp by a node. + /// It is then checked at the end of each block execution in the `on_finalize` hook. + /// + public static string DidUpdateParams() + { + return RequestGenerator.GetStorage("Timestamp", "DidUpdate", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> DidUpdateDefault + /// Default value as hex string + /// + public static string DidUpdateDefault() + { + return "0x00"; + } + + /// + /// >> DidUpdate + /// Whether the timestamp has been updated in this block. + /// + /// This value is updated to `true` upon successful submission of a timestamp by a node. + /// It is then checked at the end of each block execution in the `on_finalize` hook. + /// + public async Task DidUpdate(string blockhash, CancellationToken token) + { + string parameters = TimestampStorage.DidUpdateParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + } + + /// + /// >> TimestampCalls + /// + public sealed class TimestampCalls + { + + /// + /// >> set + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Set(Substrate.NetApi.Model.Types.Base.BaseCom now) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(now.Encode()); + return new Method(1, "Timestamp", 0, "set", byteArray.ToArray()); + } + } + + /// + /// >> TimestampConstants + /// + public sealed class TimestampConstants + { + + /// + /// >> MinimumPeriod + /// The minimum period between blocks. + /// + /// Be aware that this is different to the *expected* period that the block production + /// apparatus provides. Your chosen consensus system will generally work with this to + /// determine a sensible block time. For example, in the Aura pallet it will be double this + /// period on default settings. + /// + public Substrate.NetApi.Model.Types.Primitive.U64 MinimumPeriod() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U64(); + result.Create("0xDC05000000000000"); + return result; + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainTransactionPayment.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainTransactionPayment.cs new file mode 100644 index 00000000..b3143697 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainTransactionPayment.cs @@ -0,0 +1,142 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> TransactionPaymentStorage + /// + public sealed class TransactionPaymentStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> TransactionPaymentStorage Constructor + /// + public TransactionPaymentStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("TransactionPayment", "NextFeeMultiplier"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.sp_arithmetic.fixed_point.FixedU128))); + _client.StorageKeyDict.Add(new System.Tuple("TransactionPayment", "StorageVersion"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.pallet_transaction_payment.EnumReleases))); + } + + /// + /// >> NextFeeMultiplierParams + /// + public static string NextFeeMultiplierParams() + { + return RequestGenerator.GetStorage("TransactionPayment", "NextFeeMultiplier", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> NextFeeMultiplierDefault + /// Default value as hex string + /// + public static string NextFeeMultiplierDefault() + { + return "0x000064A7B3B6E00D0000000000000000"; + } + + /// + /// >> NextFeeMultiplier + /// + public async Task NextFeeMultiplier(string blockhash, CancellationToken token) + { + string parameters = TransactionPaymentStorage.NextFeeMultiplierParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> StorageVersionParams + /// + public static string StorageVersionParams() + { + return RequestGenerator.GetStorage("TransactionPayment", "StorageVersion", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> StorageVersionDefault + /// Default value as hex string + /// + public static string StorageVersionDefault() + { + return "0x00"; + } + + /// + /// >> StorageVersion + /// + public async Task StorageVersion(string blockhash, CancellationToken token) + { + string parameters = TransactionPaymentStorage.StorageVersionParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + } + + /// + /// >> TransactionPaymentCalls + /// + public sealed class TransactionPaymentCalls + { + } + + /// + /// >> TransactionPaymentConstants + /// + public sealed class TransactionPaymentConstants + { + + /// + /// >> OperationalFeeMultiplier + /// A fee multiplier for `Operational` extrinsics to compute "virtual tip" to boost their + /// `priority` + /// + /// This value is multiplied by the `final_fee` to obtain a "virtual tip" that is later + /// added to a tip component in regular `priority` calculations. + /// It means that a `Normal` transaction can front-run a similarly-sized `Operational` + /// extrinsic (with no tip), by including a tip value greater than the virtual tip. + /// + /// ```rust,ignore + /// // For `Normal` + /// let priority = priority_calc(tip); + /// + /// // For `Operational` + /// let virtual_tip = (inclusion_fee + tip) * OperationalFeeMultiplier; + /// let priority = priority_calc(tip + virtual_tip); + /// ``` + /// + /// Note that since we use `final_fee` the multiplier applies also to the regular `tip` + /// sent with the transaction. So, not only does the transaction get a priority bump based + /// on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational` + /// transactions. + /// + public Substrate.NetApi.Model.Types.Primitive.U8 OperationalFeeMultiplier() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U8(); + result.Create("0x05"); + return result; + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainTreasury.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainTreasury.cs new file mode 100644 index 00000000..1ffe90b6 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainTreasury.cs @@ -0,0 +1,516 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> TreasuryStorage + /// + public sealed class TreasuryStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> TreasuryStorage Constructor + /// + public TreasuryStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("Treasury", "ProposalCount"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("Treasury", "Proposals"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Primitive.U32), typeof(Substrate.Gear.Api.Generated.Model.pallet_treasury.Proposal))); + _client.StorageKeyDict.Add(new System.Tuple("Treasury", "Deactivated"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U128))); + _client.StorageKeyDict.Add(new System.Tuple("Treasury", "Approvals"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec.BoundedVecT12))); + _client.StorageKeyDict.Add(new System.Tuple("Treasury", "SpendCount"), new System.Tuple(null, null, typeof(Substrate.NetApi.Model.Types.Primitive.U32))); + _client.StorageKeyDict.Add(new System.Tuple("Treasury", "Spends"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.NetApi.Model.Types.Primitive.U32), typeof(Substrate.Gear.Api.Generated.Model.pallet_treasury.SpendStatus))); + } + + /// + /// >> ProposalCountParams + /// Number of proposals that have been made. + /// + public static string ProposalCountParams() + { + return RequestGenerator.GetStorage("Treasury", "ProposalCount", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> ProposalCountDefault + /// Default value as hex string + /// + public static string ProposalCountDefault() + { + return "0x00000000"; + } + + /// + /// >> ProposalCount + /// Number of proposals that have been made. + /// + public async Task ProposalCount(string blockhash, CancellationToken token) + { + string parameters = TreasuryStorage.ProposalCountParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> ProposalsParams + /// Proposals that have been made. + /// + public static string ProposalsParams(Substrate.NetApi.Model.Types.Primitive.U32 key) + { + return RequestGenerator.GetStorage("Treasury", "Proposals", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> ProposalsDefault + /// Default value as hex string + /// + public static string ProposalsDefault() + { + return "0x00"; + } + + /// + /// >> Proposals + /// Proposals that have been made. + /// + public async Task Proposals(Substrate.NetApi.Model.Types.Primitive.U32 key, string blockhash, CancellationToken token) + { + string parameters = TreasuryStorage.ProposalsParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> DeactivatedParams + /// The amount which has been reported as inactive to Currency. + /// + public static string DeactivatedParams() + { + return RequestGenerator.GetStorage("Treasury", "Deactivated", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> DeactivatedDefault + /// Default value as hex string + /// + public static string DeactivatedDefault() + { + return "0x00000000000000000000000000000000"; + } + + /// + /// >> Deactivated + /// The amount which has been reported as inactive to Currency. + /// + public async Task Deactivated(string blockhash, CancellationToken token) + { + string parameters = TreasuryStorage.DeactivatedParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> ApprovalsParams + /// Proposal indices that have been approved but not yet awarded. + /// + public static string ApprovalsParams() + { + return RequestGenerator.GetStorage("Treasury", "Approvals", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> ApprovalsDefault + /// Default value as hex string + /// + public static string ApprovalsDefault() + { + return "0x00"; + } + + /// + /// >> Approvals + /// Proposal indices that have been approved but not yet awarded. + /// + public async Task Approvals(string blockhash, CancellationToken token) + { + string parameters = TreasuryStorage.ApprovalsParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> SpendCountParams + /// The count of spends that have been made. + /// + public static string SpendCountParams() + { + return RequestGenerator.GetStorage("Treasury", "SpendCount", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> SpendCountDefault + /// Default value as hex string + /// + public static string SpendCountDefault() + { + return "0x00000000"; + } + + /// + /// >> SpendCount + /// The count of spends that have been made. + /// + public async Task SpendCount(string blockhash, CancellationToken token) + { + string parameters = TreasuryStorage.SpendCountParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> SpendsParams + /// Spends that have been approved and being processed. + /// + public static string SpendsParams(Substrate.NetApi.Model.Types.Primitive.U32 key) + { + return RequestGenerator.GetStorage("Treasury", "Spends", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> SpendsDefault + /// Default value as hex string + /// + public static string SpendsDefault() + { + return "0x00"; + } + + /// + /// >> Spends + /// Spends that have been approved and being processed. + /// + public async Task Spends(Substrate.NetApi.Model.Types.Primitive.U32 key, string blockhash, CancellationToken token) + { + string parameters = TreasuryStorage.SpendsParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + } + + /// + /// >> TreasuryCalls + /// + public sealed class TreasuryCalls + { + + /// + /// >> propose_spend + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ProposeSpend(Substrate.NetApi.Model.Types.Base.BaseCom value, Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress beneficiary) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(value.Encode()); + byteArray.AddRange(beneficiary.Encode()); + return new Method(14, "Treasury", 0, "propose_spend", byteArray.ToArray()); + } + + /// + /// >> reject_proposal + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method RejectProposal(Substrate.NetApi.Model.Types.Base.BaseCom proposal_id) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(proposal_id.Encode()); + return new Method(14, "Treasury", 1, "reject_proposal", byteArray.ToArray()); + } + + /// + /// >> approve_proposal + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ApproveProposal(Substrate.NetApi.Model.Types.Base.BaseCom proposal_id) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(proposal_id.Encode()); + return new Method(14, "Treasury", 2, "approve_proposal", byteArray.ToArray()); + } + + /// + /// >> spend_local + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method SpendLocal(Substrate.NetApi.Model.Types.Base.BaseCom amount, Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress beneficiary) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(amount.Encode()); + byteArray.AddRange(beneficiary.Encode()); + return new Method(14, "Treasury", 3, "spend_local", byteArray.ToArray()); + } + + /// + /// >> remove_approval + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method RemoveApproval(Substrate.NetApi.Model.Types.Base.BaseCom proposal_id) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(proposal_id.Encode()); + return new Method(14, "Treasury", 4, "remove_approval", byteArray.ToArray()); + } + + /// + /// >> spend + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Spend(Substrate.NetApi.Model.Types.Base.BaseTuple asset_kind, Substrate.NetApi.Model.Types.Base.BaseCom amount, Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 beneficiary, Substrate.NetApi.Model.Types.Base.BaseOpt valid_from) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(asset_kind.Encode()); + byteArray.AddRange(amount.Encode()); + byteArray.AddRange(beneficiary.Encode()); + byteArray.AddRange(valid_from.Encode()); + return new Method(14, "Treasury", 5, "spend", byteArray.ToArray()); + } + + /// + /// >> payout + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Payout(Substrate.NetApi.Model.Types.Primitive.U32 index) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(index.Encode()); + return new Method(14, "Treasury", 6, "payout", byteArray.ToArray()); + } + + /// + /// >> check_status + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method CheckStatus(Substrate.NetApi.Model.Types.Primitive.U32 index) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(index.Encode()); + return new Method(14, "Treasury", 7, "check_status", byteArray.ToArray()); + } + + /// + /// >> void_spend + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method VoidSpend(Substrate.NetApi.Model.Types.Primitive.U32 index) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(index.Encode()); + return new Method(14, "Treasury", 8, "void_spend", byteArray.ToArray()); + } + } + + /// + /// >> TreasuryConstants + /// + public sealed class TreasuryConstants + { + + /// + /// >> ProposalBond + /// Fraction of a proposal's value that should be bonded in order to place the proposal. + /// An accepted proposal gets these back. A rejected proposal does not. + /// + public Substrate.Gear.Api.Generated.Model.sp_arithmetic.per_things.Permill ProposalBond() + { + var result = new Substrate.Gear.Api.Generated.Model.sp_arithmetic.per_things.Permill(); + result.Create("0x50C30000"); + return result; + } + + /// + /// >> ProposalBondMinimum + /// Minimum amount of funds that should be placed in a deposit for making a proposal. + /// + public Substrate.NetApi.Model.Types.Primitive.U128 ProposalBondMinimum() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U128(); + result.Create("0x00A0724E180900000000000000000000"); + return result; + } + + /// + /// >> ProposalBondMaximum + /// Maximum amount of funds that should be placed in a deposit for making a proposal. + /// + public Substrate.NetApi.Model.Types.Base.BaseOpt ProposalBondMaximum() + { + var result = new Substrate.NetApi.Model.Types.Base.BaseOpt(); + result.Create("0x00"); + return result; + } + + /// + /// >> SpendPeriod + /// Period between successive spends. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 SpendPeriod() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x80700000"); + return result; + } + + /// + /// >> Burn + /// Percentage of spare funds (if any) that are burnt per spend period. + /// + public Substrate.Gear.Api.Generated.Model.sp_arithmetic.per_things.Permill Burn() + { + var result = new Substrate.Gear.Api.Generated.Model.sp_arithmetic.per_things.Permill(); + result.Create("0x00000000"); + return result; + } + + /// + /// >> PalletId + /// The treasury's pallet id, used for deriving its sovereign account ID. + /// + public Substrate.Gear.Api.Generated.Model.frame_support.PalletId PalletId() + { + var result = new Substrate.Gear.Api.Generated.Model.frame_support.PalletId(); + result.Create("0x70792F7472737279"); + return result; + } + + /// + /// >> MaxApprovals + /// The maximum number of approvals that can wait in the spending queue. + /// + /// NOTE: This parameter is also used within the Bounties Pallet extension if enabled. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 MaxApprovals() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x64000000"); + return result; + } + + /// + /// >> PayoutPeriod + /// The period during which an approved treasury spend has to be claimed. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 PayoutPeriod() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x002F0D00"); + return result; + } + } + + /// + /// >> TreasuryErrors + /// + public enum TreasuryErrors + { + + /// + /// >> InsufficientProposersBalance + /// Proposer's balance is too low. + /// + InsufficientProposersBalance, + + /// + /// >> InvalidIndex + /// No proposal, bounty or spend at that index. + /// + InvalidIndex, + + /// + /// >> TooManyApprovals + /// Too many approvals in the queue. + /// + TooManyApprovals, + + /// + /// >> InsufficientPermission + /// The spend origin is valid but the amount it is allowed to spend is lower than the + /// amount to be spent. + /// + InsufficientPermission, + + /// + /// >> ProposalNotApproved + /// Proposal has not been approved. + /// + ProposalNotApproved, + + /// + /// >> FailedToConvertBalance + /// The balance of the asset kind is not convertible to the balance of the native asset. + /// + FailedToConvertBalance, + + /// + /// >> SpendExpired + /// The spend has expired and cannot be claimed. + /// + SpendExpired, + + /// + /// >> EarlyPayout + /// The spend is not yet eligible for payout. + /// + EarlyPayout, + + /// + /// >> AlreadyAttempted + /// The payment has already been attempted. + /// + AlreadyAttempted, + + /// + /// >> PayoutError + /// There was some issue with the mechanism of payment. + /// + PayoutError, + + /// + /// >> NotAttempted + /// The payout was not yet attempted/claimed. + /// + NotAttempted, + + /// + /// >> Inconclusive + /// The payment has neither failed nor succeeded yet. + /// + Inconclusive, + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainUtility.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainUtility.cs new file mode 100644 index 00000000..d4955dd8 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainUtility.cs @@ -0,0 +1,148 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> UtilityStorage + /// + public sealed class UtilityStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> UtilityStorage Constructor + /// + public UtilityStorage(SubstrateClientExt client) + { + this._client = client; + } + } + + /// + /// >> UtilityCalls + /// + public sealed class UtilityCalls + { + + /// + /// >> batch + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Batch(Substrate.NetApi.Model.Types.Base.BaseVec calls) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(calls.Encode()); + return new Method(8, "Utility", 0, "batch", byteArray.ToArray()); + } + + /// + /// >> as_derivative + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method AsDerivative(Substrate.NetApi.Model.Types.Primitive.U16 index, Substrate.Gear.Api.Generated.Model.vara_runtime.EnumRuntimeCall call) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(index.Encode()); + byteArray.AddRange(call.Encode()); + return new Method(8, "Utility", 1, "as_derivative", byteArray.ToArray()); + } + + /// + /// >> batch_all + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method BatchAll(Substrate.NetApi.Model.Types.Base.BaseVec calls) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(calls.Encode()); + return new Method(8, "Utility", 2, "batch_all", byteArray.ToArray()); + } + + /// + /// >> dispatch_as + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method DispatchAs(Substrate.Gear.Api.Generated.Model.vara_runtime.EnumOriginCaller as_origin, Substrate.Gear.Api.Generated.Model.vara_runtime.EnumRuntimeCall call) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(as_origin.Encode()); + byteArray.AddRange(call.Encode()); + return new Method(8, "Utility", 3, "dispatch_as", byteArray.ToArray()); + } + + /// + /// >> force_batch + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ForceBatch(Substrate.NetApi.Model.Types.Base.BaseVec calls) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(calls.Encode()); + return new Method(8, "Utility", 4, "force_batch", byteArray.ToArray()); + } + + /// + /// >> with_weight + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method WithWeight(Substrate.Gear.Api.Generated.Model.vara_runtime.EnumRuntimeCall call, Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight weight) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(call.Encode()); + byteArray.AddRange(weight.Encode()); + return new Method(8, "Utility", 5, "with_weight", byteArray.ToArray()); + } + } + + /// + /// >> UtilityConstants + /// + public sealed class UtilityConstants + { + + /// + /// >> batched_calls_limit + /// The limit on the number of batched calls. + /// + public Substrate.NetApi.Model.Types.Primitive.U32 batched_calls_limit() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0xAA2A0000"); + return result; + } + } + + /// + /// >> UtilityErrors + /// + public enum UtilityErrors + { + + /// + /// >> TooManyCalls + /// Too many calls batched. + /// + TooManyCalls, + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainVesting.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainVesting.cs new file mode 100644 index 00000000..53596c7a --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainVesting.cs @@ -0,0 +1,251 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> VestingStorage + /// + public sealed class VestingStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> VestingStorage Constructor + /// + public VestingStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("Vesting", "Vesting"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.BlakeTwo128Concat}, typeof(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32), typeof(Substrate.Gear.Api.Generated.Model.bounded_collections.bounded_vec.BoundedVecT8))); + _client.StorageKeyDict.Add(new System.Tuple("Vesting", "StorageVersion"), new System.Tuple(null, null, typeof(Substrate.Gear.Api.Generated.Model.pallet_vesting.EnumReleases))); + } + + /// + /// >> VestingParams + /// Information regarding the vesting of a given account. + /// + public static string VestingParams(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key) + { + return RequestGenerator.GetStorage("Vesting", "Vesting", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.BlakeTwo128Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> VestingDefault + /// Default value as hex string + /// + public static string VestingDefault() + { + return "0x00"; + } + + /// + /// >> Vesting + /// Information regarding the vesting of a given account. + /// + public async Task Vesting(Substrate.Gear.Api.Generated.Model.sp_core.crypto.AccountId32 key, string blockhash, CancellationToken token) + { + string parameters = VestingStorage.VestingParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + + /// + /// >> StorageVersionParams + /// Storage version of the pallet. + /// + /// New networks start with latest version, as determined by the genesis build. + /// + public static string StorageVersionParams() + { + return RequestGenerator.GetStorage("Vesting", "StorageVersion", Substrate.NetApi.Model.Meta.Storage.Type.Plain); + } + + /// + /// >> StorageVersionDefault + /// Default value as hex string + /// + public static string StorageVersionDefault() + { + return "0x00"; + } + + /// + /// >> StorageVersion + /// Storage version of the pallet. + /// + /// New networks start with latest version, as determined by the genesis build. + /// + public async Task StorageVersion(string blockhash, CancellationToken token) + { + string parameters = VestingStorage.StorageVersionParams(); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + } + + /// + /// >> VestingCalls + /// + public sealed class VestingCalls + { + + /// + /// >> vest + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method Vest() + { + System.Collections.Generic.List byteArray = new List(); + return new Method(10, "Vesting", 0, "vest", byteArray.ToArray()); + } + + /// + /// >> vest_other + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method VestOther(Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress target) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(target.Encode()); + return new Method(10, "Vesting", 1, "vest_other", byteArray.ToArray()); + } + + /// + /// >> vested_transfer + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method VestedTransfer(Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress target, Substrate.Gear.Api.Generated.Model.pallet_vesting.vesting_info.VestingInfo schedule) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(target.Encode()); + byteArray.AddRange(schedule.Encode()); + return new Method(10, "Vesting", 2, "vested_transfer", byteArray.ToArray()); + } + + /// + /// >> force_vested_transfer + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ForceVestedTransfer(Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress source, Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress target, Substrate.Gear.Api.Generated.Model.pallet_vesting.vesting_info.VestingInfo schedule) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(source.Encode()); + byteArray.AddRange(target.Encode()); + byteArray.AddRange(schedule.Encode()); + return new Method(10, "Vesting", 3, "force_vested_transfer", byteArray.ToArray()); + } + + /// + /// >> merge_schedules + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method MergeSchedules(Substrate.NetApi.Model.Types.Primitive.U32 schedule1_index, Substrate.NetApi.Model.Types.Primitive.U32 schedule2_index) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(schedule1_index.Encode()); + byteArray.AddRange(schedule2_index.Encode()); + return new Method(10, "Vesting", 4, "merge_schedules", byteArray.ToArray()); + } + + /// + /// >> force_remove_vesting_schedule + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method ForceRemoveVestingSchedule(Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress.EnumMultiAddress target, Substrate.NetApi.Model.Types.Primitive.U32 schedule_index) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(target.Encode()); + byteArray.AddRange(schedule_index.Encode()); + return new Method(10, "Vesting", 5, "force_remove_vesting_schedule", byteArray.ToArray()); + } + } + + /// + /// >> VestingConstants + /// + public sealed class VestingConstants + { + + /// + /// >> MinVestedTransfer + /// The minimum amount transferred to call `vested_transfer`. + /// + public Substrate.NetApi.Model.Types.Primitive.U128 MinVestedTransfer() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U128(); + result.Create("0x00A0724E180900000000000000000000"); + return result; + } + + /// + /// >> MaxVestingSchedules + /// + public Substrate.NetApi.Model.Types.Primitive.U32 MaxVestingSchedules() + { + var result = new Substrate.NetApi.Model.Types.Primitive.U32(); + result.Create("0x1C000000"); + return result; + } + } + + /// + /// >> VestingErrors + /// + public enum VestingErrors + { + + /// + /// >> NotVesting + /// The account given is not vesting. + /// + NotVesting, + + /// + /// >> AtMaxVestingSchedules + /// The account already has `MaxVestingSchedules` count of schedules and thus + /// cannot add another one. Consider merging existing schedules in order to add another. + /// + AtMaxVestingSchedules, + + /// + /// >> AmountLow + /// Amount being transferred is too low to create a vesting schedule. + /// + AmountLow, + + /// + /// >> ScheduleIndexOutOfBounds + /// An index was out of bounds of the vesting schedules. + /// + ScheduleIndexOutOfBounds, + + /// + /// >> InvalidScheduleParams + /// Failed to create a new schedule because some parameter was invalid. + /// + InvalidScheduleParams, + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainWhitelist.cs b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainWhitelist.cs new file mode 100644 index 00000000..eb6538a5 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Storage/MainWhitelist.cs @@ -0,0 +1,169 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; +using System.Threading; +using System.Threading.Tasks; + + +namespace Substrate.Gear.Api.Generated.Storage +{ + + + /// + /// >> WhitelistStorage + /// + public sealed class WhitelistStorage + { + + // Substrate client for the storage calls. + private SubstrateClientExt _client; + + /// + /// >> WhitelistStorage Constructor + /// + public WhitelistStorage(SubstrateClientExt client) + { + this._client = client; + _client.StorageKeyDict.Add(new System.Tuple("Whitelist", "WhitelistedCall"), new System.Tuple(new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, typeof(Substrate.Gear.Api.Generated.Model.primitive_types.H256), typeof(Substrate.NetApi.Model.Types.Base.BaseTuple))); + } + + /// + /// >> WhitelistedCallParams + /// + public static string WhitelistedCallParams(Substrate.Gear.Api.Generated.Model.primitive_types.H256 key) + { + return RequestGenerator.GetStorage("Whitelist", "WhitelistedCall", Substrate.NetApi.Model.Meta.Storage.Type.Map, new Substrate.NetApi.Model.Meta.Storage.Hasher[] { + Substrate.NetApi.Model.Meta.Storage.Hasher.Twox64Concat}, new Substrate.NetApi.Model.Types.IType[] { + key}); + } + + /// + /// >> WhitelistedCallDefault + /// Default value as hex string + /// + public static string WhitelistedCallDefault() + { + return "0x00"; + } + + /// + /// >> WhitelistedCall + /// + public async Task WhitelistedCall(Substrate.Gear.Api.Generated.Model.primitive_types.H256 key, string blockhash, CancellationToken token) + { + string parameters = WhitelistStorage.WhitelistedCallParams(key); + var result = await _client.GetStorageAsync(parameters, blockhash, token); + return result; + } + } + + /// + /// >> WhitelistCalls + /// + public sealed class WhitelistCalls + { + + /// + /// >> whitelist_call + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method WhitelistCall(Substrate.Gear.Api.Generated.Model.primitive_types.H256 call_hash) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(call_hash.Encode()); + return new Method(21, "Whitelist", 0, "whitelist_call", byteArray.ToArray()); + } + + /// + /// >> remove_whitelisted_call + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method RemoveWhitelistedCall(Substrate.Gear.Api.Generated.Model.primitive_types.H256 call_hash) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(call_hash.Encode()); + return new Method(21, "Whitelist", 1, "remove_whitelisted_call", byteArray.ToArray()); + } + + /// + /// >> dispatch_whitelisted_call + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method DispatchWhitelistedCall(Substrate.Gear.Api.Generated.Model.primitive_types.H256 call_hash, Substrate.NetApi.Model.Types.Primitive.U32 call_encoded_len, Substrate.Gear.Api.Generated.Model.sp_weights.weight_v2.Weight call_weight_witness) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(call_hash.Encode()); + byteArray.AddRange(call_encoded_len.Encode()); + byteArray.AddRange(call_weight_witness.Encode()); + return new Method(21, "Whitelist", 2, "dispatch_whitelisted_call", byteArray.ToArray()); + } + + /// + /// >> dispatch_whitelisted_call_with_preimage + /// Contains a variant per dispatchable extrinsic that this pallet has. + /// + public static Method DispatchWhitelistedCallWithPreimage(Substrate.Gear.Api.Generated.Model.vara_runtime.EnumRuntimeCall call) + { + System.Collections.Generic.List byteArray = new List(); + byteArray.AddRange(call.Encode()); + return new Method(21, "Whitelist", 3, "dispatch_whitelisted_call_with_preimage", byteArray.ToArray()); + } + } + + /// + /// >> WhitelistConstants + /// + public sealed class WhitelistConstants + { + } + + /// + /// >> WhitelistErrors + /// + public enum WhitelistErrors + { + + /// + /// >> UnavailablePreImage + /// The preimage of the call hash could not be loaded. + /// + UnavailablePreImage, + + /// + /// >> UndecodableCall + /// The call could not be decoded. + /// + UndecodableCall, + + /// + /// >> InvalidCallWeightWitness + /// The weight of the decoded call was higher than the witness. + /// + InvalidCallWeightWitness, + + /// + /// >> CallIsNotWhitelisted + /// The call was not whitelisted. + /// + CallIsNotWhitelisted, + + /// + /// >> CallAlreadyWhitelisted + /// The call was already whitelisted; No-Op. + /// + CallAlreadyWhitelisted, + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/SubstrateClientExt.cs b/net/src/Substrate.Gear.Api/Api/Generated/SubstrateClientExt.cs new file mode 100644 index 00000000..4da04792 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/SubstrateClientExt.cs @@ -0,0 +1,290 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.Gear.Api.Generated.Storage; +using Substrate.NetApi.Model.Extrinsics; +using Substrate.NetApi.Model.Meta; +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated +{ + + + /// + /// >> Substrate Client Extension, including all Storage classes direct access. + /// + public sealed class SubstrateClientExt : Substrate.NetApi.SubstrateClient + { + + /// + /// StorageKeyDict for key definition informations. + /// + public System.Collections.Generic.Dictionary, System.Tuple> StorageKeyDict; + + /// + /// SystemStorage storage calls. + /// + public SystemStorage SystemStorage; + + /// + /// TimestampStorage storage calls. + /// + public TimestampStorage TimestampStorage; + + /// + /// AuthorshipStorage storage calls. + /// + public AuthorshipStorage AuthorshipStorage; + + /// + /// AuthorityDiscoveryStorage storage calls. + /// + public AuthorityDiscoveryStorage AuthorityDiscoveryStorage; + + /// + /// BabeStorage storage calls. + /// + public BabeStorage BabeStorage; + + /// + /// GrandpaStorage storage calls. + /// + public GrandpaStorage GrandpaStorage; + + /// + /// BalancesStorage storage calls. + /// + public BalancesStorage BalancesStorage; + + /// + /// VestingStorage storage calls. + /// + public VestingStorage VestingStorage; + + /// + /// TransactionPaymentStorage storage calls. + /// + public TransactionPaymentStorage TransactionPaymentStorage; + + /// + /// BagsListStorage storage calls. + /// + public BagsListStorage BagsListStorage; + + /// + /// ImOnlineStorage storage calls. + /// + public ImOnlineStorage ImOnlineStorage; + + /// + /// StakingStorage storage calls. + /// + public StakingStorage StakingStorage; + + /// + /// SessionStorage storage calls. + /// + public SessionStorage SessionStorage; + + /// + /// TreasuryStorage storage calls. + /// + public TreasuryStorage TreasuryStorage; + + /// + /// HistoricalStorage storage calls. + /// + public HistoricalStorage HistoricalStorage; + + /// + /// UtilityStorage storage calls. + /// + public UtilityStorage UtilityStorage; + + /// + /// ConvictionVotingStorage storage calls. + /// + public ConvictionVotingStorage ConvictionVotingStorage; + + /// + /// ReferendaStorage storage calls. + /// + public ReferendaStorage ReferendaStorage; + + /// + /// FellowshipCollectiveStorage storage calls. + /// + public FellowshipCollectiveStorage FellowshipCollectiveStorage; + + /// + /// FellowshipReferendaStorage storage calls. + /// + public FellowshipReferendaStorage FellowshipReferendaStorage; + + /// + /// OriginsStorage storage calls. + /// + public OriginsStorage OriginsStorage; + + /// + /// WhitelistStorage storage calls. + /// + public WhitelistStorage WhitelistStorage; + + /// + /// SchedulerStorage storage calls. + /// + public SchedulerStorage SchedulerStorage; + + /// + /// PreimageStorage storage calls. + /// + public PreimageStorage PreimageStorage; + + /// + /// IdentityStorage storage calls. + /// + public IdentityStorage IdentityStorage; + + /// + /// ProxyStorage storage calls. + /// + public ProxyStorage ProxyStorage; + + /// + /// MultisigStorage storage calls. + /// + public MultisigStorage MultisigStorage; + + /// + /// ElectionProviderMultiPhaseStorage storage calls. + /// + public ElectionProviderMultiPhaseStorage ElectionProviderMultiPhaseStorage; + + /// + /// OffencesStorage storage calls. + /// + public OffencesStorage OffencesStorage; + + /// + /// BountiesStorage storage calls. + /// + public BountiesStorage BountiesStorage; + + /// + /// ChildBountiesStorage storage calls. + /// + public ChildBountiesStorage ChildBountiesStorage; + + /// + /// NominationPoolsStorage storage calls. + /// + public NominationPoolsStorage NominationPoolsStorage; + + /// + /// GearProgramStorage storage calls. + /// + public GearProgramStorage GearProgramStorage; + + /// + /// GearMessengerStorage storage calls. + /// + public GearMessengerStorage GearMessengerStorage; + + /// + /// GearSchedulerStorage storage calls. + /// + public GearSchedulerStorage GearSchedulerStorage; + + /// + /// GearGasStorage storage calls. + /// + public GearGasStorage GearGasStorage; + + /// + /// GearStorage storage calls. + /// + public GearStorage GearStorage; + + /// + /// GearPaymentStorage storage calls. + /// + public GearPaymentStorage GearPaymentStorage; + + /// + /// StakingRewardsStorage storage calls. + /// + public StakingRewardsStorage StakingRewardsStorage; + + /// + /// GearVoucherStorage storage calls. + /// + public GearVoucherStorage GearVoucherStorage; + + /// + /// GearBankStorage storage calls. + /// + public GearBankStorage GearBankStorage; + + /// + /// GearBuiltinStorage storage calls. + /// + public GearBuiltinStorage GearBuiltinStorage; + + public SubstrateClientExt(System.Uri uri, Substrate.NetApi.Model.Extrinsics.ChargeType chargeType) : + base(uri, chargeType) + { + StorageKeyDict = new System.Collections.Generic.Dictionary, System.Tuple>(); + this.SystemStorage = new SystemStorage(this); + this.TimestampStorage = new TimestampStorage(this); + this.AuthorshipStorage = new AuthorshipStorage(this); + this.AuthorityDiscoveryStorage = new AuthorityDiscoveryStorage(this); + this.BabeStorage = new BabeStorage(this); + this.GrandpaStorage = new GrandpaStorage(this); + this.BalancesStorage = new BalancesStorage(this); + this.VestingStorage = new VestingStorage(this); + this.TransactionPaymentStorage = new TransactionPaymentStorage(this); + this.BagsListStorage = new BagsListStorage(this); + this.ImOnlineStorage = new ImOnlineStorage(this); + this.StakingStorage = new StakingStorage(this); + this.SessionStorage = new SessionStorage(this); + this.TreasuryStorage = new TreasuryStorage(this); + this.HistoricalStorage = new HistoricalStorage(this); + this.UtilityStorage = new UtilityStorage(this); + this.ConvictionVotingStorage = new ConvictionVotingStorage(this); + this.ReferendaStorage = new ReferendaStorage(this); + this.FellowshipCollectiveStorage = new FellowshipCollectiveStorage(this); + this.FellowshipReferendaStorage = new FellowshipReferendaStorage(this); + this.OriginsStorage = new OriginsStorage(this); + this.WhitelistStorage = new WhitelistStorage(this); + this.SchedulerStorage = new SchedulerStorage(this); + this.PreimageStorage = new PreimageStorage(this); + this.IdentityStorage = new IdentityStorage(this); + this.ProxyStorage = new ProxyStorage(this); + this.MultisigStorage = new MultisigStorage(this); + this.ElectionProviderMultiPhaseStorage = new ElectionProviderMultiPhaseStorage(this); + this.OffencesStorage = new OffencesStorage(this); + this.BountiesStorage = new BountiesStorage(this); + this.ChildBountiesStorage = new ChildBountiesStorage(this); + this.NominationPoolsStorage = new NominationPoolsStorage(this); + this.GearProgramStorage = new GearProgramStorage(this); + this.GearMessengerStorage = new GearMessengerStorage(this); + this.GearSchedulerStorage = new GearSchedulerStorage(this); + this.GearGasStorage = new GearGasStorage(this); + this.GearStorage = new GearStorage(this); + this.GearPaymentStorage = new GearPaymentStorage(this); + this.StakingRewardsStorage = new StakingRewardsStorage(this); + this.GearVoucherStorage = new GearVoucherStorage(this); + this.GearBankStorage = new GearBankStorage(this); + this.GearBuiltinStorage = new GearBuiltinStorage(this); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr0U8.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr0U8.cs new file mode 100644 index 00000000..f4e0fb8c --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr0U8.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 145 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr0U8 : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Primitive.U8[] + /// + public Substrate.NetApi.Model.Types.Primitive.U8[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 0; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Primitive.U8().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Primitive.U8[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Primitive.U8();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Primitive.U8[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr10BaseTuple.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr10BaseTuple.cs new file mode 100644 index 00000000..5a1d4eed --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr10BaseTuple.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 223 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr10BaseTuple : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] + /// + public Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 10; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr10U8.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr10U8.cs new file mode 100644 index 00000000..d9b06bee --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr10U8.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 154 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr10U8 : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Primitive.U8[] + /// + public Substrate.NetApi.Model.Types.Primitive.U8[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 10; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Primitive.U8().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Primitive.U8[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Primitive.U8();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Primitive.U8[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr11BaseTuple.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr11BaseTuple.cs new file mode 100644 index 00000000..a251826f --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr11BaseTuple.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 226 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr11BaseTuple : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] + /// + public Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 11; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr11U8.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr11U8.cs new file mode 100644 index 00000000..21cf1659 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr11U8.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 155 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr11U8 : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Primitive.U8[] + /// + public Substrate.NetApi.Model.Types.Primitive.U8[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 11; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Primitive.U8().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Primitive.U8[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Primitive.U8();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Primitive.U8[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr12BaseTuple.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr12BaseTuple.cs new file mode 100644 index 00000000..d29da566 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr12BaseTuple.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 229 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr12BaseTuple : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] + /// + public Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 12; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr12U8.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr12U8.cs new file mode 100644 index 00000000..39bbbcf0 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr12U8.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 156 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr12U8 : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Primitive.U8[] + /// + public Substrate.NetApi.Model.Types.Primitive.U8[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 12; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Primitive.U8().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Primitive.U8[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Primitive.U8();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Primitive.U8[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr13BaseTuple.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr13BaseTuple.cs new file mode 100644 index 00000000..c548669f --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr13BaseTuple.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 232 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr13BaseTuple : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] + /// + public Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 13; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr13U8.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr13U8.cs new file mode 100644 index 00000000..ef0533c2 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr13U8.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 157 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr13U8 : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Primitive.U8[] + /// + public Substrate.NetApi.Model.Types.Primitive.U8[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 13; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Primitive.U8().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Primitive.U8[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Primitive.U8();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Primitive.U8[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr14BaseTuple.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr14BaseTuple.cs new file mode 100644 index 00000000..b65d022c --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr14BaseTuple.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 235 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr14BaseTuple : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] + /// + public Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 14; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr14U8.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr14U8.cs new file mode 100644 index 00000000..11db8ec5 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr14U8.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 158 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr14U8 : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Primitive.U8[] + /// + public Substrate.NetApi.Model.Types.Primitive.U8[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 14; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Primitive.U8().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Primitive.U8[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Primitive.U8();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Primitive.U8[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr15BaseTuple.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr15BaseTuple.cs new file mode 100644 index 00000000..e32be758 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr15BaseTuple.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 238 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr15BaseTuple : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] + /// + public Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 15; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr15U8.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr15U8.cs new file mode 100644 index 00000000..987e2cc7 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr15U8.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 159 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr15U8 : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Primitive.U8[] + /// + public Substrate.NetApi.Model.Types.Primitive.U8[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 15; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Primitive.U8().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Primitive.U8[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Primitive.U8();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Primitive.U8[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr16U8.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr16U8.cs new file mode 100644 index 00000000..0fa05100 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr16U8.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 160 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr16U8 : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Primitive.U8[] + /// + public Substrate.NetApi.Model.Types.Primitive.U8[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 16; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Primitive.U8().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Primitive.U8[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Primitive.U8();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Primitive.U8[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr17U8.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr17U8.cs new file mode 100644 index 00000000..8641a286 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr17U8.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 161 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr17U8 : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Primitive.U8[] + /// + public Substrate.NetApi.Model.Types.Primitive.U8[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 17; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Primitive.U8().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Primitive.U8[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Primitive.U8();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Primitive.U8[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr18U8.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr18U8.cs new file mode 100644 index 00000000..dcd39f50 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr18U8.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 162 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr18U8 : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Primitive.U8[] + /// + public Substrate.NetApi.Model.Types.Primitive.U8[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 18; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Primitive.U8().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Primitive.U8[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Primitive.U8();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Primitive.U8[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr19U8.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr19U8.cs new file mode 100644 index 00000000..370fe7a1 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr19U8.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 163 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr19U8 : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Primitive.U8[] + /// + public Substrate.NetApi.Model.Types.Primitive.U8[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 19; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Primitive.U8().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Primitive.U8[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Primitive.U8();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Primitive.U8[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr1U8.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr1U8.cs new file mode 100644 index 00000000..adb0093d --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr1U8.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 146 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr1U8 : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Primitive.U8[] + /// + public Substrate.NetApi.Model.Types.Primitive.U8[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 1; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Primitive.U8().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Primitive.U8[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Primitive.U8();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Primitive.U8[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr20U8.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr20U8.cs new file mode 100644 index 00000000..66fd9c24 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr20U8.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 96 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr20U8 : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Primitive.U8[] + /// + public Substrate.NetApi.Model.Types.Primitive.U8[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 20; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Primitive.U8().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Primitive.U8[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Primitive.U8();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Primitive.U8[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr21U8.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr21U8.cs new file mode 100644 index 00000000..ae0a4b7c --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr21U8.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 164 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr21U8 : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Primitive.U8[] + /// + public Substrate.NetApi.Model.Types.Primitive.U8[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 21; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Primitive.U8().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Primitive.U8[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Primitive.U8();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Primitive.U8[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr22U8.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr22U8.cs new file mode 100644 index 00000000..3e1a9883 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr22U8.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 165 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr22U8 : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Primitive.U8[] + /// + public Substrate.NetApi.Model.Types.Primitive.U8[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 22; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Primitive.U8().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Primitive.U8[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Primitive.U8();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Primitive.U8[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr23U8.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr23U8.cs new file mode 100644 index 00000000..ef4cfc00 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr23U8.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 166 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr23U8 : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Primitive.U8[] + /// + public Substrate.NetApi.Model.Types.Primitive.U8[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 23; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Primitive.U8().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Primitive.U8[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Primitive.U8();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Primitive.U8[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr24U8.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr24U8.cs new file mode 100644 index 00000000..97047431 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr24U8.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 167 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr24U8 : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Primitive.U8[] + /// + public Substrate.NetApi.Model.Types.Primitive.U8[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 24; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Primitive.U8().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Primitive.U8[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Primitive.U8();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Primitive.U8[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr25U8.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr25U8.cs new file mode 100644 index 00000000..0580ac42 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr25U8.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 168 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr25U8 : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Primitive.U8[] + /// + public Substrate.NetApi.Model.Types.Primitive.U8[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 25; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Primitive.U8().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Primitive.U8[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Primitive.U8();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Primitive.U8[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr26U8.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr26U8.cs new file mode 100644 index 00000000..84249cb3 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr26U8.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 169 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr26U8 : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Primitive.U8[] + /// + public Substrate.NetApi.Model.Types.Primitive.U8[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 26; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Primitive.U8().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Primitive.U8[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Primitive.U8();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Primitive.U8[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr27U8.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr27U8.cs new file mode 100644 index 00000000..93bf7c23 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr27U8.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 170 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr27U8 : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Primitive.U8[] + /// + public Substrate.NetApi.Model.Types.Primitive.U8[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 27; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Primitive.U8().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Primitive.U8[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Primitive.U8();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Primitive.U8[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr28U8.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr28U8.cs new file mode 100644 index 00000000..2e23e485 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr28U8.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 171 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr28U8 : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Primitive.U8[] + /// + public Substrate.NetApi.Model.Types.Primitive.U8[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 28; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Primitive.U8().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Primitive.U8[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Primitive.U8();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Primitive.U8[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr29U8.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr29U8.cs new file mode 100644 index 00000000..f56fda3a --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr29U8.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 172 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr29U8 : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Primitive.U8[] + /// + public Substrate.NetApi.Model.Types.Primitive.U8[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 29; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Primitive.U8().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Primitive.U8[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Primitive.U8();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Primitive.U8[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr2BaseTuple.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr2BaseTuple.cs new file mode 100644 index 00000000..5d354913 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr2BaseTuple.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 199 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr2BaseTuple : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] + /// + public Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 2; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr2U8.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr2U8.cs new file mode 100644 index 00000000..b6383417 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr2U8.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 147 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr2U8 : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Primitive.U8[] + /// + public Substrate.NetApi.Model.Types.Primitive.U8[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 2; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Primitive.U8().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Primitive.U8[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Primitive.U8();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Primitive.U8[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr30U8.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr30U8.cs new file mode 100644 index 00000000..e81812be --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr30U8.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 173 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr30U8 : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Primitive.U8[] + /// + public Substrate.NetApi.Model.Types.Primitive.U8[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 30; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Primitive.U8().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Primitive.U8[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Primitive.U8();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Primitive.U8[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr31U8.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr31U8.cs new file mode 100644 index 00000000..8472aa9d --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr31U8.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 174 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr31U8 : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Primitive.U8[] + /// + public Substrate.NetApi.Model.Types.Primitive.U8[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 31; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Primitive.U8().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Primitive.U8[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Primitive.U8();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Primitive.U8[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr32U8.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr32U8.cs new file mode 100644 index 00000000..c14554c0 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr32U8.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 1 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr32U8 : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Primitive.U8[] + /// + public Substrate.NetApi.Model.Types.Primitive.U8[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 32; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Primitive.U8().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Primitive.U8[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Primitive.U8();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Primitive.U8[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr3BaseTuple.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr3BaseTuple.cs new file mode 100644 index 00000000..862cb3a6 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr3BaseTuple.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 202 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr3BaseTuple : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] + /// + public Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 3; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr3U8.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr3U8.cs new file mode 100644 index 00000000..185d340b --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr3U8.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 148 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr3U8 : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Primitive.U8[] + /// + public Substrate.NetApi.Model.Types.Primitive.U8[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 3; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Primitive.U8().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Primitive.U8[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Primitive.U8();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Primitive.U8[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr4BaseTuple.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr4BaseTuple.cs new file mode 100644 index 00000000..03e0c3c4 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr4BaseTuple.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 205 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr4BaseTuple : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] + /// + public Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 4; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr4U64.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr4U64.cs new file mode 100644 index 00000000..9a72603d --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr4U64.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 614 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr4U64 : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Primitive.U64[] + /// + public Substrate.NetApi.Model.Types.Primitive.U64[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 4; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Primitive.U64().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Primitive.U64[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Primitive.U64();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Primitive.U64[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr4U8.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr4U8.cs new file mode 100644 index 00000000..090b5240 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr4U8.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 17 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr4U8 : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Primitive.U8[] + /// + public Substrate.NetApi.Model.Types.Primitive.U8[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 4; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Primitive.U8().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Primitive.U8[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Primitive.U8();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Primitive.U8[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr5BaseTuple.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr5BaseTuple.cs new file mode 100644 index 00000000..23de6590 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr5BaseTuple.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 208 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr5BaseTuple : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] + /// + public Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 5; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr5U8.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr5U8.cs new file mode 100644 index 00000000..2dd10797 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr5U8.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 149 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr5U8 : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Primitive.U8[] + /// + public Substrate.NetApi.Model.Types.Primitive.U8[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 5; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Primitive.U8().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Primitive.U8[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Primitive.U8();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Primitive.U8[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr64U8.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr64U8.cs new file mode 100644 index 00000000..0af70c11 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr64U8.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 88 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr64U8 : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Primitive.U8[] + /// + public Substrate.NetApi.Model.Types.Primitive.U8[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 64; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Primitive.U8().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Primitive.U8[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Primitive.U8();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Primitive.U8[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr65U8.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr65U8.cs new file mode 100644 index 00000000..13153f6e --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr65U8.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 639 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr65U8 : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Primitive.U8[] + /// + public Substrate.NetApi.Model.Types.Primitive.U8[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 65; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Primitive.U8().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Primitive.U8[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Primitive.U8();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Primitive.U8[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr6BaseTuple.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr6BaseTuple.cs new file mode 100644 index 00000000..978b2b48 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr6BaseTuple.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 211 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr6BaseTuple : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] + /// + public Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 6; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr6U8.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr6U8.cs new file mode 100644 index 00000000..5341fd47 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr6U8.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 150 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr6U8 : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Primitive.U8[] + /// + public Substrate.NetApi.Model.Types.Primitive.U8[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 6; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Primitive.U8().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Primitive.U8[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Primitive.U8();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Primitive.U8[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr7BaseTuple.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr7BaseTuple.cs new file mode 100644 index 00000000..19e3bcda --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr7BaseTuple.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 214 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr7BaseTuple : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] + /// + public Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 7; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr7U8.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr7U8.cs new file mode 100644 index 00000000..2531716c --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr7U8.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 151 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr7U8 : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Primitive.U8[] + /// + public Substrate.NetApi.Model.Types.Primitive.U8[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 7; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Primitive.U8().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Primitive.U8[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Primitive.U8();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Primitive.U8[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr8BaseTuple.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr8BaseTuple.cs new file mode 100644 index 00000000..4d56d05d --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr8BaseTuple.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 217 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr8BaseTuple : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] + /// + public Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 8; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr8U8.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr8U8.cs new file mode 100644 index 00000000..ea12194e --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr8U8.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 152 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr8U8 : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Primitive.U8[] + /// + public Substrate.NetApi.Model.Types.Primitive.U8[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 8; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Primitive.U8().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Primitive.U8[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Primitive.U8();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Primitive.U8[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr9BaseTuple.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr9BaseTuple.cs new file mode 100644 index 00000000..26618a94 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr9BaseTuple.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 220 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr9BaseTuple : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] + /// + public Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 9; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Base.BaseTuple, Substrate.NetApi.Model.Types.Base.BaseCom>[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr9U8.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr9U8.cs new file mode 100644 index 00000000..ba18fe3c --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Arr9U8.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 153 - Array + /// + [SubstrateNodeType(TypeDefEnum.Array)] + public sealed class Arr9U8 : BaseType + { + + /// + /// >> Substrate.NetApi.Model.Types.Primitive.U8[] + /// + public Substrate.NetApi.Model.Types.Primitive.U8[] Value { get; set; } + + /// + public override int TypeSize + { + get + { + return 9; + } + } + + /// + public override string TypeName() + { + return string.Format("[{0}; {1}]", new Substrate.NetApi.Model.Types.Primitive.U8().TypeName(), this.TypeSize); + } + + /// + public override byte[] Encode() + { + var result = new List(); + foreach (var v in Value){result.AddRange(v.Encode());}; + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + var array = new Substrate.NetApi.Model.Types.Primitive.U8[TypeSize]; + for (var i = 0; i < array.Length; i++) {var t = new Substrate.NetApi.Model.Types.Primitive.U8();t.Decode(byteArray, ref p);array[i] = t;}; + var bytesLength = p - start; + Bytes = new byte[bytesLength]; + System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + Value = array; + } + + /// + public void Create(Substrate.NetApi.Model.Types.Primitive.U8[] array) + { + Value = array; + Bytes = Encode(); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/BTreeMapT1.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/BTreeMapT1.cs new file mode 100644 index 00000000..0132e4f1 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/BTreeMapT1.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 318 - Composite[BTreeMapT1] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BTreeMapT1 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec> Value { get; set; } + + /// + public override string TypeName() + { + return "BTreeMapT1"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec>(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/BTreeMapT2.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/BTreeMapT2.cs new file mode 100644 index 00000000..75546a4f --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/BTreeMapT2.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 417 - Composite[BTreeMapT2] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BTreeMapT2 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec> Value { get; set; } + + /// + public override string TypeName() + { + return "BTreeMapT2"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec>(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/BTreeMapT3.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/BTreeMapT3.cs new file mode 100644 index 00000000..f1c4b426 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/BTreeMapT3.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 541 - Composite[BTreeMapT3] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BTreeMapT3 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec> Value { get; set; } + + /// + public override string TypeName() + { + return "BTreeMapT3"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec>(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/BTreeMapT4.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/BTreeMapT4.cs new file mode 100644 index 00000000..0f98c11d --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/BTreeMapT4.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 551 - Composite[BTreeMapT4] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BTreeMapT4 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec> Value { get; set; } + + /// + public override string TypeName() + { + return "BTreeMapT4"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec>(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/BTreeMapT5.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/BTreeMapT5.cs new file mode 100644 index 00000000..bcd140c5 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/BTreeMapT5.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 567 - Composite[BTreeMapT5] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BTreeMapT5 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec> Value { get; set; } + + /// + public override string TypeName() + { + return "BTreeMapT5"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec>(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/BTreeMapT6.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/BTreeMapT6.cs new file mode 100644 index 00000000..0a49d67a --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/BTreeMapT6.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 573 - Composite[BTreeMapT6] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BTreeMapT6 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec> Value { get; set; } + + /// + public override string TypeName() + { + return "BTreeMapT6"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec>(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/BTreeMapT7.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/BTreeMapT7.cs new file mode 100644 index 00000000..0eba0c9b --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/BTreeMapT7.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 593 - Composite[BTreeMapT7] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BTreeMapT7 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec>> Value { get; set; } + + /// + public override string TypeName() + { + return "BTreeMapT7"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec>>(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/BTreeSetT1.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/BTreeSetT1.cs new file mode 100644 index 00000000..9d9fa33d --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/BTreeSetT1.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 269 - Composite[BTreeSetT1] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BTreeSetT1 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec Value { get; set; } + + /// + public override string TypeName() + { + return "BTreeSetT1"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/BTreeSetT2.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/BTreeSetT2.cs new file mode 100644 index 00000000..3c3d408a --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/BTreeSetT2.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 558 - Composite[BTreeSetT2] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BTreeSetT2 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec Value { get; set; } + + /// + public override string TypeName() + { + return "BTreeSetT2"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/BTreeSetT3.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/BTreeSetT3.cs new file mode 100644 index 00000000..286d5226 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/BTreeSetT3.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 629 - Composite[BTreeSetT3] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class BTreeSetT3 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec Value { get; set; } + + /// + public override string TypeName() + { + return "BTreeSetT3"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Cow.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Cow.cs new file mode 100644 index 00000000..b11d4ccf --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/Cow.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 346 - Composite[Cow] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class Cow : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Base.BaseVec> Value { get; set; } + + /// + public override string TypeName() + { + return "Cow"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Base.BaseVec>(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/EnumResult.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/EnumResult.cs new file mode 100644 index 00000000..933d9721 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/EnumResult.cs @@ -0,0 +1,50 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Model.Types.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> Result + /// + public enum Result + { + + /// + /// >> Ok + /// + Ok = 0, + + /// + /// >> Err + /// + Err = 1, + } + + /// + /// >> 285 - Variant[Result] + /// + public sealed class EnumResult : BaseEnumRust + { + + /// + /// Initializes a new instance of the class. + /// + public EnumResult() + { + AddTypeDecoder(Result.Ok); + AddTypeDecoder(Result.Err); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/NonZeroU32.cs b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/NonZeroU32.cs new file mode 100644 index 00000000..82018bbd --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Generated/Types/Base/NonZeroU32.cs @@ -0,0 +1,58 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using Substrate.NetApi.Attributes; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Metadata.Base; +using System.Collections.Generic; + + +namespace Substrate.Gear.Api.Generated.Types.Base +{ + + + /// + /// >> 265 - Composite[NonZeroU32] + /// + [SubstrateNodeType(TypeDefEnum.Composite)] + public sealed class NonZeroU32 : BaseType + { + + /// + /// >> value + /// + public Substrate.NetApi.Model.Types.Primitive.U32 Value { get; set; } + + /// + public override string TypeName() + { + return "NonZeroU32"; + } + + /// + public override byte[] Encode() + { + var result = new List(); + result.AddRange(Value.Encode()); + return result.ToArray(); + } + + /// + public override void Decode(byte[] byteArray, ref int p) + { + var start = p; + Value = new Substrate.NetApi.Model.Types.Primitive.U32(); + Value.Decode(byteArray, ref p); + var bytesLength = p - start; + TypeSize = bytesLength; + Bytes = new byte[bytesLength]; + global::System.Array.Copy(byteArray, start, Bytes, 0, bytesLength); + } + } +} diff --git a/net/src/Substrate.Gear.Api/Api/Helper/Generic.cs b/net/src/Substrate.Gear.Api/Api/Helper/Generic.cs new file mode 100644 index 00000000..2e3c9ec7 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Api/Helper/Generic.cs @@ -0,0 +1,192 @@ + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Numerics; +using System.Text; +using Substrate.Gear.Api.Generated.Model.primitive_types; +using Substrate.Gear.Api.Generated.Model.sp_core.crypto; +using Substrate.Gear.Api.Generated.Model.sp_runtime.multiaddress; +using Substrate.NetApi; +using Substrate.NetApi.Model.Types; +using Substrate.NetApi.Model.Types.Base; +using Substrate.NetApi.Model.Types.Primitive; + +namespace Substrate.Gear.Api.Helper +{ + public static class Generic + { + // Define methods + public static System.Numerics.BigInteger UnitToDecimals(double amount, int decimals) + { + return new System.Numerics.BigInteger(Convert.ToUInt64(amount * Math.Pow(10, decimals))); + } + + public static string ToHexString(this H256 h256) + { + return Utils.Bytes2HexString(h256.Value.Value.Select(p => p.Value).ToArray()); + } + + public static string ToPublicKeyHex(this AccountId32 account32) + { + return Utils.Bytes2HexString(account32.ToPublicKey()); + } + + public static byte[] ToPublicKey(this string address) + { + return Utils.GetPublicKeyFrom(address); + } + + public static byte[] ToPublicKey(this AccountId32 account32) + { + return account32.Value.Value.Select(p => p.Value).ToArray(); + } + + public static string ToAddress(this AccountId32 account32, short ss58 = 42) + { + byte[] pubKey = account32.Value.Value.Select(p => p.Value).ToArray(); + return pubKey.ToAddress(ss58); + } + + public static string ToAddress(this byte[] publicKey, short ss58 = 42) + { + return Utils.GetAddressFrom(publicKey, ss58); + } + + public static AccountId32 ToAccountId32(this byte[] publicKey) + { + var account32 = new AccountId32(); + account32.Create(publicKey); + return account32; + } + + public static AccountId32 ToAccountId32(this Account account) + { + var account32 = new AccountId32(); + account32.Create(account.Bytes); + return account32; + } + + public static AccountId32 ToAccountId32(this string address) + { + var account32 = new AccountId32(); + account32.Create(address.ToPublicKey()); + return account32; + } + + public static EnumMultiAddress ToEnumMultiAddress(this AccountId32 accountId32) + { + var multiAddress = new EnumMultiAddress(); + multiAddress.Create(MultiAddress.Id, accountId32); + return multiAddress; + } + + public static H256 ToH256(this string hash) + { + var h256 = new H256(); + h256.Create(hash); + return h256; + } + + public static H256 ToHash(this string name) + { + byte[] nameHash = HashExtension.Twox256(Encoding.UTF8.GetBytes(name)); + var h256 = new H256(); + h256.Create(nameHash); + return h256; + } + + public static U8 ToU8(this byte number) + { + var u8 = new U8(); + u8.Create(number); + return u8; + } + + public static U8 ToU8(this char character) + { + var u8 = new U8(); + u8.Create(BitConverter.GetBytes(character)[0]); + return u8; + } + + public static U16 ToU16(this ushort number) + { + var u16 = new U16(); + u16.Create(number); + return u16; + } + + public static U32 ToU32(this uint number) + { + var u32 = new U32(); + u32.Create(number); + return u32; + } + + public static U128 ToU128(this System.Numerics.BigInteger number) + { + var u128 = new U128(); + u128.Create(number); + return u128; + } + + public static U8[] ToU8Array(this byte[] bytes) + { + return bytes.Select(p => p.ToU8()).ToArray(); + } + + public static U8[] ToU8Array(this string str) + { + return str.Select(p => p.ToU8()).ToArray(); + } + + public static U16[] ToU16Array(this ushort[] bytes) + { + return bytes.Select(p => p.ToU16()).ToArray(); + } + + public static U32[] ToU32Array(this uint[] bytes) + { + return bytes.Select(p => p.ToU32()).ToArray(); + } + + public static BaseOpt ToBaseOpt(this U8 u8) + { + var baseOpt = new BaseOpt(); + baseOpt.Create(u8); + return baseOpt; + } + + public static byte[] ToBytes(this H256 h256) + { + return h256.Value.Value.ToBytes(); + } + + public static byte[] ToBytes(this BaseVec baseVecU8) + { + return baseVecU8.Value.ToBytes(); + } + + public static byte[] ToBytes(this U8[] arrayU8) + { + return arrayU8.Select(p => p.Value).ToArray(); + } + + public static string ToText(this BaseVec baseVecU8) + { + return Encoding.UTF8.GetString(baseVecU8.Value.ToBytes()); + } + + public static IEnumerable> BuildChunksOf(IEnumerable fullList, int batchSize) + { + int total = 0; + while (total < fullList.Count()) + { + yield return fullList.Skip(total).Take(batchSize); + total += batchSize; + } + } + } +} + diff --git a/net/src/Substrate.Gear.Api/ReplacePattern.ps1 b/net/src/Substrate.Gear.Api/ReplacePattern.ps1 new file mode 100644 index 00000000..a5f186ac --- /dev/null +++ b/net/src/Substrate.Gear.Api/ReplacePattern.ps1 @@ -0,0 +1,30 @@ +param ( + [string]$directory = ".", + [string]$fileType = "*.*", + [string]$searchPattern, + [string]$replacePattern, + [switch]$caseInsensitive +) + +# Ensure both patterns are provided +if (-not $searchPattern -or -not $replacePattern) { + Write-Error "Both searchPattern and replacePattern must be provided." + exit 1 +} + +# Get all files in the directory with the specified file type +Get-ChildItem -Path $directory -Filter $fileType -File -Recurse | ForEach-Object { + # Read the file content + $content = Get-Content $_.FullName + + # Replace the pattern, case-sensitive if the switch is set + if ($caseInsensitive) { + $newContent = $content -replace $searchPattern, $replacePattern + } + else { + $newContent = $content -creplace $searchPattern, $replacePattern + } + + # Write the updated content back to the file + Set-Content -Path $_.FullName -Value $newContent +} diff --git a/net/src/Substrate.Gear.Api/Substrate.Gear.Api.csproj b/net/src/Substrate.Gear.Api/Substrate.Gear.Api.csproj new file mode 100644 index 00000000..b7002bd3 --- /dev/null +++ b/net/src/Substrate.Gear.Api/Substrate.Gear.Api.csproj @@ -0,0 +1,11 @@ + + + + netstandard2.0 + + + + + + + diff --git a/net/src/Substrate.Gear.Api/UpgradeApi.ps1 b/net/src/Substrate.Gear.Api/UpgradeApi.ps1 new file mode 100644 index 00000000..6c497ac4 --- /dev/null +++ b/net/src/Substrate.Gear.Api/UpgradeApi.ps1 @@ -0,0 +1,73 @@ +param ( + [string]$gearPath, + [string]$projectName = 'Substrate.Gear.Api' # Project name should always start from Substrate and never end on Client otherwise generated code doesn't compile +) + +$webSocketConfig = if ([string]::IsNullOrEmpty($gearPath)) { + '"websocket": "wss://rpc.vara.network",' +} +else { + '"websocket": "ws://127.0.0.1:9944",' +} + +$webSocketUrl = if ([string]::IsNullOrEmpty($gearPath)) { + 'wss://rpc.vara.network' +} +else { + 'ws://127.0.0.1:9944' +} + +$substrateConfigContent = @" + { + "projects": { + "net_api": "$projectName", + "rest_service": "$projectName.RestService", + "rest_client": "$projectName.RestClient", + "net_integration": "$projectName.NetIntegration" + }, + "metadata": { + "websocket": "$webSocketUrl", + }, + "rest_client_settings": { + "service_assembly": "$projectName.RestService.dll" + } + } +"@; + +Write-Output $substrateConfigContent + +$gearProcess = if (![string]::IsNullOrEmpty($gearPath)) { + Start-Process -FilePath $gearPath -ArgumentList "--dev" -PassThru -WindowStyle Hidden + # Wait a bit till node starts + Start-Sleep -Seconds 5 +} + +try { + Set-Location -Path .. + + Set-Content -Path '.\.substrate\substrate-config.json' -Value $substrateConfigContent + + substrate upgrade + + # Remove unnecessary projects + if (Test-Path "$projectName.NetIntegration") { + Remove-Item -Path "$projectName.NetIntegration" -Recurse -Force + } + if (Test-Path "$projectName.RestClient") { + Remove-Item -Path "$projectName.RestClient" -Recurse -Force + } + if (Test-Path "$projectName.RestService") { + Remove-Item -Path "$projectName.RestService" -Recurse -Force + } + + Set-Location -Path "$projectName" + + # Fix broken code generation + .\ReplacePattern.ps1 -directory '.' -fileType '*.cs' -searchPattern '\.event\.' -replacePattern '.@event.' + .\ReplacePattern.ps1 -directory '.' -fileType '*.cs' -searchPattern '\.internal\.' -replacePattern '.@internal.' +} +finally { + if ($null -ne $gearProcess -and !$gearProcess.HasExited) { + Stop-Process -Id $gearProcess.Id + } +}