diff --git a/Cargo.lock b/Cargo.lock index fa0b05bf0b36ac0125371a616ed95fe87759762b..47e3d9c1594e129b451d428c33b925dadfc33f0f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14,11 +14,11 @@ dependencies = [ [[package]] name = "addr2line" -version = "0.17.0" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9ecd88a8c8378ca913a680cd98f0f13ac67383d35993f86c90a70e3f137816b" +checksum = "a76fd60b23679b7d19bd066031410fb7e458ccc5e958eb5c325888ce4baedc97" dependencies = [ - "gimli 0.26.2", + "gimli 0.27.3", ] [[package]] @@ -27,7 +27,7 @@ version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" dependencies = [ - "gimli 0.28.0", + "gimli 0.28.1", ] [[package]] @@ -38,58 +38,33 @@ checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" [[package]] name = "aead" -version = "0.4.3" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b613b8e1e3cf911a086f53f03bf286f52fd7a7258e4fa606f0ef220d39d8877" +checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0" dependencies = [ + "crypto-common", "generic-array 0.14.7", ] -[[package]] -name = "aes" -version = "0.7.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e8b47f52ea9bae42228d07ec09eb676433d7c4ed1ebdf0f1d1c29ed446f1ab8" -dependencies = [ - "cfg-if", - "cipher 0.3.0", - "cpufeatures", - "opaque-debug 0.3.0", -] - -[[package]] -name = "aes-gcm" -version = "0.9.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df5f85a83a7d8b0442b6aa7b504b8212c1733da07b98aae43d4bc21b2cb3cdf6" -dependencies = [ - "aead", - "aes", - "cipher 0.3.0", - "ctr", - "ghash", - "subtle", -] - [[package]] name = "ahash" version = "0.7.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5a824f2aa7e75a0c98c5a504fceb80649e9c35265d44525b5f94de4771a395cd" dependencies = [ - "getrandom 0.2.10", + "getrandom", "once_cell", "version_check", ] [[package]] name = "ahash" -version = "0.8.6" +version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91429305e9f0a25f6205c5b8e0d2db09e0708a7a6df0f42212bb56c32c8ac97a" +checksum = "77c3a9648d43b9cd48db467b3f87fdd6e146bcc88ab0180006cef2179fe11d01" dependencies = [ "cfg-if", - "getrandom 0.2.10", + "getrandom", "once_cell", "version_check", "zerocopy", @@ -104,6 +79,12 @@ dependencies = [ "memchr", ] +[[package]] +name = "allocator-api2" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5" + [[package]] name = "android-tzdata" version = "0.1.1" @@ -130,9 +111,9 @@ dependencies = [ [[package]] name = "anstream" -version = "0.6.4" +version = "0.6.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ab91ebe16eb252986481c5b62f6098f3b698a45e34b5b98200cf20dd2484a44" +checksum = "6e2e1ebcb11de5c03c67de28a7df593d32191b44939c482e97702baaaa6ab6a5" dependencies = [ "anstyle", "anstyle-parse", @@ -144,49 +125,336 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.4" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87" +checksum = "2faccea4cc4ab4a667ce676a30e8ec13922a692c99bb8f5b11f1502c72e04220" [[package]] name = "anstyle-parse" -version = "0.2.2" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "317b9a89c1868f5ea6ff1d9539a69f45dffc21ce321ac1fd1160dfa48c8e2140" +checksum = "c75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928c" dependencies = [ "utf8parse", ] [[package]] name = "anstyle-query" -version = "1.0.0" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b" +checksum = "e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648" dependencies = [ - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] name = "anstyle-wincon" -version = "3.0.1" +version = "3.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0699d10d2f4d628a98ee7b57b289abbc98ff3bad977cb3152709d4bf2330628" +checksum = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7" dependencies = [ "anstyle", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] name = "anyhow" -version = "1.0.75" +version = "1.0.79" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "080e9890a082662b09c1ad45f567faeeb47f22b5fb23895fbe1e651e718e25ca" + +[[package]] +name = "ark-bls12-377" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb00293ba84f51ce3bd026bd0de55899c4e68f0a39a5728cebae3a73ffdc0a4f" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-std", +] + +[[package]] +name = "ark-bls12-377-ext" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "20c7021f180a0cbea0380eba97c2af3c57074cdaffe0eef7e840e1c9f2841e55" +dependencies = [ + "ark-bls12-377", + "ark-ec", + "ark-models-ext", + "ark-std", +] + +[[package]] +name = "ark-bls12-381" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c775f0d12169cba7aae4caeb547bb6a50781c7449a8aa53793827c9ec4abf488" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-serialize", + "ark-std", +] + +[[package]] +name = "ark-bls12-381-ext" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1dc4b3d08f19e8ec06e949712f95b8361e43f1391d94f65e4234df03480631c" +dependencies = [ + "ark-bls12-381", + "ark-ec", + "ark-ff", + "ark-models-ext", + "ark-serialize", + "ark-std", +] + +[[package]] +name = "ark-bw6-761" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2e0605daf0cc5aa2034b78d008aaf159f56901d92a52ee4f6ecdfdac4f426700" +dependencies = [ + "ark-bls12-377", + "ark-ec", + "ark-ff", + "ark-std", +] + +[[package]] +name = "ark-bw6-761-ext" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccee5fba47266f460067588ee1bf070a9c760bf2050c1c509982c5719aadb4f2" +dependencies = [ + "ark-bw6-761", + "ark-ec", + "ark-ff", + "ark-models-ext", + "ark-std", +] + +[[package]] +name = "ark-ec" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "defd9a439d56ac24968cca0571f598a61bc8c55f71d50a89cda591cb750670ba" +dependencies = [ + "ark-ff", + "ark-poly", + "ark-serialize", + "ark-std", + "derivative", + "hashbrown 0.13.2", + "itertools 0.10.5", + "num-traits", + "rayon", + "zeroize", +] + +[[package]] +name = "ark-ed-on-bls12-377" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b10d901b9ac4b38f9c32beacedfadcdd64e46f8d7f8e88c1ae1060022cf6f6c6" +dependencies = [ + "ark-bls12-377", + "ark-ec", + "ark-ff", + "ark-std", +] + +[[package]] +name = "ark-ed-on-bls12-377-ext" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "524a4fb7540df2e1a8c2e67a83ba1d1e6c3947f4f9342cc2359fc2e789ad731d" +dependencies = [ + "ark-ec", + "ark-ed-on-bls12-377", + "ark-ff", + "ark-models-ext", + "ark-std", +] + +[[package]] +name = "ark-ed-on-bls12-381-bandersnatch" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9cde0f2aa063a2a5c28d39b47761aa102bda7c13c84fc118a61b87c7b2f785c" +dependencies = [ + "ark-bls12-381", + "ark-ec", + "ark-ff", + "ark-std", +] + +[[package]] +name = "ark-ed-on-bls12-381-bandersnatch-ext" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d15185f1acb49a07ff8cbe5f11a1adc5a93b19e211e325d826ae98e98e124346" +dependencies = [ + "ark-ec", + "ark-ed-on-bls12-381-bandersnatch", + "ark-ff", + "ark-models-ext", + "ark-std", +] + +[[package]] +name = "ark-ff" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec847af850f44ad29048935519032c33da8aa03340876d351dfab5660d2966ba" +dependencies = [ + "ark-ff-asm", + "ark-ff-macros", + "ark-serialize", + "ark-std", + "derivative", + "digest 0.10.7", + "itertools 0.10.5", + "num-bigint", + "num-traits", + "paste", + "rustc_version", + "zeroize", +] + +[[package]] +name = "ark-ff-asm" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ed4aa4fe255d0bc6d79373f7e31d2ea147bcf486cba1be5ba7ea85abdb92348" +dependencies = [ + "quote", + "syn 1.0.109", +] + +[[package]] +name = "ark-ff-macros" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7abe79b0e4288889c4574159ab790824d0033b9fdcb2a112a3182fac2e514565" +dependencies = [ + "num-bigint", + "num-traits", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "ark-models-ext" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3e9eab5d4b5ff2f228b763d38442adc9b084b0a465409b059fac5c2308835ec2" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-serialize", + "ark-std", + "derivative", +] + +[[package]] +name = "ark-poly" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d320bfc44ee185d899ccbadfa8bc31aab923ce1558716e1997a1e74057fe86bf" +dependencies = [ + "ark-ff", + "ark-serialize", + "ark-std", + "derivative", + "hashbrown 0.13.2", +] + +[[package]] +name = "ark-scale" +version = "0.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f69c00b3b529be29528a6f2fd5fa7b1790f8bed81b9cdca17e326538545a179" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-serialize", + "ark-std", + "parity-scale-codec", + "scale-info", +] + +[[package]] +name = "ark-secret-scalar" +version = "0.0.2" +source = "git+https://github.com/w3f/ring-vrf?rev=e9782f9#e9782f938629c90f3adb3fff2358bc8d1386af3e" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-serialize", + "ark-std", + "ark-transcript", + "digest 0.10.7", + "getrandom_or_panic", + "zeroize", +] + +[[package]] +name = "ark-serialize" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "adb7b85a02b83d2f22f89bd5cac66c9c89474240cb6207cb1efc16d098e822a5" +dependencies = [ + "ark-serialize-derive", + "ark-std", + "digest 0.10.7", + "num-bigint", +] + +[[package]] +name = "ark-serialize-derive" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae3281bc6d0fd7e549af32b52511e1302185bd688fd3359fa36423346ff682ea" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "ark-std" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6" +checksum = "94893f1e0c6eeab764ade8dc4c0db24caf4fe7cbbaafc0eba0a9030f447b5185" +dependencies = [ + "num-traits", + "rand", + "rayon", +] + +[[package]] +name = "ark-transcript" +version = "0.0.2" +source = "git+https://github.com/w3f/ring-vrf?rev=e9782f9#e9782f938629c90f3adb3fff2358bc8d1386af3e" +dependencies = [ + "ark-ff", + "ark-serialize", + "ark-std", + "digest 0.10.7", + "rand_core 0.6.4", + "sha3", +] [[package]] name = "array-bytes" -version = "4.2.0" +version = "6.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f52f63c5c1316a16a4b35eaac8b76a98248961a533f061684cb2a7cb0eafb6c6" +checksum = "6f840fb7195bcfc5e17ea40c26e5ce6d5b9ce5d584466e17703209657e459ae0" [[package]] name = "arrayref" @@ -223,79 +491,59 @@ checksum = "eab1c04a571841102f5345a8fc0f6bb3d31c315dec879b5c6e42e40ce7ffa34e" [[package]] name = "async-channel" -version = "1.9.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81953c529336010edd6d8e358f886d9581267795c61b19475b71314bffa46d35" +checksum = "1ca33f4bc4ed1babef42cad36cc1f51fa88be00420404e5b1e80ab1b18f7678c" dependencies = [ "concurrent-queue", - "event-listener 2.5.3", + "event-listener 4.0.3", + "event-listener-strategy", "futures-core", + "pin-project-lite", ] [[package]] name = "async-executor" -version = "1.6.0" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b0c4a4f319e45986f347ee47fef8bf5e81c9abc3f6f58dc2391439f30df65f0" +checksum = "17ae5ebefcc48e7452b4987947920dac9450be1110cadf34d1b8c116bdbaf97c" dependencies = [ - "async-lock", + "async-lock 3.3.0", "async-task", "concurrent-queue", - "fastrand 2.0.1", + "fastrand", "futures-lite", "slab", ] [[package]] name = "async-fs" -version = "1.6.0" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "279cf904654eeebfa37ac9bb1598880884924aab82e290aa65c9e77a0e142e06" +checksum = "dd1f344136bad34df1f83a47f3fd7f2ab85d75cb8a940af4ccf6d482a84ea01b" dependencies = [ - "async-lock", - "autocfg", + "async-lock 3.3.0", "blocking", "futures-lite", ] [[package]] name = "async-io" -version = "1.13.0" +version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fc5b45d93ef0529756f812ca52e44c221b35341892d3dcc34132ac02f3dd2af" +checksum = "8f97ab0c5b00a7cdbe5a371b9a782ee7be1316095885c8a4ea1daf490eb0ef65" dependencies = [ - "async-lock", - "autocfg", - "cfg-if", - "concurrent-queue", - "futures-lite", - "log", - "parking", - "polling 2.8.0", - "rustix 0.37.27", - "slab", - "socket2 0.4.10", - "waker-fn", -] - -[[package]] -name = "async-io" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10da8f3146014722c89e7859e1d7bb97873125d7346d10ca642ffab794355828" -dependencies = [ - "async-lock", + "async-lock 3.3.0", "cfg-if", "concurrent-queue", "futures-io", "futures-lite", "parking", - "polling 3.3.0", - "rustix 0.38.21", + "polling", + "rustix 0.38.30", "slab", "tracing", - "waker-fn", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -307,32 +555,44 @@ dependencies = [ "event-listener 2.5.3", ] +[[package]] +name = "async-lock" +version = "3.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d034b430882f8381900d3fe6f0aaa3ad94f2cb4ac519b429692a1bc2dda4ae7b" +dependencies = [ + "event-listener 4.0.3", + "event-listener-strategy", + "pin-project-lite", +] + [[package]] name = "async-net" -version = "1.8.0" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0434b1ed18ce1cf5769b8ac540e33f01fa9471058b5e89da9e06f3c882a8c12f" +checksum = "b948000fad4873c1c9339d60f2623323a0cfd3816e5181033c6a5cb68b2accf7" dependencies = [ - "async-io 1.13.0", + "async-io", "blocking", "futures-lite", ] [[package]] name = "async-process" -version = "1.8.1" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea6438ba0a08d81529c69b36700fa2f95837bfe3e776ab39cde9c14d9149da88" +checksum = "15c1cd5d253ecac3d3cf15e390fd96bd92a13b1d14497d81abf077304794fb04" dependencies = [ - "async-io 1.13.0", - "async-lock", + "async-channel", + "async-io", + "async-lock 3.3.0", "async-signal", "blocking", "cfg-if", - "event-listener 3.0.1", + "event-listener 4.0.3", "futures-lite", - "rustix 0.38.21", - "windows-sys 0.48.0", + "rustix 0.38.30", + "windows-sys 0.52.0", ] [[package]] @@ -341,13 +601,13 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9e47d90f65a225c4527103a8d747001fc56e375203592b25ad103e1ca13124c5" dependencies = [ - "async-io 2.1.0", - "async-lock", + "async-io", + "async-lock 2.8.0", "atomic-waker", "cfg-if", "futures-core", "futures-io", - "rustix 0.38.21", + "rustix 0.38.30", "signal-hook-registry", "slab", "windows-sys 0.48.0", @@ -355,26 +615,26 @@ dependencies = [ [[package]] name = "async-task" -version = "4.5.0" +version = "4.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4eb2cdb97421e01129ccb49169d8279ed21e829929144f4a22a6e54ac549ca1" +checksum = "fbb36e985947064623dbd357f727af08ffd077f93d696782f3c56365fa2e2799" [[package]] name = "async-trait" -version = "0.1.74" +version = "0.1.77" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a66537f1bb974b254c98ed142ff995236e81b9d0fe4db0575f46612cb15eb0f9" +checksum = "c980ee35e870bd1a4d2c8294d4c04d0499e67bca1e4b5cefcc693c2fa00caea9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.38", + "syn 2.0.48", ] [[package]] -name = "atomic" -version = "0.5.3" +name = "atomic-take" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c59bdb34bc650a32731b31bd8f0829cc15d24a708ee31559e0bb34f2bc320cba" +checksum = "a8ab6b55fe97976e46f91ddbed8d147d966475dc29b2032757ba47e02376fbc3" [[package]] name = "atomic-waker" @@ -399,10 +659,33 @@ dependencies = [ "cfg-if", "libc", "miniz_oxide", - "object 0.32.1", + "object 0.32.2", "rustc-demangle", ] +[[package]] +name = "bandersnatch_vrfs" +version = "0.0.4" +source = "git+https://github.com/w3f/ring-vrf?rev=e9782f9#e9782f938629c90f3adb3fff2358bc8d1386af3e" +dependencies = [ + "ark-bls12-381", + "ark-ec", + "ark-ed-on-bls12-381-bandersnatch", + "ark-ff", + "ark-serialize", + "ark-std", + "dleq_vrf", + "fflonk", + "merlin 3.0.0", + "rand_chacha", + "rand_core 0.6.4", + "ring 0.1.0", + "sha2 0.10.8", + "sp-ark-bls12-381", + "sp-ark-ed-on-bls12-381-bandersnatch", + "zeroize", +] + [[package]] name = "base58" version = "0.2.0" @@ -417,9 +700,15 @@ checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" [[package]] name = "base64" -version = "0.21.5" +version = "0.21.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" + +[[package]] +name = "base64ct" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35636a1494ede3b646cc98f74f8e62c773a38a659ebc777a2cf26b9b74171df9" +checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" [[package]] name = "beef" @@ -446,6 +735,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "93f2635620bf0b9d4576eb7bb9a38a55df78bd1205d26fa994b25911a69f212f" dependencies = [ "bitcoin_hashes", + "rand", + "rand_core 0.6.4", + "serde", + "unicode-normalization", ] [[package]] @@ -462,9 +755,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.4.1" +version = "2.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" +checksum = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf" [[package]] name = "bitvec" @@ -549,14 +842,14 @@ dependencies = [ [[package]] name = "blocking" -version = "1.4.1" +version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c36a4d0d48574b3dd360b4b7d95cc651d2b6557b6402848a27d4b228a473e2a" +checksum = "6a37913e8dc4ddcc604f0c6d3bf2887c995153af3611de9e23c352b44c1b9118" dependencies = [ "async-channel", - "async-lock", + "async-lock 3.3.0", "async-task", - "fastrand 2.0.1", + "fastrand", "futures-io", "futures-lite", "piper", @@ -575,12 +868,6 @@ dependencies = [ "serde", ] -[[package]] -name = "bs58" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "771fe0050b883fcc3ea2359b1a96bcfbc090b7116eae7c3c512c7a083fdf23d3" - [[package]] name = "bs58" version = "0.5.0" @@ -637,48 +924,25 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "chacha20" -version = "0.8.2" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c80e5460aa66fe3b91d40bcbdab953a597b60053e34d684ac6903f863b680a6" +checksum = "c3613f74bd2eac03dad61bd53dbe620703d4371614fe0bc3b9f04dd36fe4e818" dependencies = [ "cfg-if", - "cipher 0.3.0", + "cipher", "cpufeatures", - "zeroize", -] - -[[package]] -name = "chacha20poly1305" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a18446b09be63d457bbec447509e85f662f32952b035ce892290396bc0b0cff5" -dependencies = [ - "aead", - "chacha20", - "cipher 0.3.0", - "poly1305", - "zeroize", ] [[package]] name = "chrono" -version = "0.4.31" +version = "0.4.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f2c685bad3eb3d45a01354cedb7d5faa66194d1d58ba6e267a8de788f79db38" +checksum = "9f13690e35a5e4ace198e7beea2895d29f3a9cc55015fcebe6336bd2010af9eb" dependencies = [ "android-tzdata", "iana-time-zone", "num-traits", - "windows-targets 0.48.5", -] - -[[package]] -name = "cipher" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ee52072ec15386f770805afd189a01c8841be8696bed250fa2f13c4c0d6dfb7" -dependencies = [ - "generic-array 0.14.7", + "windows-targets 0.52.0", ] [[package]] @@ -693,9 +957,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.4.7" +version = "4.4.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac495e00dcec98c83465d5ad66c5c4fabd652fd6686e7c6269b117e729a6f17b" +checksum = "1e578d6ec4194633722ccf9544794b71b1385c3c027efe0c55db226fc880865c" dependencies = [ "clap_builder", "clap_derive", @@ -703,9 +967,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.4.7" +version = "4.4.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c77ed9a32a62e6ca27175d00d29d05ca32e396ea1eb5fb01d8256b669cec7663" +checksum = "4df4df40ec50c46000231c914968278b1eb05098cf8f1b3a518a95030e71d1c7" dependencies = [ "anstream", "anstyle", @@ -722,7 +986,7 @@ dependencies = [ "heck", "proc-macro2", "quote", - "syn 2.0.38", + "syn 2.0.48", ] [[package]] @@ -750,11 +1014,33 @@ dependencies = [ "unreachable", ] +[[package]] +name = "common" +version = "0.1.0" +source = "git+https://github.com/w3f/ring-proof#b273d33f9981e2bb3375ab45faeb537f7ee35224" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-poly", + "ark-serialize", + "ark-std", + "fflonk", + "getrandom_or_panic", + "merlin 3.0.0", + "rand_chacha", +] + +[[package]] +name = "common-path" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2382f75942f4b3be3690fe4f86365e9c853c1587d6ee58212cebf6e2a9ccd101" + [[package]] name = "concurrent-queue" -version = "2.3.0" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f057a694a54f12365049b0958a1685bb52d567f5593b355fbf685838e873d400" +checksum = "d16048cd947b08fa32c24458a22f5dc5e835264f689f4f5653210c69fd107363" dependencies = [ "crossbeam-utils", ] @@ -768,9 +1054,15 @@ dependencies = [ "directories", "serde", "thiserror", - "toml", + "toml 0.5.11", ] +[[package]] +name = "const-oid" +version = "0.9.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" + [[package]] name = "constant_time_eq" version = "0.1.5" @@ -783,6 +1075,12 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f7144d30dcf0fafbce74250a3963025d8d52177934239851c917d29f1df280c2" +[[package]] +name = "constcat" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd7e35aee659887cbfb97aaf227ac12cad1a9d7c71e55ff3376839ed4e282d08" + [[package]] name = "convert_case" version = "0.4.0" @@ -791,9 +1089,9 @@ checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" [[package]] name = "core-foundation" -version = "0.9.3" +version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146" +checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" dependencies = [ "core-foundation-sys", "libc", @@ -801,9 +1099,9 @@ dependencies = [ [[package]] name = "core-foundation-sys" -version = "0.8.4" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa" +checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" [[package]] name = "cpp_demangle" @@ -816,18 +1114,18 @@ dependencies = [ [[package]] name = "cpufeatures" -version = "0.2.11" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce420fe07aecd3e67c5f910618fe65e94158f6dcc0adf44e00d69ce2bdfe0fd0" +checksum = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504" dependencies = [ "libc", ] [[package]] name = "cranelift-entity" -version = "0.93.2" +version = "0.95.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f42ea692c7b450ad18b8c9889661505d51c09ec4380cf1c2d278dbb2da22cae1" +checksum = "40099d38061b37e505e63f89bab52199037a72b931ad4868d9089ff7268660b0" dependencies = [ "serde", ] @@ -842,24 +1140,39 @@ dependencies = [ ] [[package]] -name = "crossbeam-queue" -version = "0.3.8" +name = "crossbeam-deque" +version = "0.8.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1cfb3ea8a53f37c40dea2c7bedcbd88bdfae54f5e2175d6ecaff1c988353add" +checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d" dependencies = [ - "cfg-if", + "crossbeam-epoch", "crossbeam-utils", ] [[package]] -name = "crossbeam-utils" -version = "0.8.16" +name = "crossbeam-epoch" +version = "0.9.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a22b2d63d4d1dc0b7f1b6b2747dd0088008a9be28b6ddf0b1e7d335e3037294" +checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" dependencies = [ - "cfg-if", + "crossbeam-utils", ] +[[package]] +name = "crossbeam-queue" +version = "0.3.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df0346b5d5e76ac2fe4e327c5fd1118d6be7c51dfb18f9b7922923f287471e35" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-utils" +version = "0.8.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345" + [[package]] name = "crunchy" version = "0.2.2" @@ -873,6 +1186,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" dependencies = [ "generic-array 0.14.7", + "rand_core 0.6.4", "typenum", ] @@ -888,23 +1202,14 @@ dependencies = [ [[package]] name = "crypto-mac" -version = "0.11.1" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1d1a86f49236c215f271d40892d5fc950490551400b02ef360692c29815c714" +checksum = "25fab6889090c8133f3deb8f73ba3c65a7f456f66436fc012a1b1e272b1e103e" dependencies = [ "generic-array 0.14.7", "subtle", ] -[[package]] -name = "ctr" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "049bb91fb4aaf0e3c7efa6cd5ef877dbbbd15b39dad06d9948de4ec8a75761ea" -dependencies = [ - "cipher 0.3.0", -] - [[package]] name = "curve25519-dalek" version = "2.1.3" @@ -940,6 +1245,7 @@ dependencies = [ "cfg-if", "cpufeatures", "curve25519-dalek-derive", + "digest 0.10.7", "fiat-crypto", "platforms", "rustc_version", @@ -955,20 +1261,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.38", -] - -[[package]] -name = "curve25519-dalek-ng" -version = "4.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c359b7249347e46fb28804470d071c921156ad62b3eef5d34e2ba867533dec8" -dependencies = [ - "byteorder", - "digest 0.9.0", - "rand_core 0.6.4", - "subtle-ng", - "zeroize", + "syn 2.0.48", ] [[package]] @@ -983,12 +1276,12 @@ dependencies = [ [[package]] name = "darling" -version = "0.20.3" +version = "0.20.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0209d94da627ab5605dcccf08bb18afa5009cfbef48d8a8b7d7bdbc79be25c5e" +checksum = "fc5d6b04b3fd0ba9926f945895de7d806260a2d7431ba82e7edaecb043c4c6b8" dependencies = [ - "darling_core 0.20.3", - "darling_macro 0.20.3", + "darling_core 0.20.5", + "darling_macro 0.20.5", ] [[package]] @@ -1007,16 +1300,16 @@ dependencies = [ [[package]] name = "darling_core" -version = "0.20.3" +version = "0.20.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "177e3443818124b357d8e76f53be906d60937f0d3a90773a664fa63fa253e621" +checksum = "04e48a959bcd5c761246f5d090ebc2fbf7b9cd527a492b07a67510c108f1e7e3" dependencies = [ "fnv", "ident_case", "proc-macro2", "quote", "strsim", - "syn 2.0.38", + "syn 2.0.48", ] [[package]] @@ -1025,20 +1318,30 @@ version = "0.14.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a4aab4dbc9f7611d8b55048a3a16d2d010c2c8334e46304b40ac1cc14bf3b48e" dependencies = [ - "darling_core 0.14.4", + "darling_core 0.14.4", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "darling_macro" +version = "0.20.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d1545d67a2149e1d93b7e5c7752dce5a7426eb5d1357ddcfd89336b94444f77" +dependencies = [ + "darling_core 0.20.5", "quote", - "syn 1.0.109", + "syn 2.0.48", ] [[package]] -name = "darling_macro" -version = "0.20.3" +name = "der" +version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "836a9bbc7ad63342d6d6e7b815ccab164bc77a2d95d84bc3117a8c0d5c98e2d5" +checksum = "fffa369a668c8af7dbf8b5e56c9f744fbd399949ed171606040001947de40b1c" dependencies = [ - "darling_core 0.20.3", - "quote", - "syn 2.0.38", + "const-oid", + "zeroize", ] [[package]] @@ -1052,6 +1355,17 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "derive-syn-parse" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e79116f119dd1dba1abf1f3405f03b9b0e79a27a3883864bfebded8a3dc768cd" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + [[package]] name = "derive_more" version = "0.99.17" @@ -1114,6 +1428,49 @@ dependencies = [ "winapi", ] +[[package]] +name = "dleq_vrf" +version = "0.0.2" +source = "git+https://github.com/w3f/ring-vrf?rev=e9782f9#e9782f938629c90f3adb3fff2358bc8d1386af3e" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-scale", + "ark-secret-scalar", + "ark-serialize", + "ark-std", + "ark-transcript", + "arrayvec 0.7.4", + "zeroize", +] + +[[package]] +name = "docify" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7cc4fd38aaa9fb98ac70794c82a00360d1e165a87fbf96a8a91f9dfc602aaee2" +dependencies = [ + "docify_macros", +] + +[[package]] +name = "docify_macros" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "63fa215f3a0d40fb2a221b3aa90d8e1fbb8379785a990cb60d62ac71ebdc6460" +dependencies = [ + "common-path", + "derive-syn-parse", + "once_cell", + "proc-macro2", + "quote", + "regex", + "syn 2.0.48", + "termcolor", + "toml 0.8.8", + "walkdir", +] + [[package]] name = "downcast-rs" version = "1.2.0" @@ -1143,28 +1500,31 @@ dependencies = [ [[package]] name = "dyn-clone" -version = "1.0.14" +version = "1.0.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23d2f3407d9a573d666de4b5bdf10569d73ca9478087346697dcbae6244bfbcd" +checksum = "545b22097d44f8a9581187cdf93de7a71e4722bf51200cfaba810865b49a495d" [[package]] name = "ed25519" -version = "1.5.3" +version = "2.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91cff35c70bba8a626e3185d8cd48cc11b5437e1a5bcd15b9b5fa3c64b6dfee7" +checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" dependencies = [ + "pkcs8", "signature", ] [[package]] name = "ed25519-dalek" -version = "1.0.1" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d" +checksum = "1f628eaec48bfd21b865dc2950cfa014450c01d2fa2b69a86c2fd5844ec523c0" dependencies = [ - "curve25519-dalek 3.2.0", + "curve25519-dalek 4.1.1", "ed25519", - "sha2 0.9.9", + "serde", + "sha2 0.10.8", + "subtle", "zeroize", ] @@ -1182,6 +1542,21 @@ dependencies = [ "zeroize", ] +[[package]] +name = "ed25519-zebra" +version = "4.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d9ce6874da5d4415896cd45ffbc4d1cfc0c4f9c079427bd870742c30f2f65a9" +dependencies = [ + "curve25519-dalek 4.1.1", + "ed25519", + "hashbrown 0.14.3", + "hex", + "rand_core 0.6.4", + "sha2 0.10.8", + "zeroize", +] + [[package]] name = "either" version = "1.9.0" @@ -1199,9 +1574,9 @@ dependencies = [ [[package]] name = "env_logger" -version = "0.10.0" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85cdab6a89accf66733ad5a1693a4dcced6aeff64602b634530dd73c1f3ee9f0" +checksum = "4cd405aab171cb85d6735e5c8d9db038c17d3ca007a4d2c25f337935c3d90580" dependencies = [ "humantime", "is-terminal", @@ -1224,12 +1599,12 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" [[package]] name = "errno" -version = "0.3.5" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3e13f66a2f95e32a39eaa81f6b95d42878ca0e1db0c7543723dfe12557e860" +checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" dependencies = [ "libc", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -1240,15 +1615,38 @@ checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" [[package]] name = "event-listener" -version = "3.0.1" +version = "4.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01cec0252c2afff729ee6f00e903d479fba81784c8e2bd77447673471fdfaea1" +checksum = "67b215c49b2b248c855fb73579eb1f4f26c38ffdc12973e20e07b91d78d5646e" dependencies = [ "concurrent-queue", "parking", "pin-project-lite", ] +[[package]] +name = "event-listener-strategy" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "958e4d70b6d5e81971bebec42271ec641e7ff4e170a6fa605f2b8a8b65cb97d3" +dependencies = [ + "event-listener 4.0.3", + "pin-project-lite", +] + +[[package]] +name = "expander" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5f86a749cf851891866c10515ef6c299b5c69661465e9c3bbe7e07a2b77fb0f7" +dependencies = [ + "blake2", + "fs-err", + "proc-macro2", + "quote", + "syn 2.0.48", +] + [[package]] name = "fake-simd" version = "0.1.2" @@ -1261,26 +1659,30 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7" -[[package]] -name = "fastrand" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be" -dependencies = [ - "instant", -] - [[package]] name = "fastrand" version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" +[[package]] +name = "fflonk" +version = "0.1.0" +source = "git+https://github.com/w3f/fflonk#1e854f35e9a65d08b11a86291405cdc95baa0a35" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-poly", + "ark-serialize", + "ark-std", + "merlin 3.0.0", +] + [[package]] name = "fiat-crypto" -version = "0.2.2" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a481586acf778f1b1455424c343f71124b048ffa5f4fc3f8f6ae9dc432dcb3c7" +checksum = "27573eac26f4dd11e2b1916c3fe1baa56407c83c71a773a8ba17ec0bca03b6b7" [[package]] name = "fixed-hash" @@ -1289,7 +1691,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "835c052cb0c08c1acf6ffd71c022172e18723949c8282f2b9f27efbc51e64534" dependencies = [ "byteorder", - "rand 0.8.5", + "rand", "rustc-hex", "static_assertions", ] @@ -1317,9 +1719,9 @@ checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" [[package]] name = "form_urlencoded" -version = "1.2.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a62bc1cf6f830c2ec14a513a9fb124d0a213a629668a4186f329db21fe045652" +checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" dependencies = [ "percent-encoding", ] @@ -1347,6 +1749,15 @@ dependencies = [ "serde", ] +[[package]] +name = "fs-err" +version = "2.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88a41f105fe1d5b6b34b2055e3dc59bb79b46b48b2040b9e6c7b4b5de097aa41" +dependencies = [ + "autocfg", +] + [[package]] name = "funty" version = "2.0.0" @@ -1355,9 +1766,9 @@ checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" [[package]] name = "futures" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da0290714b38af9b4a7b094b8a37086d1b4e61f2df9122c3cad2577669145335" +checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0" dependencies = [ "futures-channel", "futures-core", @@ -1370,9 +1781,9 @@ dependencies = [ [[package]] name = "futures-channel" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff4dd66668b557604244583e3e1e1eada8c5c2e96a6d0d6653ede395b78bbacb" +checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" dependencies = [ "futures-core", "futures-sink", @@ -1380,15 +1791,15 @@ dependencies = [ [[package]] name = "futures-core" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb1d22c66e66d9d72e1758f0bd7d4fd0bee04cad842ee34587d68c07e45d088c" +checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" [[package]] name = "futures-executor" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f4fb8693db0cf099eadcca0efe2a5a22e4550f98ed16aba6c48700da29597bc" +checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d" dependencies = [ "futures-core", "futures-task", @@ -1398,47 +1809,45 @@ dependencies = [ [[package]] name = "futures-io" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8bf34a163b5c4c52d0478a4d757da8fb65cabef42ba90515efee0f6f9fa45aaa" +checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" [[package]] name = "futures-lite" -version = "1.13.0" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49a9d51ce47660b1e808d3c990b4709f2f415d928835a17dfd16991515c46bce" +checksum = "445ba825b27408685aaecefd65178908c36c6e96aaf6d8599419d46e624192ba" dependencies = [ - "fastrand 1.9.0", + "fastrand", "futures-core", "futures-io", - "memchr", "parking", "pin-project-lite", - "waker-fn", ] [[package]] name = "futures-macro" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53b153fd91e4b0147f4aced87be237c98248656bb01050b96bf3ee89220a8ddb" +checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.38", + "syn 2.0.48", ] [[package]] name = "futures-sink" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e36d3378ee38c2a36ad710c5d30c2911d752cb941c00c72dbabfb786a7970817" +checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5" [[package]] name = "futures-task" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "efd193069b0ddadc69c46389b740bbccdd97203899b48d09c5f7969591d6bae2" +checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" [[package]] name = "futures-timer" @@ -1448,9 +1857,9 @@ checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" [[package]] name = "futures-util" -version = "0.3.29" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a19526d624e703a3179b3d322efec918b6246ea0fa51d41124525f00f1cc8104" +checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" dependencies = [ "futures-channel", "futures-core", @@ -1469,7 +1878,7 @@ name = "gcli" version = "0.1.0" dependencies = [ "anyhow", - "bs58 0.5.0", + "bs58", "clap", "confy", "env_logger", @@ -1511,51 +1920,41 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.1.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" -dependencies = [ - "cfg-if", - "libc", - "wasi 0.9.0+wasi-snapshot-preview1", -] - -[[package]] -name = "getrandom" -version = "0.2.10" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427" +checksum = "190092ea657667030ac6a35e305e62fc4dd69fd98ac98631e5d3a2b1575a12b5" dependencies = [ "cfg-if", "libc", - "wasi 0.11.0+wasi-snapshot-preview1", + "wasi", ] [[package]] -name = "ghash" -version = "0.4.4" +name = "getrandom_or_panic" +version = "0.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1583cc1656d7839fd3732b80cf4f38850336cdb9b8ded1cd399ca62958de3c99" +checksum = "6ea1015b5a70616b688dc230cfe50c8af89d972cb132d5a622814d29773b10b9" dependencies = [ - "opaque-debug 0.3.0", - "polyval", + "rand", + "rand_core 0.6.4", ] [[package]] name = "gimli" -version = "0.26.2" +version = "0.27.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d" +checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e" dependencies = [ "fallible-iterator", + "indexmap 1.9.3", "stable_deref_trait", ] [[package]] name = "gimli" -version = "0.28.0" +version = "0.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0" +checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" [[package]] name = "graphql-introspection-query" @@ -1618,9 +2017,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.3.21" +version = "0.3.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91fc23aa11be92976ef4729127f1a74adf36d8436f7816b185d18df956790833" +checksum = "bb2c4422095b67ee78da96fbb51a4cc413b3b25883c7717ff7ca1ab31022c9c9" dependencies = [ "bytes", "fnv", @@ -1628,7 +2027,7 @@ dependencies = [ "futures-sink", "futures-util", "http", - "indexmap 1.9.3", + "indexmap 2.2.1", "slab", "tokio", "tokio-util", @@ -1665,15 +2064,17 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash 0.8.6", + "ahash 0.8.7", ] [[package]] name = "hashbrown" -version = "0.14.2" +version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f93e7192158dbcda357bdec5fb5788eebf8bbac027f3f33e719d29135ae84156" +checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" dependencies = [ + "ahash 0.8.7", + "allocator-api2", "serde", ] @@ -1685,9 +2086,9 @@ checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" [[package]] name = "hermit-abi" -version = "0.3.3" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d77f7ec81a6d05a3abb01ab6eb7590f6083d08449fe5a1c8b1e620283546ccb7" +checksum = "5d3d0e0f38255e7fa3cf31335b3a56f05febd18025f4db5ef7a0cfb4f8da651f" [[package]] name = "hex" @@ -1711,7 +2112,7 @@ version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2a2a2320eb7ec0ebe8da8f744d7812d9fc4cb4d09344ac01898dbcb6a20ae69b" dependencies = [ - "crypto-mac 0.11.1", + "crypto-mac 0.11.0", "digest 0.9.0", ] @@ -1737,9 +2138,9 @@ dependencies = [ [[package]] name = "http" -version = "0.2.9" +version = "0.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd6effc99afb63425aff9b05836f029929e345a6148a14b7ecd5ab67af944482" +checksum = "8947b1a6fad4393052c7ba1f4cd97bed3e953a95c79c92ad9b051a04611d9fbb" dependencies = [ "bytes", "fnv", @@ -1748,9 +2149,9 @@ dependencies = [ [[package]] name = "http-body" -version = "0.4.5" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" +checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" dependencies = [ "bytes", "http", @@ -1777,9 +2178,9 @@ checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" [[package]] name = "hyper" -version = "0.14.27" +version = "0.14.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffb1cfd654a8219eaef89881fdb3bb3b1cdc5fa75ded05d6933b2b382e395468" +checksum = "bf96e135eb83a2a8ddf766e426a841d8ddd7449d5f00d34ea02b41d2f19eef80" dependencies = [ "bytes", "futures-channel", @@ -1792,7 +2193,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite", - "socket2 0.4.10", + "socket2", "tokio", "tower-service", "tracing", @@ -1809,10 +2210,10 @@ dependencies = [ "http", "hyper", "log", - "rustls", - "rustls-native-certs", + "rustls 0.21.10", + "rustls-native-certs 0.6.3", "tokio", - "tokio-rustls", + "tokio-rustls 0.24.1", ] [[package]] @@ -1830,9 +2231,9 @@ dependencies = [ [[package]] name = "iana-time-zone" -version = "0.1.58" +version = "0.1.59" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8326b86b6cff230b97d0d312a6c40a60726df3332e721f72a1b035f451663b20" +checksum = "b6a67363e2aa4443928ce15e57ebae94fd8949958fd1223c4cfc0cd473ad7539" dependencies = [ "android_system_properties", "core-foundation-sys", @@ -1859,9 +2260,9 @@ checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" [[package]] name = "idna" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c" +checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" dependencies = [ "unicode-bidi", "unicode-normalization", @@ -1909,12 +2310,12 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.1.0" +version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f" +checksum = "433de089bd45971eecf4668ee0ee8f4cec17db4f8bd8f7bc3197a6ce37aa7d9b" dependencies = [ "equivalent", - "hashbrown 0.14.2", + "hashbrown 0.14.3", ] [[package]] @@ -1950,12 +2351,6 @@ dependencies = [ "num-traits", ] -[[package]] -name = "intx" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6f38a50a899dc47a6d0ed5508e7f601a2e34c3a85303514b5d137f3c10a0c75" - [[package]] name = "io-lifetimes" version = "1.0.11" @@ -1975,13 +2370,13 @@ checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" [[package]] name = "is-terminal" -version = "0.4.9" +version = "0.4.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" +checksum = "0bad00257d07be169d870ab665980b06cdb366d792ad690bf2e76876dc503455" dependencies = [ "hermit-abi", - "rustix 0.38.21", - "windows-sys 0.48.0", + "rustix 0.38.30", + "windows-sys 0.52.0", ] [[package]] @@ -1993,26 +2388,35 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" +dependencies = [ + "either", +] + [[package]] name = "itoa" -version = "1.0.9" +version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" +checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" [[package]] name = "js-sys" -version = "0.3.65" +version = "0.3.67" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54c0c35952f67de54bb584e9fd912b3023117cbafc0a77d8f3dee1fb5f572fe8" +checksum = "9a1d36f1235bc969acba30b7f5990b864423a6068a10f7c90ae8f0112e3a59d1" dependencies = [ "wasm-bindgen", ] [[package]] name = "jsonrpsee" -version = "0.20.3" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "affdc52f7596ccb2d7645231fc6163bb314630c989b64998f3699a28b4d5d4dc" +checksum = "9579d0ca9fb30da026bac2f0f7d9576ec93489aeb7cd4971dd5b4617d82c79b2" dependencies = [ "jsonrpsee-client-transport", "jsonrpsee-core", @@ -2022,19 +2426,20 @@ dependencies = [ [[package]] name = "jsonrpsee-client-transport" -version = "0.20.3" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5b005c793122d03217da09af68ba9383363caa950b90d3436106df8cabce935" +checksum = "3f9f9ed46590a8d5681975f126e22531698211b926129a40a2db47cbca429220" dependencies = [ "futures-util", "http", "jsonrpsee-core", "pin-project", - "rustls-native-certs", + "rustls-native-certs 0.7.0", + "rustls-pki-types", "soketto", "thiserror", "tokio", - "tokio-rustls", + "tokio-rustls 0.25.0", "tokio-util", "tracing", "url", @@ -2042,31 +2447,33 @@ dependencies = [ [[package]] name = "jsonrpsee-core" -version = "0.20.3" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da2327ba8df2fdbd5e897e2b5ed25ce7f299d345b9736b6828814c3dbd1fd47b" +checksum = "776d009e2f591b78c038e0d053a796f94575d66ca4e77dd84bfc5e81419e436c" dependencies = [ "anyhow", - "async-lock", + "async-lock 3.3.0", "async-trait", "beef", "futures-timer", "futures-util", "hyper", "jsonrpsee-types", + "pin-project", "rustc-hash", "serde", "serde_json", "thiserror", "tokio", + "tokio-stream", "tracing", ] [[package]] name = "jsonrpsee-http-client" -version = "0.20.3" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f80c17f62c7653ce767e3d7288b793dfec920f97067ceb189ebdd3570f2bc20" +checksum = "78b7de9f3219d95985eb77fd03194d7c1b56c19bce1abfcc9d07462574b15572" dependencies = [ "async-trait", "hyper", @@ -2084,23 +2491,22 @@ dependencies = [ [[package]] name = "jsonrpsee-types" -version = "0.20.3" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5be0be325642e850ed0bdff426674d2e66b2b7117c9be23a7caef68a2902b7d9" +checksum = "3266dfb045c9174b24c77c2dfe0084914bb23a6b2597d70c9dc6018392e1cd1b" dependencies = [ "anyhow", "beef", "serde", "serde_json", "thiserror", - "tracing", ] [[package]] name = "keccak" -version = "0.1.4" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f6d5ed8676d904364de097082f4e7d240b571b67989ced0240f08b7f966f940" +checksum = "ecc2af9a1119c51f12a14607e783cb977bde58bc069ff0c3da1095e635d70654" dependencies = [ "cpufeatures", ] @@ -2113,9 +2519,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libc" -version = "0.2.149" +version = "0.2.152" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a08173bc88b7955d1b3145aa561539096c421ac8debde8cbc3612ec635fee29b" +checksum = "13e3bf6590cbc649f4d1a3eefc9d5d6eb746f5200ffb04e5e142700b8faa56e7" [[package]] name = "libm" @@ -2123,6 +2529,17 @@ version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" +[[package]] +name = "libredox" +version = "0.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85c833ca1e66078851dba29046874e38f08b2c883700aa29a03ddd3b23814ee8" +dependencies = [ + "bitflags 2.4.2", + "libc", + "redox_syscall", +] + [[package]] name = "libsecp256k1" version = "0.7.1" @@ -2136,7 +2553,7 @@ dependencies = [ "libsecp256k1-core", "libsecp256k1-gen-ecmult", "libsecp256k1-gen-genmult", - "rand 0.8.5", + "rand", "serde", "sha2 0.9.9", "typenum", @@ -2179,15 +2596,9 @@ checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" [[package]] name = "linux-raw-sys" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" - -[[package]] -name = "linux-raw-sys" -version = "0.4.10" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da2479e8c062e40bf0066ffa0bc823de0a9368974af99c9f6df941d2c231e03f" +checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" [[package]] name = "lock_api" @@ -2207,9 +2618,12 @@ checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" [[package]] name = "lru" -version = "0.10.1" +version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "718e8fae447df0c7e1ba7f5189829e63fd536945c8988d61444c19039f16b670" +checksum = "db2c024b41519440580066ba82aab04092b333e09066a5eb86c7c4890df31f22" +dependencies = [ + "hashbrown 0.14.3", +] [[package]] name = "mach" @@ -2231,9 +2645,9 @@ dependencies = [ [[package]] name = "memchr" -version = "2.6.4" +version = "2.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167" +checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149" [[package]] name = "memfd" @@ -2241,14 +2655,14 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" dependencies = [ - "rustix 0.38.21", + "rustix 0.38.30", ] [[package]] name = "memoffset" -version = "0.6.5" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce" +checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1" dependencies = [ "autocfg", ] @@ -2262,12 +2676,6 @@ dependencies = [ "hash-db", ] -[[package]] -name = "memory_units" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8452105ba047068f40ff7093dd1d9da90898e63dd61736462e9cdda6a90ad3c3" - [[package]] name = "merlin" version = "2.0.1" @@ -2315,12 +2723,12 @@ dependencies = [ [[package]] name = "mio" -version = "0.8.9" +version = "0.8.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3dce281c5e46beae905d4de1870d8b1509a9142b62eedf18b443b011ca8343d0" +checksum = "8f3d0b296e374a4e6f3c7b0a1f5a51d748a0d34c85e7dc48fc3fa9a87657fe09" dependencies = [ "libc", - "wasi 0.11.0+wasi-snapshot-preview1", + "wasi", "windows-sys 0.48.0", ] @@ -2440,30 +2848,30 @@ dependencies = [ [[package]] name = "object" -version = "0.29.0" +version = "0.30.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53" +checksum = "03b4680b86d9cfafba8fc491dc9b6df26b68cf40e9e6cd73909194759a63c385" dependencies = [ "crc32fast", - "hashbrown 0.12.3", + "hashbrown 0.13.2", "indexmap 1.9.3", "memchr", ] [[package]] name = "object" -version = "0.32.1" +version = "0.32.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cf5f9dd3933bd50a9e1f149ec995f39ae2c496d31fd772c1fd45ebc27e902b0" +checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" dependencies = [ "memchr", ] [[package]] name = "once_cell" -version = "1.18.0" +version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" +checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" [[package]] name = "opaque-debug" @@ -2479,11 +2887,11 @@ checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" [[package]] name = "openssl" -version = "0.10.58" +version = "0.10.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9dfc0783362704e97ef3bd24261995a699468440099ef95d869b4d9732f829a" +checksum = "15c9d69dd87a29568d4d017cfe8ec518706046a05184e5aea92d0af890b803c8" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.4.2", "cfg-if", "foreign-types", "libc", @@ -2500,7 +2908,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.38", + "syn 2.0.48", ] [[package]] @@ -2511,9 +2919,9 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" [[package]] name = "openssl-sys" -version = "0.9.94" +version = "0.9.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f55da20b29f956fb01f0add8683eb26ee13ebe3ebd935e49898717c6b4b2830" +checksum = "22e1bf214306098e4832460f797824c05d25aacdf896f64a985fb0fd992454ae" dependencies = [ "cc", "libc", @@ -2523,9 +2931,9 @@ dependencies = [ [[package]] name = "parity-scale-codec" -version = "3.6.5" +version = "3.6.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dec8a8073036902368c2cdc0387e85ff9a37054d7e7c98e592145e0c92cd4fb" +checksum = "881331e34fa842a2fb61cc2db9643a8fedc615e47cfcc52597d1af0db9a7e8fe" dependencies = [ "arrayvec 0.7.4", "bitvec", @@ -2538,22 +2946,16 @@ dependencies = [ [[package]] name = "parity-scale-codec-derive" -version = "3.6.5" +version = "3.6.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "312270ee71e1cd70289dacf597cab7b207aa107d2f28191c2ae45b2ece18a260" +checksum = "be30eaf4b0a9fba5336683b38de57bb86d179a35862ba6bfcf57625d006bde5b" dependencies = [ - "proc-macro-crate", + "proc-macro-crate 2.0.0", "proc-macro2", "quote", "syn 1.0.109", ] -[[package]] -name = "parity-wasm" -version = "0.45.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1ad0aff30c1da14b1254fcb2af73e1fa9a28670e584a626f53a369d0e157304" - [[package]] name = "parking" version = "2.2.0" @@ -2578,7 +2980,7 @@ checksum = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e" dependencies = [ "cfg-if", "libc", - "redox_syscall 0.4.1", + "redox_syscall", "smallvec", "windows-targets 0.48.5", ] @@ -2595,16 +2997,7 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d95f5254224e617595d2cc3cc73ff0a5eaf2637519e25f03388154e9378b6ffa" dependencies = [ - "crypto-mac 0.11.1", -] - -[[package]] -name = "pbkdf2" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" -dependencies = [ - "digest 0.10.7", + "crypto-mac 0.11.0", ] [[package]] @@ -2619,28 +3012,28 @@ dependencies = [ [[package]] name = "percent-encoding" -version = "2.3.0" +version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94" +checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "pin-project" -version = "1.1.3" +version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fda4ed1c6c173e3fc7a83629421152e01d7b1f9b7f65fb301e490e8cfc656422" +checksum = "0302c4a0442c456bd56f841aee5c3bfd17967563f6fadc9ceb9f9c23cf3807e0" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.1.3" +version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405" +checksum = "266c042b60c9c76b8d53061e52b2e0d1116abc57cefc8c5cd671619a56ac3690" dependencies = [ "proc-macro2", "quote", - "syn 2.0.38", + "syn 2.0.48", ] [[package]] @@ -2662,70 +3055,52 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "668d31b1c4eba19242f2088b2bf3316b82ca31082a8335764db4e083db7485d4" dependencies = [ "atomic-waker", - "fastrand 2.0.1", + "fastrand", "futures-io", ] [[package]] -name = "pkg-config" -version = "0.3.27" +name = "pkcs8" +version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964" +checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" +dependencies = [ + "der", + "spki", +] [[package]] -name = "platforms" -version = "3.2.0" +name = "pkg-config" +version = "0.3.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14e6ab3f592e6fb464fc9712d8d6e6912de6473954635fd76a589d832cffcbb0" +checksum = "2900ede94e305130c13ddd391e0ab7cbaeb783945ae07a279c268cb05109c6cb" [[package]] -name = "polling" -version = "2.8.0" +name = "platforms" +version = "3.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b2d323e8ca7996b3e23126511a523f7e62924d93ecd5ae73b333815b0eb3dce" -dependencies = [ - "autocfg", - "bitflags 1.3.2", - "cfg-if", - "concurrent-queue", - "libc", - "log", - "pin-project-lite", - "windows-sys 0.48.0", -] +checksum = "626dec3cac7cc0e1577a2ec3fc496277ec2baa084bebad95bb6fdbfae235f84c" [[package]] name = "polling" -version = "3.3.0" +version = "3.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e53b6af1f60f36f8c2ac2aad5459d75a5a9b4be1e8cdd40264f315d78193e531" +checksum = "545c980a3880efd47b2e262f6a4bb6daad6555cf3367aa9c4e52895f69537a41" dependencies = [ "cfg-if", "concurrent-queue", "pin-project-lite", - "rustix 0.38.21", + "rustix 0.38.30", "tracing", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] name = "poly1305" -version = "0.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "048aeb476be11a4b6ca432ca569e375810de9294ae78f4774e78ea98a9246ede" -dependencies = [ - "cpufeatures", - "opaque-debug 0.3.0", - "universal-hash", -] - -[[package]] -name = "polyval" -version = "0.5.3" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8419d2b623c7c0896ff2d5d96e2cb4ede590fed28fcc34934f4c33c036e620a1" +checksum = "8159bd90725d2df49889a078b54f4f79e87f1f8a8444194cdca81d38f5393abf" dependencies = [ - "cfg-if", "cpufeatures", "opaque-debug 0.3.0", "universal-hash", @@ -2757,7 +3132,25 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" dependencies = [ "once_cell", - "toml_edit", + "toml_edit 0.19.15", +] + +[[package]] +name = "proc-macro-crate" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e8366a6159044a37876a2b9817124296703c586a5c92e2c53751fa06d8d43e8" +dependencies = [ + "toml_edit 0.20.7", +] + +[[package]] +name = "proc-macro-crate" +version = "3.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d37c51ca738a55da99dc0c4a34860fd675453b8b36209178c2249bb13651284" +dependencies = [ + "toml_edit 0.21.0", ] [[package]] @@ -2786,9 +3179,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.69" +version = "1.0.78" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "134c189feb4956b20f6f547d2cf727d4c0fe06722b20a0eec87ed445a97f92da" +checksum = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae" dependencies = [ "unicode-ident", ] @@ -2804,31 +3197,18 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.33" +version = "1.0.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" +checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" dependencies = [ "proc-macro2", ] [[package]] -name = "radium" -version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" - -[[package]] -name = "rand" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" -dependencies = [ - "getrandom 0.1.16", - "libc", - "rand_chacha 0.2.2", - "rand_core 0.5.1", - "rand_hc", -] +name = "radium" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" [[package]] name = "rand" @@ -2837,20 +3217,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" dependencies = [ "libc", - "rand_chacha 0.3.1", + "rand_chacha", "rand_core 0.6.4", ] -[[package]] -name = "rand_chacha" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" -dependencies = [ - "ppv-lite86", - "rand_core 0.5.1", -] - [[package]] name = "rand_chacha" version = "0.3.1" @@ -2866,9 +3236,6 @@ name = "rand_core" version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" -dependencies = [ - "getrandom 0.1.16", -] [[package]] name = "rand_core" @@ -2876,25 +3243,27 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.10", + "getrandom", ] [[package]] -name = "rand_hc" -version = "0.2.0" +name = "rayon" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" +checksum = "fa7237101a77a10773db45d62004a272517633fbcc3df19d96455ede1122e051" dependencies = [ - "rand_core 0.5.1", + "either", + "rayon-core", ] [[package]] -name = "redox_syscall" -version = "0.2.16" +name = "rayon-core" +version = "1.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" +checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2" dependencies = [ - "bitflags 1.3.2", + "crossbeam-deque", + "crossbeam-utils", ] [[package]] @@ -2908,44 +3277,44 @@ dependencies = [ [[package]] name = "redox_users" -version = "0.4.3" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b" +checksum = "a18479200779601e498ada4e8c1e1f50e3ee19deb0259c25825a98b5603b2cb4" dependencies = [ - "getrandom 0.2.10", - "redox_syscall 0.2.16", + "getrandom", + "libredox", "thiserror", ] [[package]] name = "ref-cast" -version = "1.0.20" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acde58d073e9c79da00f2b5b84eed919c8326832648a5b109b3fce1bb1175280" +checksum = "c4846d4c50d1721b1a3bef8af76924eef20d5e723647333798c1b519b3a9473f" dependencies = [ "ref-cast-impl", ] [[package]] name = "ref-cast-impl" -version = "1.0.20" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f7473c2cfcf90008193dd0e3e16599455cb601a9fce322b5bb55de799664925" +checksum = "5fddb4f8d99b0a2ebafc65a87a69a7b9875e4b1ae1f00db265d300ef7f28bccc" dependencies = [ "proc-macro2", "quote", - "syn 2.0.38", + "syn 2.0.48", ] [[package]] name = "regex" -version = "1.10.2" +version = "1.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "380b951a9c5e80ddfd6136919eef32310721aa4aacd4889a8d39124b026ab343" +checksum = "b62dbe01f0b06f9d8dc7d49e05a0785f153b00b2c227856282f671e0318c9b15" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.4.3", + "regex-automata 0.4.5", "regex-syntax 0.8.2", ] @@ -2960,9 +3329,9 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.3" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f" +checksum = "5bb987efffd3c6d0d8f5f89510bb458559eab11e4f869acb20bf845e016259cd" dependencies = [ "aho-corasick", "memchr", @@ -2983,11 +3352,11 @@ checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" [[package]] name = "reqwest" -version = "0.11.22" +version = "0.11.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "046cd98826c46c2ac8ddecae268eb5c2e58628688a5fc7a2643704a73faba95b" +checksum = "37b1ae8d9ac08420c66222fb9096fc5de435c3c48542bc5336c51892cffafb41" dependencies = [ - "base64 0.21.5", + "base64 0.21.7", "bytes", "encoding_rs", "futures-core", @@ -3021,12 +3390,28 @@ dependencies = [ [[package]] name = "ring" -version = "0.17.5" +version = "0.1.0" +source = "git+https://github.com/w3f/ring-proof#b273d33f9981e2bb3375ab45faeb537f7ee35224" +dependencies = [ + "ark-ec", + "ark-ff", + "ark-poly", + "ark-serialize", + "ark-std", + "blake2", + "common", + "fflonk", + "merlin 3.0.0", +] + +[[package]] +name = "ring" +version = "0.17.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb0205304757e5d899b9c2e448b867ffd03ae7f988002e47cd24954391394d0b" +checksum = "688c63d65483050968b2a8937f7995f443e27041a0f7700aa59b0822aedebb74" dependencies = [ "cc", - "getrandom 0.2.10", + "getrandom", "libc", "spin", "untrusted", @@ -3035,23 +3420,23 @@ dependencies = [ [[package]] name = "rpassword" -version = "7.2.0" +version = "7.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6678cf63ab3491898c0d021b493c94c9b221d91295294a2a5746eacbe5928322" +checksum = "80472be3c897911d0137b2d2b9055faf6eeac5b14e324073d83bc17b191d7e3f" dependencies = [ "libc", "rtoolbox", - "winapi", + "windows-sys 0.48.0", ] [[package]] name = "rtoolbox" -version = "0.0.1" +version = "0.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "034e22c514f5c0cb8a10ff341b9b048b5ceb21591f31c8f44c43b960f9b3524a" +checksum = "c247d24e63230cdb56463ae328478bd5eac8b8faa8c69461a77e8e323afac90e" dependencies = [ "libc", - "winapi", + "windows-sys 0.48.0", ] [[package]] @@ -3097,41 +3482,41 @@ dependencies = [ [[package]] name = "rustix" -version = "0.37.27" +version = "0.38.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fea8ca367a3a01fe35e6943c400addf443c0f57670e6ec51196f71a4b8762dd2" +checksum = "322394588aaf33c24007e8bb3238ee3e4c5c09c084ab32bc73890b99ff326bca" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.4.2", "errno", - "io-lifetimes", "libc", - "linux-raw-sys 0.3.8", - "windows-sys 0.48.0", + "linux-raw-sys 0.4.13", + "windows-sys 0.52.0", ] [[package]] -name = "rustix" -version = "0.38.21" +name = "rustls" +version = "0.21.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b426b0506e5d50a7d8dafcf2e81471400deb602392c7dd110815afb4eaf02a3" +checksum = "f9d5a6813c0759e4609cd494e8e725babae6a2ca7b62a5536a13daaec6fcb7ba" dependencies = [ - "bitflags 2.4.1", - "errno", - "libc", - "linux-raw-sys 0.4.10", - "windows-sys 0.48.0", + "log", + "ring 0.17.7", + "rustls-webpki 0.101.7", + "sct", ] [[package]] name = "rustls" -version = "0.21.8" +version = "0.22.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "446e14c5cda4f3f30fe71863c34ec70f5ac79d6087097ad0bb433e1be5edf04c" +checksum = "e87c9956bd9807afa1f77e0f7594af32566e830e088a5576d27c5b6f30f49d41" dependencies = [ "log", - "ring", - "rustls-webpki", - "sct", + "ring 0.17.7", + "rustls-pki-types", + "rustls-webpki 0.102.1", + "subtle", + "zeroize", ] [[package]] @@ -3141,27 +3526,67 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00" dependencies = [ "openssl-probe", - "rustls-pemfile", + "rustls-pemfile 1.0.4", + "schannel", + "security-framework", +] + +[[package]] +name = "rustls-native-certs" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f1fb85efa936c42c6d5fc28d2629bb51e4b2f4b8a5211e297d599cc5a093792" +dependencies = [ + "openssl-probe", + "rustls-pemfile 2.0.0", + "rustls-pki-types", "schannel", "security-framework", ] [[package]] name = "rustls-pemfile" -version = "1.0.3" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c" +dependencies = [ + "base64 0.21.7", +] + +[[package]] +name = "rustls-pemfile" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d3987094b1d07b653b7dfdc3f70ce9a1da9c51ac18c1b06b662e4f9a0e9f4b2" +checksum = "35e4980fa29e4c4b212ffb3db068a564cbf560e51d3944b7c88bd8bf5bec64f4" dependencies = [ - "base64 0.21.5", + "base64 0.21.7", + "rustls-pki-types", ] +[[package]] +name = "rustls-pki-types" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e9d979b3ce68192e42760c7810125eb6cf2ea10efae545a156063e61f314e2a" + [[package]] name = "rustls-webpki" version = "0.101.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765" dependencies = [ - "ring", + "ring 0.17.7", + "untrusted", +] + +[[package]] +name = "rustls-webpki" +version = "0.102.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef4ca26037c909dedb327b48c3327d0ba91d3dd3c4e05dad328f210ffb68e95b" +dependencies = [ + "ring 0.17.7", + "rustls-pki-types", "untrusted", ] @@ -3173,20 +3598,20 @@ checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" [[package]] name = "ruzstd" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3ffab8f9715a0d455df4bbb9d21e91135aab3cd3ca187af0cd0c3c3f868fdc" +checksum = "58c4eb8a81997cf040a091d1f7e1938aeab6749d3a0dfa73af43cdc32393483d" dependencies = [ "byteorder", - "thiserror-core", + "derive_more", "twox-hash", ] [[package]] name = "ryu" -version = "1.0.15" +version = "1.0.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" +checksum = "f98d2aa92eebf49b69786be48e4477826b256916e84a57ff2a4f21923b48eb4c" [[package]] name = "salsa20" @@ -3194,7 +3619,16 @@ version = "0.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97a22f5af31f73a954c10289c93e8a50cc23d971e80ee446f1f6f7137a088213" dependencies = [ - "cipher 0.4.4", + "cipher", +] + +[[package]] +name = "same-file" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +dependencies = [ + "winapi-util", ] [[package]] @@ -3210,9 +3644,9 @@ dependencies = [ [[package]] name = "scale-decode" -version = "0.9.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7789f5728e4e954aaa20cadcc370b99096fb8645fca3c9333ace44bb18f30095" +checksum = "7caaf753f8ed1ab4752c6afb20174f03598c664724e0e32628e161c21000ff76" dependencies = [ "derive_more", "parity-scale-codec", @@ -3225,12 +3659,12 @@ dependencies = [ [[package]] name = "scale-decode-derive" -version = "0.9.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27873eb6005868f8cc72dcfe109fae664cf51223d35387bc2f28be4c28d94c47" +checksum = "d3475108a1b62c7efd1b5c65974f30109a598b2f45f23c9ae030acb9686966db" dependencies = [ "darling 0.14.4", - "proc-macro-crate", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 1.0.109", @@ -3258,7 +3692,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "995491f110efdc6bea96d6a746140e32bfceb4ea47510750a5467295a4707a25" dependencies = [ "darling 0.14.4", - "proc-macro-crate", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 1.0.109", @@ -3284,17 +3718,30 @@ version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "abf2c68b89cafb3b8d918dd07b42be0da66ff202cf1155c5739a4e0c1ea0dc19" dependencies = [ - "proc-macro-crate", + "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 1.0.109", ] +[[package]] +name = "scale-typegen" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00860983481ac590ac87972062909bef0d6a658013b592ccc0f2feb272feab11" +dependencies = [ + "proc-macro2", + "quote", + "scale-info", + "syn 2.0.48", + "thiserror", +] + [[package]] name = "scale-value" -version = "0.12.0" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6538d1cc1af9c0baf401c57da8a6d4730ef582db0d330d2efa56ec946b5b0283" +checksum = "58223c7691bf0bd46b43c9aea6f0472d1067f378d574180232358d7c6e0a8089" dependencies = [ "base58", "blake2", @@ -3312,11 +3759,11 @@ dependencies = [ [[package]] name = "schannel" -version = "0.1.22" +version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c3733bf4cf7ea0880754e19cb5a462007c4a8c1914bff372ccc95b464f1df88" +checksum = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534" dependencies = [ - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -3325,7 +3772,7 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "772575a524feeb803e5b0fcbc6dd9f367e579488197c94c6e4023aad2305774d" dependencies = [ - "ahash 0.8.6", + "ahash 0.8.7", "cfg-if", "hashbrown 0.13.2", ] @@ -3339,9 +3786,7 @@ dependencies = [ "arrayref", "arrayvec 0.5.2", "curve25519-dalek 2.1.3", - "getrandom 0.1.16", "merlin 2.0.1", - "rand 0.7.3", "rand_core 0.5.1", "sha2 0.8.2", "subtle", @@ -3350,17 +3795,20 @@ dependencies = [ [[package]] name = "schnorrkel" -version = "0.10.2" +version = "0.11.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "844b7645371e6ecdf61ff246ba1958c29e802881a749ae3fb1993675d210d28d" +checksum = "8de18f6d8ba0aad7045f5feae07ec29899c1112584a38509a84ad7b04451eaa0" dependencies = [ + "aead", "arrayref", "arrayvec 0.7.4", - "curve25519-dalek-ng", + "curve25519-dalek 4.1.1", + "getrandom_or_panic", "merlin 3.0.0", "rand_core 0.6.4", - "sha2 0.9.9", - "subtle-ng", + "serde_bytes", + "sha2 0.10.8", + "subtle", "zeroize", ] @@ -3387,24 +3835,24 @@ version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" dependencies = [ - "ring", + "ring 0.17.7", "untrusted", ] [[package]] name = "secp256k1" -version = "0.24.3" +version = "0.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b1629c9c557ef9b293568b338dddfc8208c98a18c59d722a9d53f859d9c9b62" +checksum = "3f622567e3b4b38154fb8190bcf6b160d7a4301d70595a49195b48c116007a27" dependencies = [ "secp256k1-sys", ] [[package]] name = "secp256k1-sys" -version = "0.6.1" +version = "0.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83080e2c2fc1006e625be82e5d1eb6a43b7fd9578b617fcc55814daf286bba4b" +checksum = "e5d1746aae42c19d583c3c1a8c646bfad910498e2051c551a7f2e3c0c9fbb7eb" dependencies = [ "cc", ] @@ -3443,41 +3891,59 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.20" +version = "1.0.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "836fa6a3e1e547f9a2c4040802ec865b5d85f4014efe00555d7090a3dcaa1090" +checksum = "b97ed7a9823b74f99c7742f5336af7be5ecd3eeafcb1507d1fa93347b1d589b0" [[package]] name = "serde" -version = "1.0.190" +version = "1.0.196" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91d3c334ca1ee894a2c6f6ad698fe8c435b76d504b13d436f0685d648d6d96f7" +checksum = "870026e60fa08c69f064aa766c10f10b1d62db9ccd4d0abb206472bee0ce3b32" dependencies = [ "serde_derive", ] +[[package]] +name = "serde_bytes" +version = "0.11.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b8497c313fd43ab992087548117643f6fcd935cbf36f176ffda0aacf9591734" +dependencies = [ + "serde", +] + [[package]] name = "serde_derive" -version = "1.0.190" +version = "1.0.196" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67c5609f394e5c2bd7fc51efda478004ea80ef42fee983d5c67a65e34f32c0e3" +checksum = "33c85360c95e7d137454dc81d9a4ed2b8efd8fbe19cee57357b32b9771fccb67" dependencies = [ "proc-macro2", "quote", - "syn 2.0.38", + "syn 2.0.48", ] [[package]] name = "serde_json" -version = "1.0.108" +version = "1.0.113" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d1c7e3eac408d115102c4c24ad393e0821bb3a5df4d506a80f85f7a742a526b" +checksum = "69801b70b1c3dac963ecb03a364ba0ceda9cf60c71cfe475e99864759c8b8a79" dependencies = [ "itoa", "ryu", "serde", ] +[[package]] +name = "serde_spanned" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eb3622f419d1296904700073ea6cc23ad690adbd66f13ea683df73298736f0c1" +dependencies = [ + "serde", +] + [[package]] name = "serde_urlencoded" version = "0.7.1" @@ -3569,15 +4035,23 @@ dependencies = [ [[package]] name = "signature" -version = "1.6.4" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c" +checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" +dependencies = [ + "rand_core 0.6.4", +] + +[[package]] +name = "simple-mermaid" +version = "0.1.0" +source = "git+https://github.com/kianenigma/simple-mermaid.git?rev=e48b187bcfd5cc75111acd9d241f1bd36604344b#e48b187bcfd5cc75111acd9d241f1bd36604344b" [[package]] name = "siphasher" -version = "0.3.11" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" +checksum = "54ac45299ccbd390721be55b412d41931911f654fa99e2cb8bfb57184b2061fe" [[package]] name = "slab" @@ -3590,21 +4064,21 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.11.1" +version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "942b4a808e05215192e39f4ab80813e599068285906cc91aa64f923db842bd5a" +checksum = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7" [[package]] name = "smol" -version = "1.3.0" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13f2b548cd8447f8de0fdf1c592929f70f4fc7039a05e47404b0d096ec6987a1" +checksum = "e635339259e51ef85ac7aa29a1cd991b957047507288697a690e80ab97d07cad" dependencies = [ "async-channel", "async-executor", "async-fs", - "async-io 1.13.0", - "async-lock", + "async-io", + "async-lock 3.3.0", "async-net", "async-process", "blocking", @@ -3613,29 +4087,31 @@ dependencies = [ [[package]] name = "smoldot" -version = "0.8.0" +version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cce5e2881b30bad7ef89f383a816ad0b22c45915911f28499026de4a76d20ee" +checksum = "e6d1eaa97d77be4d026a1e7ffad1bb3b78448763b357ea6f8188d3e6f736a9b9" dependencies = [ "arrayvec 0.7.4", - "async-lock", - "atomic", - "base64 0.21.5", + "async-lock 3.3.0", + "atomic-take", + "base64 0.21.7", "bip39", "blake2-rfc", - "bs58 0.5.0", + "bs58", + "chacha20", "crossbeam-queue", "derive_more", - "ed25519-zebra", + "ed25519-zebra 4.0.3", "either", - "event-listener 2.5.3", + "event-listener 4.0.3", "fnv", - "futures-channel", + "futures-lite", "futures-util", - "hashbrown 0.14.2", + "hashbrown 0.14.3", "hex", "hmac 0.12.1", - "itertools", + "itertools 0.12.1", + "libm", "libsecp256k1", "merlin 3.0.0", "no-std-net", @@ -3645,77 +4121,59 @@ dependencies = [ "num-traits", "pbkdf2 0.12.2", "pin-project", - "rand 0.8.5", - "rand_chacha 0.3.1", + "poly1305", + "rand", + "rand_chacha", "ruzstd", - "schnorrkel 0.10.2", + "schnorrkel 0.11.4", "serde", "serde_json", "sha2 0.10.8", + "sha3", "siphasher", "slab", "smallvec", - "smol", - "snow", "soketto", - "tiny-keccak", "twox-hash", - "wasmi 0.30.0", + "wasmi", + "x25519-dalek", + "zeroize", ] [[package]] name = "smoldot-light" -version = "0.6.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b2f7b4687b83ff244ef6137735ed5716ad37dcdf3ee16c4eb1a32fb9808fa47" +checksum = "5496f2d116b7019a526b1039ec2247dd172b8670633b1a64a614c9ea12c9d8c7" dependencies = [ - "async-lock", + "async-channel", + "async-lock 3.3.0", + "base64 0.21.7", "blake2-rfc", "derive_more", "either", - "event-listener 2.5.3", + "event-listener 4.0.3", "fnv", "futures-channel", + "futures-lite", "futures-util", - "hashbrown 0.14.2", + "hashbrown 0.14.3", "hex", - "itertools", + "itertools 0.12.1", "log", "lru", + "no-std-net", "parking_lot", - "rand 0.8.5", + "pin-project", + "rand", + "rand_chacha", "serde", "serde_json", "siphasher", "slab", "smol", "smoldot", -] - -[[package]] -name = "snow" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c9d1425eb528a21de2755c75af4c9b5d57f50a0d4c3b7f1828a4cd03f8ba155" -dependencies = [ - "aes-gcm", - "blake2", - "chacha20poly1305", - "curve25519-dalek 4.1.1", - "rand_core 0.6.4", - "rustc_version", - "sha2 0.10.8", - "subtle", -] - -[[package]] -name = "socket2" -version = "0.4.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f7916fc008ca5542385b89a3d3ce689953c143e9304a9bf8beec1de48994c0d" -dependencies = [ - "libc", - "winapi", + "zeroize", ] [[package]] @@ -3739,152 +4197,196 @@ dependencies = [ "futures", "httparse", "log", - "rand 0.8.5", + "rand", "sha-1", ] [[package]] name = "sp-application-crypto" -version = "7.0.0" -source = "git+https://github.com/duniter/substrate.git?branch=duniter-substrate-v0.9.42#38b19717f847d3eda654b6465802c244ea6372a6" +version = "23.0.0" +source = "git+https://github.com/duniter/duniter-polkadot-sdk.git?branch=duniter-substrate-v1.6.0#c84530c57a6f9ab808a92f6b5d29338acf1c6e4f" dependencies = [ "parity-scale-codec", "scale-info", "serde", "sp-core", "sp-io", - "sp-std 5.0.0", + "sp-std 8.0.0", ] [[package]] name = "sp-arithmetic" -version = "6.0.0" -source = "git+https://github.com/duniter/substrate.git?branch=duniter-substrate-v0.9.42#38b19717f847d3eda654b6465802c244ea6372a6" +version = "16.0.0" +source = "git+https://github.com/duniter/duniter-polkadot-sdk.git?branch=duniter-substrate-v1.6.0#c84530c57a6f9ab808a92f6b5d29338acf1c6e4f" dependencies = [ "integer-sqrt", "num-traits", "parity-scale-codec", "scale-info", "serde", - "sp-std 5.0.0", + "sp-std 8.0.0", "static_assertions", ] +[[package]] +name = "sp-ark-bls12-381" +version = "0.4.2" +source = "git+https://github.com/paritytech/arkworks-substrate#caa2eed74beb885dd07c7db5f916f2281dad818f" +dependencies = [ + "ark-bls12-381-ext", + "sp-crypto-ec-utils", +] + +[[package]] +name = "sp-ark-ed-on-bls12-381-bandersnatch" +version = "0.4.2" +source = "git+https://github.com/paritytech/arkworks-substrate#caa2eed74beb885dd07c7db5f916f2281dad818f" +dependencies = [ + "ark-ed-on-bls12-381-bandersnatch-ext", + "sp-crypto-ec-utils", +] + [[package]] name = "sp-core" -version = "7.0.0" -source = "git+https://github.com/duniter/substrate.git?branch=duniter-substrate-v0.9.42#38b19717f847d3eda654b6465802c244ea6372a6" +version = "21.0.0" +source = "git+https://github.com/duniter/duniter-polkadot-sdk.git?branch=duniter-substrate-v1.6.0#c84530c57a6f9ab808a92f6b5d29338acf1c6e4f" dependencies = [ "array-bytes", + "bandersnatch_vrfs", + "bip39", "bitflags 1.3.2", "blake2", "bounded-collections", - "bs58 0.4.0", + "bs58", "dyn-clonable", - "ed25519-zebra", + "ed25519-zebra 3.1.0", "futures", "hash-db", "hash256-std-hasher", "impl-serde", - "lazy_static", + "itertools 0.10.5", "libsecp256k1", "log", - "merlin 2.0.1", + "merlin 3.0.0", "parity-scale-codec", "parking_lot", "paste", "primitive-types", - "rand 0.8.5", - "regex", + "rand", "scale-info", - "schnorrkel 0.9.1", + "schnorrkel 0.11.4", "secp256k1", "secrecy", "serde", - "sp-core-hashing 5.0.0", - "sp-debug-derive", - "sp-externalities", - "sp-runtime-interface", - "sp-std 5.0.0", - "sp-storage", + "sp-core-hashing", + "sp-debug-derive 8.0.0", + "sp-externalities 0.19.0", + "sp-runtime-interface 17.0.0", + "sp-std 8.0.0", + "sp-storage 13.0.0", "ss58-registry", "substrate-bip39", "thiserror", - "tiny-bip39", + "tracing", + "w3f-bls", "zeroize", ] [[package]] name = "sp-core-hashing" -version = "5.0.0" -source = "git+https://github.com/duniter/substrate.git?branch=duniter-substrate-v0.9.42#38b19717f847d3eda654b6465802c244ea6372a6" +version = "9.0.0" +source = "git+https://github.com/duniter/duniter-polkadot-sdk.git?branch=duniter-substrate-v1.6.0#c84530c57a6f9ab808a92f6b5d29338acf1c6e4f" dependencies = [ "blake2b_simd", "byteorder", "digest 0.10.7", "sha2 0.10.8", "sha3", - "sp-std 5.0.0", "twox-hash", ] [[package]] -name = "sp-core-hashing" -version = "9.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ee599a8399448e65197f9a6cee338ad192e9023e35e31f22382964c3c174c68" +name = "sp-crypto-ec-utils" +version = "0.10.0" +source = "git+https://github.com/paritytech/polkadot-sdk#261f4b713b43c60f488bfd38a844f953a6c51995" dependencies = [ - "blake2b_simd", - "byteorder", - "digest 0.10.7", - "sha2 0.10.8", - "sha3", - "sp-std 8.0.0", - "twox-hash", + "ark-bls12-377", + "ark-bls12-377-ext", + "ark-bls12-381", + "ark-bls12-381-ext", + "ark-bw6-761", + "ark-bw6-761-ext", + "ark-ec", + "ark-ed-on-bls12-377", + "ark-ed-on-bls12-377-ext", + "ark-ed-on-bls12-381-bandersnatch", + "ark-ed-on-bls12-381-bandersnatch-ext", + "ark-scale", + "sp-runtime-interface 24.0.0", + "sp-std 14.0.0", +] + +[[package]] +name = "sp-debug-derive" +version = "8.0.0" +source = "git+https://github.com/duniter/duniter-polkadot-sdk.git?branch=duniter-substrate-v1.6.0#c84530c57a6f9ab808a92f6b5d29338acf1c6e4f" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.48", ] [[package]] name = "sp-debug-derive" -version = "5.0.0" -source = "git+https://github.com/duniter/substrate.git?branch=duniter-substrate-v0.9.42#38b19717f847d3eda654b6465802c244ea6372a6" +version = "14.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk#261f4b713b43c60f488bfd38a844f953a6c51995" dependencies = [ "proc-macro2", "quote", - "syn 2.0.38", + "syn 2.0.48", ] [[package]] name = "sp-externalities" -version = "0.13.0" -source = "git+https://github.com/duniter/substrate.git?branch=duniter-substrate-v0.9.42#38b19717f847d3eda654b6465802c244ea6372a6" +version = "0.19.0" +source = "git+https://github.com/duniter/duniter-polkadot-sdk.git?branch=duniter-substrate-v1.6.0#c84530c57a6f9ab808a92f6b5d29338acf1c6e4f" +dependencies = [ + "environmental", + "parity-scale-codec", + "sp-std 8.0.0", + "sp-storage 13.0.0", +] + +[[package]] +name = "sp-externalities" +version = "0.25.0" +source = "git+https://github.com/paritytech/polkadot-sdk#261f4b713b43c60f488bfd38a844f953a6c51995" dependencies = [ "environmental", "parity-scale-codec", - "sp-std 5.0.0", - "sp-storage", + "sp-std 14.0.0", + "sp-storage 19.0.0", ] [[package]] name = "sp-io" -version = "7.0.0" -source = "git+https://github.com/duniter/substrate.git?branch=duniter-substrate-v0.9.42#38b19717f847d3eda654b6465802c244ea6372a6" +version = "23.0.0" +source = "git+https://github.com/duniter/duniter-polkadot-sdk.git?branch=duniter-substrate-v1.6.0#c84530c57a6f9ab808a92f6b5d29338acf1c6e4f" dependencies = [ "bytes", - "ed25519", "ed25519-dalek", - "futures", "libsecp256k1", "log", "parity-scale-codec", "rustversion", "secp256k1", "sp-core", - "sp-externalities", + "sp-externalities 0.19.0", "sp-keystore", - "sp-runtime-interface", + "sp-runtime-interface 17.0.0", "sp-state-machine", - "sp-std 5.0.0", - "sp-tracing", + "sp-std 8.0.0", + "sp-tracing 10.0.0", "sp-trie", "tracing", "tracing-core", @@ -3892,21 +4394,20 @@ dependencies = [ [[package]] name = "sp-keystore" -version = "0.13.0" -source = "git+https://github.com/duniter/substrate.git?branch=duniter-substrate-v0.9.42#38b19717f847d3eda654b6465802c244ea6372a6" +version = "0.27.0" +source = "git+https://github.com/duniter/duniter-polkadot-sdk.git?branch=duniter-substrate-v1.6.0#c84530c57a6f9ab808a92f6b5d29338acf1c6e4f" dependencies = [ - "futures", "parity-scale-codec", "parking_lot", "sp-core", - "sp-externalities", + "sp-externalities 0.19.0", "thiserror", ] [[package]] name = "sp-panic-handler" -version = "5.0.0" -source = "git+https://github.com/duniter/substrate.git?branch=duniter-substrate-v0.9.42#38b19717f847d3eda654b6465802c244ea6372a6" +version = "8.0.0" +source = "git+https://github.com/duniter/duniter-polkadot-sdk.git?branch=duniter-substrate-v1.6.0#c84530c57a6f9ab808a92f6b5d29338acf1c6e4f" dependencies = [ "backtrace", "lazy_static", @@ -3915,107 +4416,166 @@ dependencies = [ [[package]] name = "sp-runtime" -version = "7.0.0" -source = "git+https://github.com/duniter/substrate.git?branch=duniter-substrate-v0.9.42#38b19717f847d3eda654b6465802c244ea6372a6" +version = "24.0.0" +source = "git+https://github.com/duniter/duniter-polkadot-sdk.git?branch=duniter-substrate-v1.6.0#c84530c57a6f9ab808a92f6b5d29338acf1c6e4f" dependencies = [ + "docify", "either", "hash256-std-hasher", "impl-trait-for-tuples", "log", "parity-scale-codec", "paste", - "rand 0.8.5", + "rand", "scale-info", "serde", + "simple-mermaid", "sp-application-crypto", "sp-arithmetic", "sp-core", "sp-io", - "sp-std 5.0.0", + "sp-std 8.0.0", "sp-weights", ] [[package]] name = "sp-runtime-interface" -version = "7.0.0" -source = "git+https://github.com/duniter/substrate.git?branch=duniter-substrate-v0.9.42#38b19717f847d3eda654b6465802c244ea6372a6" +version = "17.0.0" +source = "git+https://github.com/duniter/duniter-polkadot-sdk.git?branch=duniter-substrate-v1.6.0#c84530c57a6f9ab808a92f6b5d29338acf1c6e4f" +dependencies = [ + "bytes", + "impl-trait-for-tuples", + "parity-scale-codec", + "primitive-types", + "sp-externalities 0.19.0", + "sp-runtime-interface-proc-macro 11.0.0", + "sp-std 8.0.0", + "sp-storage 13.0.0", + "sp-tracing 10.0.0", + "sp-wasm-interface 14.0.0", + "static_assertions", +] + +[[package]] +name = "sp-runtime-interface" +version = "24.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk#261f4b713b43c60f488bfd38a844f953a6c51995" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", "primitive-types", - "sp-externalities", - "sp-runtime-interface-proc-macro", - "sp-std 5.0.0", - "sp-storage", - "sp-tracing", - "sp-wasm-interface", + "sp-externalities 0.25.0", + "sp-runtime-interface-proc-macro 17.0.0", + "sp-std 14.0.0", + "sp-storage 19.0.0", + "sp-tracing 16.0.0", + "sp-wasm-interface 20.0.0", "static_assertions", ] [[package]] name = "sp-runtime-interface-proc-macro" -version = "6.0.0" -source = "git+https://github.com/duniter/substrate.git?branch=duniter-substrate-v0.9.42#38b19717f847d3eda654b6465802c244ea6372a6" +version = "11.0.0" +source = "git+https://github.com/duniter/duniter-polkadot-sdk.git?branch=duniter-substrate-v1.6.0#c84530c57a6f9ab808a92f6b5d29338acf1c6e4f" +dependencies = [ + "Inflector", + "expander", + "proc-macro-crate 3.1.0", + "proc-macro2", + "quote", + "syn 2.0.48", +] + +[[package]] +name = "sp-runtime-interface-proc-macro" +version = "17.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk#261f4b713b43c60f488bfd38a844f953a6c51995" dependencies = [ "Inflector", - "proc-macro-crate", + "expander", + "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.38", + "syn 2.0.48", ] [[package]] name = "sp-state-machine" -version = "0.13.0" -source = "git+https://github.com/duniter/substrate.git?branch=duniter-substrate-v0.9.42#38b19717f847d3eda654b6465802c244ea6372a6" +version = "0.28.0" +source = "git+https://github.com/duniter/duniter-polkadot-sdk.git?branch=duniter-substrate-v1.6.0#c84530c57a6f9ab808a92f6b5d29338acf1c6e4f" dependencies = [ "hash-db", "log", "parity-scale-codec", "parking_lot", - "rand 0.8.5", + "rand", "smallvec", "sp-core", - "sp-externalities", + "sp-externalities 0.19.0", "sp-panic-handler", - "sp-std 5.0.0", + "sp-std 8.0.0", "sp-trie", "thiserror", "tracing", + "trie-db", ] [[package]] name = "sp-std" -version = "5.0.0" -source = "git+https://github.com/duniter/substrate.git?branch=duniter-substrate-v0.9.42#38b19717f847d3eda654b6465802c244ea6372a6" +version = "8.0.0" +source = "git+https://github.com/duniter/duniter-polkadot-sdk.git?branch=duniter-substrate-v1.6.0#c84530c57a6f9ab808a92f6b5d29338acf1c6e4f" [[package]] name = "sp-std" -version = "8.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53458e3c57df53698b3401ec0934bea8e8cfce034816873c0b0abbd83d7bac0d" +version = "14.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk#261f4b713b43c60f488bfd38a844f953a6c51995" + +[[package]] +name = "sp-storage" +version = "13.0.0" +source = "git+https://github.com/duniter/duniter-polkadot-sdk.git?branch=duniter-substrate-v1.6.0#c84530c57a6f9ab808a92f6b5d29338acf1c6e4f" +dependencies = [ + "impl-serde", + "parity-scale-codec", + "ref-cast", + "serde", + "sp-debug-derive 8.0.0", + "sp-std 8.0.0", +] [[package]] name = "sp-storage" -version = "7.0.0" -source = "git+https://github.com/duniter/substrate.git?branch=duniter-substrate-v0.9.42#38b19717f847d3eda654b6465802c244ea6372a6" +version = "19.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk#261f4b713b43c60f488bfd38a844f953a6c51995" dependencies = [ "impl-serde", "parity-scale-codec", "ref-cast", "serde", - "sp-debug-derive", - "sp-std 5.0.0", + "sp-debug-derive 14.0.0", + "sp-std 14.0.0", +] + +[[package]] +name = "sp-tracing" +version = "10.0.0" +source = "git+https://github.com/duniter/duniter-polkadot-sdk.git?branch=duniter-substrate-v1.6.0#c84530c57a6f9ab808a92f6b5d29338acf1c6e4f" +dependencies = [ + "parity-scale-codec", + "sp-std 8.0.0", + "tracing", + "tracing-core", + "tracing-subscriber", ] [[package]] name = "sp-tracing" -version = "6.0.0" -source = "git+https://github.com/duniter/substrate.git?branch=duniter-substrate-v0.9.42#38b19717f847d3eda654b6465802c244ea6372a6" +version = "16.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk#261f4b713b43c60f488bfd38a844f953a6c51995" dependencies = [ "parity-scale-codec", - "sp-std 5.0.0", + "sp-std 14.0.0", "tracing", "tracing-core", "tracing-subscriber", @@ -4023,21 +4583,22 @@ dependencies = [ [[package]] name = "sp-trie" -version = "7.0.0" -source = "git+https://github.com/duniter/substrate.git?branch=duniter-substrate-v0.9.42#38b19717f847d3eda654b6465802c244ea6372a6" +version = "22.0.0" +source = "git+https://github.com/duniter/duniter-polkadot-sdk.git?branch=duniter-substrate-v1.6.0#c84530c57a6f9ab808a92f6b5d29338acf1c6e4f" dependencies = [ - "ahash 0.8.6", + "ahash 0.8.7", "hash-db", - "hashbrown 0.13.2", "lazy_static", "memory-db", "nohash-hasher", "parity-scale-codec", "parking_lot", + "rand", "scale-info", "schnellru", "sp-core", - "sp-std 5.0.0", + "sp-externalities 0.19.0", + "sp-std 8.0.0", "thiserror", "tracing", "trie-db", @@ -4046,31 +4607,43 @@ dependencies = [ [[package]] name = "sp-wasm-interface" -version = "7.0.0" -source = "git+https://github.com/duniter/substrate.git?branch=duniter-substrate-v0.9.42#38b19717f847d3eda654b6465802c244ea6372a6" +version = "14.0.0" +source = "git+https://github.com/duniter/duniter-polkadot-sdk.git?branch=duniter-substrate-v1.6.0#c84530c57a6f9ab808a92f6b5d29338acf1c6e4f" +dependencies = [ + "anyhow", + "impl-trait-for-tuples", + "log", + "parity-scale-codec", + "sp-std 8.0.0", + "wasmtime", +] + +[[package]] +name = "sp-wasm-interface" +version = "20.0.0" +source = "git+https://github.com/paritytech/polkadot-sdk#261f4b713b43c60f488bfd38a844f953a6c51995" dependencies = [ "anyhow", "impl-trait-for-tuples", "log", "parity-scale-codec", - "sp-std 5.0.0", - "wasmi 0.13.2", + "sp-std 14.0.0", "wasmtime", ] [[package]] name = "sp-weights" -version = "4.0.0" -source = "git+https://github.com/duniter/substrate.git?branch=duniter-substrate-v0.9.42#38b19717f847d3eda654b6465802c244ea6372a6" +version = "20.0.0" +source = "git+https://github.com/duniter/duniter-polkadot-sdk.git?branch=duniter-substrate-v1.6.0#c84530c57a6f9ab808a92f6b5d29338acf1c6e4f" dependencies = [ + "bounded-collections", "parity-scale-codec", "scale-info", "serde", "smallvec", "sp-arithmetic", - "sp-core", - "sp-debug-derive", - "sp-std 5.0.0", + "sp-debug-derive 8.0.0", + "sp-std 8.0.0", ] [[package]] @@ -4079,11 +4652,21 @@ version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" +[[package]] +name = "spki" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" +dependencies = [ + "base64ct", + "der", +] + [[package]] name = "ss58-registry" -version = "1.43.0" +version = "1.46.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e6915280e2d0db8911e5032a5c275571af6bdded2916abd691a659be25d3439" +checksum = "b1114ee5900b8569bbc8b1a014a942f937b752af4b44f4607430b5f86cedaac0" dependencies = [ "Inflector", "num-format", @@ -4127,20 +4710,14 @@ dependencies = [ [[package]] name = "subtle" -version = "2.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" - -[[package]] -name = "subtle-ng" version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "734676eb262c623cec13c3155096e08d1f8f29adce39ba17948b18dad1e54142" +checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" [[package]] name = "subxt" -version = "0.32.1" -source = "git+https://github.com/duniter/subxt.git?branch=subxt-v0.32.1-duniter-substrate-v0.9.42#2dab931bdb6ff9d362dd4a3da0df7292ad16f51a" +version = "0.34.0" +source = "git+https://github.com/duniter/subxt?branch=subxt-v0.34.0-duniter-substrate-v1.6.0#b648c5e3a260d4e7d47df42d784ad4c723637411" dependencies = [ "async-trait", "base58", @@ -4151,6 +4728,7 @@ dependencies = [ "futures", "hex", "impl-serde", + "instant", "jsonrpsee", "parity-scale-codec", "primitive-types", @@ -4162,19 +4740,21 @@ dependencies = [ "serde", "serde_json", "sp-core", - "sp-core-hashing 9.0.0", + "sp-core-hashing", "sp-runtime", "subxt-lightclient", "subxt-macro", "subxt-metadata", "thiserror", + "tokio-util", "tracing", + "url", ] [[package]] name = "subxt-codegen" -version = "0.32.1" -source = "git+https://github.com/duniter/subxt.git?branch=subxt-v0.32.1-duniter-substrate-v0.9.42#2dab931bdb6ff9d362dd4a3da0df7292ad16f51a" +version = "0.34.0" +source = "git+https://github.com/duniter/subxt?branch=subxt-v0.34.0-duniter-substrate-v1.6.0#b648c5e3a260d4e7d47df42d784ad4c723637411" dependencies = [ "frame-metadata 16.0.0", "heck", @@ -4184,16 +4764,17 @@ dependencies = [ "proc-macro2", "quote", "scale-info", + "scale-typegen", "subxt-metadata", - "syn 2.0.38", + "syn 2.0.48", "thiserror", "tokio", ] [[package]] name = "subxt-lightclient" -version = "0.32.1" -source = "git+https://github.com/duniter/subxt.git?branch=subxt-v0.32.1-duniter-substrate-v0.9.42#2dab931bdb6ff9d362dd4a3da0df7292ad16f51a" +version = "0.34.0" +source = "git+https://github.com/duniter/subxt?branch=subxt-v0.34.0-duniter-substrate-v1.6.0#b648c5e3a260d4e7d47df42d784ad4c723637411" dependencies = [ "futures", "futures-util", @@ -4208,24 +4789,27 @@ dependencies = [ [[package]] name = "subxt-macro" -version = "0.32.1" -source = "git+https://github.com/duniter/subxt.git?branch=subxt-v0.32.1-duniter-substrate-v0.9.42#2dab931bdb6ff9d362dd4a3da0df7292ad16f51a" +version = "0.34.0" +source = "git+https://github.com/duniter/subxt?branch=subxt-v0.34.0-duniter-substrate-v1.6.0#b648c5e3a260d4e7d47df42d784ad4c723637411" dependencies = [ - "darling 0.20.3", + "darling 0.20.5", + "parity-scale-codec", "proc-macro-error", + "quote", + "scale-typegen", "subxt-codegen", - "syn 2.0.38", + "syn 2.0.48", ] [[package]] name = "subxt-metadata" -version = "0.32.1" -source = "git+https://github.com/duniter/subxt.git?branch=subxt-v0.32.1-duniter-substrate-v0.9.42#2dab931bdb6ff9d362dd4a3da0df7292ad16f51a" +version = "0.34.0" +source = "git+https://github.com/duniter/subxt?branch=subxt-v0.34.0-duniter-substrate-v1.6.0#b648c5e3a260d4e7d47df42d784ad4c723637411" dependencies = [ "frame-metadata 16.0.0", "parity-scale-codec", "scale-info", - "sp-core-hashing 9.0.0", + "sp-core-hashing", "thiserror", ] @@ -4242,9 +4826,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.38" +version = "2.0.48" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e96b79aaa137db8f61e26363a0c9b47d8b4ec75da28b7d1d614c2303e232408b" +checksum = "0f3531638e407dfc0814761abb7c00a5b54992b849452a0646b7f65c9f770f3f" dependencies = [ "proc-macro2", "quote", @@ -4280,70 +4864,50 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "target-lexicon" -version = "0.12.12" +version = "0.12.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14c39fd04924ca3a864207c66fc2cd7d22d7c016007f9ce846cbb9326331930a" +checksum = "69758bda2e78f098e4ccb393021a0963bb3442eac05f135c30f61b7370bbafae" [[package]] name = "tempfile" -version = "3.8.1" +version = "3.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ef1adac450ad7f4b3c28589471ade84f25f731a7a0fe30d71dfa9f60fd808e5" +checksum = "01ce4141aa927a6d1bd34a041795abd0db1cccba5d5f24b009f694bdf3a1f3fa" dependencies = [ "cfg-if", - "fastrand 2.0.1", - "redox_syscall 0.4.1", - "rustix 0.38.21", - "windows-sys 0.48.0", + "fastrand", + "redox_syscall", + "rustix 0.38.30", + "windows-sys 0.52.0", ] [[package]] name = "termcolor" -version = "1.3.0" +version = "1.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6093bad37da69aab9d123a8091e4be0aa4a03e4d601ec641c327398315f62b64" +checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" dependencies = [ "winapi-util", ] [[package]] name = "thiserror" -version = "1.0.50" +version = "1.0.56" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9a7210f5c9a7156bb50aa36aed4c95afb51df0df00713949448cf9e97d382d2" +checksum = "d54378c645627613241d077a3a79db965db602882668f9136ac42af9ecb730ad" dependencies = [ "thiserror-impl", ] -[[package]] -name = "thiserror-core" -version = "1.0.38" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d97345f6437bb2004cd58819d8a9ef8e36cdd7661c2abc4bbde0a7c40d9f497" -dependencies = [ - "thiserror-core-impl", -] - -[[package]] -name = "thiserror-core-impl" -version = "1.0.38" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10ac1c5050e43014d16b2f94d0d2ce79e65ffdd8b38d8048f9c8f6a8a6da62ac" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "thiserror-impl" -version = "1.0.50" +version = "1.0.56" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "266b2e40bc00e5a6c09c3584011e08b06f123c00362c92b975ba9843aaaa14b8" +checksum = "fa0faa943b50f3db30a20aa7e265dbc66076993efed8463e8de414e5d06d3471" dependencies = [ "proc-macro2", "quote", - "syn 2.0.38", + "syn 2.0.48", ] [[package]] @@ -4356,34 +4920,6 @@ dependencies = [ "once_cell", ] -[[package]] -name = "tiny-bip39" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62cc94d358b5a1e84a5cb9109f559aa3c4d634d2b1b4de3d0fa4adc7c78e2861" -dependencies = [ - "anyhow", - "hmac 0.12.1", - "once_cell", - "pbkdf2 0.11.0", - "rand 0.8.5", - "rustc-hash", - "sha2 0.10.8", - "thiserror", - "unicode-normalization", - "wasm-bindgen", - "zeroize", -] - -[[package]] -name = "tiny-keccak" -version = "2.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c9d3793400a45f954c52e73d068316d76b6f4e36977e3fcebb13a2721e80237" -dependencies = [ - "crunchy", -] - [[package]] name = "tinyvec" version = "1.6.0" @@ -4401,9 +4937,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.33.0" +version = "1.35.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f38200e3ef7995e5ef13baec2f432a6da0aa9ac495b2c0e8f3b7eec2c92d653" +checksum = "c89b4efa943be685f629b149f53829423f8f5531ea21249408e8e2f8671ec104" dependencies = [ "backtrace", "bytes", @@ -4411,20 +4947,20 @@ dependencies = [ "mio", "num_cpus", "pin-project-lite", - "socket2 0.5.5", + "socket2", "tokio-macros", "windows-sys 0.48.0", ] [[package]] name = "tokio-macros" -version = "2.1.0" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e" +checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.38", + "syn 2.0.48", ] [[package]] @@ -4443,7 +4979,18 @@ version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" dependencies = [ - "rustls", + "rustls 0.21.10", + "tokio", +] + +[[package]] +name = "tokio-rustls" +version = "0.25.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "775e0c0f0adb3a2f22a00c4745d728b479985fc15ee7ca6a2608388c5569860f" +dependencies = [ + "rustls 0.22.2", + "rustls-pki-types", "tokio", ] @@ -4482,11 +5029,26 @@ dependencies = [ "serde", ] +[[package]] +name = "toml" +version = "0.8.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1a195ec8c9da26928f773888e0742ca3ca1040c6cd859c919c9f59c1954ab35" +dependencies = [ + "serde", + "serde_spanned", + "toml_datetime", + "toml_edit 0.21.0", +] + [[package]] name = "toml_datetime" version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" +dependencies = [ + "serde", +] [[package]] name = "toml_edit" @@ -4494,7 +5056,31 @@ version = "0.19.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" dependencies = [ - "indexmap 2.1.0", + "indexmap 2.2.1", + "toml_datetime", + "winnow", +] + +[[package]] +name = "toml_edit" +version = "0.20.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70f427fce4d84c72b5b732388bf4a9f4531b53f74e2887e3ecb2481f68f66d81" +dependencies = [ + "indexmap 2.2.1", + "toml_datetime", + "winnow", +] + +[[package]] +name = "toml_edit" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d34d383cd00a163b4a5b85053df514d45bc330f6de7737edfe0a93311d1eaa03" +dependencies = [ + "indexmap 2.2.1", + "serde", + "serde_spanned", "toml_datetime", "winnow", ] @@ -4546,7 +5132,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.38", + "syn 2.0.48", ] [[package]] @@ -4604,9 +5190,9 @@ dependencies = [ [[package]] name = "trie-db" -version = "0.27.1" +version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "767abe6ffed88a1889671a102c2861ae742726f52e0a5a425b92c9fbfa7e9c85" +checksum = "ff28e0f815c2fea41ebddf148e008b077d2faddb026c9555b29696114d602642" dependencies = [ "hash-db", "hashbrown 0.13.2", @@ -4626,9 +5212,9 @@ dependencies = [ [[package]] name = "try-lock" -version = "0.2.4" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" +checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "twox-hash" @@ -4638,7 +5224,7 @@ checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" dependencies = [ "cfg-if", "digest 0.10.7", - "rand 0.8.5", + "rand", "static_assertions", ] @@ -4662,9 +5248,9 @@ dependencies = [ [[package]] name = "unicode-bidi" -version = "0.3.13" +version = "0.3.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" +checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" [[package]] name = "unicode-ident" @@ -4689,11 +5275,11 @@ checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" [[package]] name = "universal-hash" -version = "0.4.1" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f214e8f697e925001e66ec2c6e37a4ef93f0f78c2eed7814394e10c62025b05" +checksum = "fc1de2c688dc15305988b563c3854064043356019f97a4b46276fe734c4f07ea" dependencies = [ - "generic-array 0.14.7", + "crypto-common", "subtle", ] @@ -4714,9 +5300,9 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "url" -version = "2.4.1" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "143b538f18257fac9cad154828a57c6bf5157e1aa604d4816b5995bf6de87ae5" +checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633" dependencies = [ "form_urlencoded", "idna", @@ -4754,10 +5340,38 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" [[package]] -name = "waker-fn" -version = "1.1.1" +name = "w3f-bls" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7335e4c132c28cc43caef6adb339789e599e39adbe78da0c4d547fad48cbc331" +dependencies = [ + "ark-bls12-377", + "ark-bls12-381", + "ark-ec", + "ark-ff", + "ark-serialize", + "ark-serialize-derive", + "arrayref", + "constcat", + "digest 0.10.7", + "rand", + "rand_chacha", + "rand_core 0.6.4", + "sha2 0.10.8", + "sha3", + "thiserror", + "zeroize", +] + +[[package]] +name = "walkdir" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3c4517f54858c779bbcbf228f4fca63d121bf85fbecb2dc578cdf4a39395690" +checksum = "d71d857dc86794ca4c280d616f7da00d2dbfd8cd788846559a6813e6aa4b54ee" +dependencies = [ + "same-file", + "winapi-util", +] [[package]] name = "want" @@ -4768,12 +5382,6 @@ dependencies = [ "try-lock", ] -[[package]] -name = "wasi" -version = "0.9.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" - [[package]] name = "wasi" version = "0.11.0+wasi-snapshot-preview1" @@ -4782,9 +5390,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.88" +version = "0.2.90" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7daec296f25a1bae309c0cd5c29c4b260e510e6d813c286b19eaadf409d40fce" +checksum = "b1223296a201415c7fad14792dbefaace9bd52b62d33453ade1c5b5f07555406" dependencies = [ "cfg-if", "wasm-bindgen-macro", @@ -4792,24 +5400,24 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.88" +version = "0.2.90" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e397f4664c0e4e428e8313a469aaa58310d302159845980fd23b0f22a847f217" +checksum = "fcdc935b63408d58a32f8cc9738a0bffd8f05cc7c002086c6ef20b7312ad9dcd" dependencies = [ "bumpalo", "log", "once_cell", "proc-macro2", "quote", - "syn 2.0.38", + "syn 2.0.48", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.38" +version = "0.4.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9afec9963e3d0994cac82455b2b3502b81a7f40f9a0d32181f7528d9f4b43e02" +checksum = "bde2032aeb86bdfaecc8b261eef3cba735cc426c1f3a3416d1e0791be95fc461" dependencies = [ "cfg-if", "js-sys", @@ -4819,9 +5427,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.88" +version = "0.2.90" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5961017b3b08ad5f3fe39f1e79877f8ee7c23c5e5fd5eb80de95abc41f1f16b2" +checksum = "3e4c238561b2d428924c49815533a8b9121c664599558a5d9ec51f8a1740a999" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -4829,81 +5437,47 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.88" +version = "0.2.90" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5353b8dab669f5e10f5bd76df26a9360c748f054f862ff5f3f8aae0c7fb3907" +checksum = "bae1abb6806dc1ad9e560ed242107c0f6c84335f1749dd4e8ddb012ebd5e25a7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.38", + "syn 2.0.48", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.88" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d046c5d029ba91a1ed14da14dca44b68bf2f124cfbaf741c54151fdb3e0750b" - -[[package]] -name = "wasmi" -version = "0.13.2" +version = "0.2.90" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06c326c93fbf86419608361a2c925a31754cf109da1b8b55737070b4d6669422" -dependencies = [ - "parity-wasm", - "wasmi-validation", - "wasmi_core 0.2.1", -] +checksum = "4d91413b1c31d7539ba5ef2451af3f0b833a005eb27a631cec32bc0635a8602b" [[package]] name = "wasmi" -version = "0.30.0" +version = "0.31.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51fb5c61993e71158abf5bb863df2674ca3ec39ed6471c64f07aeaf751d67b4" +checksum = "77a8281d1d660cdf54c76a3efa9ddd0c270cada1383a995db3ccb43d166456c7" dependencies = [ - "intx", "smallvec", "spin", "wasmi_arena", - "wasmi_core 0.12.0", + "wasmi_core", "wasmparser-nostd", ] -[[package]] -name = "wasmi-validation" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91ff416ad1ff0c42e5a926ed5d5fab74c0f098749aa0ad8b2a34b982ce0e867b" -dependencies = [ - "parity-wasm", -] - [[package]] name = "wasmi_arena" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "401c1f35e413fac1846d4843745589d9ec678977ab35a384db8ae7830525d468" - -[[package]] -name = "wasmi_core" -version = "0.2.1" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57d20cb3c59b788653d99541c646c561c9dd26506f25c0cebfe810659c54c6d7" -dependencies = [ - "downcast-rs", - "libm", - "memory_units", - "num-rational", - "num-traits", -] +checksum = "104a7f73be44570cac297b3035d76b169d6599637631cf37a1703326a0727073" [[package]] name = "wasmi_core" -version = "0.12.0" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "624e6333e861ef49095d2d678b76ebf30b06bf37effca845be7e5b87c90071b7" +checksum = "dcf1a7db34bff95b85c261002720c00c3a6168256dcb93041d3fa2054d19856a" dependencies = [ "downcast-rs", "libm", @@ -4913,9 +5487,9 @@ dependencies = [ [[package]] name = "wasmparser" -version = "0.100.0" +version = "0.102.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64b20236ab624147dfbb62cf12a19aaf66af0e41b8398838b66e997d07d269d4" +checksum = "48134de3d7598219ab9eaf6b91b15d8e50d31da76b8519fe4ecfcec2cf35104b" dependencies = [ "indexmap 1.9.3", "url", @@ -4932,9 +5506,9 @@ dependencies = [ [[package]] name = "wasmtime" -version = "6.0.2" +version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76a222f5fa1e14b2cefc286f1b68494d7a965f4bf57ec04c59bb62673d639af6" +checksum = "f907fdead3153cb9bfb7a93bbd5b62629472dc06dee83605358c64c52ed3dda9" dependencies = [ "anyhow", "bincode", @@ -4942,7 +5516,7 @@ dependencies = [ "indexmap 1.9.3", "libc", "log", - "object 0.29.0", + "object 0.30.4", "once_cell", "paste", "psm", @@ -4952,30 +5526,30 @@ dependencies = [ "wasmtime-environ", "wasmtime-jit", "wasmtime-runtime", - "windows-sys 0.42.0", + "windows-sys 0.45.0", ] [[package]] name = "wasmtime-asm-macros" -version = "6.0.2" +version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4407a7246e7d2f3d8fb1cf0c72fda8dbafdb6dd34d555ae8bea0e5ae031089cc" +checksum = "d3b9daa7c14cd4fa3edbf69de994408d5f4b7b0959ac13fa69d465f6597f810d" dependencies = [ "cfg-if", ] [[package]] name = "wasmtime-environ" -version = "6.0.2" +version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47b8b50962eae38ee319f7b24900b7cf371f03eebdc17400c1dc8575fc10c9a7" +checksum = "a990198cee4197423045235bf89d3359e69bd2ea031005f4c2d901125955c949" dependencies = [ "anyhow", "cranelift-entity", - "gimli 0.26.2", + "gimli 0.27.3", "indexmap 1.9.3", "log", - "object 0.29.0", + "object 0.30.4", "serde", "target-lexicon", "thiserror", @@ -4985,52 +5559,52 @@ dependencies = [ [[package]] name = "wasmtime-jit" -version = "6.0.2" +version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffaed4f9a234ba5225d8e64eac7b4a5d13b994aeb37353cde2cbeb3febda9eaa" +checksum = "0de48df552cfca1c9b750002d3e07b45772dd033b0b206d5c0968496abf31244" dependencies = [ - "addr2line 0.17.0", + "addr2line 0.19.0", "anyhow", "bincode", "cfg-if", "cpp_demangle", - "gimli 0.26.2", + "gimli 0.27.3", "log", - "object 0.29.0", + "object 0.30.4", "rustc-demangle", "serde", "target-lexicon", "wasmtime-environ", "wasmtime-jit-icache-coherence", "wasmtime-runtime", - "windows-sys 0.42.0", + "windows-sys 0.45.0", ] [[package]] name = "wasmtime-jit-debug" -version = "6.0.2" +version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eed41cbcbf74ce3ff6f1d07d1b707888166dc408d1a880f651268f4f7c9194b2" +checksum = "6e0554b84c15a27d76281d06838aed94e13a77d7bf604bbbaf548aa20eb93846" dependencies = [ "once_cell", ] [[package]] name = "wasmtime-jit-icache-coherence" -version = "6.0.2" +version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43a28ae1e648461bfdbb79db3efdaee1bca5b940872e4175390f465593a2e54c" +checksum = "aecae978b13f7f67efb23bd827373ace4578f2137ec110bbf6a4a7cde4121bbd" dependencies = [ "cfg-if", "libc", - "windows-sys 0.42.0", + "windows-sys 0.45.0", ] [[package]] name = "wasmtime-runtime" -version = "6.0.2" +version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e704b126e4252788ccfc3526d4d4511d4b23c521bf123e447ac726c14545217b" +checksum = "658cf6f325232b6760e202e5255d823da5e348fdea827eff0a2a22319000b441" dependencies = [ "anyhow", "cc", @@ -5042,19 +5616,19 @@ dependencies = [ "memfd", "memoffset", "paste", - "rand 0.8.5", + "rand", "rustix 0.36.17", "wasmtime-asm-macros", "wasmtime-environ", "wasmtime-jit-debug", - "windows-sys 0.42.0", + "windows-sys 0.45.0", ] [[package]] name = "wasmtime-types" -version = "6.0.2" +version = "8.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83e5572c5727c1ee7e8f28717aaa8400e4d22dcbd714ea5457d85b5005206568" +checksum = "a4f6fffd2a1011887d57f07654dd112791e872e3ff4a2e626aee8059ee17f06f" dependencies = [ "cranelift-entity", "serde", @@ -5064,9 +5638,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.65" +version = "0.3.67" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5db499c5f66323272151db0e666cd34f78617522fb0c1604d31a27c50c206a85" +checksum = "58cd2333b6e0be7a39605f0e255892fd7418a682d8da8fe042fe25128794d2ed" dependencies = [ "js-sys", "wasm-bindgen", @@ -5105,26 +5679,11 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "windows-core" -version = "0.51.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1f8cf84f35d2db49a46868f947758c7a1138116f7fac3bc844f43ade1292e64" -dependencies = [ - "windows-targets 0.48.5", -] - -[[package]] -name = "windows-sys" -version = "0.42.0" +version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a3e1820f08b8513f676f7ab6c1f99ff312fb97b553d30ff4dd86f9f15728aa7" +checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" dependencies = [ - "windows_aarch64_gnullvm 0.42.2", - "windows_aarch64_msvc 0.42.2", - "windows_i686_gnu 0.42.2", - "windows_i686_msvc 0.42.2", - "windows_x86_64_gnu 0.42.2", - "windows_x86_64_gnullvm 0.42.2", - "windows_x86_64_msvc 0.42.2", + "windows-targets 0.52.0", ] [[package]] @@ -5145,6 +5704,15 @@ dependencies = [ "windows-targets 0.48.5", ] +[[package]] +name = "windows-sys" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +dependencies = [ + "windows-targets 0.52.0", +] + [[package]] name = "windows-targets" version = "0.42.2" @@ -5175,6 +5743,21 @@ dependencies = [ "windows_x86_64_msvc 0.48.5", ] +[[package]] +name = "windows-targets" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd" +dependencies = [ + "windows_aarch64_gnullvm 0.52.0", + "windows_aarch64_msvc 0.52.0", + "windows_i686_gnu 0.52.0", + "windows_i686_msvc 0.52.0", + "windows_x86_64_gnu 0.52.0", + "windows_x86_64_gnullvm 0.52.0", + "windows_x86_64_msvc 0.52.0", +] + [[package]] name = "windows_aarch64_gnullvm" version = "0.42.2" @@ -5187,6 +5770,12 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea" + [[package]] name = "windows_aarch64_msvc" version = "0.42.2" @@ -5199,6 +5788,12 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef" + [[package]] name = "windows_i686_gnu" version = "0.42.2" @@ -5211,6 +5806,12 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" +[[package]] +name = "windows_i686_gnu" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313" + [[package]] name = "windows_i686_msvc" version = "0.42.2" @@ -5223,6 +5824,12 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" +[[package]] +name = "windows_i686_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a" + [[package]] name = "windows_x86_64_gnu" version = "0.42.2" @@ -5235,6 +5842,12 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd" + [[package]] name = "windows_x86_64_gnullvm" version = "0.42.2" @@ -5247,6 +5860,12 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e" + [[package]] name = "windows_x86_64_msvc" version = "0.42.2" @@ -5259,11 +5878,17 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" + [[package]] name = "winnow" -version = "0.5.18" +version = "0.5.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "176b6138793677221d420fd2f0aeeced263f197688b36484660da767bca2fa32" +checksum = "1931d78a9c73861da0134f453bb1f790ce49b2e30eba8410b4b79bac72b46a2d" dependencies = [ "memchr", ] @@ -5287,6 +5912,18 @@ dependencies = [ "tap", ] +[[package]] +name = "x25519-dalek" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb66477291e7e8d2b0ff1bcb900bf29489a9692816d79874bea351e7a8b6de96" +dependencies = [ + "curve25519-dalek 4.1.1", + "rand_core 0.6.4", + "serde", + "zeroize", +] + [[package]] name = "yap" version = "0.11.0" @@ -5295,29 +5932,29 @@ checksum = "ff4524214bc4629eba08d78ceb1d6507070cc0bcbbed23af74e19e6e924a24cf" [[package]] name = "zerocopy" -version = "0.7.23" +version = "0.7.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e50cbb27c30666a6108abd6bc7577556265b44f243e2be89a8bc4e07a528c107" +checksum = "74d4d3961e53fa4c9a25a8637fc2bfaf2595b3d3ae34875568a5cf64787716be" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.7.23" +version = "0.7.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a25f293fe55f0a48e7010d65552bb63704f6ceb55a1a385da10d41d8f78e4a3d" +checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.38", + "syn 2.0.48", ] [[package]] name = "zeroize" -version = "1.6.0" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a0956f1ba7c7909bfb66c2e9e4124ab6f6482560f6628b5aaeba39207c9aad9" +checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" dependencies = [ "zeroize_derive", ] @@ -5330,5 +5967,5 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.38", + "syn 2.0.48", ] diff --git a/Cargo.toml b/Cargo.toml index 86e84b812336c7227b4ebd145fa40df60c835af3..a7133d2608be327861baec30be0ad90f5c5a9b89 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -authors = ["librelois <c@elo.tf>", "tuxmain <tuxmain@zettascript.org>"] +authors = ["librelois <c@elo.tf>", "tuxmain <tuxmain@zettascript.org>", "h30x <hugo@trentesaux.fr>"] edition = "2021" license = "AGPL-3.0" name = "gcli" @@ -7,28 +7,29 @@ repository = "https://git.duniter.org/clients/rust/gcli-v2s" version = "0.1.0" [dependencies] -anyhow = "1.0" -clap = { version = "4.1.9", features = ["derive"] } -codec = { package = "parity-scale-codec", version = "3.4.0" } -env_logger = "0.10" -futures = "0.3.27" -graphql_client = { version = "0.12.0", features = ["reqwest"] } -hex = "0.4.3" -log = "0.4.17" -reqwest = "0.11.14" -rpassword = "7.2.0" -serde = { version = "1.0", features = ["derive"] } -serde_json = "^1.0.107" -sp-core = { git = "https://github.com/duniter/substrate.git", branch = "duniter-substrate-v0.9.42" } -sp-runtime = { git = "https://github.com/duniter/substrate", branch = "duniter-substrate-v0.9.42" } -subxt = { git = "https://github.com/duniter/subxt.git", branch = "subxt-v0.32.1-duniter-substrate-v0.9.42", features = ["substrate-compat"] } -# subxt-signer = { git = "https://github.com/duniter/subxt.git", branch = "subxt-v0.32.1-duniter-substrate-v0.9.42", features = ["subxt"] } -# sp-api = { git = 'https://github.com/duniter/substrate', branch = 'duniter-substrate-v0.9.42'} -tokio = { version = "1.26.0", features = ["macros"] } -confy = "0.5.1" -scrypt = { version = "0.11", default-features = false } # for old-style key generation -nacl = { version = "0.5.3" } # for old-style key generation -bs58 = "0.5.0" +# subxt is main dependency +subxt = { git = 'https://github.com/duniter/subxt', branch = 'subxt-v0.34.0-duniter-substrate-v1.6.0', default-features = false, features = ["substrate-compat", "native", "jsonrpsee"] } +# substrate primitives dependencies +sp-core = { git = "https://github.com/duniter/duniter-polkadot-sdk.git", branch = "duniter-substrate-v1.6.0" } +sp-runtime = { git = "https://github.com/duniter/duniter-polkadot-sdk.git", branch = "duniter-substrate-v1.6.0" } +# crates.io dependencies +anyhow = "^1.0" +clap = { version = "^4.4.18", features = ["derive"] } +codec = { package = "parity-scale-codec", version = "^3.6.9" } +env_logger = "^0.10" +futures = "^0.3.30" +graphql_client = { version = "^0.12.0", features = ["reqwest"] } +hex = "^0.4.3" +log = "^0.4.20" +reqwest = "^0.11.23" +rpassword = "^7.3.1" +serde = { version = "^1.0", features = ["derive"] } +serde_json = "^1.0.113" +tokio = { version = "^1.35.1", features = ["macros"] } +confy = "^0.5.1" +scrypt = { version = "^0.11", default-features = false } # for old-style key generation +nacl = { version = "^0.5.3" } # for old-style key generation +bs58 = "^0.5.0" # allows to build gcli for different runtimes and with different predefined networks [features] @@ -36,3 +37,5 @@ default = ["gdev"] # default runtime is "gdev", gdev network is available gdev = [] gtest = [] g1 = [] + + diff --git a/README.md b/README.md index 38eb3a801b0c9dcd4f4974323548c194ff36c793..f6f9e8051d1701253c554583c982713ddb290ffc 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,19 @@ Secret key format can be changed using `--secret-format` with the following valu - [x] implement config formatter - [x] add link/unlink account commands -- [ ] migrate all xt to submit_call_and_look_event -- [ ] add transfer with unit (ĞD, UD...) +- [x] migrate all xt to submit_call_and_look_event +- [x] add transfer with unit (ĞD, UD...) +- [x] add more runtime-info like cert count, wot and smith params... +- [ ] add more info like sudo key, block interval +- [ ] better format runtime info block number (duration in days...) and perbill (%) +- [ ] add proper tabulation for runtime info +- [ ] add clap complete for autocompletion +- [ ] allow to listen to multiple events (like CertAdded and CertRenewed) +- [ ] add more info on identity view like status, number certs emitted, received +- [ ] implement squid indexer to get cert list + tx history... +- [ ] +- [ ] +- [ ] +- [ ] +- [ ] - [ ] \ No newline at end of file diff --git a/doc/config.md b/doc/config.md index 541c0a0cc96e0fecea4c18011c779628942f9425..d4bf092ed6b9f95cfa8be944b4e1eb085093e3f8 100644 --- a/doc/config.md +++ b/doc/config.md @@ -12,7 +12,7 @@ cargo run -- config show # [stdout] # Ğcli config # duniter endpoint ws://localhost:9944 -# indexer endpoint http://localhost:8080/v1/graphql +# indexer endpoint http://localhost:4350/graphql # address 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY (secret defined) # use different address in command line @@ -20,7 +20,7 @@ cargo run -- --address 5Fxune7f71ZbpP2FoY3mhYcmM596Erhv1gRue4nsPwkxMR4n config s # [stdout] # Ğcli config # duniter endpoint ws://localhost:9944 -# indexer endpoint http://localhost:8080/v1/graphql +# indexer endpoint http://localhost:4350/graphql # address 5Fxune7f71ZbpP2FoY3mhYcmM596Erhv1gRue4nsPwkxMR4n (no secret) ``` diff --git a/res/indexer-queries.graphql b/res/indexer-queries.graphql index 7b022d468f5bb6f67c47c28d1e992a1f17f6469c..23e58ba85afbc7ca876b467a310b0ed40eb5bb1c 100644 --- a/res/indexer-queries.graphql +++ b/res/indexer-queries.graphql @@ -1,35 +1,41 @@ query IdentityByIndex($index: Int!) { - identity_by_pk(index: $index) { + identities(where: {index_eq: $index}) { index name - pubkey + account { + id + } } } query IdentityByName($name: String!) { - identity(where: { name: { _eq: $name } }) { + identities(where: {name_eq: $name}) { index name - pubkey + account { + id + } } } query IdentityByPubkey($pubkey: String!) { - identity(where: { pubkey: { _eq: $pubkey } }) { + identities(where: {account: {id_eq: $pubkey}}) { index name - pubkey + account { + id + } } } query LatestBlock { - parameters(where: { key: { _eq: "last_indexed_block_number" } }) { - value + blocks(limit: 1, orderBy: height_DESC) { + height } } query GenesisHash { - block(where: {number: {_eq: 0}}) { + blocks(where: {height_eq: 0}) { hash } } diff --git a/res/indexer-schema.graphql b/res/indexer-schema.graphql index edffaeaf7b92d83025f5eb9616ab2002807745e9..8d328380dc333a63e61f925e0eda32c287fa41fb 100644 --- a/res/indexer-schema.graphql +++ b/res/indexer-schema.graphql @@ -1,3663 +1,2744 @@ -schema { - query: query_root - subscription: subscription_root -} - -"""whether this query should be cached (Hasura Cloud only)""" -directive @cached( - """measured in seconds""" - ttl: Int! = 60 - - """refresh the cache entry""" - refresh: Boolean! = false -) on QUERY - -"""Table of accounts.""" -type account { - """An object relationship""" - block: block! - created_at: timestamptz! - - """Block number where account was created.""" - created_on: Int! - - """ - A computed field, executes function "has_identity" - """ - has_identity: Boolean - - """An object relationship""" - identity: identity - killed_at: timestamptz - - """Block number where account was killed.""" - killed_on: Int - - """Pubkey of the account.""" - pubkey: String! - - """An array relationship""" - transactions_issued( - """distinct select on columns""" - distinct_on: [transaction_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [transaction_order_by!] - - """filter the rows returned""" - where: transaction_bool_exp - ): [transaction!]! - - """An aggregate relationship""" - transactions_issued_aggregate( - """distinct select on columns""" - distinct_on: [transaction_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [transaction_order_by!] - - """filter the rows returned""" - where: transaction_bool_exp - ): transaction_aggregate! - - """An array relationship""" - transactions_received( - """distinct select on columns""" - distinct_on: [transaction_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [transaction_order_by!] - - """filter the rows returned""" - where: transaction_bool_exp - ): [transaction!]! - - """An aggregate relationship""" - transactions_received_aggregate( - """distinct select on columns""" - distinct_on: [transaction_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [transaction_order_by!] - - """filter the rows returned""" - where: transaction_bool_exp - ): transaction_aggregate! -} - -""" -aggregated selection of "account" -""" -type account_aggregate { - aggregate: account_aggregate_fields - nodes: [account!]! -} - -""" -aggregate fields of "account" -""" -type account_aggregate_fields { - avg: account_avg_fields - count(columns: [account_select_column!], distinct: Boolean): Int! - max: account_max_fields - min: account_min_fields - stddev: account_stddev_fields - stddev_pop: account_stddev_pop_fields - stddev_samp: account_stddev_samp_fields - sum: account_sum_fields - var_pop: account_var_pop_fields - var_samp: account_var_samp_fields - variance: account_variance_fields -} - -"""aggregate avg on columns""" -type account_avg_fields { - """Block number where account was created.""" - created_on: Float - - """Block number where account was killed.""" - killed_on: Float -} - -""" -Boolean expression to filter rows from the table "account". All fields are combined with a logical 'AND'. -""" -input account_bool_exp { - _and: [account_bool_exp!] - _not: account_bool_exp - _or: [account_bool_exp!] - block: block_bool_exp - created_at: timestamptz_comparison_exp - created_on: Int_comparison_exp - has_identity: Boolean_comparison_exp - identity: identity_bool_exp - killed_at: timestamptz_comparison_exp - killed_on: Int_comparison_exp - pubkey: String_comparison_exp - transactions_issued: transaction_bool_exp - transactions_issued_aggregate: transaction_aggregate_bool_exp - transactions_received: transaction_bool_exp - transactions_received_aggregate: transaction_aggregate_bool_exp -} - -"""aggregate max on columns""" -type account_max_fields { - created_at: timestamptz - - """Block number where account was created.""" - created_on: Int - killed_at: timestamptz - - """Block number where account was killed.""" - killed_on: Int - - """Pubkey of the account.""" - pubkey: String -} - -"""aggregate min on columns""" -type account_min_fields { - created_at: timestamptz - - """Block number where account was created.""" - created_on: Int - killed_at: timestamptz - - """Block number where account was killed.""" - killed_on: Int - - """Pubkey of the account.""" - pubkey: String -} - -"""Ordering options when selecting data from "account".""" -input account_order_by { - block: block_order_by - created_at: order_by - created_on: order_by - has_identity: order_by - identity: identity_order_by - killed_at: order_by - killed_on: order_by - pubkey: order_by - transactions_issued_aggregate: transaction_aggregate_order_by - transactions_received_aggregate: transaction_aggregate_order_by -} - -""" -select columns of table "account" -""" -enum account_select_column { - """column name""" - created_at - - """column name""" - created_on - - """column name""" - killed_at - - """column name""" - killed_on - - """column name""" - pubkey -} - -"""aggregate stddev on columns""" -type account_stddev_fields { - """Block number where account was created.""" - created_on: Float - - """Block number where account was killed.""" - killed_on: Float -} - -"""aggregate stddev_pop on columns""" -type account_stddev_pop_fields { - """Block number where account was created.""" - created_on: Float - - """Block number where account was killed.""" - killed_on: Float -} - -"""aggregate stddev_samp on columns""" -type account_stddev_samp_fields { - """Block number where account was created.""" - created_on: Float - - """Block number where account was killed.""" - killed_on: Float -} - -""" -Streaming cursor of the table "account" -""" -input account_stream_cursor_input { - """Stream column input with initial value""" - initial_value: account_stream_cursor_value_input! - - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input account_stream_cursor_value_input { - created_at: timestamptz - - """Block number where account was created.""" - created_on: Int - killed_at: timestamptz - - """Block number where account was killed.""" - killed_on: Int - - """Pubkey of the account.""" - pubkey: String -} - -"""aggregate sum on columns""" -type account_sum_fields { - """Block number where account was created.""" - created_on: Int - - """Block number where account was killed.""" - killed_on: Int -} - -"""aggregate var_pop on columns""" -type account_var_pop_fields { - """Block number where account was created.""" - created_on: Float - - """Block number where account was killed.""" - killed_on: Float -} - -"""aggregate var_samp on columns""" -type account_var_samp_fields { - """Block number where account was created.""" - created_on: Float - - """Block number where account was killed.""" - killed_on: Float -} - -"""aggregate variance on columns""" -type account_variance_fields { - """Block number where account was created.""" - created_on: Float - - """Block number where account was killed.""" - killed_on: Float -} - -"""Table of blocks.""" -type block { - created_at: timestamp! - - """ - Data contains `extrinsics` and `events` of the block. Exemple for querying - specific data: `data(path: "extrinsics[0].isSigned")`. - """ - data( - """JSON select path""" - path: String - ): jsonb - hash: String! - - """Number of the block in substrate.""" - number: Int! -} - -""" -aggregated selection of "block" -""" -type block_aggregate { - aggregate: block_aggregate_fields - nodes: [block!]! -} - -""" -aggregate fields of "block" -""" -type block_aggregate_fields { - avg: block_avg_fields - count(columns: [block_select_column!], distinct: Boolean): Int! - max: block_max_fields - min: block_min_fields - stddev: block_stddev_fields - stddev_pop: block_stddev_pop_fields - stddev_samp: block_stddev_samp_fields - sum: block_sum_fields - var_pop: block_var_pop_fields - var_samp: block_var_samp_fields - variance: block_variance_fields -} - -"""aggregate avg on columns""" -type block_avg_fields { - """Number of the block in substrate.""" - number: Float -} - -""" -Boolean expression to filter rows from the table "block". All fields are combined with a logical 'AND'. -""" -input block_bool_exp { - _and: [block_bool_exp!] - _not: block_bool_exp - _or: [block_bool_exp!] - created_at: timestamp_comparison_exp - data: jsonb_comparison_exp - hash: String_comparison_exp - number: Int_comparison_exp -} - -"""aggregate max on columns""" -type block_max_fields { - created_at: timestamp - hash: String - - """Number of the block in substrate.""" - number: Int -} - -"""aggregate min on columns""" -type block_min_fields { - created_at: timestamp - hash: String - - """Number of the block in substrate.""" - number: Int -} - -"""Ordering options when selecting data from "block".""" -input block_order_by { - created_at: order_by - data: order_by - hash: order_by - number: order_by -} - -""" -select columns of table "block" -""" -enum block_select_column { - """column name""" - created_at - - """column name""" - data - - """column name""" - hash - - """column name""" - number -} - -"""aggregate stddev on columns""" -type block_stddev_fields { - """Number of the block in substrate.""" - number: Float -} - -"""aggregate stddev_pop on columns""" -type block_stddev_pop_fields { - """Number of the block in substrate.""" - number: Float -} - -"""aggregate stddev_samp on columns""" -type block_stddev_samp_fields { - """Number of the block in substrate.""" - number: Float -} - -""" -Streaming cursor of the table "block" -""" -input block_stream_cursor_input { - """Stream column input with initial value""" - initial_value: block_stream_cursor_value_input! - - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input block_stream_cursor_value_input { - created_at: timestamp - - """ - Data contains `extrinsics` and `events` of the block. Exemple for querying - specific data: `data(path: "extrinsics[0].isSigned")`. - """ - data: jsonb - hash: String - - """Number of the block in substrate.""" - number: Int -} - -"""aggregate sum on columns""" -type block_sum_fields { - """Number of the block in substrate.""" - number: Int -} - -"""aggregate var_pop on columns""" -type block_var_pop_fields { - """Number of the block in substrate.""" - number: Float -} - -"""aggregate var_samp on columns""" -type block_var_samp_fields { - """Number of the block in substrate.""" - number: Float -} - -"""aggregate variance on columns""" -type block_variance_fields { - """Number of the block in substrate.""" - number: Float -} - -""" -Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'. -""" -input Boolean_comparison_exp { - _eq: Boolean - _gt: Boolean - _gte: Boolean - _in: [Boolean!] - _is_null: Boolean - _lt: Boolean - _lte: Boolean - _neq: Boolean - _nin: [Boolean!] -} - -"""Table of certifications.""" -type certification { - created_at: timestamptz! - - """Block number where certification was created.""" - created_on: Int! - - """An object relationship""" - created_on_block: block! - - """An object relationship""" - issuer: identity! - - """Index of issuer""" - issuer_index: Int! - - """An object relationship""" - receiver: identity! - - """Index of receiver""" - receiver_index: Int! -} - -""" -aggregated selection of "certification" -""" -type certification_aggregate { - aggregate: certification_aggregate_fields - nodes: [certification!]! -} - -input certification_aggregate_bool_exp { - count: certification_aggregate_bool_exp_count -} - -input certification_aggregate_bool_exp_count { - arguments: [certification_select_column!] - distinct: Boolean - filter: certification_bool_exp - predicate: Int_comparison_exp! -} - -""" -aggregate fields of "certification" -""" -type certification_aggregate_fields { - avg: certification_avg_fields - count(columns: [certification_select_column!], distinct: Boolean): Int! - max: certification_max_fields - min: certification_min_fields - stddev: certification_stddev_fields - stddev_pop: certification_stddev_pop_fields - stddev_samp: certification_stddev_samp_fields - sum: certification_sum_fields - var_pop: certification_var_pop_fields - var_samp: certification_var_samp_fields - variance: certification_variance_fields -} - -""" -order by aggregate values of table "certification" -""" -input certification_aggregate_order_by { - avg: certification_avg_order_by - count: order_by - max: certification_max_order_by - min: certification_min_order_by - stddev: certification_stddev_order_by - stddev_pop: certification_stddev_pop_order_by - stddev_samp: certification_stddev_samp_order_by - sum: certification_sum_order_by - var_pop: certification_var_pop_order_by - var_samp: certification_var_samp_order_by - variance: certification_variance_order_by -} - -"""aggregate avg on columns""" -type certification_avg_fields { - """Block number where certification was created.""" - created_on: Float - - """Index of issuer""" - issuer_index: Float - - """Index of receiver""" - receiver_index: Float -} - -""" -order by avg() on columns of table "certification" -""" -input certification_avg_order_by { - """Block number where certification was created.""" - created_on: order_by - - """Index of issuer""" - issuer_index: order_by - - """Index of receiver""" - receiver_index: order_by -} - -""" -Boolean expression to filter rows from the table "certification". All fields are combined with a logical 'AND'. -""" -input certification_bool_exp { - _and: [certification_bool_exp!] - _not: certification_bool_exp - _or: [certification_bool_exp!] - created_at: timestamptz_comparison_exp - created_on: Int_comparison_exp - created_on_block: block_bool_exp - issuer: identity_bool_exp - issuer_index: Int_comparison_exp - receiver: identity_bool_exp - receiver_index: Int_comparison_exp -} - -"""aggregate max on columns""" -type certification_max_fields { - created_at: timestamptz - - """Block number where certification was created.""" - created_on: Int - - """Index of issuer""" - issuer_index: Int - - """Index of receiver""" - receiver_index: Int -} - -""" -order by max() on columns of table "certification" -""" -input certification_max_order_by { - created_at: order_by - - """Block number where certification was created.""" - created_on: order_by - - """Index of issuer""" - issuer_index: order_by - - """Index of receiver""" - receiver_index: order_by -} - -"""aggregate min on columns""" -type certification_min_fields { - created_at: timestamptz - - """Block number where certification was created.""" - created_on: Int - - """Index of issuer""" - issuer_index: Int - - """Index of receiver""" - receiver_index: Int -} - -""" -order by min() on columns of table "certification" -""" -input certification_min_order_by { - created_at: order_by - - """Block number where certification was created.""" - created_on: order_by - - """Index of issuer""" - issuer_index: order_by - - """Index of receiver""" - receiver_index: order_by -} - -"""Ordering options when selecting data from "certification".""" -input certification_order_by { - created_at: order_by - created_on: order_by - created_on_block: block_order_by - issuer: identity_order_by - issuer_index: order_by - receiver: identity_order_by - receiver_index: order_by -} - -""" -select columns of table "certification" -""" -enum certification_select_column { - """column name""" - created_at - - """column name""" - created_on - - """column name""" - issuer_index - - """column name""" - receiver_index -} - -"""aggregate stddev on columns""" -type certification_stddev_fields { - """Block number where certification was created.""" - created_on: Float - - """Index of issuer""" - issuer_index: Float - - """Index of receiver""" - receiver_index: Float -} - -""" -order by stddev() on columns of table "certification" -""" -input certification_stddev_order_by { - """Block number where certification was created.""" - created_on: order_by - - """Index of issuer""" - issuer_index: order_by - - """Index of receiver""" - receiver_index: order_by -} - -"""aggregate stddev_pop on columns""" -type certification_stddev_pop_fields { - """Block number where certification was created.""" - created_on: Float - - """Index of issuer""" - issuer_index: Float - - """Index of receiver""" - receiver_index: Float -} - -""" -order by stddev_pop() on columns of table "certification" -""" -input certification_stddev_pop_order_by { - """Block number where certification was created.""" - created_on: order_by - - """Index of issuer""" - issuer_index: order_by - - """Index of receiver""" - receiver_index: order_by -} - -"""aggregate stddev_samp on columns""" -type certification_stddev_samp_fields { - """Block number where certification was created.""" - created_on: Float - - """Index of issuer""" - issuer_index: Float - - """Index of receiver""" - receiver_index: Float -} - -""" -order by stddev_samp() on columns of table "certification" -""" -input certification_stddev_samp_order_by { - """Block number where certification was created.""" - created_on: order_by - - """Index of issuer""" - issuer_index: order_by - - """Index of receiver""" - receiver_index: order_by -} - -""" -Streaming cursor of the table "certification" -""" -input certification_stream_cursor_input { - """Stream column input with initial value""" - initial_value: certification_stream_cursor_value_input! - - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input certification_stream_cursor_value_input { - created_at: timestamptz - - """Block number where certification was created.""" - created_on: Int - - """Index of issuer""" - issuer_index: Int - - """Index of receiver""" - receiver_index: Int -} - -"""aggregate sum on columns""" -type certification_sum_fields { - """Block number where certification was created.""" - created_on: Int - - """Index of issuer""" - issuer_index: Int - - """Index of receiver""" - receiver_index: Int -} - -""" -order by sum() on columns of table "certification" -""" -input certification_sum_order_by { - """Block number where certification was created.""" - created_on: order_by - - """Index of issuer""" - issuer_index: order_by - - """Index of receiver""" - receiver_index: order_by -} - -"""aggregate var_pop on columns""" -type certification_var_pop_fields { - """Block number where certification was created.""" - created_on: Float - - """Index of issuer""" - issuer_index: Float - - """Index of receiver""" - receiver_index: Float -} - -""" -order by var_pop() on columns of table "certification" -""" -input certification_var_pop_order_by { - """Block number where certification was created.""" - created_on: order_by - - """Index of issuer""" - issuer_index: order_by - - """Index of receiver""" - receiver_index: order_by -} - -"""aggregate var_samp on columns""" -type certification_var_samp_fields { - """Block number where certification was created.""" - created_on: Float - - """Index of issuer""" - issuer_index: Float - - """Index of receiver""" - receiver_index: Float -} - -""" -order by var_samp() on columns of table "certification" -""" -input certification_var_samp_order_by { - """Block number where certification was created.""" - created_on: order_by - - """Index of issuer""" - issuer_index: order_by - - """Index of receiver""" - receiver_index: order_by -} - -"""aggregate variance on columns""" -type certification_variance_fields { - """Block number where certification was created.""" - created_on: Float - - """Index of issuer""" - issuer_index: Float - - """Index of receiver""" - receiver_index: Float -} - -""" -order by variance() on columns of table "certification" -""" -input certification_variance_order_by { - """Block number where certification was created.""" - created_on: order_by - - """Index of issuer""" - issuer_index: order_by - - """Index of receiver""" - receiver_index: order_by -} - -"""ordering argument of a cursor""" -enum cursor_ordering { - """ascending ordering of the cursor""" - ASC - - """descending ordering of the cursor""" - DESC -} - -scalar date - -""" -Boolean expression to compare columns of type "Float". All fields are combined with logical 'AND'. -""" -input Float_comparison_exp { - _eq: Float - _gt: Float - _gte: Float - _in: [Float!] - _is_null: Boolean - _lt: Float - _lte: Float - _neq: Float - _nin: [Float!] -} - -"""Table of identities.""" -type identity { - """An object relationship""" - account: account - - """An array relationship""" - cert_issued( - """distinct select on columns""" - distinct_on: [certification_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [certification_order_by!] - - """filter the rows returned""" - where: certification_bool_exp - ): [certification!]! - - """An aggregate relationship""" - cert_issued_aggregate( - """distinct select on columns""" - distinct_on: [certification_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [certification_order_by!] - - """filter the rows returned""" - where: certification_bool_exp - ): certification_aggregate! - - """An array relationship""" - cert_received( - """distinct select on columns""" - distinct_on: [certification_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [certification_order_by!] - - """filter the rows returned""" - where: certification_bool_exp - ): [certification!]! - - """An aggregate relationship""" - cert_received_aggregate( - """distinct select on columns""" - distinct_on: [certification_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [certification_order_by!] - - """filter the rows returned""" - where: certification_bool_exp - ): certification_aggregate! - confirmed_at: timestamptz - - """Block number where identity was confirmed.""" - confirmed_on: Int - - """An object relationship""" - confirmed_on_block: block - - """Block number where identity was created.""" - created_on: Int - - """An object relationship""" - created_on_block: block - index: Int! - - """Name of the identity.""" - name: String - - """Pubkey of the account associated to this identity.""" - pubkey: String! - revoked_at: timestamptz - - """Block number where identity was revoked.""" - revoked_on: Int - - """An object relationship""" - revoked_on_block: block - validated_at: timestamptz - - """Block number where identity was validated.""" - validated_on: Int - - """An object relationship""" - validated_on_block: block -} - -""" -aggregated selection of "identity" -""" -type identity_aggregate { - aggregate: identity_aggregate_fields - nodes: [identity!]! -} - -""" -aggregate fields of "identity" -""" -type identity_aggregate_fields { - avg: identity_avg_fields - count(columns: [identity_select_column!], distinct: Boolean): Int! - max: identity_max_fields - min: identity_min_fields - stddev: identity_stddev_fields - stddev_pop: identity_stddev_pop_fields - stddev_samp: identity_stddev_samp_fields - sum: identity_sum_fields - var_pop: identity_var_pop_fields - var_samp: identity_var_samp_fields - variance: identity_variance_fields -} - -"""aggregate avg on columns""" -type identity_avg_fields { - """Block number where identity was confirmed.""" - confirmed_on: Float - - """Block number where identity was created.""" - created_on: Float - index: Float - - """Block number where identity was revoked.""" - revoked_on: Float - - """Block number where identity was validated.""" - validated_on: Float -} - -""" -Boolean expression to filter rows from the table "identity". All fields are combined with a logical 'AND'. -""" -input identity_bool_exp { - _and: [identity_bool_exp!] - _not: identity_bool_exp - _or: [identity_bool_exp!] - account: account_bool_exp - cert_issued: certification_bool_exp - cert_issued_aggregate: certification_aggregate_bool_exp - cert_received: certification_bool_exp - cert_received_aggregate: certification_aggregate_bool_exp - confirmed_at: timestamptz_comparison_exp - confirmed_on: Int_comparison_exp - confirmed_on_block: block_bool_exp - created_on: Int_comparison_exp - created_on_block: block_bool_exp - index: Int_comparison_exp - name: String_comparison_exp - pubkey: String_comparison_exp - revoked_at: timestamptz_comparison_exp - revoked_on: Int_comparison_exp - revoked_on_block: block_bool_exp - validated_at: timestamptz_comparison_exp - validated_on: Int_comparison_exp - validated_on_block: block_bool_exp -} - -"""aggregate max on columns""" -type identity_max_fields { - confirmed_at: timestamptz - - """Block number where identity was confirmed.""" - confirmed_on: Int - - """Block number where identity was created.""" - created_on: Int - index: Int - - """Name of the identity.""" - name: String - - """Pubkey of the account associated to this identity.""" - pubkey: String - revoked_at: timestamptz - - """Block number where identity was revoked.""" - revoked_on: Int - validated_at: timestamptz - - """Block number where identity was validated.""" - validated_on: Int -} - -"""aggregate min on columns""" -type identity_min_fields { - confirmed_at: timestamptz - - """Block number where identity was confirmed.""" - confirmed_on: Int - - """Block number where identity was created.""" - created_on: Int - index: Int - - """Name of the identity.""" - name: String - - """Pubkey of the account associated to this identity.""" - pubkey: String - revoked_at: timestamptz - - """Block number where identity was revoked.""" - revoked_on: Int - validated_at: timestamptz - - """Block number where identity was validated.""" - validated_on: Int -} - -"""Ordering options when selecting data from "identity".""" -input identity_order_by { - account: account_order_by - cert_issued_aggregate: certification_aggregate_order_by - cert_received_aggregate: certification_aggregate_order_by - confirmed_at: order_by - confirmed_on: order_by - confirmed_on_block: block_order_by - created_on: order_by - created_on_block: block_order_by - index: order_by - name: order_by - pubkey: order_by - revoked_at: order_by - revoked_on: order_by - revoked_on_block: block_order_by - validated_at: order_by - validated_on: order_by - validated_on_block: block_order_by -} - -""" -select columns of table "identity" -""" -enum identity_select_column { - """column name""" - confirmed_at - - """column name""" - confirmed_on - - """column name""" - created_on - - """column name""" - index - - """column name""" - name - - """column name""" - pubkey - - """column name""" - revoked_at - - """column name""" - revoked_on - - """column name""" - validated_at - - """column name""" - validated_on -} - -"""aggregate stddev on columns""" -type identity_stddev_fields { - """Block number where identity was confirmed.""" - confirmed_on: Float - - """Block number where identity was created.""" - created_on: Float - index: Float - - """Block number where identity was revoked.""" - revoked_on: Float - - """Block number where identity was validated.""" - validated_on: Float -} - -"""aggregate stddev_pop on columns""" -type identity_stddev_pop_fields { - """Block number where identity was confirmed.""" - confirmed_on: Float - - """Block number where identity was created.""" - created_on: Float - index: Float - - """Block number where identity was revoked.""" - revoked_on: Float - - """Block number where identity was validated.""" - validated_on: Float -} - -"""aggregate stddev_samp on columns""" -type identity_stddev_samp_fields { - """Block number where identity was confirmed.""" - confirmed_on: Float - - """Block number where identity was created.""" - created_on: Float - index: Float - - """Block number where identity was revoked.""" - revoked_on: Float - - """Block number where identity was validated.""" - validated_on: Float -} - -""" -Streaming cursor of the table "identity" -""" -input identity_stream_cursor_input { - """Stream column input with initial value""" - initial_value: identity_stream_cursor_value_input! - - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input identity_stream_cursor_value_input { - confirmed_at: timestamptz - - """Block number where identity was confirmed.""" - confirmed_on: Int - - """Block number where identity was created.""" - created_on: Int - index: Int - - """Name of the identity.""" - name: String - - """Pubkey of the account associated to this identity.""" - pubkey: String - revoked_at: timestamptz - - """Block number where identity was revoked.""" - revoked_on: Int - validated_at: timestamptz - - """Block number where identity was validated.""" - validated_on: Int -} - -"""aggregate sum on columns""" -type identity_sum_fields { - """Block number where identity was confirmed.""" - confirmed_on: Int - - """Block number where identity was created.""" - created_on: Int - index: Int - - """Block number where identity was revoked.""" - revoked_on: Int - - """Block number where identity was validated.""" - validated_on: Int -} - -"""aggregate var_pop on columns""" -type identity_var_pop_fields { - """Block number where identity was confirmed.""" - confirmed_on: Float - - """Block number where identity was created.""" - created_on: Float - index: Float - - """Block number where identity was revoked.""" - revoked_on: Float - - """Block number where identity was validated.""" - validated_on: Float -} - -"""aggregate var_samp on columns""" -type identity_var_samp_fields { - """Block number where identity was confirmed.""" - confirmed_on: Float - - """Block number where identity was created.""" - created_on: Float - index: Float - - """Block number where identity was revoked.""" - revoked_on: Float - - """Block number where identity was validated.""" - validated_on: Float -} - -"""aggregate variance on columns""" -type identity_variance_fields { - """Block number where identity was confirmed.""" - confirmed_on: Float - - """Block number where identity was created.""" - created_on: Float - index: Float - - """Block number where identity was revoked.""" - revoked_on: Float - - """Block number where identity was validated.""" - validated_on: Float -} - -""" -Boolean expression to compare columns of type "Int". All fields are combined with logical 'AND'. -""" -input Int_comparison_exp { - _eq: Int - _gt: Int - _gte: Int - _in: [Int!] - _is_null: Boolean - _lt: Int - _lte: Int - _neq: Int - _nin: [Int!] -} - -scalar jsonb - -input jsonb_cast_exp { - String: String_comparison_exp -} - -""" -Boolean expression to compare columns of type "jsonb". All fields are combined with logical 'AND'. -""" -input jsonb_comparison_exp { - _cast: jsonb_cast_exp - - """is the column contained in the given json value""" - _contained_in: jsonb - - """does the column contain the given json value at the top level""" - _contains: jsonb - _eq: jsonb - _gt: jsonb - _gte: jsonb - - """does the string exist as a top-level key in the column""" - _has_key: String - - """do all of these strings exist as top-level keys in the column""" - _has_keys_all: [String!] - - """do any of these strings exist as top-level keys in the column""" - _has_keys_any: [String!] - _in: [jsonb!] - _is_null: Boolean - _lt: jsonb - _lte: jsonb - _neq: jsonb - _nin: [jsonb!] -} - -"""column ordering options""" -enum order_by { - """in ascending order, nulls last""" - asc - - """in ascending order, nulls first""" - asc_nulls_first - - """in ascending order, nulls last""" - asc_nulls_last - - """in descending order, nulls first""" - desc - - """in descending order, nulls first""" - desc_nulls_first - - """in descending order, nulls last""" - desc_nulls_last -} - -"""Table of key/value parameters.""" -type parameters { - key: String! - value( - """JSON select path""" - path: String - ): jsonb -} - -""" -Boolean expression to filter rows from the table "parameters". All fields are combined with a logical 'AND'. -""" -input parameters_bool_exp { - _and: [parameters_bool_exp!] - _not: parameters_bool_exp - _or: [parameters_bool_exp!] - key: String_comparison_exp - value: jsonb_comparison_exp -} - -"""Ordering options when selecting data from "parameters".""" -input parameters_order_by { - key: order_by - value: order_by -} - -""" -select columns of table "parameters" -""" -enum parameters_select_column { - """column name""" - key - - """column name""" - value -} - -""" -Streaming cursor of the table "parameters" -""" -input parameters_stream_cursor_input { - """Stream column input with initial value""" - initial_value: parameters_stream_cursor_value_input! - - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input parameters_stream_cursor_value_input { - key: String - value: jsonb -} - -type query_root { - """ - fetch data from the table: "account" - """ - account( - """distinct select on columns""" - distinct_on: [account_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [account_order_by!] - - """filter the rows returned""" - where: account_bool_exp - ): [account!]! - - """ - fetch aggregated fields from the table: "account" - """ - account_aggregate( - """distinct select on columns""" - distinct_on: [account_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [account_order_by!] - - """filter the rows returned""" - where: account_bool_exp - ): account_aggregate! - - """fetch data from the table: "account" using primary key columns""" - account_by_pk( - """Pubkey of the account.""" - pubkey: String! - ): account - - """ - fetch data from the table: "block" - """ - block( - """distinct select on columns""" - distinct_on: [block_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [block_order_by!] - - """filter the rows returned""" - where: block_bool_exp - ): [block!]! - - """ - fetch aggregated fields from the table: "block" - """ - block_aggregate( - """distinct select on columns""" - distinct_on: [block_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [block_order_by!] - - """filter the rows returned""" - where: block_bool_exp - ): block_aggregate! - - """fetch data from the table: "block" using primary key columns""" - block_by_pk( - """Number of the block in substrate.""" - number: Int! - ): block - - """ - fetch data from the table: "certification" - """ - certification( - """distinct select on columns""" - distinct_on: [certification_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [certification_order_by!] - - """filter the rows returned""" - where: certification_bool_exp - ): [certification!]! - - """ - fetch aggregated fields from the table: "certification" - """ - certification_aggregate( - """distinct select on columns""" - distinct_on: [certification_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [certification_order_by!] - - """filter the rows returned""" - where: certification_bool_exp - ): certification_aggregate! - - """fetch data from the table: "certification" using primary key columns""" - certification_by_pk( - """Block number where certification was created.""" - created_on: Int! - - """Index of issuer""" - issuer_index: Int! - - """Index of receiver""" - receiver_index: Int! - ): certification - - """ - fetch data from the table: "identity" - """ - identity( - """distinct select on columns""" - distinct_on: [identity_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [identity_order_by!] - - """filter the rows returned""" - where: identity_bool_exp - ): [identity!]! - - """ - fetch aggregated fields from the table: "identity" - """ - identity_aggregate( - """distinct select on columns""" - distinct_on: [identity_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [identity_order_by!] - - """filter the rows returned""" - where: identity_bool_exp - ): identity_aggregate! - - """fetch data from the table: "identity" using primary key columns""" - identity_by_pk(index: Int!): identity - - """ - fetch data from the table: "parameters" - """ - parameters( - """distinct select on columns""" - distinct_on: [parameters_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [parameters_order_by!] - - """filter the rows returned""" - where: parameters_bool_exp - ): [parameters!]! - - """fetch data from the table: "parameters" using primary key columns""" - parameters_by_pk(key: String!): parameters - - """ - execute function "search_identity" which returns "identity" - """ - search_identity( - """ - input parameters for function "search_identity" - """ - args: search_identity_args! - - """distinct select on columns""" - distinct_on: [identity_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [identity_order_by!] - - """filter the rows returned""" - where: identity_bool_exp - ): [identity!]! - - """ - execute function "search_identity" and query aggregates on result of table type "identity" - """ - search_identity_aggregate( - """ - input parameters for function "search_identity_aggregate" - """ - args: search_identity_args! - - """distinct select on columns""" - distinct_on: [identity_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [identity_order_by!] - - """filter the rows returned""" - where: identity_bool_exp - ): identity_aggregate! - - """ - fetch data from the table: "smith" - """ - smith( - """distinct select on columns""" - distinct_on: [smith_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [smith_order_by!] - - """filter the rows returned""" - where: smith_bool_exp - ): [smith!]! - - """ - fetch aggregated fields from the table: "smith" - """ - smith_aggregate( - """distinct select on columns""" - distinct_on: [smith_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [smith_order_by!] - - """filter the rows returned""" - where: smith_bool_exp - ): smith_aggregate! - - """fetch data from the table: "smith" using primary key columns""" - smith_by_pk(idty_index: Int!): smith - - """ - fetch data from the table: "smith_cert" - """ - smith_cert( - """distinct select on columns""" - distinct_on: [smith_cert_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [smith_cert_order_by!] - - """filter the rows returned""" - where: smith_cert_bool_exp - ): [smith_cert!]! - - """ - fetch aggregated fields from the table: "smith_cert" - """ - smith_cert_aggregate( - """distinct select on columns""" - distinct_on: [smith_cert_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [smith_cert_order_by!] - - """filter the rows returned""" - where: smith_cert_bool_exp - ): smith_cert_aggregate! - - """fetch data from the table: "smith_cert" using primary key columns""" - smith_cert_by_pk(created_on: Int!, issuer_index: Int!, receiver_index: Int!): smith_cert - - """ - fetch data from the table: "transaction" - """ - transaction( - """distinct select on columns""" - distinct_on: [transaction_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [transaction_order_by!] - - """filter the rows returned""" - where: transaction_bool_exp - ): [transaction!]! - - """ - fetch aggregated fields from the table: "transaction" - """ - transaction_aggregate( - """distinct select on columns""" - distinct_on: [transaction_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [transaction_order_by!] - - """filter the rows returned""" - where: transaction_bool_exp - ): transaction_aggregate! - - """fetch data from the table: "transaction" using primary key columns""" - transaction_by_pk( - """ - Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate. - """ - id: Int! - ): transaction - - """ - execute function "transaction_timeserie" which returns "transaction_timeserie_tmp" - """ - transaction_timeserie( - """ - input parameters for function "transaction_timeserie" - """ - args: transaction_timeserie_args! - - """distinct select on columns""" - distinct_on: [transaction_timeserie_tmp_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [transaction_timeserie_tmp_order_by!] - - """filter the rows returned""" - where: transaction_timeserie_tmp_bool_exp - ): [transaction_timeserie_tmp!]! - - """ - fetch data from the table: "transaction_timeserie_tmp" - """ - transaction_timeserie_tmp( - """distinct select on columns""" - distinct_on: [transaction_timeserie_tmp_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [transaction_timeserie_tmp_order_by!] - - """filter the rows returned""" - where: transaction_timeserie_tmp_bool_exp - ): [transaction_timeserie_tmp!]! - - """ - fetch data from the table: "transaction_timeserie_tmp" using primary key columns - """ - transaction_timeserie_tmp_by_pk(date: timestamptz!): transaction_timeserie_tmp -} - -input search_identity_args { - name: String -} - -"""identities with smith membership""" -type smith { - """An array relationship""" - cert_issued( - """distinct select on columns""" - distinct_on: [smith_cert_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [smith_cert_order_by!] - - """filter the rows returned""" - where: smith_cert_bool_exp - ): [smith_cert!]! - - """An aggregate relationship""" - cert_issued_aggregate( - """distinct select on columns""" - distinct_on: [smith_cert_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [smith_cert_order_by!] - - """filter the rows returned""" - where: smith_cert_bool_exp - ): smith_cert_aggregate! - - """An array relationship""" - cert_received( - """distinct select on columns""" - distinct_on: [smith_cert_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [smith_cert_order_by!] - - """filter the rows returned""" - where: smith_cert_bool_exp - ): [smith_cert!]! - - """An aggregate relationship""" - cert_received_aggregate( - """distinct select on columns""" - distinct_on: [smith_cert_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [smith_cert_order_by!] - - """filter the rows returned""" - where: smith_cert_bool_exp - ): smith_cert_aggregate! - - """An object relationship""" - identity: identity! - idty_index: Int! -} - -""" -aggregated selection of "smith" -""" -type smith_aggregate { - aggregate: smith_aggregate_fields - nodes: [smith!]! -} - -""" -aggregate fields of "smith" -""" -type smith_aggregate_fields { - avg: smith_avg_fields - count(columns: [smith_select_column!], distinct: Boolean): Int! - max: smith_max_fields - min: smith_min_fields - stddev: smith_stddev_fields - stddev_pop: smith_stddev_pop_fields - stddev_samp: smith_stddev_samp_fields - sum: smith_sum_fields - var_pop: smith_var_pop_fields - var_samp: smith_var_samp_fields - variance: smith_variance_fields -} - -"""aggregate avg on columns""" -type smith_avg_fields { - idty_index: Float -} - -""" -Boolean expression to filter rows from the table "smith". All fields are combined with a logical 'AND'. -""" -input smith_bool_exp { - _and: [smith_bool_exp!] - _not: smith_bool_exp - _or: [smith_bool_exp!] - cert_issued: smith_cert_bool_exp - cert_issued_aggregate: smith_cert_aggregate_bool_exp - cert_received: smith_cert_bool_exp - cert_received_aggregate: smith_cert_aggregate_bool_exp - identity: identity_bool_exp - idty_index: Int_comparison_exp -} - -"""smith certifications""" -type smith_cert { - created_at: timestamptz! - created_on: Int! - - """An object relationship""" - created_on_block: block! - - """An object relationship""" - issuer: smith! - issuer_index: Int! - - """An object relationship""" - receiver: smith! - receiver_index: Int! -} - -""" -aggregated selection of "smith_cert" -""" -type smith_cert_aggregate { - aggregate: smith_cert_aggregate_fields - nodes: [smith_cert!]! -} - -input smith_cert_aggregate_bool_exp { - count: smith_cert_aggregate_bool_exp_count -} - -input smith_cert_aggregate_bool_exp_count { - arguments: [smith_cert_select_column!] - distinct: Boolean - filter: smith_cert_bool_exp - predicate: Int_comparison_exp! -} - -""" -aggregate fields of "smith_cert" -""" -type smith_cert_aggregate_fields { - avg: smith_cert_avg_fields - count(columns: [smith_cert_select_column!], distinct: Boolean): Int! - max: smith_cert_max_fields - min: smith_cert_min_fields - stddev: smith_cert_stddev_fields - stddev_pop: smith_cert_stddev_pop_fields - stddev_samp: smith_cert_stddev_samp_fields - sum: smith_cert_sum_fields - var_pop: smith_cert_var_pop_fields - var_samp: smith_cert_var_samp_fields - variance: smith_cert_variance_fields -} - -""" -order by aggregate values of table "smith_cert" -""" -input smith_cert_aggregate_order_by { - avg: smith_cert_avg_order_by - count: order_by - max: smith_cert_max_order_by - min: smith_cert_min_order_by - stddev: smith_cert_stddev_order_by - stddev_pop: smith_cert_stddev_pop_order_by - stddev_samp: smith_cert_stddev_samp_order_by - sum: smith_cert_sum_order_by - var_pop: smith_cert_var_pop_order_by - var_samp: smith_cert_var_samp_order_by - variance: smith_cert_variance_order_by -} - -"""aggregate avg on columns""" -type smith_cert_avg_fields { - created_on: Float - issuer_index: Float - receiver_index: Float -} - -""" -order by avg() on columns of table "smith_cert" -""" -input smith_cert_avg_order_by { - created_on: order_by - issuer_index: order_by - receiver_index: order_by -} - -""" -Boolean expression to filter rows from the table "smith_cert". All fields are combined with a logical 'AND'. -""" -input smith_cert_bool_exp { - _and: [smith_cert_bool_exp!] - _not: smith_cert_bool_exp - _or: [smith_cert_bool_exp!] - created_at: timestamptz_comparison_exp - created_on: Int_comparison_exp - created_on_block: block_bool_exp - issuer: smith_bool_exp - issuer_index: Int_comparison_exp - receiver: smith_bool_exp - receiver_index: Int_comparison_exp -} - -"""aggregate max on columns""" -type smith_cert_max_fields { - created_at: timestamptz - created_on: Int - issuer_index: Int - receiver_index: Int -} - -""" -order by max() on columns of table "smith_cert" -""" -input smith_cert_max_order_by { - created_at: order_by - created_on: order_by - issuer_index: order_by - receiver_index: order_by -} - -"""aggregate min on columns""" -type smith_cert_min_fields { - created_at: timestamptz - created_on: Int - issuer_index: Int - receiver_index: Int -} - -""" -order by min() on columns of table "smith_cert" -""" -input smith_cert_min_order_by { - created_at: order_by - created_on: order_by - issuer_index: order_by - receiver_index: order_by -} - -"""Ordering options when selecting data from "smith_cert".""" -input smith_cert_order_by { - created_at: order_by - created_on: order_by - created_on_block: block_order_by - issuer: smith_order_by - issuer_index: order_by - receiver: smith_order_by - receiver_index: order_by -} - -""" -select columns of table "smith_cert" -""" -enum smith_cert_select_column { - """column name""" - created_at - - """column name""" - created_on - - """column name""" - issuer_index - - """column name""" - receiver_index -} - -"""aggregate stddev on columns""" -type smith_cert_stddev_fields { - created_on: Float - issuer_index: Float - receiver_index: Float -} - -""" -order by stddev() on columns of table "smith_cert" -""" -input smith_cert_stddev_order_by { - created_on: order_by - issuer_index: order_by - receiver_index: order_by -} - -"""aggregate stddev_pop on columns""" -type smith_cert_stddev_pop_fields { - created_on: Float - issuer_index: Float - receiver_index: Float -} - -""" -order by stddev_pop() on columns of table "smith_cert" -""" -input smith_cert_stddev_pop_order_by { - created_on: order_by - issuer_index: order_by - receiver_index: order_by -} - -"""aggregate stddev_samp on columns""" -type smith_cert_stddev_samp_fields { - created_on: Float - issuer_index: Float - receiver_index: Float -} - -""" -order by stddev_samp() on columns of table "smith_cert" -""" -input smith_cert_stddev_samp_order_by { - created_on: order_by - issuer_index: order_by - receiver_index: order_by -} - -""" -Streaming cursor of the table "smith_cert" -""" -input smith_cert_stream_cursor_input { - """Stream column input with initial value""" - initial_value: smith_cert_stream_cursor_value_input! - - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input smith_cert_stream_cursor_value_input { - created_at: timestamptz - created_on: Int - issuer_index: Int - receiver_index: Int -} - -"""aggregate sum on columns""" -type smith_cert_sum_fields { - created_on: Int - issuer_index: Int - receiver_index: Int -} - -""" -order by sum() on columns of table "smith_cert" -""" -input smith_cert_sum_order_by { - created_on: order_by - issuer_index: order_by - receiver_index: order_by -} - -"""aggregate var_pop on columns""" -type smith_cert_var_pop_fields { - created_on: Float - issuer_index: Float - receiver_index: Float -} - -""" -order by var_pop() on columns of table "smith_cert" -""" -input smith_cert_var_pop_order_by { - created_on: order_by - issuer_index: order_by - receiver_index: order_by -} - -"""aggregate var_samp on columns""" -type smith_cert_var_samp_fields { - created_on: Float - issuer_index: Float - receiver_index: Float -} - -""" -order by var_samp() on columns of table "smith_cert" -""" -input smith_cert_var_samp_order_by { - created_on: order_by - issuer_index: order_by - receiver_index: order_by -} - -"""aggregate variance on columns""" -type smith_cert_variance_fields { - created_on: Float - issuer_index: Float - receiver_index: Float -} - -""" -order by variance() on columns of table "smith_cert" -""" -input smith_cert_variance_order_by { - created_on: order_by - issuer_index: order_by - receiver_index: order_by -} - -"""aggregate max on columns""" -type smith_max_fields { - idty_index: Int -} - -"""aggregate min on columns""" -type smith_min_fields { - idty_index: Int -} - -"""Ordering options when selecting data from "smith".""" -input smith_order_by { - cert_issued_aggregate: smith_cert_aggregate_order_by - cert_received_aggregate: smith_cert_aggregate_order_by - identity: identity_order_by - idty_index: order_by -} - -""" -select columns of table "smith" -""" -enum smith_select_column { - """column name""" - idty_index -} - -"""aggregate stddev on columns""" -type smith_stddev_fields { - idty_index: Float -} - -"""aggregate stddev_pop on columns""" -type smith_stddev_pop_fields { - idty_index: Float -} - -"""aggregate stddev_samp on columns""" -type smith_stddev_samp_fields { - idty_index: Float -} - -""" -Streaming cursor of the table "smith" -""" -input smith_stream_cursor_input { - """Stream column input with initial value""" - initial_value: smith_stream_cursor_value_input! - - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input smith_stream_cursor_value_input { - idty_index: Int -} - -"""aggregate sum on columns""" -type smith_sum_fields { - idty_index: Int -} - -"""aggregate var_pop on columns""" -type smith_var_pop_fields { - idty_index: Float -} - -"""aggregate var_samp on columns""" -type smith_var_samp_fields { - idty_index: Float -} - -"""aggregate variance on columns""" -type smith_variance_fields { - idty_index: Float -} - -""" -Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. -""" -input String_comparison_exp { - _eq: String - _gt: String - _gte: String - - """does the column match the given case-insensitive pattern""" - _ilike: String - _in: [String!] - - """ - does the column match the given POSIX regular expression, case insensitive - """ - _iregex: String - _is_null: Boolean - - """does the column match the given pattern""" - _like: String - _lt: String - _lte: String - _neq: String - - """does the column NOT match the given case-insensitive pattern""" - _nilike: String - _nin: [String!] - - """ - does the column NOT match the given POSIX regular expression, case insensitive - """ - _niregex: String - - """does the column NOT match the given pattern""" - _nlike: String - - """ - does the column NOT match the given POSIX regular expression, case sensitive - """ - _nregex: String - - """does the column NOT match the given SQL regular expression""" - _nsimilar: String - - """ - does the column match the given POSIX regular expression, case sensitive - """ - _regex: String - - """does the column match the given SQL regular expression""" - _similar: String -} - -type subscription_root { - """ - fetch data from the table: "account" - """ - account( - """distinct select on columns""" - distinct_on: [account_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [account_order_by!] - - """filter the rows returned""" - where: account_bool_exp - ): [account!]! - - """ - fetch aggregated fields from the table: "account" - """ - account_aggregate( - """distinct select on columns""" - distinct_on: [account_select_column!] - - """limit the number of rows returned""" - limit: Int - - """skip the first n rows. Use only with order_by""" +type Query { + blocks( + where: BlockWhereInput + orderBy: [BlockOrderByInput!] offset: Int - - """sort the rows by one or more columns""" - order_by: [account_order_by!] - - """filter the rows returned""" - where: account_bool_exp - ): account_aggregate! - - """fetch data from the table: "account" using primary key columns""" - account_by_pk( - """Pubkey of the account.""" - pubkey: String! - ): account - - """ - fetch data from the table in a streaming manner: "account" - """ - account_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [account_stream_cursor_input]! - - """filter the rows returned""" - where: account_bool_exp - ): [account!]! - - """ - fetch data from the table: "block" - """ - block( - """distinct select on columns""" - distinct_on: [block_select_column!] - - """limit the number of rows returned""" limit: Int - - """skip the first n rows. Use only with order_by""" + ): [Block!]! + blockById(id: String!): Block + blockByUniqueInput(where: WhereIdInput!): Block + @deprecated(reason: "Use blockById") + blocksConnection( + orderBy: [BlockOrderByInput!]! + after: String + first: Int + where: BlockWhereInput + ): BlocksConnection! + extrinsics( + where: ExtrinsicWhereInput + orderBy: [ExtrinsicOrderByInput!] offset: Int - - """sort the rows by one or more columns""" - order_by: [block_order_by!] - - """filter the rows returned""" - where: block_bool_exp - ): [block!]! - - """ - fetch aggregated fields from the table: "block" - """ - block_aggregate( - """distinct select on columns""" - distinct_on: [block_select_column!] - - """limit the number of rows returned""" limit: Int - - """skip the first n rows. Use only with order_by""" + ): [Extrinsic!]! + extrinsicById(id: String!): Extrinsic + extrinsicByUniqueInput(where: WhereIdInput!): Extrinsic + @deprecated(reason: "Use extrinsicById") + extrinsicsConnection( + orderBy: [ExtrinsicOrderByInput!]! + after: String + first: Int + where: ExtrinsicWhereInput + ): ExtrinsicsConnection! + calls( + where: CallWhereInput + orderBy: [CallOrderByInput!] offset: Int - - """sort the rows by one or more columns""" - order_by: [block_order_by!] - - """filter the rows returned""" - where: block_bool_exp - ): block_aggregate! - - """fetch data from the table: "block" using primary key columns""" - block_by_pk( - """Number of the block in substrate.""" - number: Int! - ): block - - """ - fetch data from the table in a streaming manner: "block" - """ - block_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [block_stream_cursor_input]! - - """filter the rows returned""" - where: block_bool_exp - ): [block!]! - - """ - fetch data from the table: "certification" - """ - certification( - """distinct select on columns""" - distinct_on: [certification_select_column!] - - """limit the number of rows returned""" limit: Int - - """skip the first n rows. Use only with order_by""" + ): [Call!]! + callById(id: String!): Call + callByUniqueInput(where: WhereIdInput!): Call + @deprecated(reason: "Use callById") + callsConnection( + orderBy: [CallOrderByInput!]! + after: String + first: Int + where: CallWhereInput + ): CallsConnection! + events( + where: EventWhereInput + orderBy: [EventOrderByInput!] offset: Int - - """sort the rows by one or more columns""" - order_by: [certification_order_by!] - - """filter the rows returned""" - where: certification_bool_exp - ): [certification!]! - - """ - fetch aggregated fields from the table: "certification" - """ - certification_aggregate( - """distinct select on columns""" - distinct_on: [certification_select_column!] - - """limit the number of rows returned""" limit: Int - - """skip the first n rows. Use only with order_by""" + ): [Event!]! + eventById(id: String!): Event + eventByUniqueInput(where: WhereIdInput!): Event + @deprecated(reason: "Use eventById") + eventsConnection( + orderBy: [EventOrderByInput!]! + after: String + first: Int + where: EventWhereInput + ): EventsConnection! + itemsCounters( + where: ItemsCounterWhereInput + orderBy: [ItemsCounterOrderByInput!] offset: Int - - """sort the rows by one or more columns""" - order_by: [certification_order_by!] - - """filter the rows returned""" - where: certification_bool_exp - ): certification_aggregate! - - """fetch data from the table: "certification" using primary key columns""" - certification_by_pk( - """Block number where certification was created.""" - created_on: Int! - - """Index of issuer""" - issuer_index: Int! - - """Index of receiver""" - receiver_index: Int! - ): certification - - """ - fetch data from the table in a streaming manner: "certification" - """ - certification_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [certification_stream_cursor_input]! - - """filter the rows returned""" - where: certification_bool_exp - ): [certification!]! - - """ - fetch data from the table: "identity" - """ - identity( - """distinct select on columns""" - distinct_on: [identity_select_column!] - - """limit the number of rows returned""" limit: Int - - """skip the first n rows. Use only with order_by""" + ): [ItemsCounter!]! + itemsCounterById(id: String!): ItemsCounter + itemsCounterByUniqueInput(where: WhereIdInput!): ItemsCounter + @deprecated(reason: "Use itemsCounterById") + itemsCountersConnection( + orderBy: [ItemsCounterOrderByInput!]! + after: String + first: Int + where: ItemsCounterWhereInput + ): ItemsCountersConnection! + accounts( + where: AccountWhereInput + orderBy: [AccountOrderByInput!] offset: Int - - """sort the rows by one or more columns""" - order_by: [identity_order_by!] - - """filter the rows returned""" - where: identity_bool_exp - ): [identity!]! - - """ - fetch aggregated fields from the table: "identity" - """ - identity_aggregate( - """distinct select on columns""" - distinct_on: [identity_select_column!] - - """limit the number of rows returned""" limit: Int - - """skip the first n rows. Use only with order_by""" + ): [Account!]! + accountById(id: String!): Account + accountByUniqueInput(where: WhereIdInput!): Account + @deprecated(reason: "Use accountById") + accountsConnection( + orderBy: [AccountOrderByInput!]! + after: String + first: Int + where: AccountWhereInput + ): AccountsConnection! + transfers( + where: TransferWhereInput + orderBy: [TransferOrderByInput!] offset: Int - - """sort the rows by one or more columns""" - order_by: [identity_order_by!] - - """filter the rows returned""" - where: identity_bool_exp - ): identity_aggregate! - - """fetch data from the table: "identity" using primary key columns""" - identity_by_pk(index: Int!): identity - - """ - fetch data from the table in a streaming manner: "identity" - """ - identity_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [identity_stream_cursor_input]! - - """filter the rows returned""" - where: identity_bool_exp - ): [identity!]! - - """ - fetch data from the table: "parameters" - """ - parameters( - """distinct select on columns""" - distinct_on: [parameters_select_column!] - - """limit the number of rows returned""" limit: Int - - """skip the first n rows. Use only with order_by""" + ): [Transfer!]! + transferById(id: String!): Transfer + transferByUniqueInput(where: WhereIdInput!): Transfer + @deprecated(reason: "Use transferById") + transfersConnection( + orderBy: [TransferOrderByInput!]! + after: String + first: Int + where: TransferWhereInput + ): TransfersConnection! + identities( + where: IdentityWhereInput + orderBy: [IdentityOrderByInput!] offset: Int - - """sort the rows by one or more columns""" - order_by: [parameters_order_by!] - - """filter the rows returned""" - where: parameters_bool_exp - ): [parameters!]! - - """fetch data from the table: "parameters" using primary key columns""" - parameters_by_pk(key: String!): parameters - - """ - fetch data from the table in a streaming manner: "parameters" - """ - parameters_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [parameters_stream_cursor_input]! - - """filter the rows returned""" - where: parameters_bool_exp - ): [parameters!]! - - """ - execute function "search_identity" which returns "identity" - """ - search_identity( - """ - input parameters for function "search_identity" - """ - args: search_identity_args! - - """distinct select on columns""" - distinct_on: [identity_select_column!] - - """limit the number of rows returned""" limit: Int - - """skip the first n rows. Use only with order_by""" + ): [Identity!]! + identityById(id: String!): Identity + identityByUniqueInput(where: WhereIdInput!): Identity + @deprecated(reason: "Use identityById") + identitiesConnection( + orderBy: [IdentityOrderByInput!]! + after: String + first: Int + where: IdentityWhereInput + ): IdentitiesConnection! + changeOwnerKeys( + where: ChangeOwnerKeyWhereInput + orderBy: [ChangeOwnerKeyOrderByInput!] offset: Int - - """sort the rows by one or more columns""" - order_by: [identity_order_by!] - - """filter the rows returned""" - where: identity_bool_exp - ): [identity!]! - - """ - execute function "search_identity" and query aggregates on result of table type "identity" - """ - search_identity_aggregate( - """ - input parameters for function "search_identity_aggregate" - """ - args: search_identity_args! - - """distinct select on columns""" - distinct_on: [identity_select_column!] - - """limit the number of rows returned""" limit: Int - - """skip the first n rows. Use only with order_by""" + ): [ChangeOwnerKey!]! + changeOwnerKeyById(id: String!): ChangeOwnerKey + changeOwnerKeyByUniqueInput(where: WhereIdInput!): ChangeOwnerKey + @deprecated(reason: "Use changeOwnerKeyById") + changeOwnerKeysConnection( + orderBy: [ChangeOwnerKeyOrderByInput!]! + after: String + first: Int + where: ChangeOwnerKeyWhereInput + ): ChangeOwnerKeysConnection! + certs( + where: CertWhereInput + orderBy: [CertOrderByInput!] offset: Int - - """sort the rows by one or more columns""" - order_by: [identity_order_by!] - - """filter the rows returned""" - where: identity_bool_exp - ): identity_aggregate! - - """ - fetch data from the table: "smith" - """ - smith( - """distinct select on columns""" - distinct_on: [smith_select_column!] - - """limit the number of rows returned""" limit: Int - - """skip the first n rows. Use only with order_by""" + ): [Cert!]! + certById(id: String!): Cert + certByUniqueInput(where: WhereIdInput!): Cert + @deprecated(reason: "Use certById") + certsConnection( + orderBy: [CertOrderByInput!]! + after: String + first: Int + where: CertWhereInput + ): CertsConnection! + certCreations( + where: CertCreationWhereInput + orderBy: [CertCreationOrderByInput!] offset: Int - - """sort the rows by one or more columns""" - order_by: [smith_order_by!] - - """filter the rows returned""" - where: smith_bool_exp - ): [smith!]! - - """ - fetch aggregated fields from the table: "smith" - """ - smith_aggregate( - """distinct select on columns""" - distinct_on: [smith_select_column!] - - """limit the number of rows returned""" limit: Int - - """skip the first n rows. Use only with order_by""" + ): [CertCreation!]! + certCreationById(id: String!): CertCreation + certCreationByUniqueInput(where: WhereIdInput!): CertCreation + @deprecated(reason: "Use certCreationById") + certCreationsConnection( + orderBy: [CertCreationOrderByInput!]! + after: String + first: Int + where: CertCreationWhereInput + ): CertCreationsConnection! + certRenewals( + where: CertRenewalWhereInput + orderBy: [CertRenewalOrderByInput!] offset: Int - - """sort the rows by one or more columns""" - order_by: [smith_order_by!] - - """filter the rows returned""" - where: smith_bool_exp - ): smith_aggregate! - - """fetch data from the table: "smith" using primary key columns""" - smith_by_pk(idty_index: Int!): smith - - """ - fetch data from the table: "smith_cert" - """ - smith_cert( - """distinct select on columns""" - distinct_on: [smith_cert_select_column!] - - """limit the number of rows returned""" limit: Int - - """skip the first n rows. Use only with order_by""" + ): [CertRenewal!]! + certRenewalById(id: String!): CertRenewal + certRenewalByUniqueInput(where: WhereIdInput!): CertRenewal + @deprecated(reason: "Use certRenewalById") + certRenewalsConnection( + orderBy: [CertRenewalOrderByInput!]! + after: String + first: Int + where: CertRenewalWhereInput + ): CertRenewalsConnection! + certRemovals( + where: CertRemovalWhereInput + orderBy: [CertRemovalOrderByInput!] offset: Int - - """sort the rows by one or more columns""" - order_by: [smith_cert_order_by!] - - """filter the rows returned""" - where: smith_cert_bool_exp - ): [smith_cert!]! - - """ - fetch aggregated fields from the table: "smith_cert" - """ - smith_cert_aggregate( - """distinct select on columns""" - distinct_on: [smith_cert_select_column!] - - """limit the number of rows returned""" limit: Int - - """skip the first n rows. Use only with order_by""" - offset: Int - - """sort the rows by one or more columns""" - order_by: [smith_cert_order_by!] - - """filter the rows returned""" - where: smith_cert_bool_exp - ): smith_cert_aggregate! - - """fetch data from the table: "smith_cert" using primary key columns""" - smith_cert_by_pk(created_on: Int!, issuer_index: Int!, receiver_index: Int!): smith_cert - - """ - fetch data from the table in a streaming manner: "smith_cert" - """ - smith_cert_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [smith_cert_stream_cursor_input]! - - """filter the rows returned""" - where: smith_cert_bool_exp - ): [smith_cert!]! - - """ - fetch data from the table in a streaming manner: "smith" - """ - smith_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [smith_stream_cursor_input]! - - """filter the rows returned""" - where: smith_bool_exp - ): [smith!]! - - """ - fetch data from the table: "transaction" - """ - transaction( - """distinct select on columns""" - distinct_on: [transaction_select_column!] - - """limit the number of rows returned""" + ): [CertRemoval!]! + certRemovalById(id: String!): CertRemoval + certRemovalByUniqueInput(where: WhereIdInput!): CertRemoval + @deprecated(reason: "Use certRemovalById") + certRemovalsConnection( + orderBy: [CertRemovalOrderByInput!]! + after: String + first: Int + where: CertRemovalWhereInput + ): CertRemovalsConnection! + smithCerts( + where: SmithCertWhereInput + orderBy: [SmithCertOrderByInput!] + offset: Int limit: Int - - """skip the first n rows. Use only with order_by""" + ): [SmithCert!]! + smithCertById(id: String!): SmithCert + smithCertByUniqueInput(where: WhereIdInput!): SmithCert + @deprecated(reason: "Use smithCertById") + smithCertsConnection( + orderBy: [SmithCertOrderByInput!]! + after: String + first: Int + where: SmithCertWhereInput + ): SmithCertsConnection! + memberships( + where: MembershipWhereInput + orderBy: [MembershipOrderByInput!] offset: Int - - """sort the rows by one or more columns""" - order_by: [transaction_order_by!] - - """filter the rows returned""" - where: transaction_bool_exp - ): [transaction!]! - - """ - fetch aggregated fields from the table: "transaction" - """ - transaction_aggregate( - """distinct select on columns""" - distinct_on: [transaction_select_column!] - - """limit the number of rows returned""" limit: Int - - """skip the first n rows. Use only with order_by""" + ): [Membership!]! + membershipById(id: String!): Membership + membershipByUniqueInput(where: WhereIdInput!): Membership + @deprecated(reason: "Use membershipById") + membershipsConnection( + orderBy: [MembershipOrderByInput!]! + after: String + first: Int + where: MembershipWhereInput + ): MembershipsConnection! + smithMemberships( + where: SmithMembershipWhereInput + orderBy: [SmithMembershipOrderByInput!] offset: Int - - """sort the rows by one or more columns""" - order_by: [transaction_order_by!] - - """filter the rows returned""" - where: transaction_bool_exp - ): transaction_aggregate! - - """fetch data from the table: "transaction" using primary key columns""" - transaction_by_pk( - """ - Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate. - """ - id: Int! - ): transaction - - """ - fetch data from the table in a streaming manner: "transaction" - """ - transaction_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [transaction_stream_cursor_input]! - - """filter the rows returned""" - where: transaction_bool_exp - ): [transaction!]! - - """ - execute function "transaction_timeserie" which returns "transaction_timeserie_tmp" - """ - transaction_timeserie( - """ - input parameters for function "transaction_timeserie" - """ - args: transaction_timeserie_args! - - """distinct select on columns""" - distinct_on: [transaction_timeserie_tmp_select_column!] - - """limit the number of rows returned""" limit: Int - - """skip the first n rows. Use only with order_by""" + ): [SmithMembership!]! + smithMembershipById(id: String!): SmithMembership + smithMembershipByUniqueInput(where: WhereIdInput!): SmithMembership + @deprecated(reason: "Use smithMembershipById") + smithMembershipsConnection( + orderBy: [SmithMembershipOrderByInput!]! + after: String + first: Int + where: SmithMembershipWhereInput + ): SmithMembershipsConnection! + squidStatus: SquidStatus +} + +type Block { + """ + BlockHeight-blockHash - e.g. 0001812319-0001c + """ + id: String! + height: Int! + hash: Bytes! + parentHash: Bytes! + stateRoot: Bytes! + extrinsicsicRoot: Bytes! + specName: String! + specVersion: Int! + implName: String! + implVersion: Int! + timestamp: DateTime! + validator: Bytes + extrinsicsCount: Int! + callsCount: Int! + eventsCount: Int! + extrinsics( + where: ExtrinsicWhereInput + orderBy: [ExtrinsicOrderByInput!] offset: Int - - """sort the rows by one or more columns""" - order_by: [transaction_timeserie_tmp_order_by!] - - """filter the rows returned""" - where: transaction_timeserie_tmp_bool_exp - ): [transaction_timeserie_tmp!]! - - """ - fetch data from the table: "transaction_timeserie_tmp" - """ - transaction_timeserie_tmp( - """distinct select on columns""" - distinct_on: [transaction_timeserie_tmp_select_column!] - - """limit the number of rows returned""" limit: Int - - """skip the first n rows. Use only with order_by""" + ): [Extrinsic!]! + calls( + where: CallWhereInput + orderBy: [CallOrderByInput!] offset: Int - - """sort the rows by one or more columns""" - order_by: [transaction_timeserie_tmp_order_by!] - - """filter the rows returned""" - where: transaction_timeserie_tmp_bool_exp - ): [transaction_timeserie_tmp!]! - - """ - fetch data from the table: "transaction_timeserie_tmp" using primary key columns - """ - transaction_timeserie_tmp_by_pk(date: timestamptz!): transaction_timeserie_tmp - - """ - fetch data from the table in a streaming manner: "transaction_timeserie_tmp" - """ - transaction_timeserie_tmp_stream( - """maximum number of rows returned in a single batch""" - batch_size: Int! - - """cursor to stream the results returned by the query""" - cursor: [transaction_timeserie_tmp_stream_cursor_input]! - - """filter the rows returned""" - where: transaction_timeserie_tmp_bool_exp - ): [transaction_timeserie_tmp!]! + limit: Int + ): [Call!]! + events( + where: EventWhereInput + orderBy: [EventOrderByInput!] + offset: Int + limit: Int + ): [Event!]! } -scalar time_period - -scalar timestamp - """ -Boolean expression to compare columns of type "timestamp". All fields are combined with logical 'AND'. +Binary data encoded as a hex string always prefixed with 0x """ -input timestamp_comparison_exp { - _eq: timestamp - _gt: timestamp - _gte: timestamp - _in: [timestamp!] - _is_null: Boolean - _lt: timestamp - _lte: timestamp - _neq: timestamp - _nin: [timestamp!] -} - -scalar timestamptz +scalar Bytes """ -Boolean expression to compare columns of type "timestamptz". All fields are combined with logical 'AND'. +A date-time string in simplified extended ISO 8601 format (YYYY-MM-DDTHH:mm:ss.sssZ) """ -input timestamptz_comparison_exp { - _eq: timestamptz - _gt: timestamptz - _gte: timestamptz - _in: [timestamptz!] - _is_null: Boolean - _lt: timestamptz - _lte: timestamptz - _neq: timestamptz - _nin: [timestamptz!] -} - -"""Table of transactions.""" -type transaction { - """Amount of the transaction. 100 units = 1 Ğ1.""" - amount: Float! - comment: String - created_at: timestamptz! +scalar DateTime - """Block number where transaction was created.""" - created_on: Int! - - """An object relationship""" - created_on_block: block! +type Extrinsic { + id: String! + block: Block! + call: Call! + index: Int! + version: Int! + signature: ExtrinsicSignature + tip: BigInt + fee: BigInt + success: Boolean + error: JSON + hash: Bytes! + calls( + where: CallWhereInput + orderBy: [CallOrderByInput!] + offset: Int + limit: Int + ): [Call!]! + events( + where: EventWhereInput + orderBy: [EventOrderByInput!] + offset: Int + limit: Int + ): [Event!]! +} + +type Call { + id: String! + block: Block! + extrinsic: Extrinsic + parent: Call + address: [Int!]! + success: Boolean! + error: JSON + pallet: String! + name: String! + args: JSON + argsStr: [String] + subcalls( + where: CallWhereInput + orderBy: [CallOrderByInput!] + offset: Int + limit: Int + ): [Call!]! + events( + where: EventWhereInput + orderBy: [EventOrderByInput!] + offset: Int + limit: Int + ): [Event!]! +} + +""" +A scalar that can represent any JSON value +""" +scalar JSON + +input CallWhereInput { + id_isNull: Boolean + id_eq: String + id_not_eq: String + id_gt: String + id_gte: String + id_lt: String + id_lte: String + id_in: [String!] + id_not_in: [String!] + id_contains: String + id_not_contains: String + id_containsInsensitive: String + id_not_containsInsensitive: String + id_startsWith: String + id_not_startsWith: String + id_endsWith: String + id_not_endsWith: String + block_isNull: Boolean + block: BlockWhereInput + extrinsic_isNull: Boolean + extrinsic: ExtrinsicWhereInput + parent_isNull: Boolean + parent: CallWhereInput + address_isNull: Boolean + address_containsAll: [Int!] + address_containsAny: [Int!] + address_containsNone: [Int!] + success_isNull: Boolean + success_eq: Boolean + success_not_eq: Boolean + error_isNull: Boolean + error_eq: JSON + error_not_eq: JSON + error_jsonContains: JSON + error_jsonHasKey: JSON + pallet_isNull: Boolean + pallet_eq: String + pallet_not_eq: String + pallet_gt: String + pallet_gte: String + pallet_lt: String + pallet_lte: String + pallet_in: [String!] + pallet_not_in: [String!] + pallet_contains: String + pallet_not_contains: String + pallet_containsInsensitive: String + pallet_not_containsInsensitive: String + pallet_startsWith: String + pallet_not_startsWith: String + pallet_endsWith: String + pallet_not_endsWith: String + name_isNull: Boolean + name_eq: String + name_not_eq: String + name_gt: String + name_gte: String + name_lt: String + name_lte: String + name_in: [String!] + name_not_in: [String!] + name_contains: String + name_not_contains: String + name_containsInsensitive: String + name_not_containsInsensitive: String + name_startsWith: String + name_not_startsWith: String + name_endsWith: String + name_not_endsWith: String + args_isNull: Boolean + args_eq: JSON + args_not_eq: JSON + args_jsonContains: JSON + args_jsonHasKey: JSON + argsStr_isNull: Boolean + argsStr_containsAll: [String] + argsStr_containsAny: [String] + argsStr_containsNone: [String] + subcalls_every: CallWhereInput + subcalls_some: CallWhereInput + subcalls_none: CallWhereInput + events_every: EventWhereInput + events_some: EventWhereInput + events_none: EventWhereInput + AND: [CallWhereInput!] + OR: [CallWhereInput!] +} + +input BlockWhereInput { + id_isNull: Boolean + id_eq: String + id_not_eq: String + id_gt: String + id_gte: String + id_lt: String + id_lte: String + id_in: [String!] + id_not_in: [String!] + id_contains: String + id_not_contains: String + id_containsInsensitive: String + id_not_containsInsensitive: String + id_startsWith: String + id_not_startsWith: String + id_endsWith: String + id_not_endsWith: String + height_isNull: Boolean + height_eq: Int + height_not_eq: Int + height_gt: Int + height_gte: Int + height_lt: Int + height_lte: Int + height_in: [Int!] + height_not_in: [Int!] + hash_isNull: Boolean + hash_eq: Bytes + hash_not_eq: Bytes + parentHash_isNull: Boolean + parentHash_eq: Bytes + parentHash_not_eq: Bytes + stateRoot_isNull: Boolean + stateRoot_eq: Bytes + stateRoot_not_eq: Bytes + extrinsicsicRoot_isNull: Boolean + extrinsicsicRoot_eq: Bytes + extrinsicsicRoot_not_eq: Bytes + specName_isNull: Boolean + specName_eq: String + specName_not_eq: String + specName_gt: String + specName_gte: String + specName_lt: String + specName_lte: String + specName_in: [String!] + specName_not_in: [String!] + specName_contains: String + specName_not_contains: String + specName_containsInsensitive: String + specName_not_containsInsensitive: String + specName_startsWith: String + specName_not_startsWith: String + specName_endsWith: String + specName_not_endsWith: String + specVersion_isNull: Boolean + specVersion_eq: Int + specVersion_not_eq: Int + specVersion_gt: Int + specVersion_gte: Int + specVersion_lt: Int + specVersion_lte: Int + specVersion_in: [Int!] + specVersion_not_in: [Int!] + implName_isNull: Boolean + implName_eq: String + implName_not_eq: String + implName_gt: String + implName_gte: String + implName_lt: String + implName_lte: String + implName_in: [String!] + implName_not_in: [String!] + implName_contains: String + implName_not_contains: String + implName_containsInsensitive: String + implName_not_containsInsensitive: String + implName_startsWith: String + implName_not_startsWith: String + implName_endsWith: String + implName_not_endsWith: String + implVersion_isNull: Boolean + implVersion_eq: Int + implVersion_not_eq: Int + implVersion_gt: Int + implVersion_gte: Int + implVersion_lt: Int + implVersion_lte: Int + implVersion_in: [Int!] + implVersion_not_in: [Int!] + timestamp_isNull: Boolean + timestamp_eq: DateTime + timestamp_not_eq: DateTime + timestamp_gt: DateTime + timestamp_gte: DateTime + timestamp_lt: DateTime + timestamp_lte: DateTime + timestamp_in: [DateTime!] + timestamp_not_in: [DateTime!] + validator_isNull: Boolean + validator_eq: Bytes + validator_not_eq: Bytes + extrinsicsCount_isNull: Boolean + extrinsicsCount_eq: Int + extrinsicsCount_not_eq: Int + extrinsicsCount_gt: Int + extrinsicsCount_gte: Int + extrinsicsCount_lt: Int + extrinsicsCount_lte: Int + extrinsicsCount_in: [Int!] + extrinsicsCount_not_in: [Int!] + callsCount_isNull: Boolean + callsCount_eq: Int + callsCount_not_eq: Int + callsCount_gt: Int + callsCount_gte: Int + callsCount_lt: Int + callsCount_lte: Int + callsCount_in: [Int!] + callsCount_not_in: [Int!] + eventsCount_isNull: Boolean + eventsCount_eq: Int + eventsCount_not_eq: Int + eventsCount_gt: Int + eventsCount_gte: Int + eventsCount_lt: Int + eventsCount_lte: Int + eventsCount_in: [Int!] + eventsCount_not_in: [Int!] + extrinsics_every: ExtrinsicWhereInput + extrinsics_some: ExtrinsicWhereInput + extrinsics_none: ExtrinsicWhereInput + calls_every: CallWhereInput + calls_some: CallWhereInput + calls_none: CallWhereInput + events_every: EventWhereInput + events_some: EventWhereInput + events_none: EventWhereInput + AND: [BlockWhereInput!] + OR: [BlockWhereInput!] +} + +input ExtrinsicWhereInput { + id_isNull: Boolean + id_eq: String + id_not_eq: String + id_gt: String + id_gte: String + id_lt: String + id_lte: String + id_in: [String!] + id_not_in: [String!] + id_contains: String + id_not_contains: String + id_containsInsensitive: String + id_not_containsInsensitive: String + id_startsWith: String + id_not_startsWith: String + id_endsWith: String + id_not_endsWith: String + block_isNull: Boolean + block: BlockWhereInput + call_isNull: Boolean + call: CallWhereInput + index_isNull: Boolean + index_eq: Int + index_not_eq: Int + index_gt: Int + index_gte: Int + index_lt: Int + index_lte: Int + index_in: [Int!] + index_not_in: [Int!] + version_isNull: Boolean + version_eq: Int + version_not_eq: Int + version_gt: Int + version_gte: Int + version_lt: Int + version_lte: Int + version_in: [Int!] + version_not_in: [Int!] + signature_isNull: Boolean + signature: ExtrinsicSignatureWhereInput + tip_isNull: Boolean + tip_eq: BigInt + tip_not_eq: BigInt + tip_gt: BigInt + tip_gte: BigInt + tip_lt: BigInt + tip_lte: BigInt + tip_in: [BigInt!] + tip_not_in: [BigInt!] + fee_isNull: Boolean + fee_eq: BigInt + fee_not_eq: BigInt + fee_gt: BigInt + fee_gte: BigInt + fee_lt: BigInt + fee_lte: BigInt + fee_in: [BigInt!] + fee_not_in: [BigInt!] + success_isNull: Boolean + success_eq: Boolean + success_not_eq: Boolean + error_isNull: Boolean + error_eq: JSON + error_not_eq: JSON + error_jsonContains: JSON + error_jsonHasKey: JSON + hash_isNull: Boolean + hash_eq: Bytes + hash_not_eq: Bytes + calls_every: CallWhereInput + calls_some: CallWhereInput + calls_none: CallWhereInput + events_every: EventWhereInput + events_some: EventWhereInput + events_none: EventWhereInput + AND: [ExtrinsicWhereInput!] + OR: [ExtrinsicWhereInput!] +} + +input ExtrinsicSignatureWhereInput { + address_isNull: Boolean + address_eq: JSON + address_not_eq: JSON + address_jsonContains: JSON + address_jsonHasKey: JSON + signature_isNull: Boolean + signature_eq: JSON + signature_not_eq: JSON + signature_jsonContains: JSON + signature_jsonHasKey: JSON + signedExtensions_isNull: Boolean + signedExtensions_eq: JSON + signedExtensions_not_eq: JSON + signedExtensions_jsonContains: JSON + signedExtensions_jsonHasKey: JSON +} + +""" +Big number integer +""" +scalar BigInt + +input EventWhereInput { + id_isNull: Boolean + id_eq: String + id_not_eq: String + id_gt: String + id_gte: String + id_lt: String + id_lte: String + id_in: [String!] + id_not_in: [String!] + id_contains: String + id_not_contains: String + id_containsInsensitive: String + id_not_containsInsensitive: String + id_startsWith: String + id_not_startsWith: String + id_endsWith: String + id_not_endsWith: String + block_isNull: Boolean + block: BlockWhereInput + extrinsic_isNull: Boolean + extrinsic: ExtrinsicWhereInput + call_isNull: Boolean + call: CallWhereInput + index_isNull: Boolean + index_eq: Int + index_not_eq: Int + index_gt: Int + index_gte: Int + index_lt: Int + index_lte: Int + index_in: [Int!] + index_not_in: [Int!] + phase_isNull: Boolean + phase_eq: String + phase_not_eq: String + phase_gt: String + phase_gte: String + phase_lt: String + phase_lte: String + phase_in: [String!] + phase_not_in: [String!] + phase_contains: String + phase_not_contains: String + phase_containsInsensitive: String + phase_not_containsInsensitive: String + phase_startsWith: String + phase_not_startsWith: String + phase_endsWith: String + phase_not_endsWith: String + pallet_isNull: Boolean + pallet_eq: String + pallet_not_eq: String + pallet_gt: String + pallet_gte: String + pallet_lt: String + pallet_lte: String + pallet_in: [String!] + pallet_not_in: [String!] + pallet_contains: String + pallet_not_contains: String + pallet_containsInsensitive: String + pallet_not_containsInsensitive: String + pallet_startsWith: String + pallet_not_startsWith: String + pallet_endsWith: String + pallet_not_endsWith: String + name_isNull: Boolean + name_eq: String + name_not_eq: String + name_gt: String + name_gte: String + name_lt: String + name_lte: String + name_in: [String!] + name_not_in: [String!] + name_contains: String + name_not_contains: String + name_containsInsensitive: String + name_not_containsInsensitive: String + name_startsWith: String + name_not_startsWith: String + name_endsWith: String + name_not_endsWith: String + args_isNull: Boolean + args_eq: JSON + args_not_eq: JSON + args_jsonContains: JSON + args_jsonHasKey: JSON + argsStr_isNull: Boolean + argsStr_containsAll: [String] + argsStr_containsAny: [String] + argsStr_containsNone: [String] + AND: [EventWhereInput!] + OR: [EventWhereInput!] +} + +enum CallOrderByInput { + id_ASC + id_DESC + id_ASC_NULLS_FIRST + id_DESC_NULLS_LAST + block_id_ASC + block_id_DESC + block_id_ASC_NULLS_FIRST + block_id_DESC_NULLS_LAST + block_height_ASC + block_height_DESC + block_height_ASC_NULLS_FIRST + block_height_DESC_NULLS_LAST + block_hash_ASC + block_hash_DESC + block_hash_ASC_NULLS_FIRST + block_hash_DESC_NULLS_LAST + block_parentHash_ASC + block_parentHash_DESC + block_parentHash_ASC_NULLS_FIRST + block_parentHash_DESC_NULLS_LAST + block_stateRoot_ASC + block_stateRoot_DESC + block_stateRoot_ASC_NULLS_FIRST + block_stateRoot_DESC_NULLS_LAST + block_extrinsicsicRoot_ASC + block_extrinsicsicRoot_DESC + block_extrinsicsicRoot_ASC_NULLS_FIRST + block_extrinsicsicRoot_DESC_NULLS_LAST + block_specName_ASC + block_specName_DESC + block_specName_ASC_NULLS_FIRST + block_specName_DESC_NULLS_LAST + block_specVersion_ASC + block_specVersion_DESC + block_specVersion_ASC_NULLS_FIRST + block_specVersion_DESC_NULLS_LAST + block_implName_ASC + block_implName_DESC + block_implName_ASC_NULLS_FIRST + block_implName_DESC_NULLS_LAST + block_implVersion_ASC + block_implVersion_DESC + block_implVersion_ASC_NULLS_FIRST + block_implVersion_DESC_NULLS_LAST + block_timestamp_ASC + block_timestamp_DESC + block_timestamp_ASC_NULLS_FIRST + block_timestamp_DESC_NULLS_LAST + block_validator_ASC + block_validator_DESC + block_validator_ASC_NULLS_FIRST + block_validator_DESC_NULLS_LAST + block_extrinsicsCount_ASC + block_extrinsicsCount_DESC + block_extrinsicsCount_ASC_NULLS_FIRST + block_extrinsicsCount_DESC_NULLS_LAST + block_callsCount_ASC + block_callsCount_DESC + block_callsCount_ASC_NULLS_FIRST + block_callsCount_DESC_NULLS_LAST + block_eventsCount_ASC + block_eventsCount_DESC + block_eventsCount_ASC_NULLS_FIRST + block_eventsCount_DESC_NULLS_LAST + extrinsic_id_ASC + extrinsic_id_DESC + extrinsic_id_ASC_NULLS_FIRST + extrinsic_id_DESC_NULLS_LAST + extrinsic_index_ASC + extrinsic_index_DESC + extrinsic_index_ASC_NULLS_FIRST + extrinsic_index_DESC_NULLS_LAST + extrinsic_version_ASC + extrinsic_version_DESC + extrinsic_version_ASC_NULLS_FIRST + extrinsic_version_DESC_NULLS_LAST + extrinsic_tip_ASC + extrinsic_tip_DESC + extrinsic_tip_ASC_NULLS_FIRST + extrinsic_tip_DESC_NULLS_LAST + extrinsic_fee_ASC + extrinsic_fee_DESC + extrinsic_fee_ASC_NULLS_FIRST + extrinsic_fee_DESC_NULLS_LAST + extrinsic_success_ASC + extrinsic_success_DESC + extrinsic_success_ASC_NULLS_FIRST + extrinsic_success_DESC_NULLS_LAST + extrinsic_hash_ASC + extrinsic_hash_DESC + extrinsic_hash_ASC_NULLS_FIRST + extrinsic_hash_DESC_NULLS_LAST + parent_id_ASC + parent_id_DESC + parent_id_ASC_NULLS_FIRST + parent_id_DESC_NULLS_LAST + parent_success_ASC + parent_success_DESC + parent_success_ASC_NULLS_FIRST + parent_success_DESC_NULLS_LAST + parent_pallet_ASC + parent_pallet_DESC + parent_pallet_ASC_NULLS_FIRST + parent_pallet_DESC_NULLS_LAST + parent_name_ASC + parent_name_DESC + parent_name_ASC_NULLS_FIRST + parent_name_DESC_NULLS_LAST + success_ASC + success_DESC + success_ASC_NULLS_FIRST + success_DESC_NULLS_LAST + pallet_ASC + pallet_DESC + pallet_ASC_NULLS_FIRST + pallet_DESC_NULLS_LAST + name_ASC + name_DESC + name_ASC_NULLS_FIRST + name_DESC_NULLS_LAST +} + +type Event { + """ + Event id - e.g. 0000000001-000000-272d6 + """ + id: String! + block: Block! + extrinsic: Extrinsic + call: Call + index: Int! + phase: String! + pallet: String! + name: String! + args: JSON + argsStr: [String] +} + +enum EventOrderByInput { + id_ASC + id_DESC + id_ASC_NULLS_FIRST + id_DESC_NULLS_LAST + block_id_ASC + block_id_DESC + block_id_ASC_NULLS_FIRST + block_id_DESC_NULLS_LAST + block_height_ASC + block_height_DESC + block_height_ASC_NULLS_FIRST + block_height_DESC_NULLS_LAST + block_hash_ASC + block_hash_DESC + block_hash_ASC_NULLS_FIRST + block_hash_DESC_NULLS_LAST + block_parentHash_ASC + block_parentHash_DESC + block_parentHash_ASC_NULLS_FIRST + block_parentHash_DESC_NULLS_LAST + block_stateRoot_ASC + block_stateRoot_DESC + block_stateRoot_ASC_NULLS_FIRST + block_stateRoot_DESC_NULLS_LAST + block_extrinsicsicRoot_ASC + block_extrinsicsicRoot_DESC + block_extrinsicsicRoot_ASC_NULLS_FIRST + block_extrinsicsicRoot_DESC_NULLS_LAST + block_specName_ASC + block_specName_DESC + block_specName_ASC_NULLS_FIRST + block_specName_DESC_NULLS_LAST + block_specVersion_ASC + block_specVersion_DESC + block_specVersion_ASC_NULLS_FIRST + block_specVersion_DESC_NULLS_LAST + block_implName_ASC + block_implName_DESC + block_implName_ASC_NULLS_FIRST + block_implName_DESC_NULLS_LAST + block_implVersion_ASC + block_implVersion_DESC + block_implVersion_ASC_NULLS_FIRST + block_implVersion_DESC_NULLS_LAST + block_timestamp_ASC + block_timestamp_DESC + block_timestamp_ASC_NULLS_FIRST + block_timestamp_DESC_NULLS_LAST + block_validator_ASC + block_validator_DESC + block_validator_ASC_NULLS_FIRST + block_validator_DESC_NULLS_LAST + block_extrinsicsCount_ASC + block_extrinsicsCount_DESC + block_extrinsicsCount_ASC_NULLS_FIRST + block_extrinsicsCount_DESC_NULLS_LAST + block_callsCount_ASC + block_callsCount_DESC + block_callsCount_ASC_NULLS_FIRST + block_callsCount_DESC_NULLS_LAST + block_eventsCount_ASC + block_eventsCount_DESC + block_eventsCount_ASC_NULLS_FIRST + block_eventsCount_DESC_NULLS_LAST + extrinsic_id_ASC + extrinsic_id_DESC + extrinsic_id_ASC_NULLS_FIRST + extrinsic_id_DESC_NULLS_LAST + extrinsic_index_ASC + extrinsic_index_DESC + extrinsic_index_ASC_NULLS_FIRST + extrinsic_index_DESC_NULLS_LAST + extrinsic_version_ASC + extrinsic_version_DESC + extrinsic_version_ASC_NULLS_FIRST + extrinsic_version_DESC_NULLS_LAST + extrinsic_tip_ASC + extrinsic_tip_DESC + extrinsic_tip_ASC_NULLS_FIRST + extrinsic_tip_DESC_NULLS_LAST + extrinsic_fee_ASC + extrinsic_fee_DESC + extrinsic_fee_ASC_NULLS_FIRST + extrinsic_fee_DESC_NULLS_LAST + extrinsic_success_ASC + extrinsic_success_DESC + extrinsic_success_ASC_NULLS_FIRST + extrinsic_success_DESC_NULLS_LAST + extrinsic_hash_ASC + extrinsic_hash_DESC + extrinsic_hash_ASC_NULLS_FIRST + extrinsic_hash_DESC_NULLS_LAST + call_id_ASC + call_id_DESC + call_id_ASC_NULLS_FIRST + call_id_DESC_NULLS_LAST + call_success_ASC + call_success_DESC + call_success_ASC_NULLS_FIRST + call_success_DESC_NULLS_LAST + call_pallet_ASC + call_pallet_DESC + call_pallet_ASC_NULLS_FIRST + call_pallet_DESC_NULLS_LAST + call_name_ASC + call_name_DESC + call_name_ASC_NULLS_FIRST + call_name_DESC_NULLS_LAST + index_ASC + index_DESC + index_ASC_NULLS_FIRST + index_DESC_NULLS_LAST + phase_ASC + phase_DESC + phase_ASC_NULLS_FIRST + phase_DESC_NULLS_LAST + pallet_ASC + pallet_DESC + pallet_ASC_NULLS_FIRST + pallet_DESC_NULLS_LAST + name_ASC + name_DESC + name_ASC_NULLS_FIRST + name_DESC_NULLS_LAST +} + +type ExtrinsicSignature { + address: JSON + signature: JSON + signedExtensions: JSON +} + +enum ExtrinsicOrderByInput { + id_ASC + id_DESC + id_ASC_NULLS_FIRST + id_DESC_NULLS_LAST + block_id_ASC + block_id_DESC + block_id_ASC_NULLS_FIRST + block_id_DESC_NULLS_LAST + block_height_ASC + block_height_DESC + block_height_ASC_NULLS_FIRST + block_height_DESC_NULLS_LAST + block_hash_ASC + block_hash_DESC + block_hash_ASC_NULLS_FIRST + block_hash_DESC_NULLS_LAST + block_parentHash_ASC + block_parentHash_DESC + block_parentHash_ASC_NULLS_FIRST + block_parentHash_DESC_NULLS_LAST + block_stateRoot_ASC + block_stateRoot_DESC + block_stateRoot_ASC_NULLS_FIRST + block_stateRoot_DESC_NULLS_LAST + block_extrinsicsicRoot_ASC + block_extrinsicsicRoot_DESC + block_extrinsicsicRoot_ASC_NULLS_FIRST + block_extrinsicsicRoot_DESC_NULLS_LAST + block_specName_ASC + block_specName_DESC + block_specName_ASC_NULLS_FIRST + block_specName_DESC_NULLS_LAST + block_specVersion_ASC + block_specVersion_DESC + block_specVersion_ASC_NULLS_FIRST + block_specVersion_DESC_NULLS_LAST + block_implName_ASC + block_implName_DESC + block_implName_ASC_NULLS_FIRST + block_implName_DESC_NULLS_LAST + block_implVersion_ASC + block_implVersion_DESC + block_implVersion_ASC_NULLS_FIRST + block_implVersion_DESC_NULLS_LAST + block_timestamp_ASC + block_timestamp_DESC + block_timestamp_ASC_NULLS_FIRST + block_timestamp_DESC_NULLS_LAST + block_validator_ASC + block_validator_DESC + block_validator_ASC_NULLS_FIRST + block_validator_DESC_NULLS_LAST + block_extrinsicsCount_ASC + block_extrinsicsCount_DESC + block_extrinsicsCount_ASC_NULLS_FIRST + block_extrinsicsCount_DESC_NULLS_LAST + block_callsCount_ASC + block_callsCount_DESC + block_callsCount_ASC_NULLS_FIRST + block_callsCount_DESC_NULLS_LAST + block_eventsCount_ASC + block_eventsCount_DESC + block_eventsCount_ASC_NULLS_FIRST + block_eventsCount_DESC_NULLS_LAST + call_id_ASC + call_id_DESC + call_id_ASC_NULLS_FIRST + call_id_DESC_NULLS_LAST + call_success_ASC + call_success_DESC + call_success_ASC_NULLS_FIRST + call_success_DESC_NULLS_LAST + call_pallet_ASC + call_pallet_DESC + call_pallet_ASC_NULLS_FIRST + call_pallet_DESC_NULLS_LAST + call_name_ASC + call_name_DESC + call_name_ASC_NULLS_FIRST + call_name_DESC_NULLS_LAST + index_ASC + index_DESC + index_ASC_NULLS_FIRST + index_DESC_NULLS_LAST + version_ASC + version_DESC + version_ASC_NULLS_FIRST + version_DESC_NULLS_LAST + tip_ASC + tip_DESC + tip_ASC_NULLS_FIRST + tip_DESC_NULLS_LAST + fee_ASC + fee_DESC + fee_ASC_NULLS_FIRST + fee_DESC_NULLS_LAST + success_ASC + success_DESC + success_ASC_NULLS_FIRST + success_DESC_NULLS_LAST + hash_ASC + hash_DESC + hash_ASC_NULLS_FIRST + hash_DESC_NULLS_LAST +} + +enum BlockOrderByInput { + id_ASC + id_DESC + id_ASC_NULLS_FIRST + id_DESC_NULLS_LAST + height_ASC + height_DESC + height_ASC_NULLS_FIRST + height_DESC_NULLS_LAST + hash_ASC + hash_DESC + hash_ASC_NULLS_FIRST + hash_DESC_NULLS_LAST + parentHash_ASC + parentHash_DESC + parentHash_ASC_NULLS_FIRST + parentHash_DESC_NULLS_LAST + stateRoot_ASC + stateRoot_DESC + stateRoot_ASC_NULLS_FIRST + stateRoot_DESC_NULLS_LAST + extrinsicsicRoot_ASC + extrinsicsicRoot_DESC + extrinsicsicRoot_ASC_NULLS_FIRST + extrinsicsicRoot_DESC_NULLS_LAST + specName_ASC + specName_DESC + specName_ASC_NULLS_FIRST + specName_DESC_NULLS_LAST + specVersion_ASC + specVersion_DESC + specVersion_ASC_NULLS_FIRST + specVersion_DESC_NULLS_LAST + implName_ASC + implName_DESC + implName_ASC_NULLS_FIRST + implName_DESC_NULLS_LAST + implVersion_ASC + implVersion_DESC + implVersion_ASC_NULLS_FIRST + implVersion_DESC_NULLS_LAST + timestamp_ASC + timestamp_DESC + timestamp_ASC_NULLS_FIRST + timestamp_DESC_NULLS_LAST + validator_ASC + validator_DESC + validator_ASC_NULLS_FIRST + validator_DESC_NULLS_LAST + extrinsicsCount_ASC + extrinsicsCount_DESC + extrinsicsCount_ASC_NULLS_FIRST + extrinsicsCount_DESC_NULLS_LAST + callsCount_ASC + callsCount_DESC + callsCount_ASC_NULLS_FIRST + callsCount_DESC_NULLS_LAST + eventsCount_ASC + eventsCount_DESC + eventsCount_ASC_NULLS_FIRST + eventsCount_DESC_NULLS_LAST +} + +input WhereIdInput { + id: String! +} + +type BlocksConnection { + edges: [BlockEdge!]! + pageInfo: PageInfo! + totalCount: Int! +} + +type BlockEdge { + node: Block! + cursor: String! +} + +type PageInfo { + hasNextPage: Boolean! + hasPreviousPage: Boolean! + startCursor: String! + endCursor: String! +} + +type ExtrinsicsConnection { + edges: [ExtrinsicEdge!]! + pageInfo: PageInfo! + totalCount: Int! +} + +type ExtrinsicEdge { + node: Extrinsic! + cursor: String! +} + +type CallsConnection { + edges: [CallEdge!]! + pageInfo: PageInfo! + totalCount: Int! +} + +type CallEdge { + node: Call! + cursor: String! +} + +type EventsConnection { + edges: [EventEdge!]! + pageInfo: PageInfo! + totalCount: Int! +} + +type EventEdge { + node: Event! + cursor: String! +} + +type ItemsCounter { + id: String! + type: ItemType! + level: CounterLevel! + total: Int! +} + +enum ItemType { + Extrinsics + Calls + Events +} + +enum CounterLevel { + Global + Pallet + Item +} + +input ItemsCounterWhereInput { + id_isNull: Boolean + id_eq: String + id_not_eq: String + id_gt: String + id_gte: String + id_lt: String + id_lte: String + id_in: [String!] + id_not_in: [String!] + id_contains: String + id_not_contains: String + id_containsInsensitive: String + id_not_containsInsensitive: String + id_startsWith: String + id_not_startsWith: String + id_endsWith: String + id_not_endsWith: String + type_isNull: Boolean + type_eq: ItemType + type_not_eq: ItemType + type_in: [ItemType!] + type_not_in: [ItemType!] + level_isNull: Boolean + level_eq: CounterLevel + level_not_eq: CounterLevel + level_in: [CounterLevel!] + level_not_in: [CounterLevel!] + total_isNull: Boolean + total_eq: Int + total_not_eq: Int + total_gt: Int + total_gte: Int + total_lt: Int + total_lte: Int + total_in: [Int!] + total_not_in: [Int!] + AND: [ItemsCounterWhereInput!] + OR: [ItemsCounterWhereInput!] +} + +enum ItemsCounterOrderByInput { + id_ASC + id_DESC + id_ASC_NULLS_FIRST + id_DESC_NULLS_LAST + type_ASC + type_DESC + type_ASC_NULLS_FIRST + type_DESC_NULLS_LAST + level_ASC + level_DESC + level_ASC_NULLS_FIRST + level_DESC_NULLS_LAST + total_ASC + total_DESC + total_ASC_NULLS_FIRST + total_DESC_NULLS_LAST +} + +type ItemsCountersConnection { + edges: [ItemsCounterEdge!]! + pageInfo: PageInfo! + totalCount: Int! +} + +type ItemsCounterEdge { + node: ItemsCounter! + cursor: String! +} + +type Account { + """ + Account address is SS58 format + """ + id: String! + transfersIssued( + where: TransferWhereInput + orderBy: [TransferOrderByInput!] + offset: Int + limit: Int + ): [Transfer!]! + transfersReceived( + where: TransferWhereInput + orderBy: [TransferOrderByInput!] + offset: Int + limit: Int + ): [Transfer!]! """ - Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate. + current account for the identity """ - id: Int! - - """An object relationship""" - issuer: account! - issuer_pubkey: String! - - """An object relationship""" - receiver: account! - receiver_pubkey: String! -} - -""" -aggregated selection of "transaction" -""" -type transaction_aggregate { - aggregate: transaction_aggregate_fields - nodes: [transaction!]! -} - -input transaction_aggregate_bool_exp { - count: transaction_aggregate_bool_exp_count -} - -input transaction_aggregate_bool_exp_count { - arguments: [transaction_select_column!] - distinct: Boolean - filter: transaction_bool_exp - predicate: Int_comparison_exp! -} - -""" -aggregate fields of "transaction" -""" -type transaction_aggregate_fields { - avg: transaction_avg_fields - count(columns: [transaction_select_column!], distinct: Boolean): Int! - max: transaction_max_fields - min: transaction_min_fields - stddev: transaction_stddev_fields - stddev_pop: transaction_stddev_pop_fields - stddev_samp: transaction_stddev_samp_fields - sum: transaction_sum_fields - var_pop: transaction_var_pop_fields - var_samp: transaction_var_samp_fields - variance: transaction_variance_fields -} - -""" -order by aggregate values of table "transaction" -""" -input transaction_aggregate_order_by { - avg: transaction_avg_order_by - count: order_by - max: transaction_max_order_by - min: transaction_min_order_by - stddev: transaction_stddev_order_by - stddev_pop: transaction_stddev_pop_order_by - stddev_samp: transaction_stddev_samp_order_by - sum: transaction_sum_order_by - var_pop: transaction_var_pop_order_by - var_samp: transaction_var_samp_order_by - variance: transaction_variance_order_by -} - -"""aggregate avg on columns""" -type transaction_avg_fields { - """Amount of the transaction. 100 units = 1 Ğ1.""" - amount: Float - - """Block number where transaction was created.""" - created_on: Float + identity: Identity """ - Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate. + was once account of the identity """ - id: Float -} - -""" -order by avg() on columns of table "transaction" -""" -input transaction_avg_order_by { - """Amount of the transaction. 100 units = 1 Ğ1.""" - amount: order_by - - """Block number where transaction was created.""" - created_on: order_by + wasIdentity( + where: ChangeOwnerKeyWhereInput + orderBy: [ChangeOwnerKeyOrderByInput!] + offset: Int + limit: Int + ): [ChangeOwnerKey!]! """ - Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate. + linked to the identity """ - id: order_by + linkedIdentity: Identity } -""" -Boolean expression to filter rows from the table "transaction". All fields are combined with a logical 'AND'. -""" -input transaction_bool_exp { - _and: [transaction_bool_exp!] - _not: transaction_bool_exp - _or: [transaction_bool_exp!] - amount: Float_comparison_exp - comment: String_comparison_exp - created_at: timestamptz_comparison_exp - created_on: Int_comparison_exp - created_on_block: block_bool_exp - id: Int_comparison_exp - issuer: account_bool_exp - issuer_pubkey: String_comparison_exp - receiver: account_bool_exp - receiver_pubkey: String_comparison_exp -} - -"""aggregate max on columns""" -type transaction_max_fields { - """Amount of the transaction. 100 units = 1 Ğ1.""" - amount: Float +type Transfer { + id: String! + blockNumber: Int! + timestamp: DateTime! + from: Account! + to: Account! + amount: BigInt! comment: String - created_at: timestamptz - - """Block number where transaction was created.""" - created_on: Int - - """ - Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate. - """ - id: Int - issuer_pubkey: String - receiver_pubkey: String } -""" -order by max() on columns of table "transaction" -""" -input transaction_max_order_by { - """Amount of the transaction. 100 units = 1 Ğ1.""" - amount: order_by - comment: order_by - created_at: order_by - - """Block number where transaction was created.""" - created_on: order_by - +input TransferWhereInput { + id_isNull: Boolean + id_eq: String + id_not_eq: String + id_gt: String + id_gte: String + id_lt: String + id_lte: String + id_in: [String!] + id_not_in: [String!] + id_contains: String + id_not_contains: String + id_containsInsensitive: String + id_not_containsInsensitive: String + id_startsWith: String + id_not_startsWith: String + id_endsWith: String + id_not_endsWith: String + blockNumber_isNull: Boolean + blockNumber_eq: Int + blockNumber_not_eq: Int + blockNumber_gt: Int + blockNumber_gte: Int + blockNumber_lt: Int + blockNumber_lte: Int + blockNumber_in: [Int!] + blockNumber_not_in: [Int!] + timestamp_isNull: Boolean + timestamp_eq: DateTime + timestamp_not_eq: DateTime + timestamp_gt: DateTime + timestamp_gte: DateTime + timestamp_lt: DateTime + timestamp_lte: DateTime + timestamp_in: [DateTime!] + timestamp_not_in: [DateTime!] + from_isNull: Boolean + from: AccountWhereInput + to_isNull: Boolean + to: AccountWhereInput + amount_isNull: Boolean + amount_eq: BigInt + amount_not_eq: BigInt + amount_gt: BigInt + amount_gte: BigInt + amount_lt: BigInt + amount_lte: BigInt + amount_in: [BigInt!] + amount_not_in: [BigInt!] + comment_isNull: Boolean + comment_eq: String + comment_not_eq: String + comment_gt: String + comment_gte: String + comment_lt: String + comment_lte: String + comment_in: [String!] + comment_not_in: [String!] + comment_contains: String + comment_not_contains: String + comment_containsInsensitive: String + comment_not_containsInsensitive: String + comment_startsWith: String + comment_not_startsWith: String + comment_endsWith: String + comment_not_endsWith: String + AND: [TransferWhereInput!] + OR: [TransferWhereInput!] +} + +input AccountWhereInput { + id_isNull: Boolean + id_eq: String + id_not_eq: String + id_gt: String + id_gte: String + id_lt: String + id_lte: String + id_in: [String!] + id_not_in: [String!] + id_contains: String + id_not_contains: String + id_containsInsensitive: String + id_not_containsInsensitive: String + id_startsWith: String + id_not_startsWith: String + id_endsWith: String + id_not_endsWith: String + transfersIssued_every: TransferWhereInput + transfersIssued_some: TransferWhereInput + transfersIssued_none: TransferWhereInput + transfersReceived_every: TransferWhereInput + transfersReceived_some: TransferWhereInput + transfersReceived_none: TransferWhereInput + identity_isNull: Boolean + identity: IdentityWhereInput + wasIdentity_every: ChangeOwnerKeyWhereInput + wasIdentity_some: ChangeOwnerKeyWhereInput + wasIdentity_none: ChangeOwnerKeyWhereInput + linkedIdentity_isNull: Boolean + linkedIdentity: IdentityWhereInput + AND: [AccountWhereInput!] + OR: [AccountWhereInput!] +} + +input IdentityWhereInput { + id_isNull: Boolean + id_eq: String + id_not_eq: String + id_gt: String + id_gte: String + id_lt: String + id_lte: String + id_in: [String!] + id_not_in: [String!] + id_contains: String + id_not_contains: String + id_containsInsensitive: String + id_not_containsInsensitive: String + id_startsWith: String + id_not_startsWith: String + id_endsWith: String + id_not_endsWith: String + index_isNull: Boolean + index_eq: Int + index_not_eq: Int + index_gt: Int + index_gte: Int + index_lt: Int + index_lte: Int + index_in: [Int!] + index_not_in: [Int!] + account_isNull: Boolean + account: AccountWhereInput + name_isNull: Boolean + name_eq: String + name_not_eq: String + name_gt: String + name_gte: String + name_lt: String + name_lte: String + name_in: [String!] + name_not_in: [String!] + name_contains: String + name_not_contains: String + name_containsInsensitive: String + name_not_containsInsensitive: String + name_startsWith: String + name_not_startsWith: String + name_endsWith: String + name_not_endsWith: String + status_isNull: Boolean + status_eq: IdentityStatus + status_not_eq: IdentityStatus + status_in: [IdentityStatus!] + status_not_in: [IdentityStatus!] + certIssued_every: CertWhereInput + certIssued_some: CertWhereInput + certIssued_none: CertWhereInput + certReceived_every: CertWhereInput + certReceived_some: CertWhereInput + certReceived_none: CertWhereInput + smithCertIssued_every: SmithCertWhereInput + smithCertIssued_some: SmithCertWhereInput + smithCertIssued_none: SmithCertWhereInput + smithCertReceived_every: SmithCertWhereInput + smithCertReceived_some: SmithCertWhereInput + smithCertReceived_none: SmithCertWhereInput + membership_isNull: Boolean + membership: MembershipWhereInput + smithMembership_isNull: Boolean + smithMembership: SmithMembershipWhereInput + ownerKeyChange_every: ChangeOwnerKeyWhereInput + ownerKeyChange_some: ChangeOwnerKeyWhereInput + ownerKeyChange_none: ChangeOwnerKeyWhereInput + linkedAccount_every: AccountWhereInput + linkedAccount_some: AccountWhereInput + linkedAccount_none: AccountWhereInput + AND: [IdentityWhereInput!] + OR: [IdentityWhereInput!] +} + +enum IdentityStatus { + Unconfirmed + Unvalidated + Member + NotMember + Revoked + Removed +} + +input CertWhereInput { + id_isNull: Boolean + id_eq: String + id_not_eq: String + id_gt: String + id_gte: String + id_lt: String + id_lte: String + id_in: [String!] + id_not_in: [String!] + id_contains: String + id_not_contains: String + id_containsInsensitive: String + id_not_containsInsensitive: String + id_startsWith: String + id_not_startsWith: String + id_endsWith: String + id_not_endsWith: String + issuer_isNull: Boolean + issuer: IdentityWhereInput + receiver_isNull: Boolean + receiver: IdentityWhereInput + active_isNull: Boolean + active_eq: Boolean + active_not_eq: Boolean + createdOn_isNull: Boolean + createdOn_eq: Int + createdOn_not_eq: Int + createdOn_gt: Int + createdOn_gte: Int + createdOn_lt: Int + createdOn_lte: Int + createdOn_in: [Int!] + createdOn_not_in: [Int!] + expireOn_isNull: Boolean + expireOn_eq: Int + expireOn_not_eq: Int + expireOn_gt: Int + expireOn_gte: Int + expireOn_lt: Int + expireOn_lte: Int + expireOn_in: [Int!] + expireOn_not_in: [Int!] + creation_every: CertCreationWhereInput + creation_some: CertCreationWhereInput + creation_none: CertCreationWhereInput + renewal_every: CertRenewalWhereInput + renewal_some: CertRenewalWhereInput + renewal_none: CertRenewalWhereInput + removal_every: CertRemovalWhereInput + removal_some: CertRemovalWhereInput + removal_none: CertRemovalWhereInput + AND: [CertWhereInput!] + OR: [CertWhereInput!] +} + +input CertCreationWhereInput { + id_isNull: Boolean + id_eq: String + id_not_eq: String + id_gt: String + id_gte: String + id_lt: String + id_lte: String + id_in: [String!] + id_not_in: [String!] + id_contains: String + id_not_contains: String + id_containsInsensitive: String + id_not_containsInsensitive: String + id_startsWith: String + id_not_startsWith: String + id_endsWith: String + id_not_endsWith: String + cert_isNull: Boolean + cert: CertWhereInput + blockNumber_isNull: Boolean + blockNumber_eq: Int + blockNumber_not_eq: Int + blockNumber_gt: Int + blockNumber_gte: Int + blockNumber_lt: Int + blockNumber_lte: Int + blockNumber_in: [Int!] + blockNumber_not_in: [Int!] + AND: [CertCreationWhereInput!] + OR: [CertCreationWhereInput!] +} + +input CertRenewalWhereInput { + id_isNull: Boolean + id_eq: String + id_not_eq: String + id_gt: String + id_gte: String + id_lt: String + id_lte: String + id_in: [String!] + id_not_in: [String!] + id_contains: String + id_not_contains: String + id_containsInsensitive: String + id_not_containsInsensitive: String + id_startsWith: String + id_not_startsWith: String + id_endsWith: String + id_not_endsWith: String + cert_isNull: Boolean + cert: CertWhereInput + blockNumber_isNull: Boolean + blockNumber_eq: Int + blockNumber_not_eq: Int + blockNumber_gt: Int + blockNumber_gte: Int + blockNumber_lt: Int + blockNumber_lte: Int + blockNumber_in: [Int!] + blockNumber_not_in: [Int!] + AND: [CertRenewalWhereInput!] + OR: [CertRenewalWhereInput!] +} + +input CertRemovalWhereInput { + id_isNull: Boolean + id_eq: String + id_not_eq: String + id_gt: String + id_gte: String + id_lt: String + id_lte: String + id_in: [String!] + id_not_in: [String!] + id_contains: String + id_not_contains: String + id_containsInsensitive: String + id_not_containsInsensitive: String + id_startsWith: String + id_not_startsWith: String + id_endsWith: String + id_not_endsWith: String + cert_isNull: Boolean + cert: CertWhereInput + blockNumber_isNull: Boolean + blockNumber_eq: Int + blockNumber_not_eq: Int + blockNumber_gt: Int + blockNumber_gte: Int + blockNumber_lt: Int + blockNumber_lte: Int + blockNumber_in: [Int!] + blockNumber_not_in: [Int!] + AND: [CertRemovalWhereInput!] + OR: [CertRemovalWhereInput!] +} + +input SmithCertWhereInput { + id_isNull: Boolean + id_eq: String + id_not_eq: String + id_gt: String + id_gte: String + id_lt: String + id_lte: String + id_in: [String!] + id_not_in: [String!] + id_contains: String + id_not_contains: String + id_containsInsensitive: String + id_not_containsInsensitive: String + id_startsWith: String + id_not_startsWith: String + id_endsWith: String + id_not_endsWith: String + issuer_isNull: Boolean + issuer: IdentityWhereInput + receiver_isNull: Boolean + receiver: IdentityWhereInput + createdOn_isNull: Boolean + createdOn_eq: Int + createdOn_not_eq: Int + createdOn_gt: Int + createdOn_gte: Int + createdOn_lt: Int + createdOn_lte: Int + createdOn_in: [Int!] + createdOn_not_in: [Int!] + AND: [SmithCertWhereInput!] + OR: [SmithCertWhereInput!] +} + +input MembershipWhereInput { + id_isNull: Boolean + id_eq: String + id_not_eq: String + id_gt: String + id_gte: String + id_lt: String + id_lte: String + id_in: [String!] + id_not_in: [String!] + id_contains: String + id_not_contains: String + id_containsInsensitive: String + id_not_containsInsensitive: String + id_startsWith: String + id_not_startsWith: String + id_endsWith: String + id_not_endsWith: String + identity_isNull: Boolean + identity: IdentityWhereInput + expireOn_isNull: Boolean + expireOn_eq: Int + expireOn_not_eq: Int + expireOn_gt: Int + expireOn_gte: Int + expireOn_lt: Int + expireOn_lte: Int + expireOn_in: [Int!] + expireOn_not_in: [Int!] + AND: [MembershipWhereInput!] + OR: [MembershipWhereInput!] +} + +input SmithMembershipWhereInput { + id_isNull: Boolean + id_eq: String + id_not_eq: String + id_gt: String + id_gte: String + id_lt: String + id_lte: String + id_in: [String!] + id_not_in: [String!] + id_contains: String + id_not_contains: String + id_containsInsensitive: String + id_not_containsInsensitive: String + id_startsWith: String + id_not_startsWith: String + id_endsWith: String + id_not_endsWith: String + identity_isNull: Boolean + identity: IdentityWhereInput + expireOn_isNull: Boolean + expireOn_eq: Int + expireOn_not_eq: Int + expireOn_gt: Int + expireOn_gte: Int + expireOn_lt: Int + expireOn_lte: Int + expireOn_in: [Int!] + expireOn_not_in: [Int!] + status_isNull: Boolean + status_eq: SmithStatus + status_not_eq: SmithStatus + status_in: [SmithStatus!] + status_not_in: [SmithStatus!] + AND: [SmithMembershipWhereInput!] + OR: [SmithMembershipWhereInput!] +} + +enum SmithStatus { + Invited + Pending + Smith + Excluded +} + +input ChangeOwnerKeyWhereInput { + id_isNull: Boolean + id_eq: String + id_not_eq: String + id_gt: String + id_gte: String + id_lt: String + id_lte: String + id_in: [String!] + id_not_in: [String!] + id_contains: String + id_not_contains: String + id_containsInsensitive: String + id_not_containsInsensitive: String + id_startsWith: String + id_not_startsWith: String + id_endsWith: String + id_not_endsWith: String + identity_isNull: Boolean + identity: IdentityWhereInput + previous_isNull: Boolean + previous: AccountWhereInput + next_isNull: Boolean + next: AccountWhereInput + blockNumber_isNull: Boolean + blockNumber_eq: Int + blockNumber_not_eq: Int + blockNumber_gt: Int + blockNumber_gte: Int + blockNumber_lt: Int + blockNumber_lte: Int + blockNumber_in: [Int!] + blockNumber_not_in: [Int!] + AND: [ChangeOwnerKeyWhereInput!] + OR: [ChangeOwnerKeyWhereInput!] +} + +enum TransferOrderByInput { + id_ASC + id_DESC + id_ASC_NULLS_FIRST + id_DESC_NULLS_LAST + blockNumber_ASC + blockNumber_DESC + blockNumber_ASC_NULLS_FIRST + blockNumber_DESC_NULLS_LAST + timestamp_ASC + timestamp_DESC + timestamp_ASC_NULLS_FIRST + timestamp_DESC_NULLS_LAST + from_id_ASC + from_id_DESC + from_id_ASC_NULLS_FIRST + from_id_DESC_NULLS_LAST + to_id_ASC + to_id_DESC + to_id_ASC_NULLS_FIRST + to_id_DESC_NULLS_LAST + amount_ASC + amount_DESC + amount_ASC_NULLS_FIRST + amount_DESC_NULLS_LAST + comment_ASC + comment_DESC + comment_ASC_NULLS_FIRST + comment_DESC_NULLS_LAST +} + +""" +Identity +""" +type Identity { + id: String! + + """ + Identity index """ - Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate. - """ - id: order_by - issuer_pubkey: order_by - receiver_pubkey: order_by -} - -"""aggregate min on columns""" -type transaction_min_fields { - """Amount of the transaction. 100 units = 1 Ğ1.""" - amount: Float - comment: String - created_at: timestamptz - - """Block number where transaction was created.""" - created_on: Int + index: Int! """ - Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate. + Current account """ - id: Int - issuer_pubkey: String - receiver_pubkey: String -} - -""" -order by min() on columns of table "transaction" -""" -input transaction_min_order_by { - """Amount of the transaction. 100 units = 1 Ğ1.""" - amount: order_by - comment: order_by - created_at: order_by - - """Block number where transaction was created.""" - created_on: order_by + account: Account! """ - Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate. + Name """ - id: order_by - issuer_pubkey: order_by - receiver_pubkey: order_by -} - -"""Ordering options when selecting data from "transaction".""" -input transaction_order_by { - amount: order_by - comment: order_by - created_at: order_by - created_on: order_by - created_on_block: block_order_by - id: order_by - issuer: account_order_by - issuer_pubkey: order_by - receiver: account_order_by - receiver_pubkey: order_by -} - -""" -select columns of table "transaction" -""" -enum transaction_select_column { - """column name""" - amount - - """column name""" - comment - - """column name""" - created_at - - """column name""" - created_on - - """column name""" - id - - """column name""" - issuer_pubkey - - """column name""" - receiver_pubkey -} - -"""aggregate stddev on columns""" -type transaction_stddev_fields { - """Amount of the transaction. 100 units = 1 Ğ1.""" - amount: Float - - """Block number where transaction was created.""" - created_on: Float + name: String! """ - Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate. + Status """ - id: Float -} - -""" -order by stddev() on columns of table "transaction" -""" -input transaction_stddev_order_by { - """Amount of the transaction. 100 units = 1 Ğ1.""" - amount: order_by - - """Block number where transaction was created.""" - created_on: order_by + status: IdentityStatus! """ - Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate. + Certifications issued """ - id: order_by -} - -"""aggregate stddev_pop on columns""" -type transaction_stddev_pop_fields { - """Amount of the transaction. 100 units = 1 Ğ1.""" - amount: Float - - """Block number where transaction was created.""" - created_on: Float + certIssued( + where: CertWhereInput + orderBy: [CertOrderByInput!] + offset: Int + limit: Int + ): [Cert!]! """ - Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate. + Certifications received """ - id: Float -} - -""" -order by stddev_pop() on columns of table "transaction" -""" -input transaction_stddev_pop_order_by { - """Amount of the transaction. 100 units = 1 Ğ1.""" - amount: order_by - - """Block number where transaction was created.""" - created_on: order_by + certReceived( + where: CertWhereInput + orderBy: [CertOrderByInput!] + offset: Int + limit: Int + ): [Cert!]! """ - Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate. + Smith certifications issued """ - id: order_by -} - -"""aggregate stddev_samp on columns""" -type transaction_stddev_samp_fields { - """Amount of the transaction. 100 units = 1 Ğ1.""" - amount: Float - - """Block number where transaction was created.""" - created_on: Float + smithCertIssued( + where: SmithCertWhereInput + orderBy: [SmithCertOrderByInput!] + offset: Int + limit: Int + ): [SmithCert!]! """ - Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate. + Smith certifications received """ - id: Float -} - -""" -order by stddev_samp() on columns of table "transaction" -""" -input transaction_stddev_samp_order_by { - """Amount of the transaction. 100 units = 1 Ğ1.""" - amount: order_by - - """Block number where transaction was created.""" - created_on: order_by + smithCertReceived( + where: SmithCertWhereInput + orderBy: [SmithCertOrderByInput!] + offset: Int + limit: Int + ): [SmithCert!]! """ - Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate. + Membership of the identity """ - id: order_by -} - -""" -Streaming cursor of the table "transaction" -""" -input transaction_stream_cursor_input { - """Stream column input with initial value""" - initial_value: transaction_stream_cursor_value_input! - - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input transaction_stream_cursor_value_input { - """Amount of the transaction. 100 units = 1 Ğ1.""" - amount: Float - comment: String - created_at: timestamptz - - """Block number where transaction was created.""" - created_on: Int + membership: Membership """ - Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate. + Smith Membership of the identity """ - id: Int - issuer_pubkey: String - receiver_pubkey: String -} - -"""aggregate sum on columns""" -type transaction_sum_fields { - """Amount of the transaction. 100 units = 1 Ğ1.""" - amount: Float - - """Block number where transaction was created.""" - created_on: Int + smithMembership: SmithMembership """ - Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate. + Owner key changes """ - id: Int -} - -""" -order by sum() on columns of table "transaction" -""" -input transaction_sum_order_by { - """Amount of the transaction. 100 units = 1 Ğ1.""" - amount: order_by - - """Block number where transaction was created.""" - created_on: order_by + ownerKeyChange( + where: ChangeOwnerKeyWhereInput + orderBy: [ChangeOwnerKeyOrderByInput!] + offset: Int + limit: Int + ): [ChangeOwnerKey!]! """ - Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate. + linked accounts """ - id: order_by -} - -input transaction_timeserie_args { - from: date - issuer_pk: String - period: time_period - receiver_pk: String - to: date -} - -"""This table is empty. It's only for Hasura.""" -type transaction_timeserie_tmp { - amount: Float! - date: timestamptz! -} - -""" -Boolean expression to filter rows from the table "transaction_timeserie_tmp". All fields are combined with a logical 'AND'. -""" -input transaction_timeserie_tmp_bool_exp { - _and: [transaction_timeserie_tmp_bool_exp!] - _not: transaction_timeserie_tmp_bool_exp - _or: [transaction_timeserie_tmp_bool_exp!] - amount: Float_comparison_exp - date: timestamptz_comparison_exp -} - -"""Ordering options when selecting data from "transaction_timeserie_tmp".""" -input transaction_timeserie_tmp_order_by { - amount: order_by - date: order_by -} - -""" -select columns of table "transaction_timeserie_tmp" -""" -enum transaction_timeserie_tmp_select_column { - """column name""" - amount - - """column name""" - date + linkedAccount( + where: AccountWhereInput + orderBy: [AccountOrderByInput!] + offset: Int + limit: Int + ): [Account!]! } """ -Streaming cursor of the table "transaction_timeserie_tmp" +Certification """ -input transaction_timeserie_tmp_stream_cursor_input { - """Stream column input with initial value""" - initial_value: transaction_timeserie_tmp_stream_cursor_value_input! - - """cursor ordering""" - ordering: cursor_ordering -} - -"""Initial value of the column from where the streaming should start""" -input transaction_timeserie_tmp_stream_cursor_value_input { - amount: Float - date: timestamptz -} - -"""aggregate var_pop on columns""" -type transaction_var_pop_fields { - """Amount of the transaction. 100 units = 1 Ğ1.""" - amount: Float - - """Block number where transaction was created.""" - created_on: Float +type Cert { + id: String! + issuer: Identity! + receiver: Identity! """ - Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate. + whether the certification is currently active or not """ - id: Float -} - -""" -order by var_pop() on columns of table "transaction" -""" -input transaction_var_pop_order_by { - """Amount of the transaction. 100 units = 1 Ğ1.""" - amount: order_by - - """Block number where transaction was created.""" - created_on: order_by + active: Boolean! """ - Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate. + the last createdOn value """ - id: order_by -} - -"""aggregate var_samp on columns""" -type transaction_var_samp_fields { - """Amount of the transaction. 100 units = 1 Ğ1.""" - amount: Float - - """Block number where transaction was created.""" - created_on: Float + createdOn: Int! """ - Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate. + the current expireOn value """ - id: Float + expireOn: Int! + creation( + where: CertCreationWhereInput + orderBy: [CertCreationOrderByInput!] + offset: Int + limit: Int + ): [CertCreation!]! + renewal( + where: CertRenewalWhereInput + orderBy: [CertRenewalOrderByInput!] + offset: Int + limit: Int + ): [CertRenewal!]! + removal( + where: CertRemovalWhereInput + orderBy: [CertRemovalOrderByInput!] + offset: Int + limit: Int + ): [CertRemoval!]! +} + +""" +Certification creation +""" +type CertCreation { + id: String! + cert: Cert! + blockNumber: Int! +} + +enum CertCreationOrderByInput { + id_ASC + id_DESC + id_ASC_NULLS_FIRST + id_DESC_NULLS_LAST + cert_id_ASC + cert_id_DESC + cert_id_ASC_NULLS_FIRST + cert_id_DESC_NULLS_LAST + cert_active_ASC + cert_active_DESC + cert_active_ASC_NULLS_FIRST + cert_active_DESC_NULLS_LAST + cert_createdOn_ASC + cert_createdOn_DESC + cert_createdOn_ASC_NULLS_FIRST + cert_createdOn_DESC_NULLS_LAST + cert_expireOn_ASC + cert_expireOn_DESC + cert_expireOn_ASC_NULLS_FIRST + cert_expireOn_DESC_NULLS_LAST + blockNumber_ASC + blockNumber_DESC + blockNumber_ASC_NULLS_FIRST + blockNumber_DESC_NULLS_LAST +} + +""" +Certification renewal +""" +type CertRenewal { + id: String! + cert: Cert! + blockNumber: Int! +} + +enum CertRenewalOrderByInput { + id_ASC + id_DESC + id_ASC_NULLS_FIRST + id_DESC_NULLS_LAST + cert_id_ASC + cert_id_DESC + cert_id_ASC_NULLS_FIRST + cert_id_DESC_NULLS_LAST + cert_active_ASC + cert_active_DESC + cert_active_ASC_NULLS_FIRST + cert_active_DESC_NULLS_LAST + cert_createdOn_ASC + cert_createdOn_DESC + cert_createdOn_ASC_NULLS_FIRST + cert_createdOn_DESC_NULLS_LAST + cert_expireOn_ASC + cert_expireOn_DESC + cert_expireOn_ASC_NULLS_FIRST + cert_expireOn_DESC_NULLS_LAST + blockNumber_ASC + blockNumber_DESC + blockNumber_ASC_NULLS_FIRST + blockNumber_DESC_NULLS_LAST +} + +""" +Certification removal +""" +type CertRemoval { + id: String! + cert: Cert! + blockNumber: Int! +} + +enum CertRemovalOrderByInput { + id_ASC + id_DESC + id_ASC_NULLS_FIRST + id_DESC_NULLS_LAST + cert_id_ASC + cert_id_DESC + cert_id_ASC_NULLS_FIRST + cert_id_DESC_NULLS_LAST + cert_active_ASC + cert_active_DESC + cert_active_ASC_NULLS_FIRST + cert_active_DESC_NULLS_LAST + cert_createdOn_ASC + cert_createdOn_DESC + cert_createdOn_ASC_NULLS_FIRST + cert_createdOn_DESC_NULLS_LAST + cert_expireOn_ASC + cert_expireOn_DESC + cert_expireOn_ASC_NULLS_FIRST + cert_expireOn_DESC_NULLS_LAST + blockNumber_ASC + blockNumber_DESC + blockNumber_ASC_NULLS_FIRST + blockNumber_DESC_NULLS_LAST +} + +enum CertOrderByInput { + id_ASC + id_DESC + id_ASC_NULLS_FIRST + id_DESC_NULLS_LAST + issuer_id_ASC + issuer_id_DESC + issuer_id_ASC_NULLS_FIRST + issuer_id_DESC_NULLS_LAST + issuer_index_ASC + issuer_index_DESC + issuer_index_ASC_NULLS_FIRST + issuer_index_DESC_NULLS_LAST + issuer_name_ASC + issuer_name_DESC + issuer_name_ASC_NULLS_FIRST + issuer_name_DESC_NULLS_LAST + issuer_status_ASC + issuer_status_DESC + issuer_status_ASC_NULLS_FIRST + issuer_status_DESC_NULLS_LAST + receiver_id_ASC + receiver_id_DESC + receiver_id_ASC_NULLS_FIRST + receiver_id_DESC_NULLS_LAST + receiver_index_ASC + receiver_index_DESC + receiver_index_ASC_NULLS_FIRST + receiver_index_DESC_NULLS_LAST + receiver_name_ASC + receiver_name_DESC + receiver_name_ASC_NULLS_FIRST + receiver_name_DESC_NULLS_LAST + receiver_status_ASC + receiver_status_DESC + receiver_status_ASC_NULLS_FIRST + receiver_status_DESC_NULLS_LAST + active_ASC + active_DESC + active_ASC_NULLS_FIRST + active_DESC_NULLS_LAST + createdOn_ASC + createdOn_DESC + createdOn_ASC_NULLS_FIRST + createdOn_DESC_NULLS_LAST + expireOn_ASC + expireOn_DESC + expireOn_ASC_NULLS_FIRST + expireOn_DESC_NULLS_LAST +} + +""" +Smith certification +""" +type SmithCert { + id: String! + issuer: Identity! + receiver: Identity! + createdOn: Int! +} + +enum SmithCertOrderByInput { + id_ASC + id_DESC + id_ASC_NULLS_FIRST + id_DESC_NULLS_LAST + issuer_id_ASC + issuer_id_DESC + issuer_id_ASC_NULLS_FIRST + issuer_id_DESC_NULLS_LAST + issuer_index_ASC + issuer_index_DESC + issuer_index_ASC_NULLS_FIRST + issuer_index_DESC_NULLS_LAST + issuer_name_ASC + issuer_name_DESC + issuer_name_ASC_NULLS_FIRST + issuer_name_DESC_NULLS_LAST + issuer_status_ASC + issuer_status_DESC + issuer_status_ASC_NULLS_FIRST + issuer_status_DESC_NULLS_LAST + receiver_id_ASC + receiver_id_DESC + receiver_id_ASC_NULLS_FIRST + receiver_id_DESC_NULLS_LAST + receiver_index_ASC + receiver_index_DESC + receiver_index_ASC_NULLS_FIRST + receiver_index_DESC_NULLS_LAST + receiver_name_ASC + receiver_name_DESC + receiver_name_ASC_NULLS_FIRST + receiver_name_DESC_NULLS_LAST + receiver_status_ASC + receiver_status_DESC + receiver_status_ASC_NULLS_FIRST + receiver_status_DESC_NULLS_LAST + createdOn_ASC + createdOn_DESC + createdOn_ASC_NULLS_FIRST + createdOn_DESC_NULLS_LAST +} + +""" +Membership +""" +type Membership { + id: String! + identity: Identity! + expireOn: Int! +} + +""" +Smith membership +""" +type SmithMembership { + id: String! + identity: Identity! + expireOn: Int! + status: SmithStatus! +} + +""" +owner key change +""" +type ChangeOwnerKey { + id: String! + identity: Identity! + previous: Account! + next: Account! + blockNumber: Int! +} + +enum ChangeOwnerKeyOrderByInput { + id_ASC + id_DESC + id_ASC_NULLS_FIRST + id_DESC_NULLS_LAST + identity_id_ASC + identity_id_DESC + identity_id_ASC_NULLS_FIRST + identity_id_DESC_NULLS_LAST + identity_index_ASC + identity_index_DESC + identity_index_ASC_NULLS_FIRST + identity_index_DESC_NULLS_LAST + identity_name_ASC + identity_name_DESC + identity_name_ASC_NULLS_FIRST + identity_name_DESC_NULLS_LAST + identity_status_ASC + identity_status_DESC + identity_status_ASC_NULLS_FIRST + identity_status_DESC_NULLS_LAST + previous_id_ASC + previous_id_DESC + previous_id_ASC_NULLS_FIRST + previous_id_DESC_NULLS_LAST + next_id_ASC + next_id_DESC + next_id_ASC_NULLS_FIRST + next_id_DESC_NULLS_LAST + blockNumber_ASC + blockNumber_DESC + blockNumber_ASC_NULLS_FIRST + blockNumber_DESC_NULLS_LAST +} + +enum AccountOrderByInput { + id_ASC + id_DESC + id_ASC_NULLS_FIRST + id_DESC_NULLS_LAST + identity_id_ASC + identity_id_DESC + identity_id_ASC_NULLS_FIRST + identity_id_DESC_NULLS_LAST + identity_index_ASC + identity_index_DESC + identity_index_ASC_NULLS_FIRST + identity_index_DESC_NULLS_LAST + identity_name_ASC + identity_name_DESC + identity_name_ASC_NULLS_FIRST + identity_name_DESC_NULLS_LAST + identity_status_ASC + identity_status_DESC + identity_status_ASC_NULLS_FIRST + identity_status_DESC_NULLS_LAST + linkedIdentity_id_ASC + linkedIdentity_id_DESC + linkedIdentity_id_ASC_NULLS_FIRST + linkedIdentity_id_DESC_NULLS_LAST + linkedIdentity_index_ASC + linkedIdentity_index_DESC + linkedIdentity_index_ASC_NULLS_FIRST + linkedIdentity_index_DESC_NULLS_LAST + linkedIdentity_name_ASC + linkedIdentity_name_DESC + linkedIdentity_name_ASC_NULLS_FIRST + linkedIdentity_name_DESC_NULLS_LAST + linkedIdentity_status_ASC + linkedIdentity_status_DESC + linkedIdentity_status_ASC_NULLS_FIRST + linkedIdentity_status_DESC_NULLS_LAST +} + +type AccountsConnection { + edges: [AccountEdge!]! + pageInfo: PageInfo! + totalCount: Int! +} + +type AccountEdge { + node: Account! + cursor: String! +} + +type TransfersConnection { + edges: [TransferEdge!]! + pageInfo: PageInfo! + totalCount: Int! +} + +type TransferEdge { + node: Transfer! + cursor: String! +} + +enum IdentityOrderByInput { + id_ASC + id_DESC + id_ASC_NULLS_FIRST + id_DESC_NULLS_LAST + index_ASC + index_DESC + index_ASC_NULLS_FIRST + index_DESC_NULLS_LAST + account_id_ASC + account_id_DESC + account_id_ASC_NULLS_FIRST + account_id_DESC_NULLS_LAST + name_ASC + name_DESC + name_ASC_NULLS_FIRST + name_DESC_NULLS_LAST + status_ASC + status_DESC + status_ASC_NULLS_FIRST + status_DESC_NULLS_LAST + membership_id_ASC + membership_id_DESC + membership_id_ASC_NULLS_FIRST + membership_id_DESC_NULLS_LAST + membership_expireOn_ASC + membership_expireOn_DESC + membership_expireOn_ASC_NULLS_FIRST + membership_expireOn_DESC_NULLS_LAST + smithMembership_id_ASC + smithMembership_id_DESC + smithMembership_id_ASC_NULLS_FIRST + smithMembership_id_DESC_NULLS_LAST + smithMembership_expireOn_ASC + smithMembership_expireOn_DESC + smithMembership_expireOn_ASC_NULLS_FIRST + smithMembership_expireOn_DESC_NULLS_LAST + smithMembership_status_ASC + smithMembership_status_DESC + smithMembership_status_ASC_NULLS_FIRST + smithMembership_status_DESC_NULLS_LAST +} + +type IdentitiesConnection { + edges: [IdentityEdge!]! + pageInfo: PageInfo! + totalCount: Int! +} + +type IdentityEdge { + node: Identity! + cursor: String! +} + +type ChangeOwnerKeysConnection { + edges: [ChangeOwnerKeyEdge!]! + pageInfo: PageInfo! + totalCount: Int! +} + +type ChangeOwnerKeyEdge { + node: ChangeOwnerKey! + cursor: String! +} + +type CertsConnection { + edges: [CertEdge!]! + pageInfo: PageInfo! + totalCount: Int! +} + +type CertEdge { + node: Cert! + cursor: String! +} + +type CertCreationsConnection { + edges: [CertCreationEdge!]! + pageInfo: PageInfo! + totalCount: Int! +} + +type CertCreationEdge { + node: CertCreation! + cursor: String! +} + +type CertRenewalsConnection { + edges: [CertRenewalEdge!]! + pageInfo: PageInfo! + totalCount: Int! +} + +type CertRenewalEdge { + node: CertRenewal! + cursor: String! +} + +type CertRemovalsConnection { + edges: [CertRemovalEdge!]! + pageInfo: PageInfo! + totalCount: Int! +} + +type CertRemovalEdge { + node: CertRemoval! + cursor: String! +} + +type SmithCertsConnection { + edges: [SmithCertEdge!]! + pageInfo: PageInfo! + totalCount: Int! +} + +type SmithCertEdge { + node: SmithCert! + cursor: String! +} + +enum MembershipOrderByInput { + id_ASC + id_DESC + id_ASC_NULLS_FIRST + id_DESC_NULLS_LAST + identity_id_ASC + identity_id_DESC + identity_id_ASC_NULLS_FIRST + identity_id_DESC_NULLS_LAST + identity_index_ASC + identity_index_DESC + identity_index_ASC_NULLS_FIRST + identity_index_DESC_NULLS_LAST + identity_name_ASC + identity_name_DESC + identity_name_ASC_NULLS_FIRST + identity_name_DESC_NULLS_LAST + identity_status_ASC + identity_status_DESC + identity_status_ASC_NULLS_FIRST + identity_status_DESC_NULLS_LAST + expireOn_ASC + expireOn_DESC + expireOn_ASC_NULLS_FIRST + expireOn_DESC_NULLS_LAST } -""" -order by var_samp() on columns of table "transaction" -""" -input transaction_var_samp_order_by { - """Amount of the transaction. 100 units = 1 Ğ1.""" - amount: order_by - - """Block number where transaction was created.""" - created_on: order_by - - """ - Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate. - """ - id: order_by +type MembershipsConnection { + edges: [MembershipEdge!]! + pageInfo: PageInfo! + totalCount: Int! } -"""aggregate variance on columns""" -type transaction_variance_fields { - """Amount of the transaction. 100 units = 1 Ğ1.""" - amount: Float - - """Block number where transaction was created.""" - created_on: Float +type MembershipEdge { + node: Membership! + cursor: String! +} - """ - Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate. - """ - id: Float +enum SmithMembershipOrderByInput { + id_ASC + id_DESC + id_ASC_NULLS_FIRST + id_DESC_NULLS_LAST + identity_id_ASC + identity_id_DESC + identity_id_ASC_NULLS_FIRST + identity_id_DESC_NULLS_LAST + identity_index_ASC + identity_index_DESC + identity_index_ASC_NULLS_FIRST + identity_index_DESC_NULLS_LAST + identity_name_ASC + identity_name_DESC + identity_name_ASC_NULLS_FIRST + identity_name_DESC_NULLS_LAST + identity_status_ASC + identity_status_DESC + identity_status_ASC_NULLS_FIRST + identity_status_DESC_NULLS_LAST + expireOn_ASC + expireOn_DESC + expireOn_ASC_NULLS_FIRST + expireOn_DESC_NULLS_LAST + status_ASC + status_DESC + status_ASC_NULLS_FIRST + status_DESC_NULLS_LAST +} + +type SmithMembershipsConnection { + edges: [SmithMembershipEdge!]! + pageInfo: PageInfo! + totalCount: Int! +} + +type SmithMembershipEdge { + node: SmithMembership! + cursor: String! +} + +type Subscription { + blocks( + where: BlockWhereInput + orderBy: [BlockOrderByInput!] + offset: Int + limit: Int + ): [Block!]! + blockById(id: String!): Block + extrinsics( + where: ExtrinsicWhereInput + orderBy: [ExtrinsicOrderByInput!] + offset: Int + limit: Int + ): [Extrinsic!]! + extrinsicById(id: String!): Extrinsic + calls( + where: CallWhereInput + orderBy: [CallOrderByInput!] + offset: Int + limit: Int + ): [Call!]! + callById(id: String!): Call + events( + where: EventWhereInput + orderBy: [EventOrderByInput!] + offset: Int + limit: Int + ): [Event!]! + eventById(id: String!): Event + itemsCounters( + where: ItemsCounterWhereInput + orderBy: [ItemsCounterOrderByInput!] + offset: Int + limit: Int + ): [ItemsCounter!]! + itemsCounterById(id: String!): ItemsCounter + accounts( + where: AccountWhereInput + orderBy: [AccountOrderByInput!] + offset: Int + limit: Int + ): [Account!]! + accountById(id: String!): Account + transfers( + where: TransferWhereInput + orderBy: [TransferOrderByInput!] + offset: Int + limit: Int + ): [Transfer!]! + transferById(id: String!): Transfer + identities( + where: IdentityWhereInput + orderBy: [IdentityOrderByInput!] + offset: Int + limit: Int + ): [Identity!]! + identityById(id: String!): Identity + changeOwnerKeys( + where: ChangeOwnerKeyWhereInput + orderBy: [ChangeOwnerKeyOrderByInput!] + offset: Int + limit: Int + ): [ChangeOwnerKey!]! + changeOwnerKeyById(id: String!): ChangeOwnerKey + certs( + where: CertWhereInput + orderBy: [CertOrderByInput!] + offset: Int + limit: Int + ): [Cert!]! + certById(id: String!): Cert + certCreations( + where: CertCreationWhereInput + orderBy: [CertCreationOrderByInput!] + offset: Int + limit: Int + ): [CertCreation!]! + certCreationById(id: String!): CertCreation + certRenewals( + where: CertRenewalWhereInput + orderBy: [CertRenewalOrderByInput!] + offset: Int + limit: Int + ): [CertRenewal!]! + certRenewalById(id: String!): CertRenewal + certRemovals( + where: CertRemovalWhereInput + orderBy: [CertRemovalOrderByInput!] + offset: Int + limit: Int + ): [CertRemoval!]! + certRemovalById(id: String!): CertRemoval + smithCerts( + where: SmithCertWhereInput + orderBy: [SmithCertOrderByInput!] + offset: Int + limit: Int + ): [SmithCert!]! + smithCertById(id: String!): SmithCert + memberships( + where: MembershipWhereInput + orderBy: [MembershipOrderByInput!] + offset: Int + limit: Int + ): [Membership!]! + membershipById(id: String!): Membership + smithMemberships( + where: SmithMembershipWhereInput + orderBy: [SmithMembershipOrderByInput!] + offset: Int + limit: Int + ): [SmithMembership!]! + smithMembershipById(id: String!): SmithMembership } -""" -order by variance() on columns of table "transaction" -""" -input transaction_variance_order_by { - """Amount of the transaction. 100 units = 1 Ğ1.""" - amount: order_by - - """Block number where transaction was created.""" - created_on: order_by - +type SquidStatus { """ - Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate. + The height of the processed part of the chain """ - id: order_by -} - + height: Int +} \ No newline at end of file diff --git a/res/indexer-schema.json b/res/indexer-schema.json deleted file mode 100644 index db53e7b6103b07d622a36982c297d3ea4bd36666..0000000000000000000000000000000000000000 --- a/res/indexer-schema.json +++ /dev/null @@ -1 +0,0 @@ -{"data":{"__schema":{"queryType":{"name":"query_root"},"mutationType":{"name":"mutation_root"},"subscriptionType":{"name":"subscription_root"},"types":[{"kind":"SCALAR","name":"Boolean","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"Boolean_comparison_exp","description":"Boolean expression to compare columns of type \"Boolean\". All fields are combined with logical 'AND'.","fields":null,"inputFields":[{"name":"_eq","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"_gt","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"_gte","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"_in","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}}},"defaultValue":null},{"name":"_is_null","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"_lt","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"_lte","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"_neq","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"_nin","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Float","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"Float_comparison_exp","description":"Boolean expression to compare columns of type \"Float\". All fields are combined with logical 'AND'.","fields":null,"inputFields":[{"name":"_eq","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"_gt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"_gte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"_in","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}}},"defaultValue":null},{"name":"_is_null","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"_lt","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"_lte","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"_neq","description":null,"type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"_nin","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"Int","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","description":"Boolean expression to compare columns of type \"Int\". All fields are combined with logical 'AND'.","fields":null,"inputFields":[{"name":"_eq","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"_gt","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"_gte","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"_in","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}}},"defaultValue":null},{"name":"_is_null","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"_lt","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"_lte","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"_neq","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"_nin","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"String","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"String_comparison_exp","description":"Boolean expression to compare columns of type \"String\". All fields are combined with logical 'AND'.","fields":null,"inputFields":[{"name":"_eq","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"_gt","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"_gte","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"_ilike","description":"does the column match the given case-insensitive pattern","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"_in","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null},{"name":"_iregex","description":"does the column match the given POSIX regular expression, case insensitive","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"_is_null","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"_like","description":"does the column match the given pattern","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"_lt","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"_lte","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"_neq","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"_nilike","description":"does the column NOT match the given case-insensitive pattern","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"_nin","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null},{"name":"_niregex","description":"does the column NOT match the given POSIX regular expression, case insensitive","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"_nlike","description":"does the column NOT match the given pattern","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"_nregex","description":"does the column NOT match the given POSIX regular expression, case sensitive","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"_nsimilar","description":"does the column NOT match the given SQL regular expression","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"_regex","description":"does the column match the given POSIX regular expression, case sensitive","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"_similar","description":"does the column match the given SQL regular expression","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Directive","description":null,"fields":[{"name":"args","description":null,"args":[],"type":{"kind":"OBJECT","name":"__InputValue","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isRepeatable","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"locations","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__EnumValue","description":null,"fields":[{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Field","description":null,"fields":[{"name":"args","description":null,"args":[],"type":{"kind":"OBJECT","name":"__InputValue","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"deprecationReason","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"isDeprecated","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__InputValue","description":null,"fields":[{"name":"defaultValue","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"type","description":null,"args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Schema","description":null,"fields":[{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"directives","description":null,"args":[],"type":{"kind":"OBJECT","name":"__Directive","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"mutationType","description":null,"args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"queryType","description":null,"args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"subscriptionType","description":null,"args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"types","description":null,"args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"__Type","description":null,"fields":[{"name":"description","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"enumValues","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"OBJECT","name":"__EnumValue","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"fields","description":null,"args":[{"name":"includeDeprecated","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":"false"}],"type":{"kind":"OBJECT","name":"__Field","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"inputFields","description":null,"args":[],"type":{"kind":"OBJECT","name":"__InputValue","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"interfaces","description":null,"args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"kind","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"__TypeKind","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"ofType","description":null,"args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"possibleTypes","description":null,"args":[],"type":{"kind":"OBJECT","name":"__Type","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"__TypeKind","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ENUM","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"INPUT_OBJECT","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"INTERFACE","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"LIST","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"NON_NULL","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"OBJECT","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"SCALAR","description":null,"isDeprecated":false,"deprecationReason":null},{"name":"UNION","description":null,"isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"account","description":"Table of accounts.","fields":[{"name":"block","description":"An object relationship","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"block","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"created_at","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"created_on","description":"Block number where account was created.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"has_identity","description":"A computed field, executes function \"has_identity\"","args":[],"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"identity","description":"An object relationship","args":[],"type":{"kind":"OBJECT","name":"identity","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"killed_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"killed_on","description":"Block number where account was killed.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"pubkey","description":"Pubkey of the account.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"transactions_issued","description":"An array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"transaction_select_column","ofType":null}}},"defaultValue":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"transaction_order_by","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"transaction_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"transaction","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"transactions_issued_aggregate","description":"An aggregate relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"transaction_select_column","ofType":null}}},"defaultValue":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"transaction_order_by","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"transaction_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"transaction_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"transactions_received","description":"An array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"transaction_select_column","ofType":null}}},"defaultValue":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"transaction_order_by","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"transaction_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"transaction","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"transactions_received_aggregate","description":"An aggregate relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"transaction_select_column","ofType":null}}},"defaultValue":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"transaction_order_by","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"transaction_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"transaction_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"account_aggregate","description":"aggregated selection of \"account\"","fields":[{"name":"aggregate","description":null,"args":[],"type":{"kind":"OBJECT","name":"account_aggregate_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"account","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"account_aggregate_fields","description":"aggregate fields of \"account\"","fields":[{"name":"avg","description":null,"args":[],"type":{"kind":"OBJECT","name":"account_avg_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[{"name":"columns","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"account_select_column","ofType":null}}},"defaultValue":null},{"name":"distinct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"OBJECT","name":"account_max_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"OBJECT","name":"account_min_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"args":[],"type":{"kind":"OBJECT","name":"account_stddev_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"account_stddev_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"account_stddev_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"args":[],"type":{"kind":"OBJECT","name":"account_sum_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"account_var_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"account_var_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"args":[],"type":{"kind":"OBJECT","name":"account_variance_fields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"account_avg_fields","description":"aggregate avg on columns","fields":[{"name":"created_on","description":"Block number where account was created.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"killed_on","description":"Block number where account was killed.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"account_bool_exp","description":"Boolean expression to filter rows from the table \"account\". All fields are combined with a logical 'AND'.","fields":null,"inputFields":[{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"account_bool_exp","ofType":null}}},"defaultValue":null},{"name":"_not","description":null,"type":{"kind":"INPUT_OBJECT","name":"account_bool_exp","ofType":null},"defaultValue":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"account_bool_exp","ofType":null}}},"defaultValue":null},{"name":"block","description":null,"type":{"kind":"INPUT_OBJECT","name":"block_bool_exp","ofType":null},"defaultValue":null},{"name":"created_at","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null},{"name":"created_on","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null},{"name":"has_identity","description":null,"type":{"kind":"INPUT_OBJECT","name":"Boolean_comparison_exp","ofType":null},"defaultValue":null},{"name":"identity","description":null,"type":{"kind":"INPUT_OBJECT","name":"identity_bool_exp","ofType":null},"defaultValue":null},{"name":"killed_at","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null},{"name":"killed_on","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null},{"name":"pubkey","description":null,"type":{"kind":"INPUT_OBJECT","name":"String_comparison_exp","ofType":null},"defaultValue":null},{"name":"transactions_issued","description":null,"type":{"kind":"INPUT_OBJECT","name":"transaction_bool_exp","ofType":null},"defaultValue":null},{"name":"transactions_issued_aggregate","description":null,"type":{"kind":"INPUT_OBJECT","name":"transaction_aggregate_bool_exp","ofType":null},"defaultValue":null},{"name":"transactions_received","description":null,"type":{"kind":"INPUT_OBJECT","name":"transaction_bool_exp","ofType":null},"defaultValue":null},{"name":"transactions_received_aggregate","description":null,"type":{"kind":"INPUT_OBJECT","name":"transaction_aggregate_bool_exp","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"account_constraint","description":"unique or primary key constraints on table \"account\"","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"account_id_key","description":"unique or primary key constraint on columns \"pubkey\"","isDeprecated":false,"deprecationReason":null},{"name":"account_pkey","description":"unique or primary key constraint on columns \"pubkey\"","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"account_inc_input","description":"input type for incrementing numeric columns in table \"account\"","fields":null,"inputFields":[{"name":"created_on","description":"Block number where account was created.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"killed_on","description":"Block number where account was killed.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"account_insert_input","description":"input type for inserting data into table \"account\"","fields":null,"inputFields":[{"name":"block","description":null,"type":{"kind":"INPUT_OBJECT","name":"block_obj_rel_insert_input","ofType":null},"defaultValue":null},{"name":"created_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null},{"name":"created_on","description":"Block number where account was created.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"identity","description":null,"type":{"kind":"INPUT_OBJECT","name":"identity_obj_rel_insert_input","ofType":null},"defaultValue":null},{"name":"killed_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null},{"name":"killed_on","description":"Block number where account was killed.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"pubkey","description":"Pubkey of the account.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"transactions_issued","description":null,"type":{"kind":"INPUT_OBJECT","name":"transaction_arr_rel_insert_input","ofType":null},"defaultValue":null},{"name":"transactions_received","description":null,"type":{"kind":"INPUT_OBJECT","name":"transaction_arr_rel_insert_input","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"account_max_fields","description":"aggregate max on columns","fields":[{"name":"created_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"created_on","description":"Block number where account was created.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"killed_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"killed_on","description":"Block number where account was killed.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"pubkey","description":"Pubkey of the account.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"account_min_fields","description":"aggregate min on columns","fields":[{"name":"created_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"created_on","description":"Block number where account was created.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"killed_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"killed_on","description":"Block number where account was killed.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"pubkey","description":"Pubkey of the account.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"account_mutation_response","description":"response of any mutation on the table \"account\"","fields":[{"name":"affected_rows","description":"number of rows affected by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"returning","description":"data from the rows affected by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"account","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"account_obj_rel_insert_input","description":"input type for inserting object relation for remote table \"account\"","fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"account_insert_input","ofType":null}},"defaultValue":null},{"name":"on_conflict","description":"upsert condition","type":{"kind":"INPUT_OBJECT","name":"account_on_conflict","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"account_on_conflict","description":"on_conflict condition type for table \"account\"","fields":null,"inputFields":[{"name":"constraint","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"account_constraint","ofType":null}},"defaultValue":null},{"name":"update_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"account_update_column","ofType":null}}}},"defaultValue":"[]"},{"name":"where","description":null,"type":{"kind":"INPUT_OBJECT","name":"account_bool_exp","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"account_order_by","description":"Ordering options when selecting data from \"account\".","fields":null,"inputFields":[{"name":"block","description":null,"type":{"kind":"INPUT_OBJECT","name":"block_order_by","ofType":null},"defaultValue":null},{"name":"created_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"created_on","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"has_identity","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"identity","description":null,"type":{"kind":"INPUT_OBJECT","name":"identity_order_by","ofType":null},"defaultValue":null},{"name":"killed_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"killed_on","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"pubkey","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"transactions_issued_aggregate","description":null,"type":{"kind":"INPUT_OBJECT","name":"transaction_aggregate_order_by","ofType":null},"defaultValue":null},{"name":"transactions_received_aggregate","description":null,"type":{"kind":"INPUT_OBJECT","name":"transaction_aggregate_order_by","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"account_pk_columns_input","description":"primary key columns input for table: account","fields":null,"inputFields":[{"name":"pubkey","description":"Pubkey of the account.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"account_select_column","description":"select columns of table \"account\"","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"created_at","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"created_on","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"killed_at","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"killed_on","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"pubkey","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"account_set_input","description":"input type for updating data in table \"account\"","fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null},{"name":"created_on","description":"Block number where account was created.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"killed_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null},{"name":"killed_on","description":"Block number where account was killed.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"pubkey","description":"Pubkey of the account.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"account_stddev_fields","description":"aggregate stddev on columns","fields":[{"name":"created_on","description":"Block number where account was created.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"killed_on","description":"Block number where account was killed.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"account_stddev_pop_fields","description":"aggregate stddev_pop on columns","fields":[{"name":"created_on","description":"Block number where account was created.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"killed_on","description":"Block number where account was killed.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"account_stddev_samp_fields","description":"aggregate stddev_samp on columns","fields":[{"name":"created_on","description":"Block number where account was created.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"killed_on","description":"Block number where account was killed.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"account_stream_cursor_input","description":"Streaming cursor of the table \"account\"","fields":null,"inputFields":[{"name":"initial_value","description":"Stream column input with initial value","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"account_stream_cursor_value_input","ofType":null}},"defaultValue":null},{"name":"ordering","description":"cursor ordering","type":{"kind":"ENUM","name":"cursor_ordering","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"account_stream_cursor_value_input","description":"Initial value of the column from where the streaming should start","fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null},{"name":"created_on","description":"Block number where account was created.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"killed_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null},{"name":"killed_on","description":"Block number where account was killed.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"pubkey","description":"Pubkey of the account.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"account_sum_fields","description":"aggregate sum on columns","fields":[{"name":"created_on","description":"Block number where account was created.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"killed_on","description":"Block number where account was killed.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"account_update_column","description":"update columns of table \"account\"","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"created_at","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"created_on","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"killed_at","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"killed_on","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"pubkey","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"account_updates","description":null,"fields":null,"inputFields":[{"name":"_inc","description":"increments the numeric columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"account_inc_input","ofType":null},"defaultValue":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"account_set_input","ofType":null},"defaultValue":null},{"name":"where","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"account_bool_exp","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"account_var_pop_fields","description":"aggregate var_pop on columns","fields":[{"name":"created_on","description":"Block number where account was created.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"killed_on","description":"Block number where account was killed.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"account_var_samp_fields","description":"aggregate var_samp on columns","fields":[{"name":"created_on","description":"Block number where account was created.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"killed_on","description":"Block number where account was killed.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"account_variance_fields","description":"aggregate variance on columns","fields":[{"name":"created_on","description":"Block number where account was created.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"killed_on","description":"Block number where account was killed.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"block","description":"Table of blocks.","fields":[{"name":"created_at","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamp","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"data","description":"Data contains `extrinsics` and `events` of the block. Exemple for querying specific data: `data(path: \"extrinsics[0].isSigned\")`.","args":[{"name":"path","description":"JSON select path","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"SCALAR","name":"jsonb","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"hash","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"number","description":"Number of the block in substrate.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"block_aggregate","description":"aggregated selection of \"block\"","fields":[{"name":"aggregate","description":null,"args":[],"type":{"kind":"OBJECT","name":"block_aggregate_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"block","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"block_aggregate_fields","description":"aggregate fields of \"block\"","fields":[{"name":"avg","description":null,"args":[],"type":{"kind":"OBJECT","name":"block_avg_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[{"name":"columns","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"block_select_column","ofType":null}}},"defaultValue":null},{"name":"distinct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"OBJECT","name":"block_max_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"OBJECT","name":"block_min_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"args":[],"type":{"kind":"OBJECT","name":"block_stddev_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"block_stddev_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"block_stddev_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"args":[],"type":{"kind":"OBJECT","name":"block_sum_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"block_var_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"block_var_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"args":[],"type":{"kind":"OBJECT","name":"block_variance_fields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"block_append_input","description":"append existing jsonb value of filtered columns with new jsonb value","fields":null,"inputFields":[{"name":"data","description":"Data contains `extrinsics` and `events` of the block. Exemple for querying specific data: `data(path: \"extrinsics[0].isSigned\")`.","type":{"kind":"SCALAR","name":"jsonb","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"block_avg_fields","description":"aggregate avg on columns","fields":[{"name":"number","description":"Number of the block in substrate.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"block_bool_exp","description":"Boolean expression to filter rows from the table \"block\". All fields are combined with a logical 'AND'.","fields":null,"inputFields":[{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"block_bool_exp","ofType":null}}},"defaultValue":null},{"name":"_not","description":null,"type":{"kind":"INPUT_OBJECT","name":"block_bool_exp","ofType":null},"defaultValue":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"block_bool_exp","ofType":null}}},"defaultValue":null},{"name":"created_at","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamp_comparison_exp","ofType":null},"defaultValue":null},{"name":"data","description":null,"type":{"kind":"INPUT_OBJECT","name":"jsonb_comparison_exp","ofType":null},"defaultValue":null},{"name":"hash","description":null,"type":{"kind":"INPUT_OBJECT","name":"String_comparison_exp","ofType":null},"defaultValue":null},{"name":"number","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"block_constraint","description":"unique or primary key constraints on table \"block\"","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"block_hash_key","description":"unique or primary key constraint on columns \"hash\"","isDeprecated":false,"deprecationReason":null},{"name":"block_pkey","description":"unique or primary key constraint on columns \"number\"","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"block_delete_at_path_input","description":"delete the field or element with specified path (for JSON arrays, negative integers count from the end)","fields":null,"inputFields":[{"name":"data","description":"Data contains `extrinsics` and `events` of the block. Exemple for querying specific data: `data(path: \"extrinsics[0].isSigned\")`.","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"block_delete_elem_input","description":"delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array","fields":null,"inputFields":[{"name":"data","description":"Data contains `extrinsics` and `events` of the block. Exemple for querying specific data: `data(path: \"extrinsics[0].isSigned\")`.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"block_delete_key_input","description":"delete key/value pair or string element. key/value pairs are matched based on their key value","fields":null,"inputFields":[{"name":"data","description":"Data contains `extrinsics` and `events` of the block. Exemple for querying specific data: `data(path: \"extrinsics[0].isSigned\")`.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"block_inc_input","description":"input type for incrementing numeric columns in table \"block\"","fields":null,"inputFields":[{"name":"number","description":"Number of the block in substrate.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"block_insert_input","description":"input type for inserting data into table \"block\"","fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"SCALAR","name":"timestamp","ofType":null},"defaultValue":null},{"name":"data","description":"Data contains `extrinsics` and `events` of the block. Exemple for querying specific data: `data(path: \"extrinsics[0].isSigned\")`.","type":{"kind":"SCALAR","name":"jsonb","ofType":null},"defaultValue":null},{"name":"hash","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"number","description":"Number of the block in substrate.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"block_max_fields","description":"aggregate max on columns","fields":[{"name":"created_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamp","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"hash","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"number","description":"Number of the block in substrate.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"block_min_fields","description":"aggregate min on columns","fields":[{"name":"created_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamp","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"hash","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"number","description":"Number of the block in substrate.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"block_mutation_response","description":"response of any mutation on the table \"block\"","fields":[{"name":"affected_rows","description":"number of rows affected by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"returning","description":"data from the rows affected by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"block","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"block_obj_rel_insert_input","description":"input type for inserting object relation for remote table \"block\"","fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"block_insert_input","ofType":null}},"defaultValue":null},{"name":"on_conflict","description":"upsert condition","type":{"kind":"INPUT_OBJECT","name":"block_on_conflict","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"block_on_conflict","description":"on_conflict condition type for table \"block\"","fields":null,"inputFields":[{"name":"constraint","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"block_constraint","ofType":null}},"defaultValue":null},{"name":"update_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"block_update_column","ofType":null}}}},"defaultValue":"[]"},{"name":"where","description":null,"type":{"kind":"INPUT_OBJECT","name":"block_bool_exp","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"block_order_by","description":"Ordering options when selecting data from \"block\".","fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"data","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"hash","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"number","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"block_pk_columns_input","description":"primary key columns input for table: block","fields":null,"inputFields":[{"name":"number","description":"Number of the block in substrate.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"block_prepend_input","description":"prepend existing jsonb value of filtered columns with new jsonb value","fields":null,"inputFields":[{"name":"data","description":"Data contains `extrinsics` and `events` of the block. Exemple for querying specific data: `data(path: \"extrinsics[0].isSigned\")`.","type":{"kind":"SCALAR","name":"jsonb","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"block_select_column","description":"select columns of table \"block\"","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"created_at","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"data","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"hash","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"number","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"block_set_input","description":"input type for updating data in table \"block\"","fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"SCALAR","name":"timestamp","ofType":null},"defaultValue":null},{"name":"data","description":"Data contains `extrinsics` and `events` of the block. Exemple for querying specific data: `data(path: \"extrinsics[0].isSigned\")`.","type":{"kind":"SCALAR","name":"jsonb","ofType":null},"defaultValue":null},{"name":"hash","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"number","description":"Number of the block in substrate.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"block_stddev_fields","description":"aggregate stddev on columns","fields":[{"name":"number","description":"Number of the block in substrate.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"block_stddev_pop_fields","description":"aggregate stddev_pop on columns","fields":[{"name":"number","description":"Number of the block in substrate.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"block_stddev_samp_fields","description":"aggregate stddev_samp on columns","fields":[{"name":"number","description":"Number of the block in substrate.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"block_stream_cursor_input","description":"Streaming cursor of the table \"block\"","fields":null,"inputFields":[{"name":"initial_value","description":"Stream column input with initial value","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"block_stream_cursor_value_input","ofType":null}},"defaultValue":null},{"name":"ordering","description":"cursor ordering","type":{"kind":"ENUM","name":"cursor_ordering","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"block_stream_cursor_value_input","description":"Initial value of the column from where the streaming should start","fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"SCALAR","name":"timestamp","ofType":null},"defaultValue":null},{"name":"data","description":"Data contains `extrinsics` and `events` of the block. Exemple for querying specific data: `data(path: \"extrinsics[0].isSigned\")`.","type":{"kind":"SCALAR","name":"jsonb","ofType":null},"defaultValue":null},{"name":"hash","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"number","description":"Number of the block in substrate.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"block_sum_fields","description":"aggregate sum on columns","fields":[{"name":"number","description":"Number of the block in substrate.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"block_update_column","description":"update columns of table \"block\"","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"created_at","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"data","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"hash","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"number","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"block_updates","description":null,"fields":null,"inputFields":[{"name":"_append","description":"append existing jsonb value of filtered columns with new jsonb value","type":{"kind":"INPUT_OBJECT","name":"block_append_input","ofType":null},"defaultValue":null},{"name":"_delete_at_path","description":"delete the field or element with specified path (for JSON arrays, negative integers count from the end)","type":{"kind":"INPUT_OBJECT","name":"block_delete_at_path_input","ofType":null},"defaultValue":null},{"name":"_delete_elem","description":"delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array","type":{"kind":"INPUT_OBJECT","name":"block_delete_elem_input","ofType":null},"defaultValue":null},{"name":"_delete_key","description":"delete key/value pair or string element. key/value pairs are matched based on their key value","type":{"kind":"INPUT_OBJECT","name":"block_delete_key_input","ofType":null},"defaultValue":null},{"name":"_inc","description":"increments the numeric columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"block_inc_input","ofType":null},"defaultValue":null},{"name":"_prepend","description":"prepend existing jsonb value of filtered columns with new jsonb value","type":{"kind":"INPUT_OBJECT","name":"block_prepend_input","ofType":null},"defaultValue":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"block_set_input","ofType":null},"defaultValue":null},{"name":"where","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"block_bool_exp","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"block_var_pop_fields","description":"aggregate var_pop on columns","fields":[{"name":"number","description":"Number of the block in substrate.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"block_var_samp_fields","description":"aggregate var_samp on columns","fields":[{"name":"number","description":"Number of the block in substrate.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"block_variance_fields","description":"aggregate variance on columns","fields":[{"name":"number","description":"Number of the block in substrate.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"certification","description":"Table of certifications.","fields":[{"name":"created_at","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"created_on","description":"Block number where certification was created.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"created_on_block","description":"An object relationship","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"block","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"issuer","description":"An object relationship","args":[],"type":{"kind":"OBJECT","name":"identity","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"issuer_name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"receiver","description":"An object relationship","args":[],"type":{"kind":"OBJECT","name":"identity","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"receiver_name","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"certification_aggregate","description":"aggregated selection of \"certification\"","fields":[{"name":"aggregate","description":null,"args":[],"type":{"kind":"OBJECT","name":"certification_aggregate_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"certification","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"certification_aggregate_bool_exp","description":null,"fields":null,"inputFields":[{"name":"count","description":null,"type":{"kind":"INPUT_OBJECT","name":"certification_aggregate_bool_exp_count","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"certification_aggregate_bool_exp_count","description":null,"fields":null,"inputFields":[{"name":"arguments","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"certification_select_column","ofType":null}}},"defaultValue":null},{"name":"distinct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"certification_bool_exp","ofType":null},"defaultValue":null},{"name":"predicate","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"certification_aggregate_fields","description":"aggregate fields of \"certification\"","fields":[{"name":"avg","description":null,"args":[],"type":{"kind":"OBJECT","name":"certification_avg_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[{"name":"columns","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"certification_select_column","ofType":null}}},"defaultValue":null},{"name":"distinct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"OBJECT","name":"certification_max_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"OBJECT","name":"certification_min_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"args":[],"type":{"kind":"OBJECT","name":"certification_stddev_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"certification_stddev_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"certification_stddev_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"args":[],"type":{"kind":"OBJECT","name":"certification_sum_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"certification_var_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"certification_var_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"args":[],"type":{"kind":"OBJECT","name":"certification_variance_fields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"certification_aggregate_order_by","description":"order by aggregate values of table \"certification\"","fields":null,"inputFields":[{"name":"avg","description":null,"type":{"kind":"INPUT_OBJECT","name":"certification_avg_order_by","ofType":null},"defaultValue":null},{"name":"count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"max","description":null,"type":{"kind":"INPUT_OBJECT","name":"certification_max_order_by","ofType":null},"defaultValue":null},{"name":"min","description":null,"type":{"kind":"INPUT_OBJECT","name":"certification_min_order_by","ofType":null},"defaultValue":null},{"name":"stddev","description":null,"type":{"kind":"INPUT_OBJECT","name":"certification_stddev_order_by","ofType":null},"defaultValue":null},{"name":"stddev_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"certification_stddev_pop_order_by","ofType":null},"defaultValue":null},{"name":"stddev_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"certification_stddev_samp_order_by","ofType":null},"defaultValue":null},{"name":"sum","description":null,"type":{"kind":"INPUT_OBJECT","name":"certification_sum_order_by","ofType":null},"defaultValue":null},{"name":"var_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"certification_var_pop_order_by","ofType":null},"defaultValue":null},{"name":"var_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"certification_var_samp_order_by","ofType":null},"defaultValue":null},{"name":"variance","description":null,"type":{"kind":"INPUT_OBJECT","name":"certification_variance_order_by","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"certification_arr_rel_insert_input","description":"input type for inserting array relation for remote table \"certification\"","fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"certification_insert_input","ofType":null}}}},"defaultValue":null},{"name":"on_conflict","description":"upsert condition","type":{"kind":"INPUT_OBJECT","name":"certification_on_conflict","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"certification_avg_fields","description":"aggregate avg on columns","fields":[{"name":"created_on","description":"Block number where certification was created.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"certification_avg_order_by","description":"order by avg() on columns of table \"certification\"","fields":null,"inputFields":[{"name":"created_on","description":"Block number where certification was created.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"certification_bool_exp","description":"Boolean expression to filter rows from the table \"certification\". All fields are combined with a logical 'AND'.","fields":null,"inputFields":[{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"certification_bool_exp","ofType":null}}},"defaultValue":null},{"name":"_not","description":null,"type":{"kind":"INPUT_OBJECT","name":"certification_bool_exp","ofType":null},"defaultValue":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"certification_bool_exp","ofType":null}}},"defaultValue":null},{"name":"created_at","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null},{"name":"created_on","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null},{"name":"created_on_block","description":null,"type":{"kind":"INPUT_OBJECT","name":"block_bool_exp","ofType":null},"defaultValue":null},{"name":"issuer","description":null,"type":{"kind":"INPUT_OBJECT","name":"identity_bool_exp","ofType":null},"defaultValue":null},{"name":"issuer_name","description":null,"type":{"kind":"INPUT_OBJECT","name":"String_comparison_exp","ofType":null},"defaultValue":null},{"name":"receiver","description":null,"type":{"kind":"INPUT_OBJECT","name":"identity_bool_exp","ofType":null},"defaultValue":null},{"name":"receiver_name","description":null,"type":{"kind":"INPUT_OBJECT","name":"String_comparison_exp","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"certification_constraint","description":"unique or primary key constraints on table \"certification\"","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"certification_pkey","description":"unique or primary key constraint on columns \"receiver_name\", \"issuer_name\"","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"certification_inc_input","description":"input type for incrementing numeric columns in table \"certification\"","fields":null,"inputFields":[{"name":"created_on","description":"Block number where certification was created.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"certification_insert_input","description":"input type for inserting data into table \"certification\"","fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null},{"name":"created_on","description":"Block number where certification was created.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"created_on_block","description":null,"type":{"kind":"INPUT_OBJECT","name":"block_obj_rel_insert_input","ofType":null},"defaultValue":null},{"name":"issuer","description":null,"type":{"kind":"INPUT_OBJECT","name":"identity_obj_rel_insert_input","ofType":null},"defaultValue":null},{"name":"issuer_name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"receiver","description":null,"type":{"kind":"INPUT_OBJECT","name":"identity_obj_rel_insert_input","ofType":null},"defaultValue":null},{"name":"receiver_name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"certification_max_fields","description":"aggregate max on columns","fields":[{"name":"created_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"created_on","description":"Block number where certification was created.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"issuer_name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"receiver_name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"certification_max_order_by","description":"order by max() on columns of table \"certification\"","fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"created_on","description":"Block number where certification was created.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"issuer_name","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"receiver_name","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"certification_min_fields","description":"aggregate min on columns","fields":[{"name":"created_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"created_on","description":"Block number where certification was created.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"issuer_name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"receiver_name","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"certification_min_order_by","description":"order by min() on columns of table \"certification\"","fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"created_on","description":"Block number where certification was created.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"issuer_name","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"receiver_name","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"certification_mutation_response","description":"response of any mutation on the table \"certification\"","fields":[{"name":"affected_rows","description":"number of rows affected by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"returning","description":"data from the rows affected by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"certification","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"certification_on_conflict","description":"on_conflict condition type for table \"certification\"","fields":null,"inputFields":[{"name":"constraint","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"certification_constraint","ofType":null}},"defaultValue":null},{"name":"update_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"certification_update_column","ofType":null}}}},"defaultValue":"[]"},{"name":"where","description":null,"type":{"kind":"INPUT_OBJECT","name":"certification_bool_exp","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"certification_order_by","description":"Ordering options when selecting data from \"certification\".","fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"created_on","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"created_on_block","description":null,"type":{"kind":"INPUT_OBJECT","name":"block_order_by","ofType":null},"defaultValue":null},{"name":"issuer","description":null,"type":{"kind":"INPUT_OBJECT","name":"identity_order_by","ofType":null},"defaultValue":null},{"name":"issuer_name","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"receiver","description":null,"type":{"kind":"INPUT_OBJECT","name":"identity_order_by","ofType":null},"defaultValue":null},{"name":"receiver_name","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"certification_pk_columns_input","description":"primary key columns input for table: certification","fields":null,"inputFields":[{"name":"issuer_name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"receiver_name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"certification_select_column","description":"select columns of table \"certification\"","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"created_at","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"created_on","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"issuer_name","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"receiver_name","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"certification_set_input","description":"input type for updating data in table \"certification\"","fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null},{"name":"created_on","description":"Block number where certification was created.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"issuer_name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"receiver_name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"certification_stddev_fields","description":"aggregate stddev on columns","fields":[{"name":"created_on","description":"Block number where certification was created.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"certification_stddev_order_by","description":"order by stddev() on columns of table \"certification\"","fields":null,"inputFields":[{"name":"created_on","description":"Block number where certification was created.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"certification_stddev_pop_fields","description":"aggregate stddev_pop on columns","fields":[{"name":"created_on","description":"Block number where certification was created.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"certification_stddev_pop_order_by","description":"order by stddev_pop() on columns of table \"certification\"","fields":null,"inputFields":[{"name":"created_on","description":"Block number where certification was created.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"certification_stddev_samp_fields","description":"aggregate stddev_samp on columns","fields":[{"name":"created_on","description":"Block number where certification was created.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"certification_stddev_samp_order_by","description":"order by stddev_samp() on columns of table \"certification\"","fields":null,"inputFields":[{"name":"created_on","description":"Block number where certification was created.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"certification_stream_cursor_input","description":"Streaming cursor of the table \"certification\"","fields":null,"inputFields":[{"name":"initial_value","description":"Stream column input with initial value","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"certification_stream_cursor_value_input","ofType":null}},"defaultValue":null},{"name":"ordering","description":"cursor ordering","type":{"kind":"ENUM","name":"cursor_ordering","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"certification_stream_cursor_value_input","description":"Initial value of the column from where the streaming should start","fields":null,"inputFields":[{"name":"created_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null},{"name":"created_on","description":"Block number where certification was created.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"issuer_name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"receiver_name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"certification_sum_fields","description":"aggregate sum on columns","fields":[{"name":"created_on","description":"Block number where certification was created.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"certification_sum_order_by","description":"order by sum() on columns of table \"certification\"","fields":null,"inputFields":[{"name":"created_on","description":"Block number where certification was created.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"certification_update_column","description":"update columns of table \"certification\"","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"created_at","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"created_on","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"issuer_name","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"receiver_name","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"certification_updates","description":null,"fields":null,"inputFields":[{"name":"_inc","description":"increments the numeric columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"certification_inc_input","ofType":null},"defaultValue":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"certification_set_input","ofType":null},"defaultValue":null},{"name":"where","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"certification_bool_exp","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"certification_var_pop_fields","description":"aggregate var_pop on columns","fields":[{"name":"created_on","description":"Block number where certification was created.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"certification_var_pop_order_by","description":"order by var_pop() on columns of table \"certification\"","fields":null,"inputFields":[{"name":"created_on","description":"Block number where certification was created.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"certification_var_samp_fields","description":"aggregate var_samp on columns","fields":[{"name":"created_on","description":"Block number where certification was created.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"certification_var_samp_order_by","description":"order by var_samp() on columns of table \"certification\"","fields":null,"inputFields":[{"name":"created_on","description":"Block number where certification was created.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"certification_variance_fields","description":"aggregate variance on columns","fields":[{"name":"created_on","description":"Block number where certification was created.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"certification_variance_order_by","description":"order by variance() on columns of table \"certification\"","fields":null,"inputFields":[{"name":"created_on","description":"Block number where certification was created.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"cursor_ordering","description":"ordering argument of a cursor","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"ASC","description":"ascending ordering of the cursor","isDeprecated":false,"deprecationReason":null},{"name":"DESC","description":"descending ordering of the cursor","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"identity","description":"Table of identities.","fields":[{"name":"account","description":"An object relationship","args":[],"type":{"kind":"OBJECT","name":"account","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"certifications_issued","description":"An array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"certification_select_column","ofType":null}}},"defaultValue":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"certification_order_by","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"certification_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"certification","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"certifications_issued_aggregate","description":"An aggregate relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"certification_select_column","ofType":null}}},"defaultValue":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"certification_order_by","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"certification_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"certification_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"certifications_received","description":"An array relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"certification_select_column","ofType":null}}},"defaultValue":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"certification_order_by","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"certification_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"certification","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"certifications_received_aggregate","description":"An aggregate relationship","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"certification_select_column","ofType":null}}},"defaultValue":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"certification_order_by","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"certification_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"certification_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"confirmed_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"confirmed_on","description":"Block number where identity was confirmed.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"confirmed_on_block","description":"An object relationship","args":[],"type":{"kind":"OBJECT","name":"block","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"Name of the identity.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"pubkey","description":"Pubkey of the account associated to this identity.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"revoked_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"revoked_on","description":"Block number where identity was revoked.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"revoked_on_block","description":"An object relationship","args":[],"type":{"kind":"OBJECT","name":"block","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"validated_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"validated_on","description":"Block number where identity was validated.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"validated_on_block","description":"An object relationship","args":[],"type":{"kind":"OBJECT","name":"block","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"identity_aggregate","description":"aggregated selection of \"identity\"","fields":[{"name":"aggregate","description":null,"args":[],"type":{"kind":"OBJECT","name":"identity_aggregate_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"identity","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"identity_aggregate_fields","description":"aggregate fields of \"identity\"","fields":[{"name":"avg","description":null,"args":[],"type":{"kind":"OBJECT","name":"identity_avg_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[{"name":"columns","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"identity_select_column","ofType":null}}},"defaultValue":null},{"name":"distinct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"OBJECT","name":"identity_max_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"OBJECT","name":"identity_min_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"args":[],"type":{"kind":"OBJECT","name":"identity_stddev_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"identity_stddev_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"identity_stddev_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"args":[],"type":{"kind":"OBJECT","name":"identity_sum_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"identity_var_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"identity_var_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"args":[],"type":{"kind":"OBJECT","name":"identity_variance_fields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"identity_avg_fields","description":"aggregate avg on columns","fields":[{"name":"confirmed_on","description":"Block number where identity was confirmed.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"revoked_on","description":"Block number where identity was revoked.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"validated_on","description":"Block number where identity was validated.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"identity_bool_exp","description":"Boolean expression to filter rows from the table \"identity\". All fields are combined with a logical 'AND'.","fields":null,"inputFields":[{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"identity_bool_exp","ofType":null}}},"defaultValue":null},{"name":"_not","description":null,"type":{"kind":"INPUT_OBJECT","name":"identity_bool_exp","ofType":null},"defaultValue":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"identity_bool_exp","ofType":null}}},"defaultValue":null},{"name":"account","description":null,"type":{"kind":"INPUT_OBJECT","name":"account_bool_exp","ofType":null},"defaultValue":null},{"name":"certifications_issued","description":null,"type":{"kind":"INPUT_OBJECT","name":"certification_bool_exp","ofType":null},"defaultValue":null},{"name":"certifications_issued_aggregate","description":null,"type":{"kind":"INPUT_OBJECT","name":"certification_aggregate_bool_exp","ofType":null},"defaultValue":null},{"name":"certifications_received","description":null,"type":{"kind":"INPUT_OBJECT","name":"certification_bool_exp","ofType":null},"defaultValue":null},{"name":"certifications_received_aggregate","description":null,"type":{"kind":"INPUT_OBJECT","name":"certification_aggregate_bool_exp","ofType":null},"defaultValue":null},{"name":"confirmed_at","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null},{"name":"confirmed_on","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null},{"name":"confirmed_on_block","description":null,"type":{"kind":"INPUT_OBJECT","name":"block_bool_exp","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"INPUT_OBJECT","name":"String_comparison_exp","ofType":null},"defaultValue":null},{"name":"pubkey","description":null,"type":{"kind":"INPUT_OBJECT","name":"String_comparison_exp","ofType":null},"defaultValue":null},{"name":"revoked_at","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null},{"name":"revoked_on","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null},{"name":"revoked_on_block","description":null,"type":{"kind":"INPUT_OBJECT","name":"block_bool_exp","ofType":null},"defaultValue":null},{"name":"validated_at","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null},{"name":"validated_on","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null},{"name":"validated_on_block","description":null,"type":{"kind":"INPUT_OBJECT","name":"block_bool_exp","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"identity_constraint","description":"unique or primary key constraints on table \"identity\"","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"identity_id_key","description":"unique or primary key constraint on columns \"pubkey\"","isDeprecated":false,"deprecationReason":null},{"name":"identity_key_key","description":"unique or primary key constraint on columns \"pubkey\"","isDeprecated":false,"deprecationReason":null},{"name":"identity_name_key","description":"unique or primary key constraint on columns \"name\"","isDeprecated":false,"deprecationReason":null},{"name":"identity_pkey","description":"unique or primary key constraint on columns \"name\"","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"identity_inc_input","description":"input type for incrementing numeric columns in table \"identity\"","fields":null,"inputFields":[{"name":"confirmed_on","description":"Block number where identity was confirmed.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"revoked_on","description":"Block number where identity was revoked.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"validated_on","description":"Block number where identity was validated.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"identity_insert_input","description":"input type for inserting data into table \"identity\"","fields":null,"inputFields":[{"name":"account","description":null,"type":{"kind":"INPUT_OBJECT","name":"account_obj_rel_insert_input","ofType":null},"defaultValue":null},{"name":"certifications_issued","description":null,"type":{"kind":"INPUT_OBJECT","name":"certification_arr_rel_insert_input","ofType":null},"defaultValue":null},{"name":"certifications_received","description":null,"type":{"kind":"INPUT_OBJECT","name":"certification_arr_rel_insert_input","ofType":null},"defaultValue":null},{"name":"confirmed_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null},{"name":"confirmed_on","description":"Block number where identity was confirmed.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"confirmed_on_block","description":null,"type":{"kind":"INPUT_OBJECT","name":"block_obj_rel_insert_input","ofType":null},"defaultValue":null},{"name":"name","description":"Name of the identity.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"pubkey","description":"Pubkey of the account associated to this identity.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"revoked_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null},{"name":"revoked_on","description":"Block number where identity was revoked.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"revoked_on_block","description":null,"type":{"kind":"INPUT_OBJECT","name":"block_obj_rel_insert_input","ofType":null},"defaultValue":null},{"name":"validated_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null},{"name":"validated_on","description":"Block number where identity was validated.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"validated_on_block","description":null,"type":{"kind":"INPUT_OBJECT","name":"block_obj_rel_insert_input","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"identity_max_fields","description":"aggregate max on columns","fields":[{"name":"confirmed_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"confirmed_on","description":"Block number where identity was confirmed.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"Name of the identity.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"pubkey","description":"Pubkey of the account associated to this identity.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"revoked_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"revoked_on","description":"Block number where identity was revoked.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"validated_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"validated_on","description":"Block number where identity was validated.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"identity_min_fields","description":"aggregate min on columns","fields":[{"name":"confirmed_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"confirmed_on","description":"Block number where identity was confirmed.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"name","description":"Name of the identity.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"pubkey","description":"Pubkey of the account associated to this identity.","args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"revoked_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"revoked_on","description":"Block number where identity was revoked.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"validated_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"validated_on","description":"Block number where identity was validated.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"identity_mutation_response","description":"response of any mutation on the table \"identity\"","fields":[{"name":"affected_rows","description":"number of rows affected by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"returning","description":"data from the rows affected by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"identity","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"identity_obj_rel_insert_input","description":"input type for inserting object relation for remote table \"identity\"","fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"identity_insert_input","ofType":null}},"defaultValue":null},{"name":"on_conflict","description":"upsert condition","type":{"kind":"INPUT_OBJECT","name":"identity_on_conflict","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"identity_on_conflict","description":"on_conflict condition type for table \"identity\"","fields":null,"inputFields":[{"name":"constraint","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"identity_constraint","ofType":null}},"defaultValue":null},{"name":"update_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"identity_update_column","ofType":null}}}},"defaultValue":"[]"},{"name":"where","description":null,"type":{"kind":"INPUT_OBJECT","name":"identity_bool_exp","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"identity_order_by","description":"Ordering options when selecting data from \"identity\".","fields":null,"inputFields":[{"name":"account","description":null,"type":{"kind":"INPUT_OBJECT","name":"account_order_by","ofType":null},"defaultValue":null},{"name":"certifications_issued_aggregate","description":null,"type":{"kind":"INPUT_OBJECT","name":"certification_aggregate_order_by","ofType":null},"defaultValue":null},{"name":"certifications_received_aggregate","description":null,"type":{"kind":"INPUT_OBJECT","name":"certification_aggregate_order_by","ofType":null},"defaultValue":null},{"name":"confirmed_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"confirmed_on","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"confirmed_on_block","description":null,"type":{"kind":"INPUT_OBJECT","name":"block_order_by","ofType":null},"defaultValue":null},{"name":"name","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"pubkey","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"revoked_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"revoked_on","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"revoked_on_block","description":null,"type":{"kind":"INPUT_OBJECT","name":"block_order_by","ofType":null},"defaultValue":null},{"name":"validated_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"validated_on","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"validated_on_block","description":null,"type":{"kind":"INPUT_OBJECT","name":"block_order_by","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"identity_pk_columns_input","description":"primary key columns input for table: identity","fields":null,"inputFields":[{"name":"name","description":"Name of the identity.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"identity_select_column","description":"select columns of table \"identity\"","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"confirmed_at","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"confirmed_on","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"name","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"pubkey","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"revoked_at","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"revoked_on","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"validated_at","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"validated_on","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"identity_set_input","description":"input type for updating data in table \"identity\"","fields":null,"inputFields":[{"name":"confirmed_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null},{"name":"confirmed_on","description":"Block number where identity was confirmed.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"name","description":"Name of the identity.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"pubkey","description":"Pubkey of the account associated to this identity.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"revoked_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null},{"name":"revoked_on","description":"Block number where identity was revoked.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"validated_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null},{"name":"validated_on","description":"Block number where identity was validated.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"identity_stddev_fields","description":"aggregate stddev on columns","fields":[{"name":"confirmed_on","description":"Block number where identity was confirmed.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"revoked_on","description":"Block number where identity was revoked.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"validated_on","description":"Block number where identity was validated.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"identity_stddev_pop_fields","description":"aggregate stddev_pop on columns","fields":[{"name":"confirmed_on","description":"Block number where identity was confirmed.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"revoked_on","description":"Block number where identity was revoked.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"validated_on","description":"Block number where identity was validated.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"identity_stddev_samp_fields","description":"aggregate stddev_samp on columns","fields":[{"name":"confirmed_on","description":"Block number where identity was confirmed.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"revoked_on","description":"Block number where identity was revoked.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"validated_on","description":"Block number where identity was validated.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"identity_stream_cursor_input","description":"Streaming cursor of the table \"identity\"","fields":null,"inputFields":[{"name":"initial_value","description":"Stream column input with initial value","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"identity_stream_cursor_value_input","ofType":null}},"defaultValue":null},{"name":"ordering","description":"cursor ordering","type":{"kind":"ENUM","name":"cursor_ordering","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"identity_stream_cursor_value_input","description":"Initial value of the column from where the streaming should start","fields":null,"inputFields":[{"name":"confirmed_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null},{"name":"confirmed_on","description":"Block number where identity was confirmed.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"name","description":"Name of the identity.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"pubkey","description":"Pubkey of the account associated to this identity.","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"revoked_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null},{"name":"revoked_on","description":"Block number where identity was revoked.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"validated_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null},{"name":"validated_on","description":"Block number where identity was validated.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"identity_sum_fields","description":"aggregate sum on columns","fields":[{"name":"confirmed_on","description":"Block number where identity was confirmed.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"revoked_on","description":"Block number where identity was revoked.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"validated_on","description":"Block number where identity was validated.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"identity_update_column","description":"update columns of table \"identity\"","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"confirmed_at","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"confirmed_on","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"name","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"pubkey","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"revoked_at","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"revoked_on","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"validated_at","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"validated_on","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"identity_updates","description":null,"fields":null,"inputFields":[{"name":"_inc","description":"increments the numeric columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"identity_inc_input","ofType":null},"defaultValue":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"identity_set_input","ofType":null},"defaultValue":null},{"name":"where","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"identity_bool_exp","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"identity_var_pop_fields","description":"aggregate var_pop on columns","fields":[{"name":"confirmed_on","description":"Block number where identity was confirmed.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"revoked_on","description":"Block number where identity was revoked.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"validated_on","description":"Block number where identity was validated.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"identity_var_samp_fields","description":"aggregate var_samp on columns","fields":[{"name":"confirmed_on","description":"Block number where identity was confirmed.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"revoked_on","description":"Block number where identity was revoked.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"validated_on","description":"Block number where identity was validated.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"identity_variance_fields","description":"aggregate variance on columns","fields":[{"name":"confirmed_on","description":"Block number where identity was confirmed.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"revoked_on","description":"Block number where identity was revoked.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"validated_on","description":"Block number where identity was validated.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"jsonb","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"jsonb_cast_exp","description":null,"fields":null,"inputFields":[{"name":"String","description":null,"type":{"kind":"INPUT_OBJECT","name":"String_comparison_exp","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"jsonb_comparison_exp","description":"Boolean expression to compare columns of type \"jsonb\". All fields are combined with logical 'AND'.","fields":null,"inputFields":[{"name":"_cast","description":null,"type":{"kind":"INPUT_OBJECT","name":"jsonb_cast_exp","ofType":null},"defaultValue":null},{"name":"_contained_in","description":"is the column contained in the given json value","type":{"kind":"SCALAR","name":"jsonb","ofType":null},"defaultValue":null},{"name":"_contains","description":"does the column contain the given json value at the top level","type":{"kind":"SCALAR","name":"jsonb","ofType":null},"defaultValue":null},{"name":"_eq","description":null,"type":{"kind":"SCALAR","name":"jsonb","ofType":null},"defaultValue":null},{"name":"_gt","description":null,"type":{"kind":"SCALAR","name":"jsonb","ofType":null},"defaultValue":null},{"name":"_gte","description":null,"type":{"kind":"SCALAR","name":"jsonb","ofType":null},"defaultValue":null},{"name":"_has_key","description":"does the string exist as a top-level key in the column","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"_has_keys_all","description":"do all of these strings exist as top-level keys in the column","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null},{"name":"_has_keys_any","description":"do any of these strings exist as top-level keys in the column","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null},{"name":"_in","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"jsonb","ofType":null}}},"defaultValue":null},{"name":"_is_null","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"_lt","description":null,"type":{"kind":"SCALAR","name":"jsonb","ofType":null},"defaultValue":null},{"name":"_lte","description":null,"type":{"kind":"SCALAR","name":"jsonb","ofType":null},"defaultValue":null},{"name":"_neq","description":null,"type":{"kind":"SCALAR","name":"jsonb","ofType":null},"defaultValue":null},{"name":"_nin","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"jsonb","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"mutation_root","description":"mutation root","fields":[{"name":"delete_account","description":"delete data from the table: \"account\"","args":[{"name":"where","description":"filter the rows which have to be deleted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"account_bool_exp","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"account_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_account_by_pk","description":"delete single row from the table: \"account\"","args":[{"name":"pubkey","description":"Pubkey of the account.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"account","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_block","description":"delete data from the table: \"block\"","args":[{"name":"where","description":"filter the rows which have to be deleted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"block_bool_exp","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"block_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_block_by_pk","description":"delete single row from the table: \"block\"","args":[{"name":"number","description":"Number of the block in substrate.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"block","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_certification","description":"delete data from the table: \"certification\"","args":[{"name":"where","description":"filter the rows which have to be deleted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"certification_bool_exp","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"certification_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_certification_by_pk","description":"delete single row from the table: \"certification\"","args":[{"name":"issuer_name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"receiver_name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"certification","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_identity","description":"delete data from the table: \"identity\"","args":[{"name":"where","description":"filter the rows which have to be deleted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"identity_bool_exp","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"identity_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_identity_by_pk","description":"delete single row from the table: \"identity\"","args":[{"name":"name","description":"Name of the identity.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"identity","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_parameters","description":"delete data from the table: \"parameters\"","args":[{"name":"where","description":"filter the rows which have to be deleted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"parameters_bool_exp","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"parameters_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_parameters_by_pk","description":"delete single row from the table: \"parameters\"","args":[{"name":"key","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"parameters","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_transaction","description":"delete data from the table: \"transaction\"","args":[{"name":"where","description":"filter the rows which have to be deleted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"transaction_bool_exp","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"transaction_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"delete_transaction_by_pk","description":"delete single row from the table: \"transaction\"","args":[{"name":"id","description":"Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"transaction","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_account","description":"insert data into the table: \"account\"","args":[{"name":"objects","description":"the rows to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"account_insert_input","ofType":null}}}},"defaultValue":null},{"name":"on_conflict","description":"upsert condition","type":{"kind":"INPUT_OBJECT","name":"account_on_conflict","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"account_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_account_one","description":"insert a single row into the table: \"account\"","args":[{"name":"object","description":"the row to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"account_insert_input","ofType":null}},"defaultValue":null},{"name":"on_conflict","description":"upsert condition","type":{"kind":"INPUT_OBJECT","name":"account_on_conflict","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"account","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_block","description":"insert data into the table: \"block\"","args":[{"name":"objects","description":"the rows to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"block_insert_input","ofType":null}}}},"defaultValue":null},{"name":"on_conflict","description":"upsert condition","type":{"kind":"INPUT_OBJECT","name":"block_on_conflict","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"block_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_block_one","description":"insert a single row into the table: \"block\"","args":[{"name":"object","description":"the row to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"block_insert_input","ofType":null}},"defaultValue":null},{"name":"on_conflict","description":"upsert condition","type":{"kind":"INPUT_OBJECT","name":"block_on_conflict","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"block","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_certification","description":"insert data into the table: \"certification\"","args":[{"name":"objects","description":"the rows to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"certification_insert_input","ofType":null}}}},"defaultValue":null},{"name":"on_conflict","description":"upsert condition","type":{"kind":"INPUT_OBJECT","name":"certification_on_conflict","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"certification_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_certification_one","description":"insert a single row into the table: \"certification\"","args":[{"name":"object","description":"the row to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"certification_insert_input","ofType":null}},"defaultValue":null},{"name":"on_conflict","description":"upsert condition","type":{"kind":"INPUT_OBJECT","name":"certification_on_conflict","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"certification","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_identity","description":"insert data into the table: \"identity\"","args":[{"name":"objects","description":"the rows to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"identity_insert_input","ofType":null}}}},"defaultValue":null},{"name":"on_conflict","description":"upsert condition","type":{"kind":"INPUT_OBJECT","name":"identity_on_conflict","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"identity_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_identity_one","description":"insert a single row into the table: \"identity\"","args":[{"name":"object","description":"the row to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"identity_insert_input","ofType":null}},"defaultValue":null},{"name":"on_conflict","description":"upsert condition","type":{"kind":"INPUT_OBJECT","name":"identity_on_conflict","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"identity","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_parameters","description":"insert data into the table: \"parameters\"","args":[{"name":"objects","description":"the rows to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"parameters_insert_input","ofType":null}}}},"defaultValue":null},{"name":"on_conflict","description":"upsert condition","type":{"kind":"INPUT_OBJECT","name":"parameters_on_conflict","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"parameters_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_parameters_one","description":"insert a single row into the table: \"parameters\"","args":[{"name":"object","description":"the row to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"parameters_insert_input","ofType":null}},"defaultValue":null},{"name":"on_conflict","description":"upsert condition","type":{"kind":"INPUT_OBJECT","name":"parameters_on_conflict","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"parameters","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_transaction","description":"insert data into the table: \"transaction\"","args":[{"name":"objects","description":"the rows to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"transaction_insert_input","ofType":null}}}},"defaultValue":null},{"name":"on_conflict","description":"upsert condition","type":{"kind":"INPUT_OBJECT","name":"transaction_on_conflict","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"transaction_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"insert_transaction_one","description":"insert a single row into the table: \"transaction\"","args":[{"name":"object","description":"the row to be inserted","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"transaction_insert_input","ofType":null}},"defaultValue":null},{"name":"on_conflict","description":"upsert condition","type":{"kind":"INPUT_OBJECT","name":"transaction_on_conflict","ofType":null},"defaultValue":null}],"type":{"kind":"OBJECT","name":"transaction","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_account","description":"update data of the table: \"account\"","args":[{"name":"_inc","description":"increments the numeric columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"account_inc_input","ofType":null},"defaultValue":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"account_set_input","ofType":null},"defaultValue":null},{"name":"where","description":"filter the rows which have to be updated","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"account_bool_exp","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"account_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_account_by_pk","description":"update single row of the table: \"account\"","args":[{"name":"_inc","description":"increments the numeric columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"account_inc_input","ofType":null},"defaultValue":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"account_set_input","ofType":null},"defaultValue":null},{"name":"pk_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"account_pk_columns_input","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"account","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_account_many","description":"update multiples rows of table: \"account\"","args":[{"name":"updates","description":"updates to execute, in order","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"account_updates","ofType":null}}}},"defaultValue":null}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"OBJECT","name":"account_mutation_response","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"update_block","description":"update data of the table: \"block\"","args":[{"name":"_append","description":"append existing jsonb value of filtered columns with new jsonb value","type":{"kind":"INPUT_OBJECT","name":"block_append_input","ofType":null},"defaultValue":null},{"name":"_delete_at_path","description":"delete the field or element with specified path (for JSON arrays, negative integers count from the end)","type":{"kind":"INPUT_OBJECT","name":"block_delete_at_path_input","ofType":null},"defaultValue":null},{"name":"_delete_elem","description":"delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array","type":{"kind":"INPUT_OBJECT","name":"block_delete_elem_input","ofType":null},"defaultValue":null},{"name":"_delete_key","description":"delete key/value pair or string element. key/value pairs are matched based on their key value","type":{"kind":"INPUT_OBJECT","name":"block_delete_key_input","ofType":null},"defaultValue":null},{"name":"_inc","description":"increments the numeric columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"block_inc_input","ofType":null},"defaultValue":null},{"name":"_prepend","description":"prepend existing jsonb value of filtered columns with new jsonb value","type":{"kind":"INPUT_OBJECT","name":"block_prepend_input","ofType":null},"defaultValue":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"block_set_input","ofType":null},"defaultValue":null},{"name":"where","description":"filter the rows which have to be updated","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"block_bool_exp","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"block_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_block_by_pk","description":"update single row of the table: \"block\"","args":[{"name":"_append","description":"append existing jsonb value of filtered columns with new jsonb value","type":{"kind":"INPUT_OBJECT","name":"block_append_input","ofType":null},"defaultValue":null},{"name":"_delete_at_path","description":"delete the field or element with specified path (for JSON arrays, negative integers count from the end)","type":{"kind":"INPUT_OBJECT","name":"block_delete_at_path_input","ofType":null},"defaultValue":null},{"name":"_delete_elem","description":"delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array","type":{"kind":"INPUT_OBJECT","name":"block_delete_elem_input","ofType":null},"defaultValue":null},{"name":"_delete_key","description":"delete key/value pair or string element. key/value pairs are matched based on their key value","type":{"kind":"INPUT_OBJECT","name":"block_delete_key_input","ofType":null},"defaultValue":null},{"name":"_inc","description":"increments the numeric columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"block_inc_input","ofType":null},"defaultValue":null},{"name":"_prepend","description":"prepend existing jsonb value of filtered columns with new jsonb value","type":{"kind":"INPUT_OBJECT","name":"block_prepend_input","ofType":null},"defaultValue":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"block_set_input","ofType":null},"defaultValue":null},{"name":"pk_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"block_pk_columns_input","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"block","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_block_many","description":"update multiples rows of table: \"block\"","args":[{"name":"updates","description":"updates to execute, in order","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"block_updates","ofType":null}}}},"defaultValue":null}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"OBJECT","name":"block_mutation_response","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"update_certification","description":"update data of the table: \"certification\"","args":[{"name":"_inc","description":"increments the numeric columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"certification_inc_input","ofType":null},"defaultValue":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"certification_set_input","ofType":null},"defaultValue":null},{"name":"where","description":"filter the rows which have to be updated","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"certification_bool_exp","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"certification_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_certification_by_pk","description":"update single row of the table: \"certification\"","args":[{"name":"_inc","description":"increments the numeric columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"certification_inc_input","ofType":null},"defaultValue":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"certification_set_input","ofType":null},"defaultValue":null},{"name":"pk_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"certification_pk_columns_input","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"certification","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_certification_many","description":"update multiples rows of table: \"certification\"","args":[{"name":"updates","description":"updates to execute, in order","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"certification_updates","ofType":null}}}},"defaultValue":null}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"OBJECT","name":"certification_mutation_response","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"update_identity","description":"update data of the table: \"identity\"","args":[{"name":"_inc","description":"increments the numeric columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"identity_inc_input","ofType":null},"defaultValue":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"identity_set_input","ofType":null},"defaultValue":null},{"name":"where","description":"filter the rows which have to be updated","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"identity_bool_exp","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"identity_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_identity_by_pk","description":"update single row of the table: \"identity\"","args":[{"name":"_inc","description":"increments the numeric columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"identity_inc_input","ofType":null},"defaultValue":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"identity_set_input","ofType":null},"defaultValue":null},{"name":"pk_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"identity_pk_columns_input","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"identity","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_identity_many","description":"update multiples rows of table: \"identity\"","args":[{"name":"updates","description":"updates to execute, in order","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"identity_updates","ofType":null}}}},"defaultValue":null}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"OBJECT","name":"identity_mutation_response","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"update_parameters","description":"update data of the table: \"parameters\"","args":[{"name":"_append","description":"append existing jsonb value of filtered columns with new jsonb value","type":{"kind":"INPUT_OBJECT","name":"parameters_append_input","ofType":null},"defaultValue":null},{"name":"_delete_at_path","description":"delete the field or element with specified path (for JSON arrays, negative integers count from the end)","type":{"kind":"INPUT_OBJECT","name":"parameters_delete_at_path_input","ofType":null},"defaultValue":null},{"name":"_delete_elem","description":"delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array","type":{"kind":"INPUT_OBJECT","name":"parameters_delete_elem_input","ofType":null},"defaultValue":null},{"name":"_delete_key","description":"delete key/value pair or string element. key/value pairs are matched based on their key value","type":{"kind":"INPUT_OBJECT","name":"parameters_delete_key_input","ofType":null},"defaultValue":null},{"name":"_prepend","description":"prepend existing jsonb value of filtered columns with new jsonb value","type":{"kind":"INPUT_OBJECT","name":"parameters_prepend_input","ofType":null},"defaultValue":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"parameters_set_input","ofType":null},"defaultValue":null},{"name":"where","description":"filter the rows which have to be updated","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"parameters_bool_exp","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"parameters_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_parameters_by_pk","description":"update single row of the table: \"parameters\"","args":[{"name":"_append","description":"append existing jsonb value of filtered columns with new jsonb value","type":{"kind":"INPUT_OBJECT","name":"parameters_append_input","ofType":null},"defaultValue":null},{"name":"_delete_at_path","description":"delete the field or element with specified path (for JSON arrays, negative integers count from the end)","type":{"kind":"INPUT_OBJECT","name":"parameters_delete_at_path_input","ofType":null},"defaultValue":null},{"name":"_delete_elem","description":"delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array","type":{"kind":"INPUT_OBJECT","name":"parameters_delete_elem_input","ofType":null},"defaultValue":null},{"name":"_delete_key","description":"delete key/value pair or string element. key/value pairs are matched based on their key value","type":{"kind":"INPUT_OBJECT","name":"parameters_delete_key_input","ofType":null},"defaultValue":null},{"name":"_prepend","description":"prepend existing jsonb value of filtered columns with new jsonb value","type":{"kind":"INPUT_OBJECT","name":"parameters_prepend_input","ofType":null},"defaultValue":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"parameters_set_input","ofType":null},"defaultValue":null},{"name":"pk_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"parameters_pk_columns_input","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"parameters","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_parameters_many","description":"update multiples rows of table: \"parameters\"","args":[{"name":"updates","description":"updates to execute, in order","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"parameters_updates","ofType":null}}}},"defaultValue":null}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"OBJECT","name":"parameters_mutation_response","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"update_transaction","description":"update data of the table: \"transaction\"","args":[{"name":"_inc","description":"increments the numeric columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"transaction_inc_input","ofType":null},"defaultValue":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"transaction_set_input","ofType":null},"defaultValue":null},{"name":"where","description":"filter the rows which have to be updated","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"transaction_bool_exp","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"transaction_mutation_response","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_transaction_by_pk","description":"update single row of the table: \"transaction\"","args":[{"name":"_inc","description":"increments the numeric columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"transaction_inc_input","ofType":null},"defaultValue":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"transaction_set_input","ofType":null},"defaultValue":null},{"name":"pk_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"transaction_pk_columns_input","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"transaction","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"update_transaction_many","description":"update multiples rows of table: \"transaction\"","args":[{"name":"updates","description":"updates to execute, in order","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"transaction_updates","ofType":null}}}},"defaultValue":null}],"type":{"kind":"LIST","name":null,"ofType":{"kind":"OBJECT","name":"transaction_mutation_response","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"order_by","description":"column ordering options","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"asc","description":"in ascending order, nulls last","isDeprecated":false,"deprecationReason":null},{"name":"asc_nulls_first","description":"in ascending order, nulls first","isDeprecated":false,"deprecationReason":null},{"name":"asc_nulls_last","description":"in ascending order, nulls last","isDeprecated":false,"deprecationReason":null},{"name":"desc","description":"in descending order, nulls first","isDeprecated":false,"deprecationReason":null},{"name":"desc_nulls_first","description":"in descending order, nulls first","isDeprecated":false,"deprecationReason":null},{"name":"desc_nulls_last","description":"in descending order, nulls last","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"OBJECT","name":"parameters","description":"Table of key/value parameters.","fields":[{"name":"key","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"value","description":null,"args":[{"name":"path","description":"JSON select path","type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"type":{"kind":"SCALAR","name":"jsonb","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"parameters_aggregate","description":"aggregated selection of \"parameters\"","fields":[{"name":"aggregate","description":null,"args":[],"type":{"kind":"OBJECT","name":"parameters_aggregate_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"parameters","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"parameters_aggregate_fields","description":"aggregate fields of \"parameters\"","fields":[{"name":"count","description":null,"args":[{"name":"columns","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"parameters_select_column","ofType":null}}},"defaultValue":null},{"name":"distinct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"OBJECT","name":"parameters_max_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"OBJECT","name":"parameters_min_fields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"parameters_append_input","description":"append existing jsonb value of filtered columns with new jsonb value","fields":null,"inputFields":[{"name":"value","description":null,"type":{"kind":"SCALAR","name":"jsonb","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"parameters_bool_exp","description":"Boolean expression to filter rows from the table \"parameters\". All fields are combined with a logical 'AND'.","fields":null,"inputFields":[{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"parameters_bool_exp","ofType":null}}},"defaultValue":null},{"name":"_not","description":null,"type":{"kind":"INPUT_OBJECT","name":"parameters_bool_exp","ofType":null},"defaultValue":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"parameters_bool_exp","ofType":null}}},"defaultValue":null},{"name":"key","description":null,"type":{"kind":"INPUT_OBJECT","name":"String_comparison_exp","ofType":null},"defaultValue":null},{"name":"value","description":null,"type":{"kind":"INPUT_OBJECT","name":"jsonb_comparison_exp","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"parameters_constraint","description":"unique or primary key constraints on table \"parameters\"","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"parameters_pkey","description":"unique or primary key constraint on columns \"key\"","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"parameters_delete_at_path_input","description":"delete the field or element with specified path (for JSON arrays, negative integers count from the end)","fields":null,"inputFields":[{"name":"value","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"parameters_delete_elem_input","description":"delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array","fields":null,"inputFields":[{"name":"value","description":null,"type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"parameters_delete_key_input","description":"delete key/value pair or string element. key/value pairs are matched based on their key value","fields":null,"inputFields":[{"name":"value","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"parameters_insert_input","description":"input type for inserting data into table \"parameters\"","fields":null,"inputFields":[{"name":"key","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"value","description":null,"type":{"kind":"SCALAR","name":"jsonb","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"parameters_max_fields","description":"aggregate max on columns","fields":[{"name":"key","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"parameters_min_fields","description":"aggregate min on columns","fields":[{"name":"key","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"parameters_mutation_response","description":"response of any mutation on the table \"parameters\"","fields":[{"name":"affected_rows","description":"number of rows affected by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"returning","description":"data from the rows affected by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"parameters","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"parameters_on_conflict","description":"on_conflict condition type for table \"parameters\"","fields":null,"inputFields":[{"name":"constraint","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"parameters_constraint","ofType":null}},"defaultValue":null},{"name":"update_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"parameters_update_column","ofType":null}}}},"defaultValue":"[]"},{"name":"where","description":null,"type":{"kind":"INPUT_OBJECT","name":"parameters_bool_exp","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"parameters_order_by","description":"Ordering options when selecting data from \"parameters\".","fields":null,"inputFields":[{"name":"key","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"value","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"parameters_pk_columns_input","description":"primary key columns input for table: parameters","fields":null,"inputFields":[{"name":"key","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"parameters_prepend_input","description":"prepend existing jsonb value of filtered columns with new jsonb value","fields":null,"inputFields":[{"name":"value","description":null,"type":{"kind":"SCALAR","name":"jsonb","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"parameters_select_column","description":"select columns of table \"parameters\"","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"key","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"value","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"parameters_set_input","description":"input type for updating data in table \"parameters\"","fields":null,"inputFields":[{"name":"key","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"value","description":null,"type":{"kind":"SCALAR","name":"jsonb","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"parameters_stream_cursor_input","description":"Streaming cursor of the table \"parameters\"","fields":null,"inputFields":[{"name":"initial_value","description":"Stream column input with initial value","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"parameters_stream_cursor_value_input","ofType":null}},"defaultValue":null},{"name":"ordering","description":"cursor ordering","type":{"kind":"ENUM","name":"cursor_ordering","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"parameters_stream_cursor_value_input","description":"Initial value of the column from where the streaming should start","fields":null,"inputFields":[{"name":"key","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"value","description":null,"type":{"kind":"SCALAR","name":"jsonb","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"parameters_update_column","description":"update columns of table \"parameters\"","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"key","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"value","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"parameters_updates","description":null,"fields":null,"inputFields":[{"name":"_append","description":"append existing jsonb value of filtered columns with new jsonb value","type":{"kind":"INPUT_OBJECT","name":"parameters_append_input","ofType":null},"defaultValue":null},{"name":"_delete_at_path","description":"delete the field or element with specified path (for JSON arrays, negative integers count from the end)","type":{"kind":"INPUT_OBJECT","name":"parameters_delete_at_path_input","ofType":null},"defaultValue":null},{"name":"_delete_elem","description":"delete the array element with specified index (negative integers count from the end). throws an error if top level container is not an array","type":{"kind":"INPUT_OBJECT","name":"parameters_delete_elem_input","ofType":null},"defaultValue":null},{"name":"_delete_key","description":"delete key/value pair or string element. key/value pairs are matched based on their key value","type":{"kind":"INPUT_OBJECT","name":"parameters_delete_key_input","ofType":null},"defaultValue":null},{"name":"_prepend","description":"prepend existing jsonb value of filtered columns with new jsonb value","type":{"kind":"INPUT_OBJECT","name":"parameters_prepend_input","ofType":null},"defaultValue":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"parameters_set_input","ofType":null},"defaultValue":null},{"name":"where","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"parameters_bool_exp","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"query_root","description":null,"fields":[{"name":"account","description":"fetch data from the table: \"account\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"account_select_column","ofType":null}}},"defaultValue":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"account_order_by","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"account_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"account","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"account_aggregate","description":"fetch aggregated fields from the table: \"account\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"account_select_column","ofType":null}}},"defaultValue":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"account_order_by","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"account_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"account_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"account_by_pk","description":"fetch data from the table: \"account\" using primary key columns","args":[{"name":"pubkey","description":"Pubkey of the account.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"account","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"block","description":"fetch data from the table: \"block\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"block_select_column","ofType":null}}},"defaultValue":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"block_order_by","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"block_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"block","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"block_aggregate","description":"fetch aggregated fields from the table: \"block\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"block_select_column","ofType":null}}},"defaultValue":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"block_order_by","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"block_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"block_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"block_by_pk","description":"fetch data from the table: \"block\" using primary key columns","args":[{"name":"number","description":"Number of the block in substrate.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"block","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"certification","description":"fetch data from the table: \"certification\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"certification_select_column","ofType":null}}},"defaultValue":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"certification_order_by","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"certification_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"certification","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"certification_aggregate","description":"fetch aggregated fields from the table: \"certification\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"certification_select_column","ofType":null}}},"defaultValue":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"certification_order_by","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"certification_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"certification_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"certification_by_pk","description":"fetch data from the table: \"certification\" using primary key columns","args":[{"name":"issuer_name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"receiver_name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"certification","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"identity","description":"fetch data from the table: \"identity\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"identity_select_column","ofType":null}}},"defaultValue":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"identity_order_by","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"identity_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"identity","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"identity_aggregate","description":"fetch aggregated fields from the table: \"identity\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"identity_select_column","ofType":null}}},"defaultValue":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"identity_order_by","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"identity_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"identity_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"identity_by_pk","description":"fetch data from the table: \"identity\" using primary key columns","args":[{"name":"name","description":"Name of the identity.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"identity","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"parameters","description":"fetch data from the table: \"parameters\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"parameters_select_column","ofType":null}}},"defaultValue":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"parameters_order_by","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"parameters_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"parameters","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"parameters_aggregate","description":"fetch aggregated fields from the table: \"parameters\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"parameters_select_column","ofType":null}}},"defaultValue":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"parameters_order_by","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"parameters_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"parameters_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"parameters_by_pk","description":"fetch data from the table: \"parameters\" using primary key columns","args":[{"name":"key","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"parameters","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"search_identity","description":"execute function \"search_identity\" which returns \"identity\"","args":[{"name":"args","description":"input parameters for function \"search_identity\"","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"search_identity_args","ofType":null}},"defaultValue":null},{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"identity_select_column","ofType":null}}},"defaultValue":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"identity_order_by","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"identity_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"identity","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"search_identity_aggregate","description":"execute function \"search_identity\" and query aggregates on result of table type \"identity\"","args":[{"name":"args","description":"input parameters for function \"search_identity_aggregate\"","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"search_identity_args","ofType":null}},"defaultValue":null},{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"identity_select_column","ofType":null}}},"defaultValue":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"identity_order_by","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"identity_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"identity_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"transaction","description":"fetch data from the table: \"transaction\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"transaction_select_column","ofType":null}}},"defaultValue":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"transaction_order_by","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"transaction_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"transaction","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"transaction_aggregate","description":"fetch aggregated fields from the table: \"transaction\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"transaction_select_column","ofType":null}}},"defaultValue":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"transaction_order_by","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"transaction_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"transaction_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"transaction_by_pk","description":"fetch data from the table: \"transaction\" using primary key columns","args":[{"name":"id","description":"Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"transaction","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"search_identity_args","description":null,"fields":null,"inputFields":[{"name":"name","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"subscription_root","description":null,"fields":[{"name":"account","description":"fetch data from the table: \"account\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"account_select_column","ofType":null}}},"defaultValue":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"account_order_by","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"account_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"account","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"account_aggregate","description":"fetch aggregated fields from the table: \"account\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"account_select_column","ofType":null}}},"defaultValue":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"account_order_by","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"account_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"account_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"account_by_pk","description":"fetch data from the table: \"account\" using primary key columns","args":[{"name":"pubkey","description":"Pubkey of the account.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"account","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"account_stream","description":"fetch data from the table in a streaming manner: \"account\"","args":[{"name":"batch_size","description":"maximum number of rows returned in a single batch","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null},{"name":"cursor","description":"cursor to stream the results returned by the query","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"account_stream_cursor_input","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"account_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"account","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"block","description":"fetch data from the table: \"block\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"block_select_column","ofType":null}}},"defaultValue":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"block_order_by","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"block_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"block","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"block_aggregate","description":"fetch aggregated fields from the table: \"block\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"block_select_column","ofType":null}}},"defaultValue":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"block_order_by","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"block_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"block_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"block_by_pk","description":"fetch data from the table: \"block\" using primary key columns","args":[{"name":"number","description":"Number of the block in substrate.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"block","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"block_stream","description":"fetch data from the table in a streaming manner: \"block\"","args":[{"name":"batch_size","description":"maximum number of rows returned in a single batch","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null},{"name":"cursor","description":"cursor to stream the results returned by the query","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"block_stream_cursor_input","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"block_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"block","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"certification","description":"fetch data from the table: \"certification\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"certification_select_column","ofType":null}}},"defaultValue":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"certification_order_by","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"certification_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"certification","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"certification_aggregate","description":"fetch aggregated fields from the table: \"certification\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"certification_select_column","ofType":null}}},"defaultValue":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"certification_order_by","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"certification_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"certification_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"certification_by_pk","description":"fetch data from the table: \"certification\" using primary key columns","args":[{"name":"issuer_name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null},{"name":"receiver_name","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"certification","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"certification_stream","description":"fetch data from the table in a streaming manner: \"certification\"","args":[{"name":"batch_size","description":"maximum number of rows returned in a single batch","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null},{"name":"cursor","description":"cursor to stream the results returned by the query","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"certification_stream_cursor_input","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"certification_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"certification","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"identity","description":"fetch data from the table: \"identity\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"identity_select_column","ofType":null}}},"defaultValue":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"identity_order_by","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"identity_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"identity","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"identity_aggregate","description":"fetch aggregated fields from the table: \"identity\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"identity_select_column","ofType":null}}},"defaultValue":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"identity_order_by","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"identity_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"identity_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"identity_by_pk","description":"fetch data from the table: \"identity\" using primary key columns","args":[{"name":"name","description":"Name of the identity.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"identity","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"identity_stream","description":"fetch data from the table in a streaming manner: \"identity\"","args":[{"name":"batch_size","description":"maximum number of rows returned in a single batch","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null},{"name":"cursor","description":"cursor to stream the results returned by the query","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"identity_stream_cursor_input","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"identity_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"identity","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"parameters","description":"fetch data from the table: \"parameters\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"parameters_select_column","ofType":null}}},"defaultValue":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"parameters_order_by","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"parameters_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"parameters","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"parameters_aggregate","description":"fetch aggregated fields from the table: \"parameters\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"parameters_select_column","ofType":null}}},"defaultValue":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"parameters_order_by","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"parameters_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"parameters_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"parameters_by_pk","description":"fetch data from the table: \"parameters\" using primary key columns","args":[{"name":"key","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"parameters","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"parameters_stream","description":"fetch data from the table in a streaming manner: \"parameters\"","args":[{"name":"batch_size","description":"maximum number of rows returned in a single batch","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null},{"name":"cursor","description":"cursor to stream the results returned by the query","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"parameters_stream_cursor_input","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"parameters_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"parameters","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"search_identity","description":"execute function \"search_identity\" which returns \"identity\"","args":[{"name":"args","description":"input parameters for function \"search_identity\"","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"search_identity_args","ofType":null}},"defaultValue":null},{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"identity_select_column","ofType":null}}},"defaultValue":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"identity_order_by","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"identity_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"identity","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"search_identity_aggregate","description":"execute function \"search_identity\" and query aggregates on result of table type \"identity\"","args":[{"name":"args","description":"input parameters for function \"search_identity_aggregate\"","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"search_identity_args","ofType":null}},"defaultValue":null},{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"identity_select_column","ofType":null}}},"defaultValue":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"identity_order_by","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"identity_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"identity_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"transaction","description":"fetch data from the table: \"transaction\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"transaction_select_column","ofType":null}}},"defaultValue":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"transaction_order_by","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"transaction_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"transaction","ofType":null}}}},"isDeprecated":false,"deprecationReason":null},{"name":"transaction_aggregate","description":"fetch aggregated fields from the table: \"transaction\"","args":[{"name":"distinct_on","description":"distinct select on columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"transaction_select_column","ofType":null}}},"defaultValue":null},{"name":"limit","description":"limit the number of rows returned","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"offset","description":"skip the first n rows. Use only with order_by","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"order_by","description":"sort the rows by one or more columns","type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"transaction_order_by","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"transaction_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"transaction_aggregate","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"transaction_by_pk","description":"fetch data from the table: \"transaction\" using primary key columns","args":[{"name":"id","description":"Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null}],"type":{"kind":"OBJECT","name":"transaction","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"transaction_stream","description":"fetch data from the table in a streaming manner: \"transaction\"","args":[{"name":"batch_size","description":"maximum number of rows returned in a single batch","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null},{"name":"cursor","description":"cursor to stream the results returned by the query","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"transaction_stream_cursor_input","ofType":null}}},"defaultValue":null},{"name":"where","description":"filter the rows returned","type":{"kind":"INPUT_OBJECT","name":"transaction_bool_exp","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"transaction","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"timestamp","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"timestamp_comparison_exp","description":"Boolean expression to compare columns of type \"timestamp\". All fields are combined with logical 'AND'.","fields":null,"inputFields":[{"name":"_eq","description":null,"type":{"kind":"SCALAR","name":"timestamp","ofType":null},"defaultValue":null},{"name":"_gt","description":null,"type":{"kind":"SCALAR","name":"timestamp","ofType":null},"defaultValue":null},{"name":"_gte","description":null,"type":{"kind":"SCALAR","name":"timestamp","ofType":null},"defaultValue":null},{"name":"_in","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamp","ofType":null}}},"defaultValue":null},{"name":"_is_null","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"_lt","description":null,"type":{"kind":"SCALAR","name":"timestamp","ofType":null},"defaultValue":null},{"name":"_lte","description":null,"type":{"kind":"SCALAR","name":"timestamp","ofType":null},"defaultValue":null},{"name":"_neq","description":null,"type":{"kind":"SCALAR","name":"timestamp","ofType":null},"defaultValue":null},{"name":"_nin","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamp","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"SCALAR","name":"timestamptz","description":null,"fields":null,"inputFields":null,"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","description":"Boolean expression to compare columns of type \"timestamptz\". All fields are combined with logical 'AND'.","fields":null,"inputFields":[{"name":"_eq","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null},{"name":"_gt","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null},{"name":"_gte","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null},{"name":"_in","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}}},"defaultValue":null},{"name":"_is_null","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"_lt","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null},{"name":"_lte","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null},{"name":"_neq","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null},{"name":"_nin","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"transaction","description":"Table of transactions.","fields":[{"name":"amount","description":"Amount of the transaction. 100 units = 1 Ğ1.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Float","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"comment","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"created_at","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"timestamptz","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"created_on","description":"Block number where transaction was created.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"created_on_block","description":"An object relationship","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"block","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate.","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"issuer","description":"An object relationship","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"account","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"issuer_pubkey","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"receiver","description":"An object relationship","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"account","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"receiver_pubkey","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"String","ofType":null}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"transaction_aggregate","description":"aggregated selection of \"transaction\"","fields":[{"name":"aggregate","description":null,"args":[],"type":{"kind":"OBJECT","name":"transaction_aggregate_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"nodes","description":null,"args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"transaction","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"transaction_aggregate_bool_exp","description":null,"fields":null,"inputFields":[{"name":"count","description":null,"type":{"kind":"INPUT_OBJECT","name":"transaction_aggregate_bool_exp_count","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"transaction_aggregate_bool_exp_count","description":null,"fields":null,"inputFields":[{"name":"arguments","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"transaction_select_column","ofType":null}}},"defaultValue":null},{"name":"distinct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null},{"name":"filter","description":null,"type":{"kind":"INPUT_OBJECT","name":"transaction_bool_exp","ofType":null},"defaultValue":null},{"name":"predicate","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"transaction_aggregate_fields","description":"aggregate fields of \"transaction\"","fields":[{"name":"avg","description":null,"args":[],"type":{"kind":"OBJECT","name":"transaction_avg_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"count","description":null,"args":[{"name":"columns","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"transaction_select_column","ofType":null}}},"defaultValue":null},{"name":"distinct","description":null,"type":{"kind":"SCALAR","name":"Boolean","ofType":null},"defaultValue":null}],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"max","description":null,"args":[],"type":{"kind":"OBJECT","name":"transaction_max_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"min","description":null,"args":[],"type":{"kind":"OBJECT","name":"transaction_min_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev","description":null,"args":[],"type":{"kind":"OBJECT","name":"transaction_stddev_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"transaction_stddev_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"stddev_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"transaction_stddev_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"sum","description":null,"args":[],"type":{"kind":"OBJECT","name":"transaction_sum_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_pop","description":null,"args":[],"type":{"kind":"OBJECT","name":"transaction_var_pop_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"var_samp","description":null,"args":[],"type":{"kind":"OBJECT","name":"transaction_var_samp_fields","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"variance","description":null,"args":[],"type":{"kind":"OBJECT","name":"transaction_variance_fields","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"transaction_aggregate_order_by","description":"order by aggregate values of table \"transaction\"","fields":null,"inputFields":[{"name":"avg","description":null,"type":{"kind":"INPUT_OBJECT","name":"transaction_avg_order_by","ofType":null},"defaultValue":null},{"name":"count","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"max","description":null,"type":{"kind":"INPUT_OBJECT","name":"transaction_max_order_by","ofType":null},"defaultValue":null},{"name":"min","description":null,"type":{"kind":"INPUT_OBJECT","name":"transaction_min_order_by","ofType":null},"defaultValue":null},{"name":"stddev","description":null,"type":{"kind":"INPUT_OBJECT","name":"transaction_stddev_order_by","ofType":null},"defaultValue":null},{"name":"stddev_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"transaction_stddev_pop_order_by","ofType":null},"defaultValue":null},{"name":"stddev_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"transaction_stddev_samp_order_by","ofType":null},"defaultValue":null},{"name":"sum","description":null,"type":{"kind":"INPUT_OBJECT","name":"transaction_sum_order_by","ofType":null},"defaultValue":null},{"name":"var_pop","description":null,"type":{"kind":"INPUT_OBJECT","name":"transaction_var_pop_order_by","ofType":null},"defaultValue":null},{"name":"var_samp","description":null,"type":{"kind":"INPUT_OBJECT","name":"transaction_var_samp_order_by","ofType":null},"defaultValue":null},{"name":"variance","description":null,"type":{"kind":"INPUT_OBJECT","name":"transaction_variance_order_by","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"transaction_arr_rel_insert_input","description":"input type for inserting array relation for remote table \"transaction\"","fields":null,"inputFields":[{"name":"data","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"transaction_insert_input","ofType":null}}}},"defaultValue":null},{"name":"on_conflict","description":"upsert condition","type":{"kind":"INPUT_OBJECT","name":"transaction_on_conflict","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"transaction_avg_fields","description":"aggregate avg on columns","fields":[{"name":"amount","description":"Amount of the transaction. 100 units = 1 Ğ1.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"created_on","description":"Block number where transaction was created.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"transaction_avg_order_by","description":"order by avg() on columns of table \"transaction\"","fields":null,"inputFields":[{"name":"amount","description":"Amount of the transaction. 100 units = 1 Ğ1.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"created_on","description":"Block number where transaction was created.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"id","description":"Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"transaction_bool_exp","description":"Boolean expression to filter rows from the table \"transaction\". All fields are combined with a logical 'AND'.","fields":null,"inputFields":[{"name":"_and","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"transaction_bool_exp","ofType":null}}},"defaultValue":null},{"name":"_not","description":null,"type":{"kind":"INPUT_OBJECT","name":"transaction_bool_exp","ofType":null},"defaultValue":null},{"name":"_or","description":null,"type":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"transaction_bool_exp","ofType":null}}},"defaultValue":null},{"name":"amount","description":null,"type":{"kind":"INPUT_OBJECT","name":"Float_comparison_exp","ofType":null},"defaultValue":null},{"name":"comment","description":null,"type":{"kind":"INPUT_OBJECT","name":"String_comparison_exp","ofType":null},"defaultValue":null},{"name":"created_at","description":null,"type":{"kind":"INPUT_OBJECT","name":"timestamptz_comparison_exp","ofType":null},"defaultValue":null},{"name":"created_on","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null},{"name":"created_on_block","description":null,"type":{"kind":"INPUT_OBJECT","name":"block_bool_exp","ofType":null},"defaultValue":null},{"name":"id","description":null,"type":{"kind":"INPUT_OBJECT","name":"Int_comparison_exp","ofType":null},"defaultValue":null},{"name":"issuer","description":null,"type":{"kind":"INPUT_OBJECT","name":"account_bool_exp","ofType":null},"defaultValue":null},{"name":"issuer_pubkey","description":null,"type":{"kind":"INPUT_OBJECT","name":"String_comparison_exp","ofType":null},"defaultValue":null},{"name":"receiver","description":null,"type":{"kind":"INPUT_OBJECT","name":"account_bool_exp","ofType":null},"defaultValue":null},{"name":"receiver_pubkey","description":null,"type":{"kind":"INPUT_OBJECT","name":"String_comparison_exp","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"transaction_constraint","description":"unique or primary key constraints on table \"transaction\"","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"transaction_pkey","description":"unique or primary key constraint on columns \"id\"","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"transaction_inc_input","description":"input type for incrementing numeric columns in table \"transaction\"","fields":null,"inputFields":[{"name":"amount","description":"Amount of the transaction. 100 units = 1 Ğ1.","type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"created_on","description":"Block number where transaction was created.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"id","description":"Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"transaction_insert_input","description":"input type for inserting data into table \"transaction\"","fields":null,"inputFields":[{"name":"amount","description":"Amount of the transaction. 100 units = 1 Ğ1.","type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"comment","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"created_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null},{"name":"created_on","description":"Block number where transaction was created.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"created_on_block","description":null,"type":{"kind":"INPUT_OBJECT","name":"block_obj_rel_insert_input","ofType":null},"defaultValue":null},{"name":"id","description":"Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"issuer","description":null,"type":{"kind":"INPUT_OBJECT","name":"account_obj_rel_insert_input","ofType":null},"defaultValue":null},{"name":"issuer_pubkey","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"receiver","description":null,"type":{"kind":"INPUT_OBJECT","name":"account_obj_rel_insert_input","ofType":null},"defaultValue":null},{"name":"receiver_pubkey","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"transaction_max_fields","description":"aggregate max on columns","fields":[{"name":"amount","description":"Amount of the transaction. 100 units = 1 Ğ1.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"comment","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"created_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"created_on","description":"Block number where transaction was created.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"issuer_pubkey","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"receiver_pubkey","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"transaction_max_order_by","description":"order by max() on columns of table \"transaction\"","fields":null,"inputFields":[{"name":"amount","description":"Amount of the transaction. 100 units = 1 Ğ1.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"comment","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"created_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"created_on","description":"Block number where transaction was created.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"id","description":"Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"issuer_pubkey","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"receiver_pubkey","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"transaction_min_fields","description":"aggregate min on columns","fields":[{"name":"amount","description":"Amount of the transaction. 100 units = 1 Ğ1.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"comment","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"created_at","description":null,"args":[],"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"created_on","description":"Block number where transaction was created.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"issuer_pubkey","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"receiver_pubkey","description":null,"args":[],"type":{"kind":"SCALAR","name":"String","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"transaction_min_order_by","description":"order by min() on columns of table \"transaction\"","fields":null,"inputFields":[{"name":"amount","description":"Amount of the transaction. 100 units = 1 Ğ1.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"comment","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"created_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"created_on","description":"Block number where transaction was created.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"id","description":"Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"issuer_pubkey","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"receiver_pubkey","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"transaction_mutation_response","description":"response of any mutation on the table \"transaction\"","fields":[{"name":"affected_rows","description":"number of rows affected by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"isDeprecated":false,"deprecationReason":null},{"name":"returning","description":"data from the rows affected by the mutation","args":[],"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"OBJECT","name":"transaction","ofType":null}}}},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"transaction_on_conflict","description":"on_conflict condition type for table \"transaction\"","fields":null,"inputFields":[{"name":"constraint","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"transaction_constraint","ofType":null}},"defaultValue":null},{"name":"update_columns","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"LIST","name":null,"ofType":{"kind":"NON_NULL","name":null,"ofType":{"kind":"ENUM","name":"transaction_update_column","ofType":null}}}},"defaultValue":"[]"},{"name":"where","description":null,"type":{"kind":"INPUT_OBJECT","name":"transaction_bool_exp","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"transaction_order_by","description":"Ordering options when selecting data from \"transaction\".","fields":null,"inputFields":[{"name":"amount","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"comment","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"created_at","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"created_on","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"created_on_block","description":null,"type":{"kind":"INPUT_OBJECT","name":"block_order_by","ofType":null},"defaultValue":null},{"name":"id","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"issuer","description":null,"type":{"kind":"INPUT_OBJECT","name":"account_order_by","ofType":null},"defaultValue":null},{"name":"issuer_pubkey","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"receiver","description":null,"type":{"kind":"INPUT_OBJECT","name":"account_order_by","ofType":null},"defaultValue":null},{"name":"receiver_pubkey","description":null,"type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"transaction_pk_columns_input","description":"primary key columns input for table: transaction","fields":null,"inputFields":[{"name":"id","description":"Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate.","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"transaction_select_column","description":"select columns of table \"transaction\"","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"amount","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"comment","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"created_at","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"created_on","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"issuer_pubkey","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"receiver_pubkey","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"transaction_set_input","description":"input type for updating data in table \"transaction\"","fields":null,"inputFields":[{"name":"amount","description":"Amount of the transaction. 100 units = 1 Ğ1.","type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"comment","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"created_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null},{"name":"created_on","description":"Block number where transaction was created.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"id","description":"Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"issuer_pubkey","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"receiver_pubkey","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"transaction_stddev_fields","description":"aggregate stddev on columns","fields":[{"name":"amount","description":"Amount of the transaction. 100 units = 1 Ğ1.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"created_on","description":"Block number where transaction was created.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"transaction_stddev_order_by","description":"order by stddev() on columns of table \"transaction\"","fields":null,"inputFields":[{"name":"amount","description":"Amount of the transaction. 100 units = 1 Ğ1.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"created_on","description":"Block number where transaction was created.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"id","description":"Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"transaction_stddev_pop_fields","description":"aggregate stddev_pop on columns","fields":[{"name":"amount","description":"Amount of the transaction. 100 units = 1 Ğ1.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"created_on","description":"Block number where transaction was created.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"transaction_stddev_pop_order_by","description":"order by stddev_pop() on columns of table \"transaction\"","fields":null,"inputFields":[{"name":"amount","description":"Amount of the transaction. 100 units = 1 Ğ1.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"created_on","description":"Block number where transaction was created.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"id","description":"Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"transaction_stddev_samp_fields","description":"aggregate stddev_samp on columns","fields":[{"name":"amount","description":"Amount of the transaction. 100 units = 1 Ğ1.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"created_on","description":"Block number where transaction was created.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"transaction_stddev_samp_order_by","description":"order by stddev_samp() on columns of table \"transaction\"","fields":null,"inputFields":[{"name":"amount","description":"Amount of the transaction. 100 units = 1 Ğ1.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"created_on","description":"Block number where transaction was created.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"id","description":"Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"transaction_stream_cursor_input","description":"Streaming cursor of the table \"transaction\"","fields":null,"inputFields":[{"name":"initial_value","description":"Stream column input with initial value","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"transaction_stream_cursor_value_input","ofType":null}},"defaultValue":null},{"name":"ordering","description":"cursor ordering","type":{"kind":"ENUM","name":"cursor_ordering","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"transaction_stream_cursor_value_input","description":"Initial value of the column from where the streaming should start","fields":null,"inputFields":[{"name":"amount","description":"Amount of the transaction. 100 units = 1 Ğ1.","type":{"kind":"SCALAR","name":"Float","ofType":null},"defaultValue":null},{"name":"comment","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"created_at","description":null,"type":{"kind":"SCALAR","name":"timestamptz","ofType":null},"defaultValue":null},{"name":"created_on","description":"Block number where transaction was created.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"id","description":"Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate.","type":{"kind":"SCALAR","name":"Int","ofType":null},"defaultValue":null},{"name":"issuer_pubkey","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null},{"name":"receiver_pubkey","description":null,"type":{"kind":"SCALAR","name":"String","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"transaction_sum_fields","description":"aggregate sum on columns","fields":[{"name":"amount","description":"Amount of the transaction. 100 units = 1 Ğ1.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"created_on","description":"Block number where transaction was created.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate.","args":[],"type":{"kind":"SCALAR","name":"Int","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"transaction_sum_order_by","description":"order by sum() on columns of table \"transaction\"","fields":null,"inputFields":[{"name":"amount","description":"Amount of the transaction. 100 units = 1 Ğ1.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"created_on","description":"Block number where transaction was created.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"id","description":"Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"ENUM","name":"transaction_update_column","description":"update columns of table \"transaction\"","fields":null,"inputFields":null,"interfaces":null,"enumValues":[{"name":"amount","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"comment","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"created_at","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"created_on","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"id","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"issuer_pubkey","description":"column name","isDeprecated":false,"deprecationReason":null},{"name":"receiver_pubkey","description":"column name","isDeprecated":false,"deprecationReason":null}],"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"transaction_updates","description":null,"fields":null,"inputFields":[{"name":"_inc","description":"increments the numeric columns with given value of the filtered values","type":{"kind":"INPUT_OBJECT","name":"transaction_inc_input","ofType":null},"defaultValue":null},{"name":"_set","description":"sets the columns of the filtered rows to the given values","type":{"kind":"INPUT_OBJECT","name":"transaction_set_input","ofType":null},"defaultValue":null},{"name":"where","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"INPUT_OBJECT","name":"transaction_bool_exp","ofType":null}},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"transaction_var_pop_fields","description":"aggregate var_pop on columns","fields":[{"name":"amount","description":"Amount of the transaction. 100 units = 1 Ğ1.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"created_on","description":"Block number where transaction was created.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"transaction_var_pop_order_by","description":"order by var_pop() on columns of table \"transaction\"","fields":null,"inputFields":[{"name":"amount","description":"Amount of the transaction. 100 units = 1 Ğ1.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"created_on","description":"Block number where transaction was created.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"id","description":"Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"transaction_var_samp_fields","description":"aggregate var_samp on columns","fields":[{"name":"amount","description":"Amount of the transaction. 100 units = 1 Ğ1.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"created_on","description":"Block number where transaction was created.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"transaction_var_samp_order_by","description":"order by var_samp() on columns of table \"transaction\"","fields":null,"inputFields":[{"name":"amount","description":"Amount of the transaction. 100 units = 1 Ğ1.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"created_on","description":"Block number where transaction was created.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"id","description":"Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null},{"kind":"OBJECT","name":"transaction_variance_fields","description":"aggregate variance on columns","fields":[{"name":"amount","description":"Amount of the transaction. 100 units = 1 Ğ1.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"created_on","description":"Block number where transaction was created.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null},{"name":"id","description":"Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate.","args":[],"type":{"kind":"SCALAR","name":"Float","ofType":null},"isDeprecated":false,"deprecationReason":null}],"inputFields":null,"interfaces":[],"enumValues":null,"possibleTypes":null},{"kind":"INPUT_OBJECT","name":"transaction_variance_order_by","description":"order by variance() on columns of table \"transaction\"","fields":null,"inputFields":[{"name":"amount","description":"Amount of the transaction. 100 units = 1 Ğ1.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"created_on","description":"Block number where transaction was created.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null},{"name":"id","description":"Primary Key `id` is used for postgreSQL and Hasura relationship, not related to any value in substrate.","type":{"kind":"ENUM","name":"order_by","ofType":null},"defaultValue":null}],"interfaces":null,"enumValues":null,"possibleTypes":null}],"directives":[{"name":"include","description":"whether this query should be included","locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null}]},{"name":"skip","description":"whether this query should be skipped","locations":["FIELD","FRAGMENT_SPREAD","INLINE_FRAGMENT"],"args":[{"name":"if","description":null,"type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":null}]},{"name":"cached","description":"whether this query should be cached (Hasura Cloud only)","locations":["QUERY"],"args":[{"name":"ttl","description":"measured in seconds","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Int","ofType":null}},"defaultValue":"60"},{"name":"refresh","description":"refresh the cache entry","type":{"kind":"NON_NULL","name":null,"ofType":{"kind":"SCALAR","name":"Boolean","ofType":null}},"defaultValue":"false"}]}]}}} \ No newline at end of file diff --git a/res/metadata.scale b/res/metadata.scale index 9b04918d2b88645a3e41c6d1ac9339d222188b2e..f963c977883e0d240b34d87f1b77b461ffcdee71 100644 Binary files a/res/metadata.scale and b/res/metadata.scale differ diff --git a/src/commands/certification.rs b/src/commands/certification.rs index 1376b1044ac86ebab39b184e02ff697d698fcdd8..dd8b9819d8010b89abaffe15aba50143837f6b5a 100644 --- a/src/commands/certification.rs +++ b/src/commands/certification.rs @@ -2,17 +2,13 @@ use crate::*; /// submit a certification and track progress pub async fn certify(data: &Data, receiver: IdtyId) -> Result<(), anyhow::Error> { - let progress = submit_call( - data, - &runtime::tx().cert().add_cert(data.idty_index(), receiver), - ) - .await?; + let progress = submit_call(data, &runtime::tx().certification().add_cert(receiver)).await?; if data.args.no_wait { return Ok(()); } let events = track_progress(progress).await?; // look for the expected event - look_event::<runtime::cert::events::NewCert>(data, &events)?; - look_event::<runtime::cert::events::RenewedCert>(data, &events)?; + look_event::<runtime::certification::events::CertAdded>(data, &events)?; + look_event::<runtime::certification::events::CertRenewed>(data, &events)?; Ok(()) } diff --git a/src/commands/cesium.rs b/src/commands/cesium.rs index bb071b18897c559b8bed7a5744d6ded2ff5bb11d..0eda7745c5c5646160f8fa2c57930e3fd62a17f3 100644 --- a/src/commands/cesium.rs +++ b/src/commands/cesium.rs @@ -8,9 +8,9 @@ pub enum Subcommand { #[default] #[clap(hide = true)] Nothing, - /// Generate key pair with old style unsafe scrypt - Pubkey { id: String, pass: String }, - /// Prompt + /// Analyse a base58 pubkey and gives it in all its form + Pubkey { pubkey: String }, + /// Prompt for cesium input Prompt, } @@ -18,17 +18,25 @@ pub enum Subcommand { pub async fn handle_command(_data: Data, command: Subcommand) -> Result<(), GcliError> { match command { Subcommand::Nothing => {} - Subcommand::Pubkey { id, pass } => { - let keypair = pair_from_cesium(id, pass); - println!("Pubkey: {}", bs58::encode(keypair.pkey).into_string()); - let address: AccountId = keypair.pkey.into(); - println!("Address: {}", address.to_string()); + Subcommand::Pubkey { pubkey } => { + let raw_pubkey = bs58::decode(pubkey).into_vec().unwrap(); + let raw_pubkey: [u8; 32] = if raw_pubkey.len() > 32 { + return Err(GcliError::Input("invalid pubkey size".to_string())); + } else { + [vec![0; 32 - raw_pubkey.len()], raw_pubkey] + .concat() + .try_into() + .unwrap() + }; + println!("Pubkey (hex): 0x{}", hex::encode(raw_pubkey)); + let address: AccountId = sp_core::ed25519::Public(raw_pubkey).into(); + println!("Address (SS58): {}", address); } Subcommand::Prompt => { let keypair = prompt_secret_cesium(); println!("Pubkey: {}", bs58::encode(keypair.pkey).into_string()); let address: AccountId = keypair.pkey.into(); - println!("Address: {}", address.to_string()); + println!("Address: {}", address); } } Ok(()) diff --git a/src/commands/collective.rs b/src/commands/collective.rs index 80da16a0b7210ad8509a46da5cdded92f002b0b7..9717d66537e0639317f50fd28f9b5324bbf90a90 100644 --- a/src/commands/collective.rs +++ b/src/commands/collective.rs @@ -8,6 +8,8 @@ pub enum Subcommand { #[default] /// List members of the technical committee Members, + /// Propose a hex encoded call + Propose { hex: String }, /// List proposals to the technical committee Proposals, /// Vote a proposal to the technical committee @@ -23,24 +25,18 @@ pub enum Subcommand { /// handle technical committee commands pub async fn handle_command(data: Data, command: Subcommand) -> Result<(), GcliError> { - let mut data = data.build_client().await?.build_indexer().await?; + let data = data.build_client().await?; match command { - Subcommand::Members => { - data = data.build_client().await?; - commands::collective::technical_committee_members(&data).await? - } - Subcommand::Proposals => { - data = data.build_client().await?; - commands::collective::technical_committee_proposals(data.client()).await? - } + Subcommand::Members => technical_committee_members(&data).await?, + Subcommand::Propose { hex } => technical_committee_propose(&data, &hex).await?, + Subcommand::Proposals => technical_committee_proposals(data.client()).await?, Subcommand::Vote { hash, index, vote } => { - data = data.build_client().await?; let vote = match vote { 0 => false, 1 => true, _ => panic!("Vote must be written 0 if you disagree, or 1 if you agree."), }; - commands::collective::technical_committee_vote( + technical_committee_vote( &data, hash, //Hash::from_str(&hash).expect("Invalid hash formatting"), index, vote, ) @@ -141,3 +137,17 @@ pub async fn technical_committee_vote( ) .await } + +/// propose call given as hexadecimal +/// can be generated with `subxt explore` for example +pub async fn technical_committee_propose(data: &Data, proposal: &str) -> Result<(), subxt::Error> { + let raw_call = hex::decode(proposal).expect("invalid hex"); + let call = codec::decode_from_bytes(raw_call.into()).expect("invalid call"); + let payload = runtime::tx().technical_committee().propose(5, call, 100); + + submit_call_and_look_event::< + runtime::technical_committee::events::Proposed, + Payload<runtime::technical_committee::calls::types::Propose>, + >(data, &payload) + .await +} diff --git a/src/commands/distance.rs b/src/commands/distance.rs index 6eaaf4c53ad3604e3eebda42eebef747054914fa..8ced4e15c6a3beabcccde7d0981ac37b6cff996b 100644 --- a/src/commands/distance.rs +++ b/src/commands/distance.rs @@ -2,36 +2,29 @@ use crate::*; /// request distance evaluation pub async fn request_distance_evaluation(data: &Data) -> Result<(), subxt::Error> { - let progress = submit_call( + submit_call_and_look_event::< + runtime::distance::events::EvaluationRequested, + Payload<runtime::distance::calls::types::RequestDistanceEvaluation>, + >( data, &runtime::tx().distance().request_distance_evaluation(), ) - .await?; - if data.args.no_wait { - return Ok(()); - } - let _ = track_progress(progress).await?; - Ok(()) + .await } -/// get identity distance status -pub async fn get_identity_distance_status( +/// request distance evaluation for someone else (must be unvalidated) +pub async fn request_distance_evaluation_for( data: &Data, -) -> Result< - Option<( - AccountId, - runtime::runtime_types::pallet_distance::types::DistanceStatus, - )>, - subxt::Error, -> { - data.client() - .storage() - .at_latest() - .await? - .fetch( - &runtime::storage() - .distance() - .identity_distance_status(data.idty_index()), - ) - .await + target: IdtyId, +) -> Result<(), subxt::Error> { + submit_call_and_look_event::< + runtime::distance::events::EvaluationRequested, + Payload<runtime::distance::calls::types::RequestDistanceEvaluationFor>, + >( + data, + &runtime::tx() + .distance() + .request_distance_evaluation_for(target), + ) + .await } diff --git a/src/commands/expire.rs b/src/commands/expire.rs index f6b496331d2c370cd16a892eb5ba091cd8b8c2c6..d8f7bf0ed9d4b8f6822b4cd6fbef434003f5a976 100644 --- a/src/commands/expire.rs +++ b/src/commands/expire.rs @@ -33,7 +33,7 @@ pub async fn monitor_expirations(data: &Data, blocks: u32, _sessions: u32) -> an let mut basic_certs_iter = client .storage() .at(parent_hash) - .iter(runtime::storage().cert().storage_certs_removable_on_iter()) + .iter(runtime::storage().certification().certs_removable_on_iter()) .await?; let mut basic_certs = BTreeMap::new(); while let Some(Ok((k, v))) = basic_certs_iter.next().await { @@ -43,27 +43,7 @@ pub async fn monitor_expirations(data: &Data, blocks: u32, _sessions: u32) -> an } } - let mut smith_certs_iter = client - .storage() - .at(parent_hash) - .iter( - runtime::storage() - .smith_cert() - .storage_certs_removable_on_iter(), - ) - .await?; - let mut smith_certs = BTreeMap::new(); - while let Some(Ok((k, v))) = smith_certs_iter.next().await { - let block_number = BlockNumber::from_le_bytes(k[40..44].try_into().unwrap()); - if block_number < end_block { - smith_certs.insert(block_number - current_block, v); - } - } - - for (title, certs) in [ - ("Certifications", basic_certs), - ("Smith certifications", smith_certs), - ] { + for (title, certs) in [("Certifications", basic_certs)] { println!("\n{title}:"); for (blocks_left, certs) in certs { println!("{blocks_left} blocks before expiration:"); @@ -102,27 +82,7 @@ pub async fn monitor_expirations(data: &Data, blocks: u32, _sessions: u32) -> an } } - let mut smith_membership_iter = client - .storage() - .at(parent_hash) - .iter( - runtime::storage() - .smith_membership() - .memberships_expire_on_iter(), - ) - .await?; - let mut smith_memberships = BTreeMap::new(); - while let Some(Ok((k, v))) = smith_membership_iter.next().await { - let block_number = BlockNumber::from_le_bytes(k[40..44].try_into().unwrap()); - if block_number < end_block { - smith_memberships.insert(block_number - current_block, v); - } - } - - for (title, memberships) in [ - ("Memberships", basic_memberships), - ("Smith memberships", smith_memberships), - ] { + for (title, memberships) in [("Memberships", basic_memberships)] { println!("\n{title}:"); for (blocks_left, membership) in memberships { println!("{blocks_left} blocks before expiration:"); diff --git a/src/commands/identity.rs b/src/commands/identity.rs index fc4e7ba3c7fd29b8f1612ee99d91722b4be96708..324dc6294716274dc1e3d3e974f2125c8bc5576d 100644 --- a/src/commands/identity.rs +++ b/src/commands/identity.rs @@ -31,17 +31,11 @@ pub enum Subcommand { /// /// To be called by the certified not-yet-member account, to become member. Confirm { name: String }, - /// Validate an identity - /// Should be called when the distance has been evaluated positively - Validate { index: IdtyId }, /// Request distance evaluation /// make sure that it's ok otherwise currency is slashed RequestDistanceEvaluation, - /// Get distance status - DistanceStatus, - /// Renew membership - /// When membership comes to and end, it should be renewed for the identity to stay member - RenewMembership, + /// Request distance evaluation for unvalidated identity + RequestDistanceEvaluationFor { target: IdtyId }, /// Certify an identity Certify { target: IdtyId }, /// Revoke an identity immediately @@ -77,7 +71,6 @@ pub enum Subcommand { pub async fn handle_command(data: Data, command: Subcommand) -> Result<(), GcliError> { let mut data = data.build_client().await?; match command { - // TODO remove indexer where not necessary when BlakeConcat will be there Subcommand::Show => { data = data.build_indexer().await?; get_identity(&data, Some(data.address()), None, None).await? @@ -96,18 +89,11 @@ pub async fn handle_command(data: Data, command: Subcommand) -> Result<(), GcliE Subcommand::Confirm { name } => { confirm_identity(&data, name).await?; } - Subcommand::Validate { index } => { - validate_identity(&data, index).await?; - } Subcommand::RequestDistanceEvaluation => { commands::distance::request_distance_evaluation(&data).await?; } - Subcommand::DistanceStatus => { - data = data.fetch_idty_index().await?; - dbg!(commands::distance::get_identity_distance_status(&data).await?); - } - Subcommand::RenewMembership => { - renew_membership(&data).await?; + Subcommand::RequestDistanceEvaluationFor { target } => { + commands::distance::request_distance_evaluation_for(&data, target).await?; } Subcommand::Certify { target } => { data = data.fetch_idty_index().await?; @@ -163,41 +149,30 @@ pub async fn handle_command(data: Data, command: Subcommand) -> Result<(), GcliE /// get identity pub async fn get_identity( data: &Data, - mut account_id: Option<AccountId>, - mut identity_id: Option<IdtyId>, - mut username: Option<String>, + account_id: Option<AccountId>, + identity_id: Option<IdtyId>, + username: Option<String>, ) -> Result<(), anyhow::Error> { let client = data.client(); let indexer = data.indexer.clone(); // fetch reachable information using Duniter only (no indexer) - match (&account_id, identity_id, &username) { + let (idty, value) = match (&account_id, identity_id, &username) { // idty_id → account_id - (None, Some(identity_id), None) => { - account_id = get_identity_by_index(client, identity_id) - .await? - .map(|idty| idty.owner_key); - if account_id.is_none() { - return Err(anyhow!("no identity for this account id")); - } - } + (None, Some(idty), None) => (idty, get_identity_by_index(client, idty).await?), // account_id → idty_id (Some(account_id), None, None) => { - identity_id = get_idty_index_by_account_id(client, account_id).await?; - if identity_id.is_none() { - return Err(anyhow!("no identity for this identity index")); - } + let idty = get_idty_index_by_account_id(client, account_id) + .await? + .ok_or_else(|| anyhow!("no identity for this account id"))?; + (idty, get_identity_by_index(client, idty).await?) } // username → idty_id and account_id (None, None, Some(username)) => { - identity_id = get_idty_index_by_name(client, username).await?; - if let Some(identity_id) = identity_id { - account_id = get_identity_by_index(client, identity_id) - .await? - .map(|idty| idty.owner_key); - } else { - return Err(anyhow!("no identity found for this username")); - } + let idty = get_idty_index_by_name(client, username) + .await? + .ok_or_else(|| anyhow!("no identity found for this username"))?; + (idty, get_identity_by_index(client, idty).await?) } _ => { return Err(anyhow!( @@ -205,28 +180,25 @@ pub async fn get_identity( )); } }; + let value = value.ok_or_else(|| anyhow!("no identity value"))?; // print result // 1. identity index - println!( - "Identity index: {}", - identity_id.map_or(String::new(), |identity_id| format!("{identity_id}")) - ); + println!("Identity index: {idty}",); // 2. username (indexer needed if not provided) - if let (Some(indexer), Some(identity_id), None) = (&indexer, identity_id, &username) { - username = indexer.username_by_index(identity_id).await?; - } - println!( - "Username: {}", - username.unwrap_or("<no indexer>".to_string()) - ); + let username = username.unwrap_or(if let Some(indexer) = &indexer { + indexer + .username_by_index(idty) + .await? + .ok_or_else(|| anyhow!("indexer does not have username for this index"))? + } else { + "<no indexer>".to_string() + }); + println!("Username: {username}",); // 3. address - println!( - "Address: {}", - account_id - .as_ref() - .map_or(String::new(), AccountId::to_string) - ); + println!("Address: {}", AccountId::to_string(&value.owner_key)); + // 4. status + println!("Status: {:?}", value.status); Ok(()) } @@ -253,7 +225,11 @@ pub async fn get_idty_index_by_name( .storage() .at_latest() .await? - .fetch(&runtime::storage().identity().identities_names(name)) + .fetch( + &runtime::storage() + .identity() + .identities_names(IdtyName(name.into())), + ) .await } @@ -284,25 +260,10 @@ pub async fn confirm_identity(data: &Data, name: String) -> Result<(), subxt::Er submit_call_and_look_event::< runtime::identity::events::IdtyConfirmed, Payload<runtime::identity::calls::types::ConfirmIdentity>, - >(data, &runtime::tx().identity().confirm_identity(name)) - .await -} - -/// confirm identity -pub async fn validate_identity(data: &Data, index: IdtyId) -> Result<(), subxt::Error> { - submit_call_and_look_event::< - runtime::identity::events::IdtyValidated, - Payload<runtime::identity::calls::types::ValidateIdentity>, - >(data, &runtime::tx().identity().validate_identity(index)) - .await -} - -/// renew membership -pub async fn renew_membership(data: &Data) -> Result<(), subxt::Error> { - submit_call_and_look_event::< - runtime::membership::events::MembershipRenewed, - Payload<runtime::membership::calls::types::RenewMembership>, - >(data, &runtime::tx().membership().renew_membership()) + >( + data, + &runtime::tx().identity().confirm_identity(IdtyName(name.into())), + ) .await } diff --git a/src/commands/net_test.rs b/src/commands/net_test.rs index 96bb11e81d402f790c5c61f4bafc08741e303dd6..e01e2651c5e332a0ff032c761dd0676f35ec13a2 100644 --- a/src/commands/net_test.rs +++ b/src/commands/net_test.rs @@ -20,7 +20,7 @@ pub async fn repart(data: &Data, target: u32, actual_repart: Option<u32>) -> any /*let _ = api .tx() .balances() - .transfer(MultiAddress::Id(pair_i.public().into()), 501)? + .transfer_allow_death(MultiAddress::Id(pair_i.public().into()), 501)? .sign_and_submit_then_watch(&signer, DefaultExtrinsicParamsBuilder::new()) .await? .wait_for_in_block() @@ -68,7 +68,7 @@ pub async fn spam_roll(data: &Data, actual_repart: usize) -> anyhow::Result<()> .create_signed_with_nonce( &runtime::tx() .balances() - .transfer(MultiAddress::Id(dest).into(), 1), + .transfer_allow_death(MultiAddress::Id(dest).into(), 1), &pairs[i].0, nonce, DefaultExtrinsicParamsBuilder::new().build(), @@ -85,7 +85,7 @@ pub async fn spam_roll(data: &Data, actual_repart: usize) -> anyhow::Result<()> .sign_and_submit_then_watch( &runtime::tx() .balances() - .transfer(MultiAddress::Id(dest).into(), 1), + .transfer_allow_death(MultiAddress::Id(dest).into(), 1), &pairs[actual_repart - 1].0, DefaultExtrinsicParamsBuilder::new().build(), ) @@ -95,8 +95,9 @@ pub async fn spam_roll(data: &Data, actual_repart: usize) -> anyhow::Result<()> watchers.push(watcher); // Wait all transactions - for watcher in watchers { - watcher.wait_for_in_block().await?; - } + // FIXME fix after subxt update + // for watcher in watchers { + // watcher.wait_for_in_block().await?; + // } } } diff --git a/src/commands/runtime.rs b/src/commands/runtime.rs index 2f51e6f6591523a312283fd20d4d9b77343da667..ed3b96a96ecf9a286c85ba7e882cd0385d435c79 100644 --- a/src/commands/runtime.rs +++ b/src/commands/runtime.rs @@ -2,42 +2,159 @@ use crate::*; pub async fn runtime_info(data: Data) { let api = data.client(); + let consts = runtime::constants(); + // get constant u32 value + let getu32 = |c| api.constants().at(&c).unwrap(); + // get constant u64 value + let getu64 = |c| api.constants().at(&c).unwrap(); + // get constant perbill value + let getp = |c| api.constants().at(&c).unwrap(); + // get formatted currency value + let getf = |c| data.format_balance(api.constants().at(&c).unwrap()); - // certifications - let cert_period = api - .constants() - .at(&runtime::constants().cert().cert_period()) - .unwrap(); - let max_by_issuer = api - .constants() - .at(&runtime::constants().cert().max_by_issuer()) - .unwrap(); - let validity_period = api - .constants() - .at(&runtime::constants().cert().validity_period()) - .unwrap(); - - println!("certification period: {cert_period} blocks"); - println!("max certs by issuer: {max_by_issuer}"); - println!("certification validity: {validity_period} blocks"); - - // account - let new_account_price = api - .constants() - .at(&runtime::constants().account().new_account_price()) - .unwrap(); - // balances - let existential_deposit = api - .constants() - .at(&runtime::constants().balances().existential_deposit()) - .unwrap(); - + // identity + println!("--- identity ---"); + println!( + "confirm period: {} blocks", + getu32(consts.identity().confirm_period()) + ); + println!( + "validation period: {} blocks", + getu32(consts.identity().validation_period()) + ); + println!( + "autorevocation period: {} blocks", + getu32(consts.identity().autorevocation_period()) + ); + println!( + "deletion period: {} blocks", + getu32(consts.identity().deletion_period()) + ); + println!( + "change owner key period: {} blocks", + getu32(consts.identity().change_owner_key_period()) + ); + println!( + "identity creation period: {} blocks", + getu32(consts.identity().idty_creation_period()) + ); + // certification + println!("--- certification ---"); + println!( + "certification period: {} blocks", + getu32(consts.certification().cert_period()) + ); + println!( + "max certs by issuer: {}", + getu32(consts.certification().max_by_issuer()) + ); + println!( + "min received cert to issue cert: {}", + getu32( + consts + .certification() + .min_received_cert_to_be_able_to_issue_cert() + ) + ); + println!( + "certification validity: {} blocks", + getu32(consts.certification().validity_period()) + ); + // wot + println!("--- wot ---"); + println!( + "first issuable on: {}", + getu32(consts.wot().first_issuable_on()) + ); + println!( + "min cert for membership: {}", + getu32(consts.wot().min_cert_for_membership()) + ); + println!( + "min cert for create identity: {}", + getu32(consts.wot().min_cert_for_create_idty_right()) + ); + // membership + println!("--- membership ---"); + println!( + "membership validity: {} blocks", + getu32(consts.membership().membership_period()) + ); + // smith members + println!("--- smith members ---"); + println!( + "max certs by issuer: {}", + getu32(consts.smith_members().max_by_issuer()) + ); + println!( + "min cert for membership: {}", + getu32(consts.smith_members().min_cert_for_membership()) + ); + println!( + "smith inactivity max duration: {}", + getu32(consts.smith_members().smith_inactivity_max_duration()) + ); + // todo membership renewal period + // distance + println!("--- distance ---"); + println!( + "max referee distance: {}", + getu32(consts.distance().max_referee_distance()) + ); + println!( + "min accessible referees: {:?}", + getp(consts.distance().min_accessible_referees()) + ); + println!( + "distance evaluation price: {}", + getf(consts.distance().evaluation_price()) + ); + // currency + println!("--- currency ---"); println!( "new account price: {}", - data.format_balance(new_account_price) + getf(consts.account().new_account_price()) + ); + println!( + "max new accounts per block: {}", + getu32(consts.account().max_new_accounts_per_block()) ); println!( "existential deposit: {}", - data.format_balance(existential_deposit) + getf(consts.balances().existential_deposit()) + ); + // provide randomness + println!("--- provide randomness ---"); + println!( + "max requests: {}", + getu32(consts.provide_randomness().max_requests()) + ); + println!( + "request price: {}", + getf(consts.provide_randomness().request_price()) + ); + // universal dividend + println!("--- universal dividend ---"); + println!( + "max past reevals: {}", + getu32(consts.universal_dividend().max_past_reeval()) + ); + println!( + "square money growth rate: {:?}", + getp(consts.universal_dividend().square_money_growth_rate()) + ); + println!( + "UD creation period: {}", + getu64(consts.universal_dividend().ud_creation_period()) + ); + println!( + "UD reeval period: {}", + getu64(consts.universal_dividend().ud_reeval_period()) + ); + println!( + "units per ud: {}", + getf(consts.universal_dividend().units_per_ud()) ); + // todo treasury, technical committee, transaction payment, authority members + // consts.system().ss58_prefix() } diff --git a/src/commands/smith.rs b/src/commands/smith.rs index 807381f2387033bf9fa659abee40ac129530fb51..827e77c7b0dc74fac64d0c631ad25d5d8be9e57d 100644 --- a/src/commands/smith.rs +++ b/src/commands/smith.rs @@ -14,42 +14,28 @@ fn session_keys_decode(session_keys: SessionKeys) -> RuntimeSessionKeys { runtime::runtime_types::sp_core::ed25519::Public( session_keys[0..32].try_into().unwrap(), ), - ) - .into(), + ), babe: runtime::runtime_types::sp_consensus_babe::app::Public( runtime::runtime_types::sp_core::sr25519::Public( session_keys[32..64].try_into().unwrap(), ), - ) - .into(), + ), im_online: runtime::runtime_types::pallet_im_online::sr25519::app_sr25519::Public( runtime::runtime_types::sp_core::sr25519::Public( session_keys[64..96].try_into().unwrap(), ), - ) - .into(), + ), authority_discovery: runtime::runtime_types::sp_authority_discovery::app::Public( runtime::runtime_types::sp_core::sr25519::Public( session_keys[96..128].try_into().unwrap(), ), - ) - .into(), + ), } } /// define smith subcommands #[derive(Clone, Default, Debug, clap::Parser)] pub enum Subcommand { - /// Request smith membership - Request, - /// Emit a smith certification - Cert { to: IdtyId }, - /// Claim smith membership - Claim, - /// Renew smith membership - Renew, - /// Revoke smith membership - Revoke, /// go online GoOnline, /// go offline @@ -70,36 +56,24 @@ pub enum Subcommand { }, /// List online authorities ShowOnline, - /// count of smith member - MemberCount, + /// Invite identity to become smith + Invite { target: IdtyId }, + /// Accept invitation + Accept, + /// Certify smith + Certify { target: IdtyId }, } /// handle smith commands pub async fn handle_command(data: Data, command: Subcommand) -> Result<(), GcliError> { let mut data = data.build_client().await?; match command { - Subcommand::Request => { - request_smith_membership(&data).await?; - } - Subcommand::Claim => { - claim_smith_membership(&data).await?; - } - Subcommand::Renew => { - renew_smith_membership(&data).await?; - } - Subcommand::Revoke => { - revoke_smith_membership(&data).await?; - } Subcommand::GoOnline => { go_online(&data).await?; } Subcommand::GoOffline => { go_offline(&data).await?; } - Subcommand::Cert { to } => { - data = data.fetch_idty_index().await?; - cert(&data, to).await? - } Subcommand::UpdateKeys => { update_session_keys(&data).await?; } @@ -113,28 +87,13 @@ pub async fn handle_command(data: Data, command: Subcommand) -> Result<(), GcliE set_session_keys(&data, session_keys).await?; } Subcommand::ShowExpire { blocks, sessions } => { - data = data.build_client().await?.build_indexer().await?; + data = data.build_indexer().await?; commands::expire::monitor_expirations(&data, blocks, sessions).await? } - Subcommand::ShowOnline => { - data = data.build_client().await?; - online(&data).await? - } - Subcommand::MemberCount => { - println!( - "smith member count: {:?}", - data.client() - .storage() - .at_latest() - .await? - .fetch( - &runtime::storage() - .smith_membership() - .counter_for_membership(), - ) - .await? - ) - } + Subcommand::ShowOnline => online(&data).await?, + Subcommand::Invite { target } => invite_smith(&data, target).await?, + Subcommand::Accept => accept_invitation(&data).await?, + Subcommand::Certify { target } => certify_smith(&data, target).await?, }; Ok(()) @@ -158,15 +117,6 @@ pub async fn rotate_keys(data: &Data) -> Result<SessionKeys, anyhow::Error> { .map_err(|e| anyhow!("Session keys have wrong length: {:?}", e)) } -/// request smith membership -pub async fn request_smith_membership(data: &Data) -> Result<(), subxt::Error> { - submit_call_and_look_event::< - runtime::smith_membership::events::MembershipRequested, - Payload<runtime::smith_membership::calls::types::RequestMembership>, - >(data, &runtime::tx().smith_membership().request_membership()) - .await -} - /// set session keys pub async fn set_session_keys( data: &Data, @@ -221,33 +171,6 @@ pub async fn go_online(data: &Data) -> Result<(), GcliError> { .map_err(|e| e.into()) } -/// claim smith membership -pub async fn claim_smith_membership(data: &Data) -> Result<(), subxt::Error> { - submit_call_and_look_event::< - runtime::smith_membership::events::MembershipAcquired, - Payload<runtime::smith_membership::calls::types::ClaimMembership>, - >(data, &runtime::tx().smith_membership().claim_membership()) - .await -} - -/// renew smith membership -pub async fn renew_smith_membership(data: &Data) -> Result<(), subxt::Error> { - submit_call_and_look_event::< - runtime::smith_membership::events::MembershipRenewed, - Payload<runtime::smith_membership::calls::types::RenewMembership>, - >(data, &runtime::tx().smith_membership().renew_membership()) - .await -} - -/// revoke smith membership -pub async fn revoke_smith_membership(data: &Data) -> Result<(), subxt::Error> { - submit_call_and_look_event::< - runtime::smith_membership::events::MembershipRevoked, - Payload<runtime::smith_membership::calls::types::RevokeMembership>, - >(data, &runtime::tx().smith_membership().revoke_membership()) - .await -} - /// submit go_offline pub async fn go_offline(data: &Data) -> Result<(), subxt::Error> { submit_call_and_look_event::< @@ -338,21 +261,38 @@ pub async fn online(data: &Data) -> Result<(), anyhow::Error> { Ok(()) } -/// submit a smith certification and track progress -pub async fn cert(data: &Data, receiver: IdtyId) -> Result<(), anyhow::Error> { - let progress = submit_call( - data, - &runtime::tx() - .smith_cert() - .add_cert(data.idty_index(), receiver), - ) - .await?; +/// invite identity to join smith +pub async fn invite_smith(data: &Data, target: IdtyId) -> Result<(), subxt::Error> { + submit_call_and_look_event::< + runtime::smith_members::events::InvitationSent, + Payload<runtime::smith_members::calls::types::InviteSmith>, + >(data, &runtime::tx().smith_members().invite_smith(target)) + .await +} + +/// accept invitation +pub async fn accept_invitation(data: &Data) -> Result<(), subxt::Error> { + submit_call_and_look_event::< + runtime::smith_members::events::InvitationAccepted, + Payload<runtime::smith_members::calls::types::AcceptInvitation>, + >(data, &runtime::tx().smith_members().accept_invitation()) + .await +} + +/// invite identity to join smith +pub async fn certify_smith(data: &Data, target: IdtyId) -> Result<(), subxt::Error> { + // submit_call_and_look_event::< + // runtime::smith_members::events::CertificationReceived, + // Payload<runtime::smith_members::calls::types::CertifySmith>, + // >(data, &runtime::tx().smith_members().certify_smith(target)) + // .await + let progress = submit_call(data, &runtime::tx().smith_members().certify_smith(target)).await?; if data.args.no_wait { return Ok(()); } let events = track_progress(progress).await?; // look for the expected event - look_event::<runtime::smith_cert::events::NewCert>(data, &events)?; - look_event::<runtime::smith_cert::events::RenewedCert>(data, &events)?; + look_event::<runtime::smith_members::events::SmithCertAdded>(data, &events)?; + look_event::<runtime::smith_members::events::SmithMembershipAdded>(data, &events)?; Ok(()) } diff --git a/src/commands/sudo.rs b/src/commands/sudo.rs index b54e5eb5dd6f2282e351964d4329a56e686cd904..5c172b1c810e87f676ca2ec551117709cd18c646 100644 --- a/src/commands/sudo.rs +++ b/src/commands/sudo.rs @@ -9,7 +9,7 @@ pub enum Subcommand { Nothing, /// set sudo keys SetKey { new_key: AccountId }, - /// force set distance status to DistanceStatus::Valid + /// force valid distance status SetDistanceOk { identity: IdtyId }, } @@ -40,17 +40,11 @@ pub async fn set_key(data: &Data, new_key: AccountId) -> Result<(), subxt::Error /// set distance ok pub async fn set_distance_ok(data: &Data, identity: IdtyId) -> Result<(), subxt::Error> { - let inner = runtime::distance::Call::force_set_distance_status { - identity, - status: Some(( - data.address(), - runtime::runtime_types::pallet_distance::types::DistanceStatus::Valid, - )), - }; + let inner = runtime::distance::Call::force_valid_distance_status { identity }; let inner = runtime::Call::Distance(inner); submit_call_and_look_event::< runtime::sudo::events::Sudid, Payload<runtime::sudo::calls::types::Sudo>, - >(data, &runtime::tx().sudo().sudo(inner.into())) + >(data, &runtime::tx().sudo().sudo(inner)) .await } diff --git a/src/commands/transfer.rs b/src/commands/transfer.rs index b0ce4549f7770bafffa83c2c277f4798b9f50621..5f31cd6a0dfa12af5c6b9223c7f5ac7b9204bd1e 100644 --- a/src/commands/transfer.rs +++ b/src/commands/transfer.rs @@ -28,10 +28,12 @@ pub async fn transfer( (false, false) => { submit_call_and_look_event::< runtime::balances::events::Transfer, - Payload<runtime::balances::calls::types::Transfer>, + Payload<runtime::balances::calls::types::TransferAllowDeath>, >( data, - &runtime::tx().balances().transfer(dest.into(), balance), + &runtime::tx() + .balances() + .transfer_allow_death(dest.into(), balance), ) .await } diff --git a/src/data.rs b/src/data.rs index dcfc11255caaf4c4421869d07c51e8641ce7486f..4cb3a67e4a959c7405f19adc7594b5fbc61864b3 100644 --- a/src/data.rs +++ b/src/data.rs @@ -5,7 +5,7 @@ use indexer::Indexer; // consts pub const LOCAL_DUNITER_ENDPOINT: &str = "ws://localhost:9944"; -pub const LOCAL_INDEXER_ENDPOINT: &str = "http://localhost:8080/v1/graphql"; +pub const LOCAL_INDEXER_ENDPOINT: &str = "http://localhost:4350/graphql"; #[cfg(feature = "gdev")] pub const GDEV_DUNITER_ENDPOINTS: [&str; 5] = [ @@ -17,8 +17,8 @@ pub const GDEV_DUNITER_ENDPOINTS: [&str; 5] = [ ]; #[cfg(feature = "gdev")] pub const GDEV_INDEXER_ENDPOINTS: [&str; 2] = [ - "https://gdev-indexer.p2p.legal/v1/graphql", - "https://hasura.gdev.coinduf.eu/v1/graphql", + "https://subsquid.gdev.coinduf.eu/graphql", + "https://gdev-squid.axiom-team.fr/graphql", ]; // data derived from command arguments diff --git a/src/display.rs b/src/display.rs index 7f68d8d97b3c7cdc3ffa19ee88f72d59adce27b7..4c49083e7b5d3da821967161afe46da746bdeeb2 100644 --- a/src/display.rs +++ b/src/display.rs @@ -1,4 +1,5 @@ use crate::*; +use std::str; // display events in a friendly manner @@ -14,26 +15,16 @@ impl DisplayEvent for runtime::universal_dividend::events::UdsClaimed { ) } } -impl DisplayEvent for runtime::cert::events::NewCert { +impl DisplayEvent for runtime::certification::events::CertAdded { fn display(&self, _data: &Data) -> String { format!("new certification {} → {}", self.issuer, self.receiver) } } -impl DisplayEvent for runtime::cert::events::RenewedCert { +impl DisplayEvent for runtime::certification::events::CertRenewed { fn display(&self, _data: &Data) -> String { format!("renewed cert {:?}", self) } } -impl DisplayEvent for runtime::smith_cert::events::NewCert { - fn display(&self, _data: &Data) -> String { - format!("certified as smith {:?}", self) - } -} -impl DisplayEvent for runtime::smith_cert::events::RenewedCert { - fn display(&self, _data: &Data) -> String { - format!("renewed smith cert {:?}", self) - } -} impl DisplayEvent for runtime::account::events::AccountUnlinked { fn display(&self, _data: &Data) -> String { format!("account unlinked: {}", self.0) @@ -56,68 +47,63 @@ impl DisplayEvent for runtime::identity::events::IdtyConfirmed { fn display(&self, _data: &Data) -> String { format!( "identity confirmed with name \"{}\" (index {}, owner key {})", - self.name, self.idty_index, self.owner_key + str::from_utf8(&self.name.0).unwrap(), self.idty_index, self.owner_key ) } } -impl DisplayEvent for runtime::identity::events::IdtyValidated { - fn display(&self, _data: &Data) -> String { - format!("identity validated {:?}", self) - } -} impl DisplayEvent for runtime::identity::events::IdtyChangedOwnerKey { fn display(&self, _data: &Data) -> String { format!("identity changed owner key {:?}", self) } } -impl DisplayEvent for runtime::membership::events::MembershipRenewed { +impl DisplayEvent for runtime::distance::events::EvaluationRequested { fn display(&self, _data: &Data) -> String { - format!("membership renewed {:?}", self) + format!("evaluation requested {:?}", self) } } -impl DisplayEvent for runtime::identity::events::IdtyRemoved { +impl DisplayEvent for runtime::smith_members::events::InvitationSent { fn display(&self, _data: &Data) -> String { - format!("identity removed {:?}", self) + format!("sent smith invitation {:?}", self) } } -impl DisplayEvent for runtime::account::events::AccountLinked { +impl DisplayEvent for runtime::smith_members::events::InvitationAccepted { fn display(&self, _data: &Data) -> String { - format!("account {} linked to identity {}", self.who, self.identity) + format!("accepted smith invitation {:?}", self) } } -impl DisplayEvent for runtime::oneshot_account::events::OneshotAccountCreated { +impl DisplayEvent for runtime::smith_members::events::SmithCertAdded { fn display(&self, _data: &Data) -> String { - format!("oneshot {:?}", self) + format!("new smith certification {:?}", self) } } -impl DisplayEvent for runtime::oneshot_account::events::OneshotAccountConsumed { +impl DisplayEvent for runtime::smith_members::events::SmithMembershipAdded { fn display(&self, _data: &Data) -> String { - format!("oneshot {:?}", self) + format!("new smith promoted {:?}", self) } } -impl DisplayEvent for runtime::smith_membership::events::MembershipRequested { +impl DisplayEvent for runtime::identity::events::IdtyRemoved { fn display(&self, _data: &Data) -> String { - format!("smith membership requested {:?}", self) + format!("identity removed {:?}", self) } } -impl DisplayEvent for runtime::authority_members::events::MemberGoOnline { +impl DisplayEvent for runtime::account::events::AccountLinked { fn display(&self, _data: &Data) -> String { - format!("smith went online {:?}", self) + format!("account {} linked to identity {}", self.who, self.identity) } } -impl DisplayEvent for runtime::smith_membership::events::MembershipAcquired { +impl DisplayEvent for runtime::oneshot_account::events::OneshotAccountCreated { fn display(&self, _data: &Data) -> String { - format!("smith membership aquired {:?}", self) + format!("oneshot {:?}", self) } } -impl DisplayEvent for runtime::smith_membership::events::MembershipRenewed { +impl DisplayEvent for runtime::oneshot_account::events::OneshotAccountConsumed { fn display(&self, _data: &Data) -> String { - format!("smith membership renewed {:?}", self) + format!("oneshot {:?}", self) } } -impl DisplayEvent for runtime::smith_membership::events::MembershipRevoked { +impl DisplayEvent for runtime::authority_members::events::MemberGoOnline { fn display(&self, _data: &Data) -> String { - format!("smith membership revoked {:?}", self) + format!("smith went online {:?}", self) } } impl DisplayEvent for runtime::authority_members::events::MemberGoOffline { @@ -150,3 +136,8 @@ impl DisplayEvent for runtime::sudo::events::Sudid { format!("SUDO call succeeded {:?}", self) } } +impl DisplayEvent for runtime::technical_committee::events::Proposed { + fn display(&self, _data: &Data) -> String { + format!("proposed {:?}", self) + } +} diff --git a/src/indexer.rs b/src/indexer.rs index 4a97cbcf613eb6ee82245a177375998678fc01c7..f86787850f0778acc3c7976d85a2898d0e279109 100644 --- a/src/indexer.rs +++ b/src/indexer.rs @@ -1,10 +1,11 @@ use graphql_client::{reqwest::post_graphql, GraphQLQuery}; +use sp_core::Bytes; use crate::*; // type used in parameters query -#[allow(non_camel_case_types)] -type jsonb = serde_json::Value; +// #[allow(non_camel_case_types)] +// type jsonb = serde_json::Value; // index → identity #[derive(GraphQLQuery)] @@ -61,8 +62,7 @@ impl Indexer { ) .await? .data - .and_then(|data| data.identity_by_pk.map(|idty| idty.name)) - .unwrap()) + .and_then(|data| data.identities.first().map(|idty| idty.name.clone()))) } pub async fn username_by_pubkey(&self, pubkey: &str) -> anyhow::Result<Option<String>> { @@ -75,8 +75,7 @@ impl Indexer { ) .await? .data - .and_then(|data| data.identity.into_iter().next().map(|idty| idty.name)) - .unwrap()) + .and_then(|data| data.identities.first().map(|idty| idty.name.clone()))) } // // not used anymore because available with Duniter @@ -103,19 +102,17 @@ impl Indexer { .await? .data .unwrap() // must have a data field - .parameters + .blocks .first() .unwrap() // must have one and only one parameter matching request - .value - .clone() - .unwrap() // must have a value field - .as_u64() - .unwrap()) // must be a Number of blocks + .height + .try_into() + .unwrap()) } /// fetch genesis hash pub async fn fetch_genesis_hash(&self) -> Result<Hash, anyhow::Error> { - Ok(post_graphql::<GenesisHash, _>( + let hash = post_graphql::<GenesisHash, _>( &self.gql_client, self.gql_url.clone(), genesis_hash::Variables {}, @@ -123,13 +120,13 @@ impl Indexer { .await? .data .ok_or(GcliError::Indexer("could not reach indexer".to_string()))? - .block + .blocks .first() .unwrap() // must have one and only one block matching request .hash - .clone() - .parse::<Hash>() - .unwrap()) + .clone(); + let hash = TryInto::<[u8; 32]>::try_into(hash.as_ref()).unwrap(); + Ok(hash.into()) } } diff --git a/src/main.rs b/src/main.rs index 8ee9098934ffb3cf7b733a1dbd87ba4a8ad80e96..eb0241866ce02b46fa833eaba50548f2ca3788ee 100644 --- a/src/main.rs +++ b/src/main.rs @@ -139,7 +139,7 @@ async fn main() -> Result<(), GcliError> { if let Err(ref e) = result { println!("{}", e) } - println!(""); + println!(); // still return result for detailed error message result // Ok(()) diff --git a/src/runtime_config.rs b/src/runtime_config.rs index f20d875010c7cc86cd583719387687bcf4224869..2ce602d16afbfc4610659ab358b56cbf36266882 100644 --- a/src/runtime_config.rs +++ b/src/runtime_config.rs @@ -21,6 +21,7 @@ pub type Hash = sp_core::H256; // declare runtime types pub enum Runtime {} impl subxt::config::Config for Runtime { + type AssetId = (); type Hash = Hash; type AccountId = AccountId; type Address = sp_runtime::MultiAddress<Self::AccountId, u32>; diff --git a/src/utils.rs b/src/utils.rs index 0db801847d4c336c64f812f2d4ba65982a107472..c2b73022d8122adaaeed18175fedeed166375b70 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -80,7 +80,10 @@ pub fn look_event<E: std::fmt::Debug + StaticEvent + DisplayEvent>( if let Some(e) = events.find_first::<E>()? { println!("{}", e.display(data)); } else { - println!("(no event of type {})", std::any::type_name::<E>()) + // print nothing, this could happen for + // - new cert vs renew cert + // - new smith cert and smith "promotion" + // println!("(no event of type {})", std::any::type_name::<E>()) } Ok(()) }