├── .gitignore ├── README.md ├── ink ├── Cargo.lock ├── Cargo.toml └── lib.rs └── runtime ├── Cargo.lock ├── Cargo.toml ├── rustfmt.toml └── src ├── chain_ext.rs └── lib.rs /.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | **/*.rs.bk 3 | 4 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # pallet-contracts-xcm 2 | 3 | pallet-contracts chain extensions that allows sending XCM messages and receiving replies. This repository contains the extension itself 4 | that can be used in the runtime and also the ink! implementation to be imported into a contract. 5 | -------------------------------------------------------------------------------- /ink/Cargo.lock: -------------------------------------------------------------------------------- 1 | # This file is automatically @generated by Cargo. 2 | # It is not intended for manual editing. 3 | version = 3 4 | 5 | [[package]] 6 | name = "Inflector" 7 | version = "0.11.4" 8 | source = "registry+https://github.com/rust-lang/crates.io-index" 9 | checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3" 10 | dependencies = [ 11 | "lazy_static", 12 | "regex", 13 | ] 14 | 15 | [[package]] 16 | name = "addr2line" 17 | version = "0.17.0" 18 | source = "registry+https://github.com/rust-lang/crates.io-index" 19 | checksum = "b9ecd88a8c8378ca913a680cd98f0f13ac67383d35993f86c90a70e3f137816b" 20 | dependencies = [ 21 | "gimli", 22 | ] 23 | 24 | [[package]] 25 | name = "adler" 26 | version = "1.0.2" 27 | source = "registry+https://github.com/rust-lang/crates.io-index" 28 | checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" 29 | 30 | [[package]] 31 | name = "ahash" 32 | version = "0.7.6" 33 | source = "registry+https://github.com/rust-lang/crates.io-index" 34 | checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" 35 | dependencies = [ 36 | "getrandom 0.2.7", 37 | "once_cell", 38 | "version_check", 39 | ] 40 | 41 | [[package]] 42 | name = "aho-corasick" 43 | version = "0.7.18" 44 | source = "registry+https://github.com/rust-lang/crates.io-index" 45 | checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f" 46 | dependencies = [ 47 | "memchr", 48 | ] 49 | 50 | [[package]] 51 | name = "android_system_properties" 52 | version = "0.1.4" 53 | source = "registry+https://github.com/rust-lang/crates.io-index" 54 | checksum = "d7ed72e1635e121ca3e79420540282af22da58be50de153d36f81ddc6b83aa9e" 55 | dependencies = [ 56 | "libc", 57 | ] 58 | 59 | [[package]] 60 | name = "ansi_term" 61 | version = "0.12.1" 62 | source = "registry+https://github.com/rust-lang/crates.io-index" 63 | checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2" 64 | dependencies = [ 65 | "winapi", 66 | ] 67 | 68 | [[package]] 69 | name = "anyhow" 70 | version = "1.0.60" 71 | source = "registry+https://github.com/rust-lang/crates.io-index" 72 | checksum = "c794e162a5eff65c72ef524dfe393eb923c354e350bb78b9c7383df13f3bc142" 73 | 74 | [[package]] 75 | name = "array-init" 76 | version = "2.0.1" 77 | source = "registry+https://github.com/rust-lang/crates.io-index" 78 | checksum = "bfb6d71005dc22a708c7496eee5c8dc0300ee47355de6256c3b35b12b5fef596" 79 | 80 | [[package]] 81 | name = "arrayref" 82 | version = "0.3.6" 83 | source = "registry+https://github.com/rust-lang/crates.io-index" 84 | checksum = "a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544" 85 | 86 | [[package]] 87 | name = "arrayvec" 88 | version = "0.4.12" 89 | source = "registry+https://github.com/rust-lang/crates.io-index" 90 | checksum = "cd9fd44efafa8690358b7408d253adf110036b88f55672a933f01d616ad9b1b9" 91 | dependencies = [ 92 | "nodrop", 93 | ] 94 | 95 | [[package]] 96 | name = "arrayvec" 97 | version = "0.5.2" 98 | source = "registry+https://github.com/rust-lang/crates.io-index" 99 | checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" 100 | 101 | [[package]] 102 | name = "arrayvec" 103 | version = "0.7.2" 104 | source = "registry+https://github.com/rust-lang/crates.io-index" 105 | checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6" 106 | 107 | [[package]] 108 | name = "async-trait" 109 | version = "0.1.57" 110 | source = "registry+https://github.com/rust-lang/crates.io-index" 111 | checksum = "76464446b8bc32758d7e88ee1a804d9914cd9b1cb264c029899680b0be29826f" 112 | dependencies = [ 113 | "proc-macro2", 114 | "quote", 115 | "syn", 116 | ] 117 | 118 | [[package]] 119 | name = "autocfg" 120 | version = "1.1.0" 121 | source = "registry+https://github.com/rust-lang/crates.io-index" 122 | checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" 123 | 124 | [[package]] 125 | name = "backtrace" 126 | version = "0.3.66" 127 | source = "registry+https://github.com/rust-lang/crates.io-index" 128 | checksum = "cab84319d616cfb654d03394f38ab7e6f0919e181b1b57e1fd15e7fb4077d9a7" 129 | dependencies = [ 130 | "addr2line", 131 | "cc", 132 | "cfg-if", 133 | "libc", 134 | "miniz_oxide", 135 | "object", 136 | "rustc-demangle", 137 | ] 138 | 139 | [[package]] 140 | name = "base58" 141 | version = "0.2.0" 142 | source = "registry+https://github.com/rust-lang/crates.io-index" 143 | checksum = "6107fe1be6682a68940da878d9e9f5e90ca5745b3dec9fd1bb393c8777d4f581" 144 | 145 | [[package]] 146 | name = "base64" 147 | version = "0.13.0" 148 | source = "registry+https://github.com/rust-lang/crates.io-index" 149 | checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd" 150 | 151 | [[package]] 152 | name = "bitflags" 153 | version = "1.3.2" 154 | source = "registry+https://github.com/rust-lang/crates.io-index" 155 | checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 156 | 157 | [[package]] 158 | name = "bitvec" 159 | version = "1.0.1" 160 | source = "registry+https://github.com/rust-lang/crates.io-index" 161 | checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" 162 | dependencies = [ 163 | "funty", 164 | "radium", 165 | "tap", 166 | "wyz", 167 | ] 168 | 169 | [[package]] 170 | name = "blake2" 171 | version = "0.10.4" 172 | source = "registry+https://github.com/rust-lang/crates.io-index" 173 | checksum = "b9cf849ee05b2ee5fba5e36f97ff8ec2533916700fc0758d40d92136a42f3388" 174 | dependencies = [ 175 | "digest 0.10.3", 176 | ] 177 | 178 | [[package]] 179 | name = "blake2-rfc" 180 | version = "0.2.18" 181 | source = "registry+https://github.com/rust-lang/crates.io-index" 182 | checksum = "5d6d530bdd2d52966a6d03b7a964add7ae1a288d25214066fd4b600f0f796400" 183 | dependencies = [ 184 | "arrayvec 0.4.12", 185 | "constant_time_eq", 186 | ] 187 | 188 | [[package]] 189 | name = "block-buffer" 190 | version = "0.7.3" 191 | source = "registry+https://github.com/rust-lang/crates.io-index" 192 | checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b" 193 | dependencies = [ 194 | "block-padding", 195 | "byte-tools", 196 | "byteorder", 197 | "generic-array 0.12.4", 198 | ] 199 | 200 | [[package]] 201 | name = "block-buffer" 202 | version = "0.9.0" 203 | source = "registry+https://github.com/rust-lang/crates.io-index" 204 | checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" 205 | dependencies = [ 206 | "generic-array 0.14.6", 207 | ] 208 | 209 | [[package]] 210 | name = "block-buffer" 211 | version = "0.10.2" 212 | source = "registry+https://github.com/rust-lang/crates.io-index" 213 | checksum = "0bf7fe51849ea569fd452f37822f606a5cabb684dc918707a0193fd4664ff324" 214 | dependencies = [ 215 | "generic-array 0.14.6", 216 | ] 217 | 218 | [[package]] 219 | name = "block-padding" 220 | version = "0.1.5" 221 | source = "registry+https://github.com/rust-lang/crates.io-index" 222 | checksum = "fa79dedbb091f449f1f39e53edf88d5dbe95f895dae6135a8d7b881fb5af73f5" 223 | dependencies = [ 224 | "byte-tools", 225 | ] 226 | 227 | [[package]] 228 | name = "bumpalo" 229 | version = "3.10.0" 230 | source = "registry+https://github.com/rust-lang/crates.io-index" 231 | checksum = "37ccbd214614c6783386c1af30caf03192f17891059cecc394b4fb119e363de3" 232 | 233 | [[package]] 234 | name = "byte-slice-cast" 235 | version = "1.2.1" 236 | source = "registry+https://github.com/rust-lang/crates.io-index" 237 | checksum = "87c5fdd0166095e1d463fc6cc01aa8ce547ad77a4e84d42eb6762b084e28067e" 238 | 239 | [[package]] 240 | name = "byte-tools" 241 | version = "0.3.1" 242 | source = "registry+https://github.com/rust-lang/crates.io-index" 243 | checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" 244 | 245 | [[package]] 246 | name = "byteorder" 247 | version = "1.4.3" 248 | source = "registry+https://github.com/rust-lang/crates.io-index" 249 | checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" 250 | 251 | [[package]] 252 | name = "bytes" 253 | version = "1.2.1" 254 | source = "registry+https://github.com/rust-lang/crates.io-index" 255 | checksum = "ec8a7b6a70fde80372154c65702f00a0f56f3e1c36abbc6c440484be248856db" 256 | 257 | [[package]] 258 | name = "cc" 259 | version = "1.0.73" 260 | source = "registry+https://github.com/rust-lang/crates.io-index" 261 | checksum = "2fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11" 262 | 263 | [[package]] 264 | name = "cfg-if" 265 | version = "1.0.0" 266 | source = "registry+https://github.com/rust-lang/crates.io-index" 267 | checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 268 | 269 | [[package]] 270 | name = "chrono" 271 | version = "0.4.21" 272 | source = "registry+https://github.com/rust-lang/crates.io-index" 273 | checksum = "3f725f340c3854e3cb3ab736dc21f0cca183303acea3b3ffec30f141503ac8eb" 274 | dependencies = [ 275 | "iana-time-zone", 276 | "js-sys", 277 | "num-integer", 278 | "num-traits", 279 | "wasm-bindgen", 280 | "winapi", 281 | ] 282 | 283 | [[package]] 284 | name = "constant_time_eq" 285 | version = "0.1.5" 286 | source = "registry+https://github.com/rust-lang/crates.io-index" 287 | checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" 288 | 289 | [[package]] 290 | name = "core-foundation" 291 | version = "0.9.3" 292 | source = "registry+https://github.com/rust-lang/crates.io-index" 293 | checksum = "194a7a9e6de53fa55116934067c844d9d749312f75c6f6d0980e8c252f8c2146" 294 | dependencies = [ 295 | "core-foundation-sys", 296 | "libc", 297 | ] 298 | 299 | [[package]] 300 | name = "core-foundation-sys" 301 | version = "0.8.3" 302 | source = "registry+https://github.com/rust-lang/crates.io-index" 303 | checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc" 304 | 305 | [[package]] 306 | name = "cpufeatures" 307 | version = "0.2.2" 308 | source = "registry+https://github.com/rust-lang/crates.io-index" 309 | checksum = "59a6001667ab124aebae2a495118e11d30984c3a653e99d86d58971708cf5e4b" 310 | dependencies = [ 311 | "libc", 312 | ] 313 | 314 | [[package]] 315 | name = "crunchy" 316 | version = "0.2.2" 317 | source = "registry+https://github.com/rust-lang/crates.io-index" 318 | checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" 319 | 320 | [[package]] 321 | name = "crypto-common" 322 | version = "0.1.6" 323 | source = "registry+https://github.com/rust-lang/crates.io-index" 324 | checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" 325 | dependencies = [ 326 | "generic-array 0.14.6", 327 | "typenum", 328 | ] 329 | 330 | [[package]] 331 | name = "crypto-mac" 332 | version = "0.8.0" 333 | source = "registry+https://github.com/rust-lang/crates.io-index" 334 | checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab" 335 | dependencies = [ 336 | "generic-array 0.14.6", 337 | "subtle", 338 | ] 339 | 340 | [[package]] 341 | name = "crypto-mac" 342 | version = "0.11.1" 343 | source = "registry+https://github.com/rust-lang/crates.io-index" 344 | checksum = "b1d1a86f49236c215f271d40892d5fc950490551400b02ef360692c29815c714" 345 | dependencies = [ 346 | "generic-array 0.14.6", 347 | "subtle", 348 | ] 349 | 350 | [[package]] 351 | name = "curve25519-dalek" 352 | version = "2.1.3" 353 | source = "registry+https://github.com/rust-lang/crates.io-index" 354 | checksum = "4a9b85542f99a2dfa2a1b8e192662741c9859a846b296bef1c92ef9b58b5a216" 355 | dependencies = [ 356 | "byteorder", 357 | "digest 0.8.1", 358 | "rand_core 0.5.1", 359 | "subtle", 360 | "zeroize", 361 | ] 362 | 363 | [[package]] 364 | name = "curve25519-dalek" 365 | version = "3.2.0" 366 | source = "registry+https://github.com/rust-lang/crates.io-index" 367 | checksum = "0b9fdf9972b2bd6af2d913799d9ebc165ea4d2e65878e329d9c6b372c4491b61" 368 | dependencies = [ 369 | "byteorder", 370 | "digest 0.9.0", 371 | "rand_core 0.5.1", 372 | "subtle", 373 | "zeroize", 374 | ] 375 | 376 | [[package]] 377 | name = "derivative" 378 | version = "2.2.0" 379 | source = "registry+https://github.com/rust-lang/crates.io-index" 380 | checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" 381 | dependencies = [ 382 | "proc-macro2", 383 | "quote", 384 | "syn", 385 | ] 386 | 387 | [[package]] 388 | name = "derive_more" 389 | version = "0.99.17" 390 | source = "registry+https://github.com/rust-lang/crates.io-index" 391 | checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" 392 | dependencies = [ 393 | "proc-macro2", 394 | "quote", 395 | "syn", 396 | ] 397 | 398 | [[package]] 399 | name = "digest" 400 | version = "0.8.1" 401 | source = "registry+https://github.com/rust-lang/crates.io-index" 402 | checksum = "f3d0c8c8752312f9713efd397ff63acb9f85585afbf179282e720e7704954dd5" 403 | dependencies = [ 404 | "generic-array 0.12.4", 405 | ] 406 | 407 | [[package]] 408 | name = "digest" 409 | version = "0.9.0" 410 | source = "registry+https://github.com/rust-lang/crates.io-index" 411 | checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" 412 | dependencies = [ 413 | "generic-array 0.14.6", 414 | ] 415 | 416 | [[package]] 417 | name = "digest" 418 | version = "0.10.3" 419 | source = "registry+https://github.com/rust-lang/crates.io-index" 420 | checksum = "f2fb860ca6fafa5552fb6d0e816a69c8e49f0908bf524e30a90d97c85892d506" 421 | dependencies = [ 422 | "block-buffer 0.10.2", 423 | "crypto-common", 424 | "subtle", 425 | ] 426 | 427 | [[package]] 428 | name = "downcast-rs" 429 | version = "1.2.0" 430 | source = "registry+https://github.com/rust-lang/crates.io-index" 431 | checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650" 432 | 433 | [[package]] 434 | name = "dyn-clonable" 435 | version = "0.9.0" 436 | source = "registry+https://github.com/rust-lang/crates.io-index" 437 | checksum = "4e9232f0e607a262ceb9bd5141a3dfb3e4db6994b31989bbfd845878cba59fd4" 438 | dependencies = [ 439 | "dyn-clonable-impl", 440 | "dyn-clone", 441 | ] 442 | 443 | [[package]] 444 | name = "dyn-clonable-impl" 445 | version = "0.9.0" 446 | source = "registry+https://github.com/rust-lang/crates.io-index" 447 | checksum = "558e40ea573c374cf53507fd240b7ee2f5477df7cfebdb97323ec61c719399c5" 448 | dependencies = [ 449 | "proc-macro2", 450 | "quote", 451 | "syn", 452 | ] 453 | 454 | [[package]] 455 | name = "dyn-clone" 456 | version = "1.0.9" 457 | source = "registry+https://github.com/rust-lang/crates.io-index" 458 | checksum = "4f94fa09c2aeea5b8839e414b7b841bf429fd25b9c522116ac97ee87856d88b2" 459 | 460 | [[package]] 461 | name = "ed25519" 462 | version = "1.5.2" 463 | source = "registry+https://github.com/rust-lang/crates.io-index" 464 | checksum = "1e9c280362032ea4203659fc489832d0204ef09f247a0506f170dafcac08c369" 465 | dependencies = [ 466 | "signature", 467 | ] 468 | 469 | [[package]] 470 | name = "ed25519-dalek" 471 | version = "1.0.1" 472 | source = "registry+https://github.com/rust-lang/crates.io-index" 473 | checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d" 474 | dependencies = [ 475 | "curve25519-dalek 3.2.0", 476 | "ed25519", 477 | "rand 0.7.3", 478 | "serde", 479 | "sha2 0.9.9", 480 | "zeroize", 481 | ] 482 | 483 | [[package]] 484 | name = "either" 485 | version = "1.7.0" 486 | source = "registry+https://github.com/rust-lang/crates.io-index" 487 | checksum = "3f107b87b6afc2a64fd13cac55fe06d6c8859f12d4b14cbcdd2c67d0976781be" 488 | 489 | [[package]] 490 | name = "environmental" 491 | version = "1.1.3" 492 | source = "registry+https://github.com/rust-lang/crates.io-index" 493 | checksum = "68b91989ae21441195d7d9b9993a2f9295c7e1a8c96255d8b729accddc124797" 494 | 495 | [[package]] 496 | name = "extension-xcm" 497 | version = "0.1.0" 498 | dependencies = [ 499 | "ink_env", 500 | "ink_lang", 501 | "ink_metadata", 502 | "ink_primitives", 503 | "ink_storage", 504 | "parity-scale-codec", 505 | "scale-info", 506 | "xcm", 507 | ] 508 | 509 | [[package]] 510 | name = "fake-simd" 511 | version = "0.1.2" 512 | source = "registry+https://github.com/rust-lang/crates.io-index" 513 | checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed" 514 | 515 | [[package]] 516 | name = "fixed-hash" 517 | version = "0.7.0" 518 | source = "registry+https://github.com/rust-lang/crates.io-index" 519 | checksum = "cfcf0ed7fe52a17a03854ec54a9f76d6d84508d1c0e66bc1793301c73fc8493c" 520 | dependencies = [ 521 | "byteorder", 522 | "rand 0.8.5", 523 | "rustc-hex", 524 | "static_assertions", 525 | ] 526 | 527 | [[package]] 528 | name = "funty" 529 | version = "2.0.0" 530 | source = "registry+https://github.com/rust-lang/crates.io-index" 531 | checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" 532 | 533 | [[package]] 534 | name = "futures" 535 | version = "0.3.21" 536 | source = "registry+https://github.com/rust-lang/crates.io-index" 537 | checksum = "f73fe65f54d1e12b726f517d3e2135ca3125a437b6d998caf1962961f7172d9e" 538 | dependencies = [ 539 | "futures-channel", 540 | "futures-core", 541 | "futures-executor", 542 | "futures-io", 543 | "futures-sink", 544 | "futures-task", 545 | "futures-util", 546 | ] 547 | 548 | [[package]] 549 | name = "futures-channel" 550 | version = "0.3.21" 551 | source = "registry+https://github.com/rust-lang/crates.io-index" 552 | checksum = "c3083ce4b914124575708913bca19bfe887522d6e2e6d0952943f5eac4a74010" 553 | dependencies = [ 554 | "futures-core", 555 | "futures-sink", 556 | ] 557 | 558 | [[package]] 559 | name = "futures-core" 560 | version = "0.3.21" 561 | source = "registry+https://github.com/rust-lang/crates.io-index" 562 | checksum = "0c09fd04b7e4073ac7156a9539b57a484a8ea920f79c7c675d05d289ab6110d3" 563 | 564 | [[package]] 565 | name = "futures-executor" 566 | version = "0.3.21" 567 | source = "registry+https://github.com/rust-lang/crates.io-index" 568 | checksum = "9420b90cfa29e327d0429f19be13e7ddb68fa1cccb09d65e5706b8c7a749b8a6" 569 | dependencies = [ 570 | "futures-core", 571 | "futures-task", 572 | "futures-util", 573 | "num_cpus", 574 | ] 575 | 576 | [[package]] 577 | name = "futures-io" 578 | version = "0.3.21" 579 | source = "registry+https://github.com/rust-lang/crates.io-index" 580 | checksum = "fc4045962a5a5e935ee2fdedaa4e08284547402885ab326734432bed5d12966b" 581 | 582 | [[package]] 583 | name = "futures-macro" 584 | version = "0.3.21" 585 | source = "registry+https://github.com/rust-lang/crates.io-index" 586 | checksum = "33c1e13800337f4d4d7a316bf45a567dbcb6ffe087f16424852d97e97a91f512" 587 | dependencies = [ 588 | "proc-macro2", 589 | "quote", 590 | "syn", 591 | ] 592 | 593 | [[package]] 594 | name = "futures-sink" 595 | version = "0.3.21" 596 | source = "registry+https://github.com/rust-lang/crates.io-index" 597 | checksum = "21163e139fa306126e6eedaf49ecdb4588f939600f0b1e770f4205ee4b7fa868" 598 | 599 | [[package]] 600 | name = "futures-task" 601 | version = "0.3.21" 602 | source = "registry+https://github.com/rust-lang/crates.io-index" 603 | checksum = "57c66a976bf5909d801bbef33416c41372779507e7a6b3a5e25e4749c58f776a" 604 | 605 | [[package]] 606 | name = "futures-util" 607 | version = "0.3.21" 608 | source = "registry+https://github.com/rust-lang/crates.io-index" 609 | checksum = "d8b7abd5d659d9b90c8cba917f6ec750a74e2dc23902ef9cd4cc8c8b22e6036a" 610 | dependencies = [ 611 | "futures-channel", 612 | "futures-core", 613 | "futures-io", 614 | "futures-macro", 615 | "futures-sink", 616 | "futures-task", 617 | "memchr", 618 | "pin-project-lite", 619 | "pin-utils", 620 | "slab", 621 | ] 622 | 623 | [[package]] 624 | name = "generic-array" 625 | version = "0.12.4" 626 | source = "registry+https://github.com/rust-lang/crates.io-index" 627 | checksum = "ffdf9f34f1447443d37393cc6c2b8313aebddcd96906caf34e54c68d8e57d7bd" 628 | dependencies = [ 629 | "typenum", 630 | ] 631 | 632 | [[package]] 633 | name = "generic-array" 634 | version = "0.14.6" 635 | source = "registry+https://github.com/rust-lang/crates.io-index" 636 | checksum = "bff49e947297f3312447abdca79f45f4738097cc82b06e72054d2223f601f1b9" 637 | dependencies = [ 638 | "typenum", 639 | "version_check", 640 | ] 641 | 642 | [[package]] 643 | name = "getrandom" 644 | version = "0.1.16" 645 | source = "registry+https://github.com/rust-lang/crates.io-index" 646 | checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" 647 | dependencies = [ 648 | "cfg-if", 649 | "js-sys", 650 | "libc", 651 | "wasi 0.9.0+wasi-snapshot-preview1", 652 | "wasm-bindgen", 653 | ] 654 | 655 | [[package]] 656 | name = "getrandom" 657 | version = "0.2.7" 658 | source = "registry+https://github.com/rust-lang/crates.io-index" 659 | checksum = "4eb1a864a501629691edf6c15a593b7a51eebaa1e8468e9ddc623de7c9b58ec6" 660 | dependencies = [ 661 | "cfg-if", 662 | "libc", 663 | "wasi 0.11.0+wasi-snapshot-preview1", 664 | ] 665 | 666 | [[package]] 667 | name = "gimli" 668 | version = "0.26.2" 669 | source = "registry+https://github.com/rust-lang/crates.io-index" 670 | checksum = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d" 671 | 672 | [[package]] 673 | name = "hash-db" 674 | version = "0.15.2" 675 | source = "registry+https://github.com/rust-lang/crates.io-index" 676 | checksum = "d23bd4e7b5eda0d0f3a307e8b381fdc8ba9000f26fbe912250c0a4cc3956364a" 677 | 678 | [[package]] 679 | name = "hash256-std-hasher" 680 | version = "0.15.2" 681 | source = "registry+https://github.com/rust-lang/crates.io-index" 682 | checksum = "92c171d55b98633f4ed3860808f004099b36c1cc29c42cfc53aa8591b21efcf2" 683 | dependencies = [ 684 | "crunchy", 685 | ] 686 | 687 | [[package]] 688 | name = "hashbrown" 689 | version = "0.12.3" 690 | source = "registry+https://github.com/rust-lang/crates.io-index" 691 | checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" 692 | dependencies = [ 693 | "ahash", 694 | ] 695 | 696 | [[package]] 697 | name = "heck" 698 | version = "0.4.0" 699 | source = "registry+https://github.com/rust-lang/crates.io-index" 700 | checksum = "2540771e65fc8cb83cd6e8a237f70c319bd5c29f78ed1084ba5d50eeac86f7f9" 701 | 702 | [[package]] 703 | name = "hermit-abi" 704 | version = "0.1.19" 705 | source = "registry+https://github.com/rust-lang/crates.io-index" 706 | checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" 707 | dependencies = [ 708 | "libc", 709 | ] 710 | 711 | [[package]] 712 | name = "hex" 713 | version = "0.4.3" 714 | source = "registry+https://github.com/rust-lang/crates.io-index" 715 | checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" 716 | 717 | [[package]] 718 | name = "hmac" 719 | version = "0.8.1" 720 | source = "registry+https://github.com/rust-lang/crates.io-index" 721 | checksum = "126888268dcc288495a26bf004b38c5fdbb31682f992c84ceb046a1f0fe38840" 722 | dependencies = [ 723 | "crypto-mac 0.8.0", 724 | "digest 0.9.0", 725 | ] 726 | 727 | [[package]] 728 | name = "hmac" 729 | version = "0.11.0" 730 | source = "registry+https://github.com/rust-lang/crates.io-index" 731 | checksum = "2a2a2320eb7ec0ebe8da8f744d7812d9fc4cb4d09344ac01898dbcb6a20ae69b" 732 | dependencies = [ 733 | "crypto-mac 0.11.1", 734 | "digest 0.9.0", 735 | ] 736 | 737 | [[package]] 738 | name = "hmac-drbg" 739 | version = "0.3.0" 740 | source = "registry+https://github.com/rust-lang/crates.io-index" 741 | checksum = "17ea0a1394df5b6574da6e0c1ade9e78868c9fb0a4e5ef4428e32da4676b85b1" 742 | dependencies = [ 743 | "digest 0.9.0", 744 | "generic-array 0.14.6", 745 | "hmac 0.8.1", 746 | ] 747 | 748 | [[package]] 749 | name = "iana-time-zone" 750 | version = "0.1.41" 751 | source = "registry+https://github.com/rust-lang/crates.io-index" 752 | checksum = "1779539f58004e5dba1c1f093d44325ebeb244bfc04b791acdc0aaeca9c04570" 753 | dependencies = [ 754 | "android_system_properties", 755 | "core-foundation", 756 | "js-sys", 757 | "wasm-bindgen", 758 | "winapi", 759 | ] 760 | 761 | [[package]] 762 | name = "impl-codec" 763 | version = "0.6.0" 764 | source = "registry+https://github.com/rust-lang/crates.io-index" 765 | checksum = "ba6a270039626615617f3f36d15fc827041df3b78c439da2cadfa47455a77f2f" 766 | dependencies = [ 767 | "parity-scale-codec", 768 | ] 769 | 770 | [[package]] 771 | name = "impl-serde" 772 | version = "0.3.2" 773 | source = "registry+https://github.com/rust-lang/crates.io-index" 774 | checksum = "4551f042f3438e64dbd6226b20527fc84a6e1fe65688b58746a2f53623f25f5c" 775 | dependencies = [ 776 | "serde", 777 | ] 778 | 779 | [[package]] 780 | name = "impl-trait-for-tuples" 781 | version = "0.2.2" 782 | source = "registry+https://github.com/rust-lang/crates.io-index" 783 | checksum = "11d7a9f6330b71fea57921c9b61c47ee6e84f72d394754eff6163ae67e7395eb" 784 | dependencies = [ 785 | "proc-macro2", 786 | "quote", 787 | "syn", 788 | ] 789 | 790 | [[package]] 791 | name = "ink_allocator" 792 | version = "3.3.1" 793 | source = "registry+https://github.com/rust-lang/crates.io-index" 794 | checksum = "a291f411e310b7a3bb01ce21102b8c0aea5b7b523e4bad0b40a8e55a76c58906" 795 | dependencies = [ 796 | "cfg-if", 797 | ] 798 | 799 | [[package]] 800 | name = "ink_engine" 801 | version = "3.3.1" 802 | source = "registry+https://github.com/rust-lang/crates.io-index" 803 | checksum = "075eab468da2937288ec484be920cb18614147003d7f1afbdfcfb190ed771c46" 804 | dependencies = [ 805 | "blake2", 806 | "derive_more", 807 | "parity-scale-codec", 808 | "rand 0.8.5", 809 | "secp256k1", 810 | "sha2 0.10.2", 811 | "sha3", 812 | ] 813 | 814 | [[package]] 815 | name = "ink_env" 816 | version = "3.3.1" 817 | source = "registry+https://github.com/rust-lang/crates.io-index" 818 | checksum = "271689b643d7ccf2bcd09d7ef07eda79cd3366ee042d5bbfcebf534b08da79d7" 819 | dependencies = [ 820 | "arrayref", 821 | "blake2", 822 | "cfg-if", 823 | "derive_more", 824 | "ink_allocator", 825 | "ink_engine", 826 | "ink_metadata", 827 | "ink_prelude", 828 | "ink_primitives", 829 | "num-traits", 830 | "parity-scale-codec", 831 | "paste", 832 | "rand 0.8.5", 833 | "rlibc", 834 | "scale-info", 835 | "secp256k1", 836 | "sha2 0.10.2", 837 | "sha3", 838 | "static_assertions", 839 | ] 840 | 841 | [[package]] 842 | name = "ink_lang" 843 | version = "3.3.1" 844 | source = "registry+https://github.com/rust-lang/crates.io-index" 845 | checksum = "62cf662fe6a130ea1ada3520142405e3ed521b79c35b7274cc95dd37bc833571" 846 | dependencies = [ 847 | "derive_more", 848 | "ink_env", 849 | "ink_lang_macro", 850 | "ink_prelude", 851 | "ink_primitives", 852 | "ink_storage", 853 | "parity-scale-codec", 854 | ] 855 | 856 | [[package]] 857 | name = "ink_lang_codegen" 858 | version = "3.3.1" 859 | source = "registry+https://github.com/rust-lang/crates.io-index" 860 | checksum = "94dc22732ced2557f0411de5fa31d6fddc3878968041b699ae16ed1c390d2660" 861 | dependencies = [ 862 | "blake2", 863 | "derive_more", 864 | "either", 865 | "heck", 866 | "impl-serde", 867 | "ink_lang_ir", 868 | "itertools", 869 | "parity-scale-codec", 870 | "proc-macro2", 871 | "quote", 872 | "syn", 873 | ] 874 | 875 | [[package]] 876 | name = "ink_lang_ir" 877 | version = "3.3.1" 878 | source = "registry+https://github.com/rust-lang/crates.io-index" 879 | checksum = "a089bcac8d7e6a487b7a18ea8a1d20eb540ed26657706ac221cc0e8239047e45" 880 | dependencies = [ 881 | "blake2", 882 | "either", 883 | "itertools", 884 | "proc-macro2", 885 | "quote", 886 | "syn", 887 | ] 888 | 889 | [[package]] 890 | name = "ink_lang_macro" 891 | version = "3.3.1" 892 | source = "registry+https://github.com/rust-lang/crates.io-index" 893 | checksum = "1330da0b8007b86de94f95fbc74769c0461d3b078b291af5497771598db1c5b4" 894 | dependencies = [ 895 | "ink_lang_codegen", 896 | "ink_lang_ir", 897 | "ink_primitives", 898 | "parity-scale-codec", 899 | "proc-macro2", 900 | "syn", 901 | ] 902 | 903 | [[package]] 904 | name = "ink_metadata" 905 | version = "3.3.1" 906 | source = "registry+https://github.com/rust-lang/crates.io-index" 907 | checksum = "d442f4f5dcbf120aa84cae9e399065ad99d143d5a920b06d3da286e91c03ec70" 908 | dependencies = [ 909 | "derive_more", 910 | "impl-serde", 911 | "ink_prelude", 912 | "ink_primitives", 913 | "scale-info", 914 | "serde", 915 | ] 916 | 917 | [[package]] 918 | name = "ink_prelude" 919 | version = "3.3.1" 920 | source = "registry+https://github.com/rust-lang/crates.io-index" 921 | checksum = "e38d71af62cfec3425727d28665a947d636c3be6ae71ac3a79868ef8a08633f3" 922 | dependencies = [ 923 | "cfg-if", 924 | ] 925 | 926 | [[package]] 927 | name = "ink_primitives" 928 | version = "3.3.1" 929 | source = "registry+https://github.com/rust-lang/crates.io-index" 930 | checksum = "ea7afd5330a9d3be1533222a48b8ab44b3a3356a5e6bb090bff0790aa562b418" 931 | dependencies = [ 932 | "cfg-if", 933 | "ink_prelude", 934 | "parity-scale-codec", 935 | "scale-info", 936 | ] 937 | 938 | [[package]] 939 | name = "ink_storage" 940 | version = "3.3.1" 941 | source = "registry+https://github.com/rust-lang/crates.io-index" 942 | checksum = "be827b98c102c413b2309075f0835a9bb8c6325fc6aa09e66963424db7a8bcb5" 943 | dependencies = [ 944 | "array-init", 945 | "cfg-if", 946 | "derive_more", 947 | "ink_env", 948 | "ink_metadata", 949 | "ink_prelude", 950 | "ink_primitives", 951 | "ink_storage_derive", 952 | "parity-scale-codec", 953 | "scale-info", 954 | ] 955 | 956 | [[package]] 957 | name = "ink_storage_derive" 958 | version = "3.3.1" 959 | source = "registry+https://github.com/rust-lang/crates.io-index" 960 | checksum = "8ced452d5d0b2268b1257ffd2ec73cf9c3b4fba5f3632f185a03aafec8888439" 961 | dependencies = [ 962 | "proc-macro2", 963 | "quote", 964 | "syn", 965 | "synstructure", 966 | ] 967 | 968 | [[package]] 969 | name = "integer-sqrt" 970 | version = "0.1.5" 971 | source = "registry+https://github.com/rust-lang/crates.io-index" 972 | checksum = "276ec31bcb4a9ee45f58bec6f9ec700ae4cf4f4f8f2fa7e06cb406bd5ffdd770" 973 | dependencies = [ 974 | "num-traits", 975 | ] 976 | 977 | [[package]] 978 | name = "itertools" 979 | version = "0.10.3" 980 | source = "registry+https://github.com/rust-lang/crates.io-index" 981 | checksum = "a9a9d19fa1e79b6215ff29b9d6880b706147f16e9b1dbb1e4e5947b5b02bc5e3" 982 | dependencies = [ 983 | "either", 984 | ] 985 | 986 | [[package]] 987 | name = "itoa" 988 | version = "0.4.8" 989 | source = "registry+https://github.com/rust-lang/crates.io-index" 990 | checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4" 991 | 992 | [[package]] 993 | name = "itoa" 994 | version = "1.0.3" 995 | source = "registry+https://github.com/rust-lang/crates.io-index" 996 | checksum = "6c8af84674fe1f223a982c933a0ee1086ac4d4052aa0fb8060c12c6ad838e754" 997 | 998 | [[package]] 999 | name = "js-sys" 1000 | version = "0.3.59" 1001 | source = "registry+https://github.com/rust-lang/crates.io-index" 1002 | checksum = "258451ab10b34f8af53416d1fdab72c22e805f0c92a1136d59470ec0b11138b2" 1003 | dependencies = [ 1004 | "wasm-bindgen", 1005 | ] 1006 | 1007 | [[package]] 1008 | name = "keccak" 1009 | version = "0.1.2" 1010 | source = "registry+https://github.com/rust-lang/crates.io-index" 1011 | checksum = "f9b7d56ba4a8344d6be9729995e6b06f928af29998cdf79fe390cbf6b1fee838" 1012 | 1013 | [[package]] 1014 | name = "lazy_static" 1015 | version = "1.4.0" 1016 | source = "registry+https://github.com/rust-lang/crates.io-index" 1017 | checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" 1018 | 1019 | [[package]] 1020 | name = "libc" 1021 | version = "0.2.129" 1022 | source = "registry+https://github.com/rust-lang/crates.io-index" 1023 | checksum = "64de3cc433455c14174d42e554d4027ee631c4d046d43e3ecc6efc4636cdc7a7" 1024 | 1025 | [[package]] 1026 | name = "libsecp256k1" 1027 | version = "0.7.1" 1028 | source = "registry+https://github.com/rust-lang/crates.io-index" 1029 | checksum = "95b09eff1b35ed3b33b877ced3a691fc7a481919c7e29c53c906226fcf55e2a1" 1030 | dependencies = [ 1031 | "arrayref", 1032 | "base64", 1033 | "digest 0.9.0", 1034 | "hmac-drbg", 1035 | "libsecp256k1-core", 1036 | "libsecp256k1-gen-ecmult", 1037 | "libsecp256k1-gen-genmult", 1038 | "rand 0.8.5", 1039 | "serde", 1040 | "sha2 0.9.9", 1041 | "typenum", 1042 | ] 1043 | 1044 | [[package]] 1045 | name = "libsecp256k1-core" 1046 | version = "0.3.0" 1047 | source = "registry+https://github.com/rust-lang/crates.io-index" 1048 | checksum = "5be9b9bb642d8522a44d533eab56c16c738301965504753b03ad1de3425d5451" 1049 | dependencies = [ 1050 | "crunchy", 1051 | "digest 0.9.0", 1052 | "subtle", 1053 | ] 1054 | 1055 | [[package]] 1056 | name = "libsecp256k1-gen-ecmult" 1057 | version = "0.3.0" 1058 | source = "registry+https://github.com/rust-lang/crates.io-index" 1059 | checksum = "3038c808c55c87e8a172643a7d87187fc6c4174468159cb3090659d55bcb4809" 1060 | dependencies = [ 1061 | "libsecp256k1-core", 1062 | ] 1063 | 1064 | [[package]] 1065 | name = "libsecp256k1-gen-genmult" 1066 | version = "0.3.0" 1067 | source = "registry+https://github.com/rust-lang/crates.io-index" 1068 | checksum = "3db8d6ba2cec9eacc40e6e8ccc98931840301f1006e95647ceb2dd5c3aa06f7c" 1069 | dependencies = [ 1070 | "libsecp256k1-core", 1071 | ] 1072 | 1073 | [[package]] 1074 | name = "lock_api" 1075 | version = "0.4.7" 1076 | source = "registry+https://github.com/rust-lang/crates.io-index" 1077 | checksum = "327fa5b6a6940e4699ec49a9beae1ea4845c6bab9314e4f84ac68742139d8c53" 1078 | dependencies = [ 1079 | "autocfg", 1080 | "scopeguard", 1081 | ] 1082 | 1083 | [[package]] 1084 | name = "log" 1085 | version = "0.4.17" 1086 | source = "registry+https://github.com/rust-lang/crates.io-index" 1087 | checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" 1088 | dependencies = [ 1089 | "cfg-if", 1090 | ] 1091 | 1092 | [[package]] 1093 | name = "matchers" 1094 | version = "0.0.1" 1095 | source = "registry+https://github.com/rust-lang/crates.io-index" 1096 | checksum = "f099785f7595cc4b4553a174ce30dd7589ef93391ff414dbb67f62392b9e0ce1" 1097 | dependencies = [ 1098 | "regex-automata", 1099 | ] 1100 | 1101 | [[package]] 1102 | name = "memchr" 1103 | version = "2.5.0" 1104 | source = "registry+https://github.com/rust-lang/crates.io-index" 1105 | checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" 1106 | 1107 | [[package]] 1108 | name = "memory-db" 1109 | version = "0.29.0" 1110 | source = "registry+https://github.com/rust-lang/crates.io-index" 1111 | checksum = "6566c70c1016f525ced45d7b7f97730a2bafb037c788211d0c186ef5b2189f0a" 1112 | dependencies = [ 1113 | "hash-db", 1114 | "hashbrown", 1115 | "parity-util-mem", 1116 | ] 1117 | 1118 | [[package]] 1119 | name = "memory_units" 1120 | version = "0.3.0" 1121 | source = "registry+https://github.com/rust-lang/crates.io-index" 1122 | checksum = "71d96e3f3c0b6325d8ccd83c33b28acb183edcb6c67938ba104ec546854b0882" 1123 | 1124 | [[package]] 1125 | name = "merlin" 1126 | version = "2.0.1" 1127 | source = "registry+https://github.com/rust-lang/crates.io-index" 1128 | checksum = "4e261cf0f8b3c42ded9f7d2bb59dea03aa52bc8a1cbc7482f9fc3fd1229d3b42" 1129 | dependencies = [ 1130 | "byteorder", 1131 | "keccak", 1132 | "rand_core 0.5.1", 1133 | "zeroize", 1134 | ] 1135 | 1136 | [[package]] 1137 | name = "miniz_oxide" 1138 | version = "0.5.3" 1139 | source = "registry+https://github.com/rust-lang/crates.io-index" 1140 | checksum = "6f5c75688da582b8ffc1f1799e9db273f32133c49e048f614d22ec3256773ccc" 1141 | dependencies = [ 1142 | "adler", 1143 | ] 1144 | 1145 | [[package]] 1146 | name = "nodrop" 1147 | version = "0.1.14" 1148 | source = "registry+https://github.com/rust-lang/crates.io-index" 1149 | checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb" 1150 | 1151 | [[package]] 1152 | name = "num-bigint" 1153 | version = "0.2.6" 1154 | source = "registry+https://github.com/rust-lang/crates.io-index" 1155 | checksum = "090c7f9998ee0ff65aa5b723e4009f7b217707f1fb5ea551329cc4d6231fb304" 1156 | dependencies = [ 1157 | "autocfg", 1158 | "num-integer", 1159 | "num-traits", 1160 | ] 1161 | 1162 | [[package]] 1163 | name = "num-format" 1164 | version = "0.4.0" 1165 | source = "registry+https://github.com/rust-lang/crates.io-index" 1166 | checksum = "bafe4179722c2894288ee77a9f044f02811c86af699344c498b0840c698a2465" 1167 | dependencies = [ 1168 | "arrayvec 0.4.12", 1169 | "itoa 0.4.8", 1170 | ] 1171 | 1172 | [[package]] 1173 | name = "num-integer" 1174 | version = "0.1.45" 1175 | source = "registry+https://github.com/rust-lang/crates.io-index" 1176 | checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" 1177 | dependencies = [ 1178 | "autocfg", 1179 | "num-traits", 1180 | ] 1181 | 1182 | [[package]] 1183 | name = "num-rational" 1184 | version = "0.2.4" 1185 | source = "registry+https://github.com/rust-lang/crates.io-index" 1186 | checksum = "5c000134b5dbf44adc5cb772486d335293351644b801551abe8f75c84cfa4aef" 1187 | dependencies = [ 1188 | "autocfg", 1189 | "num-bigint", 1190 | "num-integer", 1191 | "num-traits", 1192 | ] 1193 | 1194 | [[package]] 1195 | name = "num-traits" 1196 | version = "0.2.15" 1197 | source = "registry+https://github.com/rust-lang/crates.io-index" 1198 | checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" 1199 | dependencies = [ 1200 | "autocfg", 1201 | ] 1202 | 1203 | [[package]] 1204 | name = "num_cpus" 1205 | version = "1.13.1" 1206 | source = "registry+https://github.com/rust-lang/crates.io-index" 1207 | checksum = "19e64526ebdee182341572e50e9ad03965aa510cd94427a4549448f285e957a1" 1208 | dependencies = [ 1209 | "hermit-abi", 1210 | "libc", 1211 | ] 1212 | 1213 | [[package]] 1214 | name = "object" 1215 | version = "0.29.0" 1216 | source = "registry+https://github.com/rust-lang/crates.io-index" 1217 | checksum = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53" 1218 | dependencies = [ 1219 | "memchr", 1220 | ] 1221 | 1222 | [[package]] 1223 | name = "once_cell" 1224 | version = "1.13.0" 1225 | source = "registry+https://github.com/rust-lang/crates.io-index" 1226 | checksum = "18a6dbe30758c9f83eb00cbea4ac95966305f5a7772f3f42ebfc7fc7eddbd8e1" 1227 | 1228 | [[package]] 1229 | name = "opaque-debug" 1230 | version = "0.2.3" 1231 | source = "registry+https://github.com/rust-lang/crates.io-index" 1232 | checksum = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c" 1233 | 1234 | [[package]] 1235 | name = "opaque-debug" 1236 | version = "0.3.0" 1237 | source = "registry+https://github.com/rust-lang/crates.io-index" 1238 | checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" 1239 | 1240 | [[package]] 1241 | name = "parity-scale-codec" 1242 | version = "3.1.5" 1243 | source = "registry+https://github.com/rust-lang/crates.io-index" 1244 | checksum = "9182e4a71cae089267ab03e67c99368db7cd877baf50f931e5d6d4b71e195ac0" 1245 | dependencies = [ 1246 | "arrayvec 0.7.2", 1247 | "bitvec", 1248 | "byte-slice-cast", 1249 | "bytes", 1250 | "impl-trait-for-tuples", 1251 | "parity-scale-codec-derive", 1252 | "serde", 1253 | ] 1254 | 1255 | [[package]] 1256 | name = "parity-scale-codec-derive" 1257 | version = "3.1.3" 1258 | source = "registry+https://github.com/rust-lang/crates.io-index" 1259 | checksum = "9299338969a3d2f491d65f140b00ddec470858402f888af98e8642fb5e8965cd" 1260 | dependencies = [ 1261 | "proc-macro-crate", 1262 | "proc-macro2", 1263 | "quote", 1264 | "syn", 1265 | ] 1266 | 1267 | [[package]] 1268 | name = "parity-util-mem" 1269 | version = "0.11.0" 1270 | source = "registry+https://github.com/rust-lang/crates.io-index" 1271 | checksum = "c32561d248d352148124f036cac253a644685a21dc9fea383eb4907d7bd35a8f" 1272 | dependencies = [ 1273 | "cfg-if", 1274 | "hashbrown", 1275 | "impl-trait-for-tuples", 1276 | "parity-util-mem-derive", 1277 | "parking_lot", 1278 | "primitive-types", 1279 | "winapi", 1280 | ] 1281 | 1282 | [[package]] 1283 | name = "parity-util-mem-derive" 1284 | version = "0.1.0" 1285 | source = "registry+https://github.com/rust-lang/crates.io-index" 1286 | checksum = "f557c32c6d268a07c921471619c0295f5efad3a0e76d4f97a05c091a51d110b2" 1287 | dependencies = [ 1288 | "proc-macro2", 1289 | "syn", 1290 | "synstructure", 1291 | ] 1292 | 1293 | [[package]] 1294 | name = "parity-wasm" 1295 | version = "0.42.2" 1296 | source = "registry+https://github.com/rust-lang/crates.io-index" 1297 | checksum = "be5e13c266502aadf83426d87d81a0f5d1ef45b8027f5a471c360abfe4bfae92" 1298 | 1299 | [[package]] 1300 | name = "parking_lot" 1301 | version = "0.12.1" 1302 | source = "registry+https://github.com/rust-lang/crates.io-index" 1303 | checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" 1304 | dependencies = [ 1305 | "lock_api", 1306 | "parking_lot_core", 1307 | ] 1308 | 1309 | [[package]] 1310 | name = "parking_lot_core" 1311 | version = "0.9.3" 1312 | source = "registry+https://github.com/rust-lang/crates.io-index" 1313 | checksum = "09a279cbf25cb0757810394fbc1e359949b59e348145c643a939a525692e6929" 1314 | dependencies = [ 1315 | "cfg-if", 1316 | "libc", 1317 | "redox_syscall", 1318 | "smallvec", 1319 | "windows-sys", 1320 | ] 1321 | 1322 | [[package]] 1323 | name = "paste" 1324 | version = "1.0.8" 1325 | source = "registry+https://github.com/rust-lang/crates.io-index" 1326 | checksum = "9423e2b32f7a043629287a536f21951e8c6a82482d0acb1eeebfc90bc2225b22" 1327 | 1328 | [[package]] 1329 | name = "pbkdf2" 1330 | version = "0.4.0" 1331 | source = "registry+https://github.com/rust-lang/crates.io-index" 1332 | checksum = "216eaa586a190f0a738f2f918511eecfa90f13295abec0e457cdebcceda80cbd" 1333 | dependencies = [ 1334 | "crypto-mac 0.8.0", 1335 | ] 1336 | 1337 | [[package]] 1338 | name = "pbkdf2" 1339 | version = "0.8.0" 1340 | source = "registry+https://github.com/rust-lang/crates.io-index" 1341 | checksum = "d95f5254224e617595d2cc3cc73ff0a5eaf2637519e25f03388154e9378b6ffa" 1342 | dependencies = [ 1343 | "crypto-mac 0.11.1", 1344 | ] 1345 | 1346 | [[package]] 1347 | name = "pin-project-lite" 1348 | version = "0.2.9" 1349 | source = "registry+https://github.com/rust-lang/crates.io-index" 1350 | checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116" 1351 | 1352 | [[package]] 1353 | name = "pin-utils" 1354 | version = "0.1.0" 1355 | source = "registry+https://github.com/rust-lang/crates.io-index" 1356 | checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" 1357 | 1358 | [[package]] 1359 | name = "ppv-lite86" 1360 | version = "0.2.16" 1361 | source = "registry+https://github.com/rust-lang/crates.io-index" 1362 | checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872" 1363 | 1364 | [[package]] 1365 | name = "primitive-types" 1366 | version = "0.11.1" 1367 | source = "registry+https://github.com/rust-lang/crates.io-index" 1368 | checksum = "e28720988bff275df1f51b171e1b2a18c30d194c4d2b61defdacecd625a5d94a" 1369 | dependencies = [ 1370 | "fixed-hash", 1371 | "impl-codec", 1372 | "impl-serde", 1373 | "scale-info", 1374 | "uint", 1375 | ] 1376 | 1377 | [[package]] 1378 | name = "proc-macro-crate" 1379 | version = "1.2.1" 1380 | source = "registry+https://github.com/rust-lang/crates.io-index" 1381 | checksum = "eda0fc3b0fb7c975631757e14d9049da17374063edb6ebbcbc54d880d4fe94e9" 1382 | dependencies = [ 1383 | "once_cell", 1384 | "thiserror", 1385 | "toml", 1386 | ] 1387 | 1388 | [[package]] 1389 | name = "proc-macro2" 1390 | version = "1.0.43" 1391 | source = "registry+https://github.com/rust-lang/crates.io-index" 1392 | checksum = "0a2ca2c61bc9f3d74d2886294ab7b9853abd9c1ad903a3ac7815c58989bb7bab" 1393 | dependencies = [ 1394 | "unicode-ident", 1395 | ] 1396 | 1397 | [[package]] 1398 | name = "quote" 1399 | version = "1.0.21" 1400 | source = "registry+https://github.com/rust-lang/crates.io-index" 1401 | checksum = "bbe448f377a7d6961e30f5955f9b8d106c3f5e449d493ee1b125c1d43c2b5179" 1402 | dependencies = [ 1403 | "proc-macro2", 1404 | ] 1405 | 1406 | [[package]] 1407 | name = "radium" 1408 | version = "0.7.0" 1409 | source = "registry+https://github.com/rust-lang/crates.io-index" 1410 | checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" 1411 | 1412 | [[package]] 1413 | name = "rand" 1414 | version = "0.7.3" 1415 | source = "registry+https://github.com/rust-lang/crates.io-index" 1416 | checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" 1417 | dependencies = [ 1418 | "getrandom 0.1.16", 1419 | "libc", 1420 | "rand_chacha 0.2.2", 1421 | "rand_core 0.5.1", 1422 | "rand_hc", 1423 | "rand_pcg", 1424 | ] 1425 | 1426 | [[package]] 1427 | name = "rand" 1428 | version = "0.8.5" 1429 | source = "registry+https://github.com/rust-lang/crates.io-index" 1430 | checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" 1431 | dependencies = [ 1432 | "libc", 1433 | "rand_chacha 0.3.1", 1434 | "rand_core 0.6.3", 1435 | ] 1436 | 1437 | [[package]] 1438 | name = "rand_chacha" 1439 | version = "0.2.2" 1440 | source = "registry+https://github.com/rust-lang/crates.io-index" 1441 | checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" 1442 | dependencies = [ 1443 | "ppv-lite86", 1444 | "rand_core 0.5.1", 1445 | ] 1446 | 1447 | [[package]] 1448 | name = "rand_chacha" 1449 | version = "0.3.1" 1450 | source = "registry+https://github.com/rust-lang/crates.io-index" 1451 | checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" 1452 | dependencies = [ 1453 | "ppv-lite86", 1454 | "rand_core 0.6.3", 1455 | ] 1456 | 1457 | [[package]] 1458 | name = "rand_core" 1459 | version = "0.5.1" 1460 | source = "registry+https://github.com/rust-lang/crates.io-index" 1461 | checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" 1462 | dependencies = [ 1463 | "getrandom 0.1.16", 1464 | ] 1465 | 1466 | [[package]] 1467 | name = "rand_core" 1468 | version = "0.6.3" 1469 | source = "registry+https://github.com/rust-lang/crates.io-index" 1470 | checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7" 1471 | dependencies = [ 1472 | "getrandom 0.2.7", 1473 | ] 1474 | 1475 | [[package]] 1476 | name = "rand_hc" 1477 | version = "0.2.0" 1478 | source = "registry+https://github.com/rust-lang/crates.io-index" 1479 | checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" 1480 | dependencies = [ 1481 | "rand_core 0.5.1", 1482 | ] 1483 | 1484 | [[package]] 1485 | name = "rand_pcg" 1486 | version = "0.2.1" 1487 | source = "registry+https://github.com/rust-lang/crates.io-index" 1488 | checksum = "16abd0c1b639e9eb4d7c50c0b8100b0d0f849be2349829c740fe8e6eb4816429" 1489 | dependencies = [ 1490 | "rand_core 0.5.1", 1491 | ] 1492 | 1493 | [[package]] 1494 | name = "redox_syscall" 1495 | version = "0.2.16" 1496 | source = "registry+https://github.com/rust-lang/crates.io-index" 1497 | checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" 1498 | dependencies = [ 1499 | "bitflags", 1500 | ] 1501 | 1502 | [[package]] 1503 | name = "ref-cast" 1504 | version = "1.0.9" 1505 | source = "registry+https://github.com/rust-lang/crates.io-index" 1506 | checksum = "ed13bcd201494ab44900a96490291651d200730904221832b9547d24a87d332b" 1507 | dependencies = [ 1508 | "ref-cast-impl", 1509 | ] 1510 | 1511 | [[package]] 1512 | name = "ref-cast-impl" 1513 | version = "1.0.9" 1514 | source = "registry+https://github.com/rust-lang/crates.io-index" 1515 | checksum = "5234cd6063258a5e32903b53b1b6ac043a0541c8adc1f610f67b0326c7a578fa" 1516 | dependencies = [ 1517 | "proc-macro2", 1518 | "quote", 1519 | "syn", 1520 | ] 1521 | 1522 | [[package]] 1523 | name = "regex" 1524 | version = "1.6.0" 1525 | source = "registry+https://github.com/rust-lang/crates.io-index" 1526 | checksum = "4c4eb3267174b8c6c2f654116623910a0fef09c4753f8dd83db29c48a0df988b" 1527 | dependencies = [ 1528 | "aho-corasick", 1529 | "memchr", 1530 | "regex-syntax", 1531 | ] 1532 | 1533 | [[package]] 1534 | name = "regex-automata" 1535 | version = "0.1.10" 1536 | source = "registry+https://github.com/rust-lang/crates.io-index" 1537 | checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" 1538 | dependencies = [ 1539 | "regex-syntax", 1540 | ] 1541 | 1542 | [[package]] 1543 | name = "regex-syntax" 1544 | version = "0.6.27" 1545 | source = "registry+https://github.com/rust-lang/crates.io-index" 1546 | checksum = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244" 1547 | 1548 | [[package]] 1549 | name = "rlibc" 1550 | version = "1.0.0" 1551 | source = "registry+https://github.com/rust-lang/crates.io-index" 1552 | checksum = "fc874b127765f014d792f16763a81245ab80500e2ad921ed4ee9e82481ee08fe" 1553 | 1554 | [[package]] 1555 | name = "rustc-demangle" 1556 | version = "0.1.21" 1557 | source = "registry+https://github.com/rust-lang/crates.io-index" 1558 | checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342" 1559 | 1560 | [[package]] 1561 | name = "rustc-hash" 1562 | version = "1.1.0" 1563 | source = "registry+https://github.com/rust-lang/crates.io-index" 1564 | checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" 1565 | 1566 | [[package]] 1567 | name = "rustc-hex" 1568 | version = "2.1.0" 1569 | source = "registry+https://github.com/rust-lang/crates.io-index" 1570 | checksum = "3e75f6a532d0fd9f7f13144f392b6ad56a32696bfcd9c78f797f16bbb6f072d6" 1571 | 1572 | [[package]] 1573 | name = "ryu" 1574 | version = "1.0.11" 1575 | source = "registry+https://github.com/rust-lang/crates.io-index" 1576 | checksum = "4501abdff3ae82a1c1b477a17252eb69cee9e66eb915c1abaa4f44d873df9f09" 1577 | 1578 | [[package]] 1579 | name = "scale-info" 1580 | version = "2.1.2" 1581 | source = "registry+https://github.com/rust-lang/crates.io-index" 1582 | checksum = "c46be926081c9f4dd5dd9b6f1d3e3229f2360bc6502dd8836f84a93b7c75e99a" 1583 | dependencies = [ 1584 | "bitvec", 1585 | "cfg-if", 1586 | "derive_more", 1587 | "parity-scale-codec", 1588 | "scale-info-derive", 1589 | "serde", 1590 | ] 1591 | 1592 | [[package]] 1593 | name = "scale-info-derive" 1594 | version = "2.1.2" 1595 | source = "registry+https://github.com/rust-lang/crates.io-index" 1596 | checksum = "50e334bb10a245e28e5fd755cabcafd96cfcd167c99ae63a46924ca8d8703a3c" 1597 | dependencies = [ 1598 | "proc-macro-crate", 1599 | "proc-macro2", 1600 | "quote", 1601 | "syn", 1602 | ] 1603 | 1604 | [[package]] 1605 | name = "schnorrkel" 1606 | version = "0.9.1" 1607 | source = "registry+https://github.com/rust-lang/crates.io-index" 1608 | checksum = "021b403afe70d81eea68f6ea12f6b3c9588e5d536a94c3bf80f15e7faa267862" 1609 | dependencies = [ 1610 | "arrayref", 1611 | "arrayvec 0.5.2", 1612 | "curve25519-dalek 2.1.3", 1613 | "getrandom 0.1.16", 1614 | "merlin", 1615 | "rand 0.7.3", 1616 | "rand_core 0.5.1", 1617 | "sha2 0.8.2", 1618 | "subtle", 1619 | "zeroize", 1620 | ] 1621 | 1622 | [[package]] 1623 | name = "scopeguard" 1624 | version = "1.1.0" 1625 | source = "registry+https://github.com/rust-lang/crates.io-index" 1626 | checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" 1627 | 1628 | [[package]] 1629 | name = "secp256k1" 1630 | version = "0.24.0" 1631 | source = "registry+https://github.com/rust-lang/crates.io-index" 1632 | checksum = "b7649a0b3ffb32636e60c7ce0d70511eda9c52c658cd0634e194d5a19943aeff" 1633 | dependencies = [ 1634 | "secp256k1-sys", 1635 | ] 1636 | 1637 | [[package]] 1638 | name = "secp256k1-sys" 1639 | version = "0.6.0" 1640 | source = "registry+https://github.com/rust-lang/crates.io-index" 1641 | checksum = "7058dc8eaf3f2810d7828680320acda0b25a288f6d288e19278e249bbf74226b" 1642 | dependencies = [ 1643 | "cc", 1644 | ] 1645 | 1646 | [[package]] 1647 | name = "secrecy" 1648 | version = "0.8.0" 1649 | source = "registry+https://github.com/rust-lang/crates.io-index" 1650 | checksum = "9bd1c54ea06cfd2f6b63219704de0b9b4f72dcc2b8fdef820be6cd799780e91e" 1651 | dependencies = [ 1652 | "zeroize", 1653 | ] 1654 | 1655 | [[package]] 1656 | name = "serde" 1657 | version = "1.0.143" 1658 | source = "registry+https://github.com/rust-lang/crates.io-index" 1659 | checksum = "53e8e5d5b70924f74ff5c6d64d9a5acd91422117c60f48c4e07855238a254553" 1660 | dependencies = [ 1661 | "serde_derive", 1662 | ] 1663 | 1664 | [[package]] 1665 | name = "serde_derive" 1666 | version = "1.0.143" 1667 | source = "registry+https://github.com/rust-lang/crates.io-index" 1668 | checksum = "d3d8e8de557aee63c26b85b947f5e59b690d0454c753f3adeb5cd7835ab88391" 1669 | dependencies = [ 1670 | "proc-macro2", 1671 | "quote", 1672 | "syn", 1673 | ] 1674 | 1675 | [[package]] 1676 | name = "serde_json" 1677 | version = "1.0.83" 1678 | source = "registry+https://github.com/rust-lang/crates.io-index" 1679 | checksum = "38dd04e3c8279e75b31ef29dbdceebfe5ad89f4d0937213c53f7d49d01b3d5a7" 1680 | dependencies = [ 1681 | "itoa 1.0.3", 1682 | "ryu", 1683 | "serde", 1684 | ] 1685 | 1686 | [[package]] 1687 | name = "sha2" 1688 | version = "0.8.2" 1689 | source = "registry+https://github.com/rust-lang/crates.io-index" 1690 | checksum = "a256f46ea78a0c0d9ff00077504903ac881a1dafdc20da66545699e7776b3e69" 1691 | dependencies = [ 1692 | "block-buffer 0.7.3", 1693 | "digest 0.8.1", 1694 | "fake-simd", 1695 | "opaque-debug 0.2.3", 1696 | ] 1697 | 1698 | [[package]] 1699 | name = "sha2" 1700 | version = "0.9.9" 1701 | source = "registry+https://github.com/rust-lang/crates.io-index" 1702 | checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800" 1703 | dependencies = [ 1704 | "block-buffer 0.9.0", 1705 | "cfg-if", 1706 | "cpufeatures", 1707 | "digest 0.9.0", 1708 | "opaque-debug 0.3.0", 1709 | ] 1710 | 1711 | [[package]] 1712 | name = "sha2" 1713 | version = "0.10.2" 1714 | source = "registry+https://github.com/rust-lang/crates.io-index" 1715 | checksum = "55deaec60f81eefe3cce0dc50bda92d6d8e88f2a27df7c5033b42afeb1ed2676" 1716 | dependencies = [ 1717 | "cfg-if", 1718 | "cpufeatures", 1719 | "digest 0.10.3", 1720 | ] 1721 | 1722 | [[package]] 1723 | name = "sha3" 1724 | version = "0.10.2" 1725 | source = "registry+https://github.com/rust-lang/crates.io-index" 1726 | checksum = "0a31480366ec990f395a61b7c08122d99bd40544fdb5abcfc1b06bb29994312c" 1727 | dependencies = [ 1728 | "digest 0.10.3", 1729 | "keccak", 1730 | ] 1731 | 1732 | [[package]] 1733 | name = "sharded-slab" 1734 | version = "0.1.4" 1735 | source = "registry+https://github.com/rust-lang/crates.io-index" 1736 | checksum = "900fba806f70c630b0a382d0d825e17a0f19fcd059a2ade1ff237bcddf446b31" 1737 | dependencies = [ 1738 | "lazy_static", 1739 | ] 1740 | 1741 | [[package]] 1742 | name = "signature" 1743 | version = "1.5.0" 1744 | source = "registry+https://github.com/rust-lang/crates.io-index" 1745 | checksum = "f054c6c1a6e95179d6f23ed974060dcefb2d9388bb7256900badad682c499de4" 1746 | 1747 | [[package]] 1748 | name = "slab" 1749 | version = "0.4.7" 1750 | source = "registry+https://github.com/rust-lang/crates.io-index" 1751 | checksum = "4614a76b2a8be0058caa9dbbaf66d988527d86d003c11a94fbd335d7661edcef" 1752 | dependencies = [ 1753 | "autocfg", 1754 | ] 1755 | 1756 | [[package]] 1757 | name = "smallvec" 1758 | version = "1.9.0" 1759 | source = "registry+https://github.com/rust-lang/crates.io-index" 1760 | checksum = "2fd0db749597d91ff862fd1d55ea87f7855a744a8425a64695b6fca237d1dad1" 1761 | 1762 | [[package]] 1763 | name = "sp-application-crypto" 1764 | version = "6.0.0" 1765 | source = "git+https://github.com/paritytech/substrate?branch=master#ef433a8c31947c73e9bad212a9672d1f841a9c0d" 1766 | dependencies = [ 1767 | "parity-scale-codec", 1768 | "scale-info", 1769 | "serde", 1770 | "sp-core", 1771 | "sp-io", 1772 | "sp-std", 1773 | ] 1774 | 1775 | [[package]] 1776 | name = "sp-arithmetic" 1777 | version = "5.0.0" 1778 | source = "git+https://github.com/paritytech/substrate?branch=master#ef433a8c31947c73e9bad212a9672d1f841a9c0d" 1779 | dependencies = [ 1780 | "integer-sqrt", 1781 | "num-traits", 1782 | "parity-scale-codec", 1783 | "scale-info", 1784 | "serde", 1785 | "sp-debug-derive", 1786 | "sp-std", 1787 | "static_assertions", 1788 | ] 1789 | 1790 | [[package]] 1791 | name = "sp-core" 1792 | version = "6.0.0" 1793 | source = "git+https://github.com/paritytech/substrate?branch=master#ef433a8c31947c73e9bad212a9672d1f841a9c0d" 1794 | dependencies = [ 1795 | "base58", 1796 | "bitflags", 1797 | "blake2-rfc", 1798 | "byteorder", 1799 | "dyn-clonable", 1800 | "ed25519-dalek", 1801 | "futures", 1802 | "hash-db", 1803 | "hash256-std-hasher", 1804 | "hex", 1805 | "impl-serde", 1806 | "lazy_static", 1807 | "libsecp256k1", 1808 | "log", 1809 | "merlin", 1810 | "num-traits", 1811 | "parity-scale-codec", 1812 | "parity-util-mem", 1813 | "parking_lot", 1814 | "primitive-types", 1815 | "rand 0.7.3", 1816 | "regex", 1817 | "scale-info", 1818 | "schnorrkel", 1819 | "secp256k1", 1820 | "secrecy", 1821 | "serde", 1822 | "sp-core-hashing", 1823 | "sp-debug-derive", 1824 | "sp-externalities", 1825 | "sp-runtime-interface", 1826 | "sp-std", 1827 | "sp-storage", 1828 | "ss58-registry", 1829 | "substrate-bip39", 1830 | "thiserror", 1831 | "tiny-bip39", 1832 | "wasmi", 1833 | "zeroize", 1834 | ] 1835 | 1836 | [[package]] 1837 | name = "sp-core-hashing" 1838 | version = "4.0.0" 1839 | source = "git+https://github.com/paritytech/substrate?branch=master#ef433a8c31947c73e9bad212a9672d1f841a9c0d" 1840 | dependencies = [ 1841 | "blake2", 1842 | "byteorder", 1843 | "digest 0.10.3", 1844 | "sha2 0.10.2", 1845 | "sha3", 1846 | "sp-std", 1847 | "twox-hash", 1848 | ] 1849 | 1850 | [[package]] 1851 | name = "sp-debug-derive" 1852 | version = "4.0.0" 1853 | source = "git+https://github.com/paritytech/substrate?branch=master#ef433a8c31947c73e9bad212a9672d1f841a9c0d" 1854 | dependencies = [ 1855 | "proc-macro2", 1856 | "quote", 1857 | "syn", 1858 | ] 1859 | 1860 | [[package]] 1861 | name = "sp-externalities" 1862 | version = "0.12.0" 1863 | source = "git+https://github.com/paritytech/substrate?branch=master#ef433a8c31947c73e9bad212a9672d1f841a9c0d" 1864 | dependencies = [ 1865 | "environmental", 1866 | "parity-scale-codec", 1867 | "sp-std", 1868 | "sp-storage", 1869 | ] 1870 | 1871 | [[package]] 1872 | name = "sp-io" 1873 | version = "6.0.0" 1874 | source = "git+https://github.com/paritytech/substrate?branch=master#ef433a8c31947c73e9bad212a9672d1f841a9c0d" 1875 | dependencies = [ 1876 | "bytes", 1877 | "futures", 1878 | "hash-db", 1879 | "libsecp256k1", 1880 | "log", 1881 | "parity-scale-codec", 1882 | "parking_lot", 1883 | "secp256k1", 1884 | "sp-core", 1885 | "sp-externalities", 1886 | "sp-keystore", 1887 | "sp-runtime-interface", 1888 | "sp-state-machine", 1889 | "sp-std", 1890 | "sp-tracing", 1891 | "sp-trie", 1892 | "sp-wasm-interface", 1893 | "tracing", 1894 | "tracing-core", 1895 | ] 1896 | 1897 | [[package]] 1898 | name = "sp-keystore" 1899 | version = "0.12.0" 1900 | source = "git+https://github.com/paritytech/substrate?branch=master#ef433a8c31947c73e9bad212a9672d1f841a9c0d" 1901 | dependencies = [ 1902 | "async-trait", 1903 | "futures", 1904 | "merlin", 1905 | "parity-scale-codec", 1906 | "parking_lot", 1907 | "schnorrkel", 1908 | "sp-core", 1909 | "sp-externalities", 1910 | "thiserror", 1911 | ] 1912 | 1913 | [[package]] 1914 | name = "sp-panic-handler" 1915 | version = "4.0.0" 1916 | source = "git+https://github.com/paritytech/substrate?branch=master#ef433a8c31947c73e9bad212a9672d1f841a9c0d" 1917 | dependencies = [ 1918 | "backtrace", 1919 | "lazy_static", 1920 | "regex", 1921 | ] 1922 | 1923 | [[package]] 1924 | name = "sp-runtime" 1925 | version = "6.0.0" 1926 | source = "git+https://github.com/paritytech/substrate?branch=master#ef433a8c31947c73e9bad212a9672d1f841a9c0d" 1927 | dependencies = [ 1928 | "either", 1929 | "hash256-std-hasher", 1930 | "impl-trait-for-tuples", 1931 | "log", 1932 | "parity-scale-codec", 1933 | "parity-util-mem", 1934 | "paste", 1935 | "rand 0.7.3", 1936 | "scale-info", 1937 | "serde", 1938 | "sp-application-crypto", 1939 | "sp-arithmetic", 1940 | "sp-core", 1941 | "sp-io", 1942 | "sp-std", 1943 | ] 1944 | 1945 | [[package]] 1946 | name = "sp-runtime-interface" 1947 | version = "6.0.0" 1948 | source = "git+https://github.com/paritytech/substrate?branch=master#ef433a8c31947c73e9bad212a9672d1f841a9c0d" 1949 | dependencies = [ 1950 | "bytes", 1951 | "impl-trait-for-tuples", 1952 | "parity-scale-codec", 1953 | "primitive-types", 1954 | "sp-externalities", 1955 | "sp-runtime-interface-proc-macro", 1956 | "sp-std", 1957 | "sp-storage", 1958 | "sp-tracing", 1959 | "sp-wasm-interface", 1960 | "static_assertions", 1961 | ] 1962 | 1963 | [[package]] 1964 | name = "sp-runtime-interface-proc-macro" 1965 | version = "5.0.0" 1966 | source = "git+https://github.com/paritytech/substrate?branch=master#ef433a8c31947c73e9bad212a9672d1f841a9c0d" 1967 | dependencies = [ 1968 | "Inflector", 1969 | "proc-macro-crate", 1970 | "proc-macro2", 1971 | "quote", 1972 | "syn", 1973 | ] 1974 | 1975 | [[package]] 1976 | name = "sp-state-machine" 1977 | version = "0.12.0" 1978 | source = "git+https://github.com/paritytech/substrate?branch=master#ef433a8c31947c73e9bad212a9672d1f841a9c0d" 1979 | dependencies = [ 1980 | "hash-db", 1981 | "log", 1982 | "num-traits", 1983 | "parity-scale-codec", 1984 | "parking_lot", 1985 | "rand 0.7.3", 1986 | "smallvec", 1987 | "sp-core", 1988 | "sp-externalities", 1989 | "sp-panic-handler", 1990 | "sp-std", 1991 | "sp-trie", 1992 | "thiserror", 1993 | "tracing", 1994 | "trie-root", 1995 | ] 1996 | 1997 | [[package]] 1998 | name = "sp-std" 1999 | version = "4.0.0" 2000 | source = "git+https://github.com/paritytech/substrate?branch=master#ef433a8c31947c73e9bad212a9672d1f841a9c0d" 2001 | 2002 | [[package]] 2003 | name = "sp-storage" 2004 | version = "6.0.0" 2005 | source = "git+https://github.com/paritytech/substrate?branch=master#ef433a8c31947c73e9bad212a9672d1f841a9c0d" 2006 | dependencies = [ 2007 | "impl-serde", 2008 | "parity-scale-codec", 2009 | "ref-cast", 2010 | "serde", 2011 | "sp-debug-derive", 2012 | "sp-std", 2013 | ] 2014 | 2015 | [[package]] 2016 | name = "sp-tracing" 2017 | version = "5.0.0" 2018 | source = "git+https://github.com/paritytech/substrate?branch=master#ef433a8c31947c73e9bad212a9672d1f841a9c0d" 2019 | dependencies = [ 2020 | "parity-scale-codec", 2021 | "sp-std", 2022 | "tracing", 2023 | "tracing-core", 2024 | "tracing-subscriber", 2025 | ] 2026 | 2027 | [[package]] 2028 | name = "sp-trie" 2029 | version = "6.0.0" 2030 | source = "git+https://github.com/paritytech/substrate?branch=master#ef433a8c31947c73e9bad212a9672d1f841a9c0d" 2031 | dependencies = [ 2032 | "hash-db", 2033 | "memory-db", 2034 | "parity-scale-codec", 2035 | "scale-info", 2036 | "sp-core", 2037 | "sp-std", 2038 | "thiserror", 2039 | "trie-db", 2040 | "trie-root", 2041 | ] 2042 | 2043 | [[package]] 2044 | name = "sp-wasm-interface" 2045 | version = "6.0.0" 2046 | source = "git+https://github.com/paritytech/substrate?branch=master#ef433a8c31947c73e9bad212a9672d1f841a9c0d" 2047 | dependencies = [ 2048 | "impl-trait-for-tuples", 2049 | "log", 2050 | "parity-scale-codec", 2051 | "sp-std", 2052 | "wasmi", 2053 | ] 2054 | 2055 | [[package]] 2056 | name = "ss58-registry" 2057 | version = "1.25.0" 2058 | source = "registry+https://github.com/rust-lang/crates.io-index" 2059 | checksum = "a039906277e0d8db996cd9d1ef19278c10209d994ecfc1025ced16342873a17c" 2060 | dependencies = [ 2061 | "Inflector", 2062 | "num-format", 2063 | "proc-macro2", 2064 | "quote", 2065 | "serde", 2066 | "serde_json", 2067 | "unicode-xid", 2068 | ] 2069 | 2070 | [[package]] 2071 | name = "static_assertions" 2072 | version = "1.1.0" 2073 | source = "registry+https://github.com/rust-lang/crates.io-index" 2074 | checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" 2075 | 2076 | [[package]] 2077 | name = "substrate-bip39" 2078 | version = "0.4.4" 2079 | source = "registry+https://github.com/rust-lang/crates.io-index" 2080 | checksum = "49eee6965196b32f882dd2ee85a92b1dbead41b04e53907f269de3b0dc04733c" 2081 | dependencies = [ 2082 | "hmac 0.11.0", 2083 | "pbkdf2 0.8.0", 2084 | "schnorrkel", 2085 | "sha2 0.9.9", 2086 | "zeroize", 2087 | ] 2088 | 2089 | [[package]] 2090 | name = "subtle" 2091 | version = "2.4.1" 2092 | source = "registry+https://github.com/rust-lang/crates.io-index" 2093 | checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" 2094 | 2095 | [[package]] 2096 | name = "syn" 2097 | version = "1.0.99" 2098 | source = "registry+https://github.com/rust-lang/crates.io-index" 2099 | checksum = "58dbef6ec655055e20b86b15a8cc6d439cca19b667537ac6a1369572d151ab13" 2100 | dependencies = [ 2101 | "proc-macro2", 2102 | "quote", 2103 | "unicode-ident", 2104 | ] 2105 | 2106 | [[package]] 2107 | name = "synstructure" 2108 | version = "0.12.6" 2109 | source = "registry+https://github.com/rust-lang/crates.io-index" 2110 | checksum = "f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f" 2111 | dependencies = [ 2112 | "proc-macro2", 2113 | "quote", 2114 | "syn", 2115 | "unicode-xid", 2116 | ] 2117 | 2118 | [[package]] 2119 | name = "tap" 2120 | version = "1.0.1" 2121 | source = "registry+https://github.com/rust-lang/crates.io-index" 2122 | checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" 2123 | 2124 | [[package]] 2125 | name = "thiserror" 2126 | version = "1.0.32" 2127 | source = "registry+https://github.com/rust-lang/crates.io-index" 2128 | checksum = "f5f6586b7f764adc0231f4c79be7b920e766bb2f3e51b3661cdb263828f19994" 2129 | dependencies = [ 2130 | "thiserror-impl", 2131 | ] 2132 | 2133 | [[package]] 2134 | name = "thiserror-impl" 2135 | version = "1.0.32" 2136 | source = "registry+https://github.com/rust-lang/crates.io-index" 2137 | checksum = "12bafc5b54507e0149cdf1b145a5d80ab80a90bcd9275df43d4fff68460f6c21" 2138 | dependencies = [ 2139 | "proc-macro2", 2140 | "quote", 2141 | "syn", 2142 | ] 2143 | 2144 | [[package]] 2145 | name = "thread_local" 2146 | version = "1.1.4" 2147 | source = "registry+https://github.com/rust-lang/crates.io-index" 2148 | checksum = "5516c27b78311c50bf42c071425c560ac799b11c30b31f87e3081965fe5e0180" 2149 | dependencies = [ 2150 | "once_cell", 2151 | ] 2152 | 2153 | [[package]] 2154 | name = "tiny-bip39" 2155 | version = "0.8.2" 2156 | source = "registry+https://github.com/rust-lang/crates.io-index" 2157 | checksum = "ffc59cb9dfc85bb312c3a78fd6aa8a8582e310b0fa885d5bb877f6dcc601839d" 2158 | dependencies = [ 2159 | "anyhow", 2160 | "hmac 0.8.1", 2161 | "once_cell", 2162 | "pbkdf2 0.4.0", 2163 | "rand 0.7.3", 2164 | "rustc-hash", 2165 | "sha2 0.9.9", 2166 | "thiserror", 2167 | "unicode-normalization", 2168 | "wasm-bindgen", 2169 | "zeroize", 2170 | ] 2171 | 2172 | [[package]] 2173 | name = "tinyvec" 2174 | version = "1.6.0" 2175 | source = "registry+https://github.com/rust-lang/crates.io-index" 2176 | checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" 2177 | dependencies = [ 2178 | "tinyvec_macros", 2179 | ] 2180 | 2181 | [[package]] 2182 | name = "tinyvec_macros" 2183 | version = "0.1.0" 2184 | source = "registry+https://github.com/rust-lang/crates.io-index" 2185 | checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" 2186 | 2187 | [[package]] 2188 | name = "toml" 2189 | version = "0.5.9" 2190 | source = "registry+https://github.com/rust-lang/crates.io-index" 2191 | checksum = "8d82e1a7758622a465f8cee077614c73484dac5b836c02ff6a40d5d1010324d7" 2192 | dependencies = [ 2193 | "serde", 2194 | ] 2195 | 2196 | [[package]] 2197 | name = "tracing" 2198 | version = "0.1.36" 2199 | source = "registry+https://github.com/rust-lang/crates.io-index" 2200 | checksum = "2fce9567bd60a67d08a16488756721ba392f24f29006402881e43b19aac64307" 2201 | dependencies = [ 2202 | "cfg-if", 2203 | "pin-project-lite", 2204 | "tracing-attributes", 2205 | "tracing-core", 2206 | ] 2207 | 2208 | [[package]] 2209 | name = "tracing-attributes" 2210 | version = "0.1.22" 2211 | source = "registry+https://github.com/rust-lang/crates.io-index" 2212 | checksum = "11c75893af559bc8e10716548bdef5cb2b983f8e637db9d0e15126b61b484ee2" 2213 | dependencies = [ 2214 | "proc-macro2", 2215 | "quote", 2216 | "syn", 2217 | ] 2218 | 2219 | [[package]] 2220 | name = "tracing-core" 2221 | version = "0.1.29" 2222 | source = "registry+https://github.com/rust-lang/crates.io-index" 2223 | checksum = "5aeea4303076558a00714b823f9ad67d58a3bbda1df83d8827d21193156e22f7" 2224 | dependencies = [ 2225 | "once_cell", 2226 | "valuable", 2227 | ] 2228 | 2229 | [[package]] 2230 | name = "tracing-log" 2231 | version = "0.1.3" 2232 | source = "registry+https://github.com/rust-lang/crates.io-index" 2233 | checksum = "78ddad33d2d10b1ed7eb9d1f518a5674713876e97e5bb9b7345a7984fbb4f922" 2234 | dependencies = [ 2235 | "lazy_static", 2236 | "log", 2237 | "tracing-core", 2238 | ] 2239 | 2240 | [[package]] 2241 | name = "tracing-serde" 2242 | version = "0.1.3" 2243 | source = "registry+https://github.com/rust-lang/crates.io-index" 2244 | checksum = "bc6b213177105856957181934e4920de57730fc69bf42c37ee5bb664d406d9e1" 2245 | dependencies = [ 2246 | "serde", 2247 | "tracing-core", 2248 | ] 2249 | 2250 | [[package]] 2251 | name = "tracing-subscriber" 2252 | version = "0.2.25" 2253 | source = "registry+https://github.com/rust-lang/crates.io-index" 2254 | checksum = "0e0d2eaa99c3c2e41547cfa109e910a68ea03823cccad4a0525dcbc9b01e8c71" 2255 | dependencies = [ 2256 | "ansi_term", 2257 | "chrono", 2258 | "lazy_static", 2259 | "matchers", 2260 | "regex", 2261 | "serde", 2262 | "serde_json", 2263 | "sharded-slab", 2264 | "smallvec", 2265 | "thread_local", 2266 | "tracing", 2267 | "tracing-core", 2268 | "tracing-log", 2269 | "tracing-serde", 2270 | ] 2271 | 2272 | [[package]] 2273 | name = "trie-db" 2274 | version = "0.23.1" 2275 | source = "registry+https://github.com/rust-lang/crates.io-index" 2276 | checksum = "d32d034c0d3db64b43c31de38e945f15b40cd4ca6d2dcfc26d4798ce8de4ab83" 2277 | dependencies = [ 2278 | "hash-db", 2279 | "hashbrown", 2280 | "log", 2281 | "rustc-hex", 2282 | "smallvec", 2283 | ] 2284 | 2285 | [[package]] 2286 | name = "trie-root" 2287 | version = "0.17.0" 2288 | source = "registry+https://github.com/rust-lang/crates.io-index" 2289 | checksum = "9a36c5ca3911ed3c9a5416ee6c679042064b93fc637ded67e25f92e68d783891" 2290 | dependencies = [ 2291 | "hash-db", 2292 | ] 2293 | 2294 | [[package]] 2295 | name = "twox-hash" 2296 | version = "1.6.3" 2297 | source = "registry+https://github.com/rust-lang/crates.io-index" 2298 | checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" 2299 | dependencies = [ 2300 | "cfg-if", 2301 | "digest 0.10.3", 2302 | "rand 0.8.5", 2303 | "static_assertions", 2304 | ] 2305 | 2306 | [[package]] 2307 | name = "typenum" 2308 | version = "1.15.0" 2309 | source = "registry+https://github.com/rust-lang/crates.io-index" 2310 | checksum = "dcf81ac59edc17cc8697ff311e8f5ef2d99fcbd9817b34cec66f90b6c3dfd987" 2311 | 2312 | [[package]] 2313 | name = "uint" 2314 | version = "0.9.3" 2315 | source = "registry+https://github.com/rust-lang/crates.io-index" 2316 | checksum = "12f03af7ccf01dd611cc450a0d10dbc9b745770d096473e2faf0ca6e2d66d1e0" 2317 | dependencies = [ 2318 | "byteorder", 2319 | "crunchy", 2320 | "hex", 2321 | "static_assertions", 2322 | ] 2323 | 2324 | [[package]] 2325 | name = "unicode-ident" 2326 | version = "1.0.3" 2327 | source = "registry+https://github.com/rust-lang/crates.io-index" 2328 | checksum = "c4f5b37a154999a8f3f98cc23a628d850e154479cd94decf3414696e12e31aaf" 2329 | 2330 | [[package]] 2331 | name = "unicode-normalization" 2332 | version = "0.1.21" 2333 | source = "registry+https://github.com/rust-lang/crates.io-index" 2334 | checksum = "854cbdc4f7bc6ae19c820d44abdc3277ac3e1b2b93db20a636825d9322fb60e6" 2335 | dependencies = [ 2336 | "tinyvec", 2337 | ] 2338 | 2339 | [[package]] 2340 | name = "unicode-xid" 2341 | version = "0.2.3" 2342 | source = "registry+https://github.com/rust-lang/crates.io-index" 2343 | checksum = "957e51f3646910546462e67d5f7599b9e4fb8acdd304b087a6494730f9eebf04" 2344 | 2345 | [[package]] 2346 | name = "valuable" 2347 | version = "0.1.0" 2348 | source = "registry+https://github.com/rust-lang/crates.io-index" 2349 | checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" 2350 | 2351 | [[package]] 2352 | name = "version_check" 2353 | version = "0.9.4" 2354 | source = "registry+https://github.com/rust-lang/crates.io-index" 2355 | checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" 2356 | 2357 | [[package]] 2358 | name = "wasi" 2359 | version = "0.9.0+wasi-snapshot-preview1" 2360 | source = "registry+https://github.com/rust-lang/crates.io-index" 2361 | checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" 2362 | 2363 | [[package]] 2364 | name = "wasi" 2365 | version = "0.11.0+wasi-snapshot-preview1" 2366 | source = "registry+https://github.com/rust-lang/crates.io-index" 2367 | checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" 2368 | 2369 | [[package]] 2370 | name = "wasm-bindgen" 2371 | version = "0.2.82" 2372 | source = "registry+https://github.com/rust-lang/crates.io-index" 2373 | checksum = "fc7652e3f6c4706c8d9cd54832c4a4ccb9b5336e2c3bd154d5cccfbf1c1f5f7d" 2374 | dependencies = [ 2375 | "cfg-if", 2376 | "wasm-bindgen-macro", 2377 | ] 2378 | 2379 | [[package]] 2380 | name = "wasm-bindgen-backend" 2381 | version = "0.2.82" 2382 | source = "registry+https://github.com/rust-lang/crates.io-index" 2383 | checksum = "662cd44805586bd52971b9586b1df85cdbbd9112e4ef4d8f41559c334dc6ac3f" 2384 | dependencies = [ 2385 | "bumpalo", 2386 | "log", 2387 | "once_cell", 2388 | "proc-macro2", 2389 | "quote", 2390 | "syn", 2391 | "wasm-bindgen-shared", 2392 | ] 2393 | 2394 | [[package]] 2395 | name = "wasm-bindgen-macro" 2396 | version = "0.2.82" 2397 | source = "registry+https://github.com/rust-lang/crates.io-index" 2398 | checksum = "b260f13d3012071dfb1512849c033b1925038373aea48ced3012c09df952c602" 2399 | dependencies = [ 2400 | "quote", 2401 | "wasm-bindgen-macro-support", 2402 | ] 2403 | 2404 | [[package]] 2405 | name = "wasm-bindgen-macro-support" 2406 | version = "0.2.82" 2407 | source = "registry+https://github.com/rust-lang/crates.io-index" 2408 | checksum = "5be8e654bdd9b79216c2929ab90721aa82faf65c48cdf08bdc4e7f51357b80da" 2409 | dependencies = [ 2410 | "proc-macro2", 2411 | "quote", 2412 | "syn", 2413 | "wasm-bindgen-backend", 2414 | "wasm-bindgen-shared", 2415 | ] 2416 | 2417 | [[package]] 2418 | name = "wasm-bindgen-shared" 2419 | version = "0.2.82" 2420 | source = "registry+https://github.com/rust-lang/crates.io-index" 2421 | checksum = "6598dd0bd3c7d51095ff6531a5b23e02acdc81804e30d8f07afb77b7215a140a" 2422 | 2423 | [[package]] 2424 | name = "wasmi" 2425 | version = "0.9.1" 2426 | source = "registry+https://github.com/rust-lang/crates.io-index" 2427 | checksum = "ca00c5147c319a8ec91ec1a0edbec31e566ce2c9cc93b3f9bb86a9efd0eb795d" 2428 | dependencies = [ 2429 | "downcast-rs", 2430 | "libc", 2431 | "memory_units", 2432 | "num-rational", 2433 | "num-traits", 2434 | "parity-wasm", 2435 | "wasmi-validation", 2436 | ] 2437 | 2438 | [[package]] 2439 | name = "wasmi-validation" 2440 | version = "0.4.1" 2441 | source = "registry+https://github.com/rust-lang/crates.io-index" 2442 | checksum = "165343ecd6c018fc09ebcae280752702c9a2ef3e6f8d02f1cfcbdb53ef6d7937" 2443 | dependencies = [ 2444 | "parity-wasm", 2445 | ] 2446 | 2447 | [[package]] 2448 | name = "winapi" 2449 | version = "0.3.9" 2450 | source = "registry+https://github.com/rust-lang/crates.io-index" 2451 | checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" 2452 | dependencies = [ 2453 | "winapi-i686-pc-windows-gnu", 2454 | "winapi-x86_64-pc-windows-gnu", 2455 | ] 2456 | 2457 | [[package]] 2458 | name = "winapi-i686-pc-windows-gnu" 2459 | version = "0.4.0" 2460 | source = "registry+https://github.com/rust-lang/crates.io-index" 2461 | checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 2462 | 2463 | [[package]] 2464 | name = "winapi-x86_64-pc-windows-gnu" 2465 | version = "0.4.0" 2466 | source = "registry+https://github.com/rust-lang/crates.io-index" 2467 | checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 2468 | 2469 | [[package]] 2470 | name = "windows-sys" 2471 | version = "0.36.1" 2472 | source = "registry+https://github.com/rust-lang/crates.io-index" 2473 | checksum = "ea04155a16a59f9eab786fe12a4a450e75cdb175f9e0d80da1e17db09f55b8d2" 2474 | dependencies = [ 2475 | "windows_aarch64_msvc", 2476 | "windows_i686_gnu", 2477 | "windows_i686_msvc", 2478 | "windows_x86_64_gnu", 2479 | "windows_x86_64_msvc", 2480 | ] 2481 | 2482 | [[package]] 2483 | name = "windows_aarch64_msvc" 2484 | version = "0.36.1" 2485 | source = "registry+https://github.com/rust-lang/crates.io-index" 2486 | checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47" 2487 | 2488 | [[package]] 2489 | name = "windows_i686_gnu" 2490 | version = "0.36.1" 2491 | source = "registry+https://github.com/rust-lang/crates.io-index" 2492 | checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6" 2493 | 2494 | [[package]] 2495 | name = "windows_i686_msvc" 2496 | version = "0.36.1" 2497 | source = "registry+https://github.com/rust-lang/crates.io-index" 2498 | checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024" 2499 | 2500 | [[package]] 2501 | name = "windows_x86_64_gnu" 2502 | version = "0.36.1" 2503 | source = "registry+https://github.com/rust-lang/crates.io-index" 2504 | checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1" 2505 | 2506 | [[package]] 2507 | name = "windows_x86_64_msvc" 2508 | version = "0.36.1" 2509 | source = "registry+https://github.com/rust-lang/crates.io-index" 2510 | checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680" 2511 | 2512 | [[package]] 2513 | name = "wyz" 2514 | version = "0.5.0" 2515 | source = "registry+https://github.com/rust-lang/crates.io-index" 2516 | checksum = "30b31594f29d27036c383b53b59ed3476874d518f0efb151b27a4c275141390e" 2517 | dependencies = [ 2518 | "tap", 2519 | ] 2520 | 2521 | [[package]] 2522 | name = "xcm" 2523 | version = "0.9.27" 2524 | source = "git+https://github.com/paritytech/polkadot#4863d0a33a4a3534236f76abb5b1dc91751c6c34" 2525 | dependencies = [ 2526 | "derivative", 2527 | "impl-trait-for-tuples", 2528 | "log", 2529 | "parity-scale-codec", 2530 | "scale-info", 2531 | "sp-runtime", 2532 | "xcm-procedural", 2533 | ] 2534 | 2535 | [[package]] 2536 | name = "xcm-procedural" 2537 | version = "0.9.27" 2538 | source = "git+https://github.com/paritytech/polkadot#4863d0a33a4a3534236f76abb5b1dc91751c6c34" 2539 | dependencies = [ 2540 | "Inflector", 2541 | "proc-macro2", 2542 | "quote", 2543 | "syn", 2544 | ] 2545 | 2546 | [[package]] 2547 | name = "zeroize" 2548 | version = "1.5.7" 2549 | source = "registry+https://github.com/rust-lang/crates.io-index" 2550 | checksum = "c394b5bd0c6f669e7275d9c20aa90ae064cb22e75a1cad54e1b34088034b149f" 2551 | dependencies = [ 2552 | "zeroize_derive", 2553 | ] 2554 | 2555 | [[package]] 2556 | name = "zeroize_derive" 2557 | version = "1.3.2" 2558 | source = "registry+https://github.com/rust-lang/crates.io-index" 2559 | checksum = "3f8f187641dad4f680d25c4bfc4225b418165984179f26ca76ec4fb6441d3a17" 2560 | dependencies = [ 2561 | "proc-macro2", 2562 | "quote", 2563 | "syn", 2564 | "synstructure", 2565 | ] 2566 | -------------------------------------------------------------------------------- /ink/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "extension-xcm" 3 | version = "0.1.0" 4 | authors = ["Parity Technologies "] 5 | edition = "2021" 6 | 7 | [dependencies] 8 | ink_primitives = { version = "3", default-features = false } 9 | ink_metadata = { version = "3", default-features = false, features = ["derive"], optional = true } 10 | ink_env = { version = "3", default-features = false } 11 | ink_storage = { version = "3", default-features = false } 12 | ink_lang = { version = "3", default-features = false } 13 | 14 | scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } 15 | scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } 16 | 17 | xcm = { git = "https://github.com/paritytech/polkadot", default-features = false } 18 | 19 | [lib] 20 | name = "flipper" 21 | path = "lib.rs" 22 | crate-type = [ 23 | # Used for normal contract Wasm blobs. 24 | "cdylib", 25 | ] 26 | 27 | [features] 28 | default = ["std"] 29 | std = [ 30 | "ink_metadata/std", 31 | "ink_env/std", 32 | "ink_storage/std", 33 | "ink_primitives/std", 34 | "scale/std", 35 | "scale-info/std", 36 | "xcm/std", 37 | ] 38 | ink-as-dependency = [] 39 | -------------------------------------------------------------------------------- /ink/lib.rs: -------------------------------------------------------------------------------- 1 | #![cfg_attr(not(feature = "std"), no_std)] 2 | 3 | use ink_env::chain_extension::FromStatusCode; 4 | use ink_lang as ink; 5 | use scale::Decode; 6 | pub use xcm::{VersionedMultiAsset, VersionedMultiLocation, VersionedResponse, VersionedXcm}; 7 | 8 | #[derive(Decode)] 9 | pub enum Error { 10 | NoResponse = 1, 11 | } 12 | 13 | impl FromStatusCode for Error { 14 | fn from_status_code(status_code: u32) -> Result<(), Self> { 15 | match status_code { 16 | 0 => Ok(()), 17 | 1 => Err(Self::NoResponse), 18 | _ => panic!("Unknown status code"), 19 | } 20 | } 21 | } 22 | 23 | #[ink::chain_extension] 24 | pub trait Extension { 25 | type ErrorCode = Error; 26 | 27 | #[ink(extension = 0x00010000, handle_status = false, returns_result = false)] 28 | fn prepare_execute(xcm: VersionedXcm<()>) -> u64; 29 | 30 | #[ink(extension = 0x00010001, handle_status = false, returns_result = false)] 31 | fn execute(); 32 | 33 | #[ink(extension = 0x00010002, handle_status = false, returns_result = false)] 34 | fn prepare_send(dest: VersionedMultiLocation, xcm: VersionedXcm<()>) -> VersionedMultiAsset; 35 | 36 | #[ink(extension = 0x00010003, handle_status = false, returns_result = false)] 37 | fn send(); 38 | 39 | #[ink(extension = 0x00010004, handle_status = false, returns_result = false)] 40 | fn new_query() -> u64; 41 | 42 | #[ink(extension = 0x00010005, handle_status = true, returns_result = false)] 43 | fn take_response(query_id: u64) -> Result; 44 | } 45 | -------------------------------------------------------------------------------- /runtime/Cargo.lock: -------------------------------------------------------------------------------- 1 | # This file is automatically @generated by Cargo. 2 | # It is not intended for manual editing. 3 | version = 3 4 | 5 | [[package]] 6 | name = "Inflector" 7 | version = "0.11.4" 8 | source = "registry+https://github.com/rust-lang/crates.io-index" 9 | checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3" 10 | dependencies = [ 11 | "lazy_static", 12 | "regex", 13 | ] 14 | 15 | [[package]] 16 | name = "addr2line" 17 | version = "0.17.0" 18 | source = "registry+https://github.com/rust-lang/crates.io-index" 19 | checksum = "b9ecd88a8c8378ca913a680cd98f0f13ac67383d35993f86c90a70e3f137816b" 20 | dependencies = [ 21 | "gimli", 22 | ] 23 | 24 | [[package]] 25 | name = "adler" 26 | version = "1.0.2" 27 | source = "registry+https://github.com/rust-lang/crates.io-index" 28 | checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" 29 | 30 | [[package]] 31 | name = "ahash" 32 | version = "0.7.6" 33 | source = "registry+https://github.com/rust-lang/crates.io-index" 34 | checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" 35 | dependencies = [ 36 | "getrandom 0.2.7", 37 | "once_cell", 38 | "version_check", 39 | ] 40 | 41 | [[package]] 42 | name = "aho-corasick" 43 | version = "0.7.18" 44 | source = "registry+https://github.com/rust-lang/crates.io-index" 45 | checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f" 46 | dependencies = [ 47 | "memchr", 48 | ] 49 | 50 | [[package]] 51 | name = "ansi_term" 52 | version = "0.12.1" 53 | source = "registry+https://github.com/rust-lang/crates.io-index" 54 | checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2" 55 | dependencies = [ 56 | "winapi", 57 | ] 58 | 59 | [[package]] 60 | name = "anyhow" 61 | version = "1.0.59" 62 | source = "registry+https://github.com/rust-lang/crates.io-index" 63 | checksum = "c91f1f46651137be86f3a2b9a8359f9ab421d04d941c62b5982e1ca21113adf9" 64 | 65 | [[package]] 66 | name = "approx" 67 | version = "0.5.1" 68 | source = "registry+https://github.com/rust-lang/crates.io-index" 69 | checksum = "cab112f0a86d568ea0e627cc1d6be74a1e9cd55214684db5561995f6dad897c6" 70 | dependencies = [ 71 | "num-traits", 72 | ] 73 | 74 | [[package]] 75 | name = "arrayref" 76 | version = "0.3.6" 77 | source = "registry+https://github.com/rust-lang/crates.io-index" 78 | checksum = "a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544" 79 | 80 | [[package]] 81 | name = "arrayvec" 82 | version = "0.4.12" 83 | source = "registry+https://github.com/rust-lang/crates.io-index" 84 | checksum = "cd9fd44efafa8690358b7408d253adf110036b88f55672a933f01d616ad9b1b9" 85 | dependencies = [ 86 | "nodrop", 87 | ] 88 | 89 | [[package]] 90 | name = "arrayvec" 91 | version = "0.5.2" 92 | source = "registry+https://github.com/rust-lang/crates.io-index" 93 | checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" 94 | 95 | [[package]] 96 | name = "arrayvec" 97 | version = "0.7.2" 98 | source = "registry+https://github.com/rust-lang/crates.io-index" 99 | checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6" 100 | 101 | [[package]] 102 | name = "async-trait" 103 | version = "0.1.57" 104 | source = "registry+https://github.com/rust-lang/crates.io-index" 105 | checksum = "76464446b8bc32758d7e88ee1a804d9914cd9b1cb264c029899680b0be29826f" 106 | dependencies = [ 107 | "proc-macro2", 108 | "quote", 109 | "syn", 110 | ] 111 | 112 | [[package]] 113 | name = "autocfg" 114 | version = "1.1.0" 115 | source = "registry+https://github.com/rust-lang/crates.io-index" 116 | checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" 117 | 118 | [[package]] 119 | name = "backtrace" 120 | version = "0.3.66" 121 | source = "registry+https://github.com/rust-lang/crates.io-index" 122 | checksum = "cab84319d616cfb654d03394f38ab7e6f0919e181b1b57e1fd15e7fb4077d9a7" 123 | dependencies = [ 124 | "addr2line", 125 | "cc", 126 | "cfg-if", 127 | "libc", 128 | "miniz_oxide", 129 | "object", 130 | "rustc-demangle", 131 | ] 132 | 133 | [[package]] 134 | name = "base16ct" 135 | version = "0.1.1" 136 | source = "registry+https://github.com/rust-lang/crates.io-index" 137 | checksum = "349a06037c7bf932dd7e7d1f653678b2038b9ad46a74102f1fc7bd7872678cce" 138 | 139 | [[package]] 140 | name = "base58" 141 | version = "0.2.0" 142 | source = "registry+https://github.com/rust-lang/crates.io-index" 143 | checksum = "6107fe1be6682a68940da878d9e9f5e90ca5745b3dec9fd1bb393c8777d4f581" 144 | 145 | [[package]] 146 | name = "base64" 147 | version = "0.13.0" 148 | source = "registry+https://github.com/rust-lang/crates.io-index" 149 | checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd" 150 | 151 | [[package]] 152 | name = "bitflags" 153 | version = "1.3.2" 154 | source = "registry+https://github.com/rust-lang/crates.io-index" 155 | checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" 156 | 157 | [[package]] 158 | name = "bitvec" 159 | version = "1.0.1" 160 | source = "registry+https://github.com/rust-lang/crates.io-index" 161 | checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" 162 | dependencies = [ 163 | "funty", 164 | "radium", 165 | "tap", 166 | "wyz", 167 | ] 168 | 169 | [[package]] 170 | name = "blake2" 171 | version = "0.10.4" 172 | source = "registry+https://github.com/rust-lang/crates.io-index" 173 | checksum = "b9cf849ee05b2ee5fba5e36f97ff8ec2533916700fc0758d40d92136a42f3388" 174 | dependencies = [ 175 | "digest 0.10.3", 176 | ] 177 | 178 | [[package]] 179 | name = "blake2-rfc" 180 | version = "0.2.18" 181 | source = "registry+https://github.com/rust-lang/crates.io-index" 182 | checksum = "5d6d530bdd2d52966a6d03b7a964add7ae1a288d25214066fd4b600f0f796400" 183 | dependencies = [ 184 | "arrayvec 0.4.12", 185 | "constant_time_eq", 186 | ] 187 | 188 | [[package]] 189 | name = "block-buffer" 190 | version = "0.7.3" 191 | source = "registry+https://github.com/rust-lang/crates.io-index" 192 | checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b" 193 | dependencies = [ 194 | "block-padding", 195 | "byte-tools", 196 | "byteorder", 197 | "generic-array 0.12.4", 198 | ] 199 | 200 | [[package]] 201 | name = "block-buffer" 202 | version = "0.9.0" 203 | source = "registry+https://github.com/rust-lang/crates.io-index" 204 | checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" 205 | dependencies = [ 206 | "generic-array 0.14.6", 207 | ] 208 | 209 | [[package]] 210 | name = "block-buffer" 211 | version = "0.10.2" 212 | source = "registry+https://github.com/rust-lang/crates.io-index" 213 | checksum = "0bf7fe51849ea569fd452f37822f606a5cabb684dc918707a0193fd4664ff324" 214 | dependencies = [ 215 | "generic-array 0.14.6", 216 | ] 217 | 218 | [[package]] 219 | name = "block-padding" 220 | version = "0.1.5" 221 | source = "registry+https://github.com/rust-lang/crates.io-index" 222 | checksum = "fa79dedbb091f449f1f39e53edf88d5dbe95f895dae6135a8d7b881fb5af73f5" 223 | dependencies = [ 224 | "byte-tools", 225 | ] 226 | 227 | [[package]] 228 | name = "bumpalo" 229 | version = "3.10.0" 230 | source = "registry+https://github.com/rust-lang/crates.io-index" 231 | checksum = "37ccbd214614c6783386c1af30caf03192f17891059cecc394b4fb119e363de3" 232 | 233 | [[package]] 234 | name = "byte-slice-cast" 235 | version = "1.2.1" 236 | source = "registry+https://github.com/rust-lang/crates.io-index" 237 | checksum = "87c5fdd0166095e1d463fc6cc01aa8ce547ad77a4e84d42eb6762b084e28067e" 238 | 239 | [[package]] 240 | name = "byte-tools" 241 | version = "0.3.1" 242 | source = "registry+https://github.com/rust-lang/crates.io-index" 243 | checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" 244 | 245 | [[package]] 246 | name = "byteorder" 247 | version = "1.4.3" 248 | source = "registry+https://github.com/rust-lang/crates.io-index" 249 | checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" 250 | 251 | [[package]] 252 | name = "bytes" 253 | version = "1.2.1" 254 | source = "registry+https://github.com/rust-lang/crates.io-index" 255 | checksum = "ec8a7b6a70fde80372154c65702f00a0f56f3e1c36abbc6c440484be248856db" 256 | 257 | [[package]] 258 | name = "cc" 259 | version = "1.0.73" 260 | source = "registry+https://github.com/rust-lang/crates.io-index" 261 | checksum = "2fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11" 262 | 263 | [[package]] 264 | name = "cfg-if" 265 | version = "1.0.0" 266 | source = "registry+https://github.com/rust-lang/crates.io-index" 267 | checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 268 | 269 | [[package]] 270 | name = "chrono" 271 | version = "0.4.19" 272 | source = "registry+https://github.com/rust-lang/crates.io-index" 273 | checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73" 274 | dependencies = [ 275 | "libc", 276 | "num-integer", 277 | "num-traits", 278 | "winapi", 279 | ] 280 | 281 | [[package]] 282 | name = "const-oid" 283 | version = "0.7.1" 284 | source = "registry+https://github.com/rust-lang/crates.io-index" 285 | checksum = "e4c78c047431fee22c1a7bb92e00ad095a02a983affe4d8a72e2a2c62c1b94f3" 286 | 287 | [[package]] 288 | name = "constant_time_eq" 289 | version = "0.1.5" 290 | source = "registry+https://github.com/rust-lang/crates.io-index" 291 | checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" 292 | 293 | [[package]] 294 | name = "cpufeatures" 295 | version = "0.2.2" 296 | source = "registry+https://github.com/rust-lang/crates.io-index" 297 | checksum = "59a6001667ab124aebae2a495118e11d30984c3a653e99d86d58971708cf5e4b" 298 | dependencies = [ 299 | "libc", 300 | ] 301 | 302 | [[package]] 303 | name = "crunchy" 304 | version = "0.2.2" 305 | source = "registry+https://github.com/rust-lang/crates.io-index" 306 | checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" 307 | 308 | [[package]] 309 | name = "crypto-bigint" 310 | version = "0.3.2" 311 | source = "registry+https://github.com/rust-lang/crates.io-index" 312 | checksum = "03c6a1d5fa1de37e071642dfa44ec552ca5b299adb128fab16138e24b548fd21" 313 | dependencies = [ 314 | "generic-array 0.14.6", 315 | "rand_core 0.6.3", 316 | "subtle", 317 | "zeroize", 318 | ] 319 | 320 | [[package]] 321 | name = "crypto-common" 322 | version = "0.1.6" 323 | source = "registry+https://github.com/rust-lang/crates.io-index" 324 | checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" 325 | dependencies = [ 326 | "generic-array 0.14.6", 327 | "typenum", 328 | ] 329 | 330 | [[package]] 331 | name = "crypto-mac" 332 | version = "0.8.0" 333 | source = "registry+https://github.com/rust-lang/crates.io-index" 334 | checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab" 335 | dependencies = [ 336 | "generic-array 0.14.6", 337 | "subtle", 338 | ] 339 | 340 | [[package]] 341 | name = "crypto-mac" 342 | version = "0.11.1" 343 | source = "registry+https://github.com/rust-lang/crates.io-index" 344 | checksum = "b1d1a86f49236c215f271d40892d5fc950490551400b02ef360692c29815c714" 345 | dependencies = [ 346 | "generic-array 0.14.6", 347 | "subtle", 348 | ] 349 | 350 | [[package]] 351 | name = "curve25519-dalek" 352 | version = "2.1.3" 353 | source = "registry+https://github.com/rust-lang/crates.io-index" 354 | checksum = "4a9b85542f99a2dfa2a1b8e192662741c9859a846b296bef1c92ef9b58b5a216" 355 | dependencies = [ 356 | "byteorder", 357 | "digest 0.8.1", 358 | "rand_core 0.5.1", 359 | "subtle", 360 | "zeroize", 361 | ] 362 | 363 | [[package]] 364 | name = "curve25519-dalek" 365 | version = "3.2.0" 366 | source = "registry+https://github.com/rust-lang/crates.io-index" 367 | checksum = "0b9fdf9972b2bd6af2d913799d9ebc165ea4d2e65878e329d9c6b372c4491b61" 368 | dependencies = [ 369 | "byteorder", 370 | "digest 0.9.0", 371 | "rand_core 0.5.1", 372 | "subtle", 373 | "zeroize", 374 | ] 375 | 376 | [[package]] 377 | name = "der" 378 | version = "0.5.1" 379 | source = "registry+https://github.com/rust-lang/crates.io-index" 380 | checksum = "6919815d73839e7ad218de758883aae3a257ba6759ce7a9992501efbb53d705c" 381 | dependencies = [ 382 | "const-oid", 383 | ] 384 | 385 | [[package]] 386 | name = "derivative" 387 | version = "2.2.0" 388 | source = "registry+https://github.com/rust-lang/crates.io-index" 389 | checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" 390 | dependencies = [ 391 | "proc-macro2", 392 | "quote", 393 | "syn", 394 | ] 395 | 396 | [[package]] 397 | name = "derive_more" 398 | version = "0.99.17" 399 | source = "registry+https://github.com/rust-lang/crates.io-index" 400 | checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" 401 | dependencies = [ 402 | "proc-macro2", 403 | "quote", 404 | "syn", 405 | ] 406 | 407 | [[package]] 408 | name = "digest" 409 | version = "0.8.1" 410 | source = "registry+https://github.com/rust-lang/crates.io-index" 411 | checksum = "f3d0c8c8752312f9713efd397ff63acb9f85585afbf179282e720e7704954dd5" 412 | dependencies = [ 413 | "generic-array 0.12.4", 414 | ] 415 | 416 | [[package]] 417 | name = "digest" 418 | version = "0.9.0" 419 | source = "registry+https://github.com/rust-lang/crates.io-index" 420 | checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" 421 | dependencies = [ 422 | "generic-array 0.14.6", 423 | ] 424 | 425 | [[package]] 426 | name = "digest" 427 | version = "0.10.3" 428 | source = "registry+https://github.com/rust-lang/crates.io-index" 429 | checksum = "f2fb860ca6fafa5552fb6d0e816a69c8e49f0908bf524e30a90d97c85892d506" 430 | dependencies = [ 431 | "block-buffer 0.10.2", 432 | "crypto-common", 433 | "subtle", 434 | ] 435 | 436 | [[package]] 437 | name = "downcast-rs" 438 | version = "1.2.0" 439 | source = "registry+https://github.com/rust-lang/crates.io-index" 440 | checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650" 441 | 442 | [[package]] 443 | name = "dyn-clonable" 444 | version = "0.9.0" 445 | source = "registry+https://github.com/rust-lang/crates.io-index" 446 | checksum = "4e9232f0e607a262ceb9bd5141a3dfb3e4db6994b31989bbfd845878cba59fd4" 447 | dependencies = [ 448 | "dyn-clonable-impl", 449 | "dyn-clone", 450 | ] 451 | 452 | [[package]] 453 | name = "dyn-clonable-impl" 454 | version = "0.9.0" 455 | source = "registry+https://github.com/rust-lang/crates.io-index" 456 | checksum = "558e40ea573c374cf53507fd240b7ee2f5477df7cfebdb97323ec61c719399c5" 457 | dependencies = [ 458 | "proc-macro2", 459 | "quote", 460 | "syn", 461 | ] 462 | 463 | [[package]] 464 | name = "dyn-clone" 465 | version = "1.0.9" 466 | source = "registry+https://github.com/rust-lang/crates.io-index" 467 | checksum = "4f94fa09c2aeea5b8839e414b7b841bf429fd25b9c522116ac97ee87856d88b2" 468 | 469 | [[package]] 470 | name = "ecdsa" 471 | version = "0.13.4" 472 | source = "registry+https://github.com/rust-lang/crates.io-index" 473 | checksum = "d0d69ae62e0ce582d56380743515fefaf1a8c70cec685d9677636d7e30ae9dc9" 474 | dependencies = [ 475 | "der", 476 | "elliptic-curve", 477 | "rfc6979", 478 | "signature", 479 | ] 480 | 481 | [[package]] 482 | name = "ed25519" 483 | version = "1.5.2" 484 | source = "registry+https://github.com/rust-lang/crates.io-index" 485 | checksum = "1e9c280362032ea4203659fc489832d0204ef09f247a0506f170dafcac08c369" 486 | dependencies = [ 487 | "signature", 488 | ] 489 | 490 | [[package]] 491 | name = "ed25519-dalek" 492 | version = "1.0.1" 493 | source = "registry+https://github.com/rust-lang/crates.io-index" 494 | checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d" 495 | dependencies = [ 496 | "curve25519-dalek 3.2.0", 497 | "ed25519", 498 | "rand 0.7.3", 499 | "serde", 500 | "sha2 0.9.9", 501 | "zeroize", 502 | ] 503 | 504 | [[package]] 505 | name = "either" 506 | version = "1.7.0" 507 | source = "registry+https://github.com/rust-lang/crates.io-index" 508 | checksum = "3f107b87b6afc2a64fd13cac55fe06d6c8859f12d4b14cbcdd2c67d0976781be" 509 | 510 | [[package]] 511 | name = "elliptic-curve" 512 | version = "0.11.12" 513 | source = "registry+https://github.com/rust-lang/crates.io-index" 514 | checksum = "25b477563c2bfed38a3b7a60964c49e058b2510ad3f12ba3483fd8f62c2306d6" 515 | dependencies = [ 516 | "base16ct", 517 | "crypto-bigint", 518 | "der", 519 | "ff", 520 | "generic-array 0.14.6", 521 | "group", 522 | "rand_core 0.6.3", 523 | "sec1", 524 | "subtle", 525 | "zeroize", 526 | ] 527 | 528 | [[package]] 529 | name = "environmental" 530 | version = "1.1.3" 531 | source = "registry+https://github.com/rust-lang/crates.io-index" 532 | checksum = "68b91989ae21441195d7d9b9993a2f9295c7e1a8c96255d8b729accddc124797" 533 | 534 | [[package]] 535 | name = "fake-simd" 536 | version = "0.1.2" 537 | source = "registry+https://github.com/rust-lang/crates.io-index" 538 | checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed" 539 | 540 | [[package]] 541 | name = "ff" 542 | version = "0.11.1" 543 | source = "registry+https://github.com/rust-lang/crates.io-index" 544 | checksum = "131655483be284720a17d74ff97592b8e76576dc25563148601df2d7c9080924" 545 | dependencies = [ 546 | "rand_core 0.6.3", 547 | "subtle", 548 | ] 549 | 550 | [[package]] 551 | name = "fixed-hash" 552 | version = "0.7.0" 553 | source = "registry+https://github.com/rust-lang/crates.io-index" 554 | checksum = "cfcf0ed7fe52a17a03854ec54a9f76d6d84508d1c0e66bc1793301c73fc8493c" 555 | dependencies = [ 556 | "byteorder", 557 | "rand 0.8.5", 558 | "rustc-hex", 559 | "static_assertions", 560 | ] 561 | 562 | [[package]] 563 | name = "frame-benchmarking" 564 | version = "4.0.0-dev" 565 | source = "git+https://github.com/paritytech/substrate?branch=master#317808ab8920e261840013cc0e522b47a6c0d57d" 566 | dependencies = [ 567 | "frame-support", 568 | "frame-system", 569 | "linregress", 570 | "log", 571 | "parity-scale-codec", 572 | "paste", 573 | "scale-info", 574 | "serde", 575 | "sp-api", 576 | "sp-application-crypto", 577 | "sp-io", 578 | "sp-runtime", 579 | "sp-runtime-interface", 580 | "sp-std", 581 | "sp-storage", 582 | ] 583 | 584 | [[package]] 585 | name = "frame-metadata" 586 | version = "15.0.0" 587 | source = "registry+https://github.com/rust-lang/crates.io-index" 588 | checksum = "df6bb8542ef006ef0de09a5c4420787d79823c0ed7924225822362fd2bf2ff2d" 589 | dependencies = [ 590 | "cfg-if", 591 | "parity-scale-codec", 592 | "scale-info", 593 | "serde", 594 | ] 595 | 596 | [[package]] 597 | name = "frame-support" 598 | version = "4.0.0-dev" 599 | source = "git+https://github.com/paritytech/substrate?branch=master#317808ab8920e261840013cc0e522b47a6c0d57d" 600 | dependencies = [ 601 | "bitflags", 602 | "frame-metadata", 603 | "frame-support-procedural", 604 | "impl-trait-for-tuples", 605 | "k256", 606 | "log", 607 | "once_cell", 608 | "parity-scale-codec", 609 | "paste", 610 | "scale-info", 611 | "serde", 612 | "smallvec", 613 | "sp-arithmetic", 614 | "sp-core", 615 | "sp-core-hashing-proc-macro", 616 | "sp-inherents", 617 | "sp-io", 618 | "sp-runtime", 619 | "sp-staking", 620 | "sp-state-machine", 621 | "sp-std", 622 | "sp-tracing", 623 | "tt-call", 624 | ] 625 | 626 | [[package]] 627 | name = "frame-support-procedural" 628 | version = "4.0.0-dev" 629 | source = "git+https://github.com/paritytech/substrate?branch=master#317808ab8920e261840013cc0e522b47a6c0d57d" 630 | dependencies = [ 631 | "Inflector", 632 | "frame-support-procedural-tools", 633 | "proc-macro2", 634 | "quote", 635 | "syn", 636 | ] 637 | 638 | [[package]] 639 | name = "frame-support-procedural-tools" 640 | version = "4.0.0-dev" 641 | source = "git+https://github.com/paritytech/substrate?branch=master#317808ab8920e261840013cc0e522b47a6c0d57d" 642 | dependencies = [ 643 | "frame-support-procedural-tools-derive", 644 | "proc-macro-crate", 645 | "proc-macro2", 646 | "quote", 647 | "syn", 648 | ] 649 | 650 | [[package]] 651 | name = "frame-support-procedural-tools-derive" 652 | version = "3.0.0" 653 | source = "git+https://github.com/paritytech/substrate?branch=master#317808ab8920e261840013cc0e522b47a6c0d57d" 654 | dependencies = [ 655 | "proc-macro2", 656 | "quote", 657 | "syn", 658 | ] 659 | 660 | [[package]] 661 | name = "frame-system" 662 | version = "4.0.0-dev" 663 | source = "git+https://github.com/paritytech/substrate?branch=master#317808ab8920e261840013cc0e522b47a6c0d57d" 664 | dependencies = [ 665 | "frame-support", 666 | "log", 667 | "parity-scale-codec", 668 | "scale-info", 669 | "serde", 670 | "sp-core", 671 | "sp-io", 672 | "sp-runtime", 673 | "sp-std", 674 | "sp-version", 675 | ] 676 | 677 | [[package]] 678 | name = "funty" 679 | version = "2.0.0" 680 | source = "registry+https://github.com/rust-lang/crates.io-index" 681 | checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" 682 | 683 | [[package]] 684 | name = "futures" 685 | version = "0.3.21" 686 | source = "registry+https://github.com/rust-lang/crates.io-index" 687 | checksum = "f73fe65f54d1e12b726f517d3e2135ca3125a437b6d998caf1962961f7172d9e" 688 | dependencies = [ 689 | "futures-channel", 690 | "futures-core", 691 | "futures-executor", 692 | "futures-io", 693 | "futures-sink", 694 | "futures-task", 695 | "futures-util", 696 | ] 697 | 698 | [[package]] 699 | name = "futures-channel" 700 | version = "0.3.21" 701 | source = "registry+https://github.com/rust-lang/crates.io-index" 702 | checksum = "c3083ce4b914124575708913bca19bfe887522d6e2e6d0952943f5eac4a74010" 703 | dependencies = [ 704 | "futures-core", 705 | "futures-sink", 706 | ] 707 | 708 | [[package]] 709 | name = "futures-core" 710 | version = "0.3.21" 711 | source = "registry+https://github.com/rust-lang/crates.io-index" 712 | checksum = "0c09fd04b7e4073ac7156a9539b57a484a8ea920f79c7c675d05d289ab6110d3" 713 | 714 | [[package]] 715 | name = "futures-executor" 716 | version = "0.3.21" 717 | source = "registry+https://github.com/rust-lang/crates.io-index" 718 | checksum = "9420b90cfa29e327d0429f19be13e7ddb68fa1cccb09d65e5706b8c7a749b8a6" 719 | dependencies = [ 720 | "futures-core", 721 | "futures-task", 722 | "futures-util", 723 | "num_cpus", 724 | ] 725 | 726 | [[package]] 727 | name = "futures-io" 728 | version = "0.3.21" 729 | source = "registry+https://github.com/rust-lang/crates.io-index" 730 | checksum = "fc4045962a5a5e935ee2fdedaa4e08284547402885ab326734432bed5d12966b" 731 | 732 | [[package]] 733 | name = "futures-macro" 734 | version = "0.3.21" 735 | source = "registry+https://github.com/rust-lang/crates.io-index" 736 | checksum = "33c1e13800337f4d4d7a316bf45a567dbcb6ffe087f16424852d97e97a91f512" 737 | dependencies = [ 738 | "proc-macro2", 739 | "quote", 740 | "syn", 741 | ] 742 | 743 | [[package]] 744 | name = "futures-sink" 745 | version = "0.3.21" 746 | source = "registry+https://github.com/rust-lang/crates.io-index" 747 | checksum = "21163e139fa306126e6eedaf49ecdb4588f939600f0b1e770f4205ee4b7fa868" 748 | 749 | [[package]] 750 | name = "futures-task" 751 | version = "0.3.21" 752 | source = "registry+https://github.com/rust-lang/crates.io-index" 753 | checksum = "57c66a976bf5909d801bbef33416c41372779507e7a6b3a5e25e4749c58f776a" 754 | 755 | [[package]] 756 | name = "futures-util" 757 | version = "0.3.21" 758 | source = "registry+https://github.com/rust-lang/crates.io-index" 759 | checksum = "d8b7abd5d659d9b90c8cba917f6ec750a74e2dc23902ef9cd4cc8c8b22e6036a" 760 | dependencies = [ 761 | "futures-channel", 762 | "futures-core", 763 | "futures-io", 764 | "futures-macro", 765 | "futures-sink", 766 | "futures-task", 767 | "memchr", 768 | "pin-project-lite", 769 | "pin-utils", 770 | "slab", 771 | ] 772 | 773 | [[package]] 774 | name = "generic-array" 775 | version = "0.12.4" 776 | source = "registry+https://github.com/rust-lang/crates.io-index" 777 | checksum = "ffdf9f34f1447443d37393cc6c2b8313aebddcd96906caf34e54c68d8e57d7bd" 778 | dependencies = [ 779 | "typenum", 780 | ] 781 | 782 | [[package]] 783 | name = "generic-array" 784 | version = "0.14.6" 785 | source = "registry+https://github.com/rust-lang/crates.io-index" 786 | checksum = "bff49e947297f3312447abdca79f45f4738097cc82b06e72054d2223f601f1b9" 787 | dependencies = [ 788 | "typenum", 789 | "version_check", 790 | ] 791 | 792 | [[package]] 793 | name = "getrandom" 794 | version = "0.1.16" 795 | source = "registry+https://github.com/rust-lang/crates.io-index" 796 | checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" 797 | dependencies = [ 798 | "cfg-if", 799 | "js-sys", 800 | "libc", 801 | "wasi 0.9.0+wasi-snapshot-preview1", 802 | "wasm-bindgen", 803 | ] 804 | 805 | [[package]] 806 | name = "getrandom" 807 | version = "0.2.7" 808 | source = "registry+https://github.com/rust-lang/crates.io-index" 809 | checksum = "4eb1a864a501629691edf6c15a593b7a51eebaa1e8468e9ddc623de7c9b58ec6" 810 | dependencies = [ 811 | "cfg-if", 812 | "libc", 813 | "wasi 0.11.0+wasi-snapshot-preview1", 814 | ] 815 | 816 | [[package]] 817 | name = "gimli" 818 | version = "0.26.2" 819 | source = "registry+https://github.com/rust-lang/crates.io-index" 820 | checksum = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d" 821 | 822 | [[package]] 823 | name = "group" 824 | version = "0.11.0" 825 | source = "registry+https://github.com/rust-lang/crates.io-index" 826 | checksum = "bc5ac374b108929de78460075f3dc439fa66df9d8fc77e8f12caa5165fcf0c89" 827 | dependencies = [ 828 | "ff", 829 | "rand_core 0.6.3", 830 | "subtle", 831 | ] 832 | 833 | [[package]] 834 | name = "hash-db" 835 | version = "0.15.2" 836 | source = "registry+https://github.com/rust-lang/crates.io-index" 837 | checksum = "d23bd4e7b5eda0d0f3a307e8b381fdc8ba9000f26fbe912250c0a4cc3956364a" 838 | 839 | [[package]] 840 | name = "hash256-std-hasher" 841 | version = "0.15.2" 842 | source = "registry+https://github.com/rust-lang/crates.io-index" 843 | checksum = "92c171d55b98633f4ed3860808f004099b36c1cc29c42cfc53aa8591b21efcf2" 844 | dependencies = [ 845 | "crunchy", 846 | ] 847 | 848 | [[package]] 849 | name = "hashbrown" 850 | version = "0.12.3" 851 | source = "registry+https://github.com/rust-lang/crates.io-index" 852 | checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" 853 | dependencies = [ 854 | "ahash", 855 | ] 856 | 857 | [[package]] 858 | name = "hermit-abi" 859 | version = "0.1.19" 860 | source = "registry+https://github.com/rust-lang/crates.io-index" 861 | checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" 862 | dependencies = [ 863 | "libc", 864 | ] 865 | 866 | [[package]] 867 | name = "hex" 868 | version = "0.4.3" 869 | source = "registry+https://github.com/rust-lang/crates.io-index" 870 | checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" 871 | 872 | [[package]] 873 | name = "hmac" 874 | version = "0.8.1" 875 | source = "registry+https://github.com/rust-lang/crates.io-index" 876 | checksum = "126888268dcc288495a26bf004b38c5fdbb31682f992c84ceb046a1f0fe38840" 877 | dependencies = [ 878 | "crypto-mac 0.8.0", 879 | "digest 0.9.0", 880 | ] 881 | 882 | [[package]] 883 | name = "hmac" 884 | version = "0.11.0" 885 | source = "registry+https://github.com/rust-lang/crates.io-index" 886 | checksum = "2a2a2320eb7ec0ebe8da8f744d7812d9fc4cb4d09344ac01898dbcb6a20ae69b" 887 | dependencies = [ 888 | "crypto-mac 0.11.1", 889 | "digest 0.9.0", 890 | ] 891 | 892 | [[package]] 893 | name = "hmac-drbg" 894 | version = "0.3.0" 895 | source = "registry+https://github.com/rust-lang/crates.io-index" 896 | checksum = "17ea0a1394df5b6574da6e0c1ade9e78868c9fb0a4e5ef4428e32da4676b85b1" 897 | dependencies = [ 898 | "digest 0.9.0", 899 | "generic-array 0.14.6", 900 | "hmac 0.8.1", 901 | ] 902 | 903 | [[package]] 904 | name = "impl-codec" 905 | version = "0.6.0" 906 | source = "registry+https://github.com/rust-lang/crates.io-index" 907 | checksum = "ba6a270039626615617f3f36d15fc827041df3b78c439da2cadfa47455a77f2f" 908 | dependencies = [ 909 | "parity-scale-codec", 910 | ] 911 | 912 | [[package]] 913 | name = "impl-serde" 914 | version = "0.3.2" 915 | source = "registry+https://github.com/rust-lang/crates.io-index" 916 | checksum = "4551f042f3438e64dbd6226b20527fc84a6e1fe65688b58746a2f53623f25f5c" 917 | dependencies = [ 918 | "serde", 919 | ] 920 | 921 | [[package]] 922 | name = "impl-trait-for-tuples" 923 | version = "0.2.2" 924 | source = "registry+https://github.com/rust-lang/crates.io-index" 925 | checksum = "11d7a9f6330b71fea57921c9b61c47ee6e84f72d394754eff6163ae67e7395eb" 926 | dependencies = [ 927 | "proc-macro2", 928 | "quote", 929 | "syn", 930 | ] 931 | 932 | [[package]] 933 | name = "integer-sqrt" 934 | version = "0.1.5" 935 | source = "registry+https://github.com/rust-lang/crates.io-index" 936 | checksum = "276ec31bcb4a9ee45f58bec6f9ec700ae4cf4f4f8f2fa7e06cb406bd5ffdd770" 937 | dependencies = [ 938 | "num-traits", 939 | ] 940 | 941 | [[package]] 942 | name = "itoa" 943 | version = "0.4.8" 944 | source = "registry+https://github.com/rust-lang/crates.io-index" 945 | checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4" 946 | 947 | [[package]] 948 | name = "itoa" 949 | version = "1.0.3" 950 | source = "registry+https://github.com/rust-lang/crates.io-index" 951 | checksum = "6c8af84674fe1f223a982c933a0ee1086ac4d4052aa0fb8060c12c6ad838e754" 952 | 953 | [[package]] 954 | name = "js-sys" 955 | version = "0.3.59" 956 | source = "registry+https://github.com/rust-lang/crates.io-index" 957 | checksum = "258451ab10b34f8af53416d1fdab72c22e805f0c92a1136d59470ec0b11138b2" 958 | dependencies = [ 959 | "wasm-bindgen", 960 | ] 961 | 962 | [[package]] 963 | name = "k256" 964 | version = "0.10.4" 965 | source = "registry+https://github.com/rust-lang/crates.io-index" 966 | checksum = "19c3a5e0a0b8450278feda242592512e09f61c72e018b8cd5c859482802daf2d" 967 | dependencies = [ 968 | "cfg-if", 969 | "ecdsa", 970 | "elliptic-curve", 971 | "sec1", 972 | ] 973 | 974 | [[package]] 975 | name = "keccak" 976 | version = "0.1.2" 977 | source = "registry+https://github.com/rust-lang/crates.io-index" 978 | checksum = "f9b7d56ba4a8344d6be9729995e6b06f928af29998cdf79fe390cbf6b1fee838" 979 | 980 | [[package]] 981 | name = "lazy_static" 982 | version = "1.4.0" 983 | source = "registry+https://github.com/rust-lang/crates.io-index" 984 | checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" 985 | 986 | [[package]] 987 | name = "libc" 988 | version = "0.2.127" 989 | source = "registry+https://github.com/rust-lang/crates.io-index" 990 | checksum = "505e71a4706fa491e9b1b55f51b95d4037d0821ee40131190475f692b35b009b" 991 | 992 | [[package]] 993 | name = "libm" 994 | version = "0.2.3" 995 | source = "registry+https://github.com/rust-lang/crates.io-index" 996 | checksum = "da83a57f3f5ba3680950aa3cbc806fc297bc0b289d42e8942ed528ace71b8145" 997 | 998 | [[package]] 999 | name = "libsecp256k1" 1000 | version = "0.7.1" 1001 | source = "registry+https://github.com/rust-lang/crates.io-index" 1002 | checksum = "95b09eff1b35ed3b33b877ced3a691fc7a481919c7e29c53c906226fcf55e2a1" 1003 | dependencies = [ 1004 | "arrayref", 1005 | "base64", 1006 | "digest 0.9.0", 1007 | "hmac-drbg", 1008 | "libsecp256k1-core", 1009 | "libsecp256k1-gen-ecmult", 1010 | "libsecp256k1-gen-genmult", 1011 | "rand 0.8.5", 1012 | "serde", 1013 | "sha2 0.9.9", 1014 | "typenum", 1015 | ] 1016 | 1017 | [[package]] 1018 | name = "libsecp256k1-core" 1019 | version = "0.3.0" 1020 | source = "registry+https://github.com/rust-lang/crates.io-index" 1021 | checksum = "5be9b9bb642d8522a44d533eab56c16c738301965504753b03ad1de3425d5451" 1022 | dependencies = [ 1023 | "crunchy", 1024 | "digest 0.9.0", 1025 | "subtle", 1026 | ] 1027 | 1028 | [[package]] 1029 | name = "libsecp256k1-gen-ecmult" 1030 | version = "0.3.0" 1031 | source = "registry+https://github.com/rust-lang/crates.io-index" 1032 | checksum = "3038c808c55c87e8a172643a7d87187fc6c4174468159cb3090659d55bcb4809" 1033 | dependencies = [ 1034 | "libsecp256k1-core", 1035 | ] 1036 | 1037 | [[package]] 1038 | name = "libsecp256k1-gen-genmult" 1039 | version = "0.3.0" 1040 | source = "registry+https://github.com/rust-lang/crates.io-index" 1041 | checksum = "3db8d6ba2cec9eacc40e6e8ccc98931840301f1006e95647ceb2dd5c3aa06f7c" 1042 | dependencies = [ 1043 | "libsecp256k1-core", 1044 | ] 1045 | 1046 | [[package]] 1047 | name = "linregress" 1048 | version = "0.4.4" 1049 | source = "registry+https://github.com/rust-lang/crates.io-index" 1050 | checksum = "d6c601a85f5ecd1aba625247bca0031585fb1c446461b142878a16f8245ddeb8" 1051 | dependencies = [ 1052 | "nalgebra", 1053 | "statrs", 1054 | ] 1055 | 1056 | [[package]] 1057 | name = "lock_api" 1058 | version = "0.4.7" 1059 | source = "registry+https://github.com/rust-lang/crates.io-index" 1060 | checksum = "327fa5b6a6940e4699ec49a9beae1ea4845c6bab9314e4f84ac68742139d8c53" 1061 | dependencies = [ 1062 | "autocfg", 1063 | "scopeguard", 1064 | ] 1065 | 1066 | [[package]] 1067 | name = "log" 1068 | version = "0.4.17" 1069 | source = "registry+https://github.com/rust-lang/crates.io-index" 1070 | checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" 1071 | dependencies = [ 1072 | "cfg-if", 1073 | ] 1074 | 1075 | [[package]] 1076 | name = "matchers" 1077 | version = "0.0.1" 1078 | source = "registry+https://github.com/rust-lang/crates.io-index" 1079 | checksum = "f099785f7595cc4b4553a174ce30dd7589ef93391ff414dbb67f62392b9e0ce1" 1080 | dependencies = [ 1081 | "regex-automata", 1082 | ] 1083 | 1084 | [[package]] 1085 | name = "matrixmultiply" 1086 | version = "0.3.2" 1087 | source = "registry+https://github.com/rust-lang/crates.io-index" 1088 | checksum = "add85d4dd35074e6fedc608f8c8f513a3548619a9024b751949ef0e8e45a4d84" 1089 | dependencies = [ 1090 | "rawpointer", 1091 | ] 1092 | 1093 | [[package]] 1094 | name = "memchr" 1095 | version = "2.5.0" 1096 | source = "registry+https://github.com/rust-lang/crates.io-index" 1097 | checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" 1098 | 1099 | [[package]] 1100 | name = "memory-db" 1101 | version = "0.29.0" 1102 | source = "registry+https://github.com/rust-lang/crates.io-index" 1103 | checksum = "6566c70c1016f525ced45d7b7f97730a2bafb037c788211d0c186ef5b2189f0a" 1104 | dependencies = [ 1105 | "hash-db", 1106 | "hashbrown", 1107 | "parity-util-mem", 1108 | ] 1109 | 1110 | [[package]] 1111 | name = "memory_units" 1112 | version = "0.3.0" 1113 | source = "registry+https://github.com/rust-lang/crates.io-index" 1114 | checksum = "71d96e3f3c0b6325d8ccd83c33b28acb183edcb6c67938ba104ec546854b0882" 1115 | 1116 | [[package]] 1117 | name = "merlin" 1118 | version = "2.0.1" 1119 | source = "registry+https://github.com/rust-lang/crates.io-index" 1120 | checksum = "4e261cf0f8b3c42ded9f7d2bb59dea03aa52bc8a1cbc7482f9fc3fd1229d3b42" 1121 | dependencies = [ 1122 | "byteorder", 1123 | "keccak", 1124 | "rand_core 0.5.1", 1125 | "zeroize", 1126 | ] 1127 | 1128 | [[package]] 1129 | name = "miniz_oxide" 1130 | version = "0.5.3" 1131 | source = "registry+https://github.com/rust-lang/crates.io-index" 1132 | checksum = "6f5c75688da582b8ffc1f1799e9db273f32133c49e048f614d22ec3256773ccc" 1133 | dependencies = [ 1134 | "adler", 1135 | ] 1136 | 1137 | [[package]] 1138 | name = "nalgebra" 1139 | version = "0.27.1" 1140 | source = "registry+https://github.com/rust-lang/crates.io-index" 1141 | checksum = "462fffe4002f4f2e1f6a9dcf12cc1a6fc0e15989014efc02a941d3e0f5dc2120" 1142 | dependencies = [ 1143 | "approx", 1144 | "matrixmultiply", 1145 | "nalgebra-macros", 1146 | "num-complex", 1147 | "num-rational 0.4.1", 1148 | "num-traits", 1149 | "rand 0.8.5", 1150 | "rand_distr", 1151 | "simba", 1152 | "typenum", 1153 | ] 1154 | 1155 | [[package]] 1156 | name = "nalgebra-macros" 1157 | version = "0.1.0" 1158 | source = "registry+https://github.com/rust-lang/crates.io-index" 1159 | checksum = "01fcc0b8149b4632adc89ac3b7b31a12fb6099a0317a4eb2ebff574ef7de7218" 1160 | dependencies = [ 1161 | "proc-macro2", 1162 | "quote", 1163 | "syn", 1164 | ] 1165 | 1166 | [[package]] 1167 | name = "nodrop" 1168 | version = "0.1.14" 1169 | source = "registry+https://github.com/rust-lang/crates.io-index" 1170 | checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb" 1171 | 1172 | [[package]] 1173 | name = "num-bigint" 1174 | version = "0.2.6" 1175 | source = "registry+https://github.com/rust-lang/crates.io-index" 1176 | checksum = "090c7f9998ee0ff65aa5b723e4009f7b217707f1fb5ea551329cc4d6231fb304" 1177 | dependencies = [ 1178 | "autocfg", 1179 | "num-integer", 1180 | "num-traits", 1181 | ] 1182 | 1183 | [[package]] 1184 | name = "num-complex" 1185 | version = "0.4.2" 1186 | source = "registry+https://github.com/rust-lang/crates.io-index" 1187 | checksum = "7ae39348c8bc5fbd7f40c727a9925f03517afd2ab27d46702108b6a7e5414c19" 1188 | dependencies = [ 1189 | "num-traits", 1190 | ] 1191 | 1192 | [[package]] 1193 | name = "num-format" 1194 | version = "0.4.0" 1195 | source = "registry+https://github.com/rust-lang/crates.io-index" 1196 | checksum = "bafe4179722c2894288ee77a9f044f02811c86af699344c498b0840c698a2465" 1197 | dependencies = [ 1198 | "arrayvec 0.4.12", 1199 | "itoa 0.4.8", 1200 | ] 1201 | 1202 | [[package]] 1203 | name = "num-integer" 1204 | version = "0.1.45" 1205 | source = "registry+https://github.com/rust-lang/crates.io-index" 1206 | checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" 1207 | dependencies = [ 1208 | "autocfg", 1209 | "num-traits", 1210 | ] 1211 | 1212 | [[package]] 1213 | name = "num-rational" 1214 | version = "0.2.4" 1215 | source = "registry+https://github.com/rust-lang/crates.io-index" 1216 | checksum = "5c000134b5dbf44adc5cb772486d335293351644b801551abe8f75c84cfa4aef" 1217 | dependencies = [ 1218 | "autocfg", 1219 | "num-bigint", 1220 | "num-integer", 1221 | "num-traits", 1222 | ] 1223 | 1224 | [[package]] 1225 | name = "num-rational" 1226 | version = "0.4.1" 1227 | source = "registry+https://github.com/rust-lang/crates.io-index" 1228 | checksum = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0" 1229 | dependencies = [ 1230 | "autocfg", 1231 | "num-integer", 1232 | "num-traits", 1233 | ] 1234 | 1235 | [[package]] 1236 | name = "num-traits" 1237 | version = "0.2.15" 1238 | source = "registry+https://github.com/rust-lang/crates.io-index" 1239 | checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" 1240 | dependencies = [ 1241 | "autocfg", 1242 | "libm", 1243 | ] 1244 | 1245 | [[package]] 1246 | name = "num_cpus" 1247 | version = "1.13.1" 1248 | source = "registry+https://github.com/rust-lang/crates.io-index" 1249 | checksum = "19e64526ebdee182341572e50e9ad03965aa510cd94427a4549448f285e957a1" 1250 | dependencies = [ 1251 | "hermit-abi", 1252 | "libc", 1253 | ] 1254 | 1255 | [[package]] 1256 | name = "num_enum" 1257 | version = "0.5.7" 1258 | source = "registry+https://github.com/rust-lang/crates.io-index" 1259 | checksum = "cf5395665662ef45796a4ff5486c5d41d29e0c09640af4c5f17fd94ee2c119c9" 1260 | dependencies = [ 1261 | "num_enum_derive", 1262 | ] 1263 | 1264 | [[package]] 1265 | name = "num_enum_derive" 1266 | version = "0.5.7" 1267 | source = "registry+https://github.com/rust-lang/crates.io-index" 1268 | checksum = "3b0498641e53dd6ac1a4f22547548caa6864cc4933784319cd1775271c5a46ce" 1269 | dependencies = [ 1270 | "proc-macro-crate", 1271 | "proc-macro2", 1272 | "quote", 1273 | "syn", 1274 | ] 1275 | 1276 | [[package]] 1277 | name = "object" 1278 | version = "0.29.0" 1279 | source = "registry+https://github.com/rust-lang/crates.io-index" 1280 | checksum = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53" 1281 | dependencies = [ 1282 | "memchr", 1283 | ] 1284 | 1285 | [[package]] 1286 | name = "once_cell" 1287 | version = "1.13.0" 1288 | source = "registry+https://github.com/rust-lang/crates.io-index" 1289 | checksum = "18a6dbe30758c9f83eb00cbea4ac95966305f5a7772f3f42ebfc7fc7eddbd8e1" 1290 | 1291 | [[package]] 1292 | name = "opaque-debug" 1293 | version = "0.2.3" 1294 | source = "registry+https://github.com/rust-lang/crates.io-index" 1295 | checksum = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c" 1296 | 1297 | [[package]] 1298 | name = "opaque-debug" 1299 | version = "0.3.0" 1300 | source = "registry+https://github.com/rust-lang/crates.io-index" 1301 | checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" 1302 | 1303 | [[package]] 1304 | name = "pallet-contracts" 1305 | version = "4.0.0-dev" 1306 | source = "git+https://github.com/paritytech/substrate?branch=master#317808ab8920e261840013cc0e522b47a6c0d57d" 1307 | dependencies = [ 1308 | "bitflags", 1309 | "frame-benchmarking", 1310 | "frame-support", 1311 | "frame-system", 1312 | "impl-trait-for-tuples", 1313 | "log", 1314 | "pallet-contracts-primitives", 1315 | "pallet-contracts-proc-macro", 1316 | "parity-scale-codec", 1317 | "rand 0.8.5", 1318 | "scale-info", 1319 | "serde", 1320 | "smallvec", 1321 | "sp-core", 1322 | "sp-io", 1323 | "sp-runtime", 1324 | "sp-sandbox", 1325 | "sp-std", 1326 | "wasm-instrument", 1327 | "wasmi-validation", 1328 | ] 1329 | 1330 | [[package]] 1331 | name = "pallet-contracts-primitives" 1332 | version = "6.0.0" 1333 | source = "git+https://github.com/paritytech/substrate?branch=master#317808ab8920e261840013cc0e522b47a6c0d57d" 1334 | dependencies = [ 1335 | "bitflags", 1336 | "parity-scale-codec", 1337 | "scale-info", 1338 | "serde", 1339 | "sp-core", 1340 | "sp-rpc", 1341 | "sp-runtime", 1342 | "sp-std", 1343 | ] 1344 | 1345 | [[package]] 1346 | name = "pallet-contracts-proc-macro" 1347 | version = "4.0.0-dev" 1348 | source = "git+https://github.com/paritytech/substrate?branch=master#317808ab8920e261840013cc0e522b47a6c0d57d" 1349 | dependencies = [ 1350 | "proc-macro2", 1351 | "quote", 1352 | "syn", 1353 | ] 1354 | 1355 | [[package]] 1356 | name = "pallet-contracts-xcm" 1357 | version = "0.1.0" 1358 | dependencies = [ 1359 | "frame-support", 1360 | "frame-system", 1361 | "log", 1362 | "num_enum", 1363 | "pallet-contracts", 1364 | "pallet-xcm", 1365 | "parity-scale-codec", 1366 | "scale-info", 1367 | "serde", 1368 | "sp-core", 1369 | "sp-runtime", 1370 | "sp-std", 1371 | "xcm", 1372 | "xcm-executor", 1373 | ] 1374 | 1375 | [[package]] 1376 | name = "pallet-xcm" 1377 | version = "0.9.27" 1378 | source = "git+https://github.com/paritytech/polkadot?branch=master#4863d0a33a4a3534236f76abb5b1dc91751c6c34" 1379 | dependencies = [ 1380 | "frame-support", 1381 | "frame-system", 1382 | "log", 1383 | "parity-scale-codec", 1384 | "scale-info", 1385 | "serde", 1386 | "sp-core", 1387 | "sp-runtime", 1388 | "sp-std", 1389 | "xcm", 1390 | "xcm-executor", 1391 | ] 1392 | 1393 | [[package]] 1394 | name = "parity-scale-codec" 1395 | version = "3.1.5" 1396 | source = "registry+https://github.com/rust-lang/crates.io-index" 1397 | checksum = "9182e4a71cae089267ab03e67c99368db7cd877baf50f931e5d6d4b71e195ac0" 1398 | dependencies = [ 1399 | "arrayvec 0.7.2", 1400 | "bitvec", 1401 | "byte-slice-cast", 1402 | "bytes", 1403 | "impl-trait-for-tuples", 1404 | "parity-scale-codec-derive", 1405 | "serde", 1406 | ] 1407 | 1408 | [[package]] 1409 | name = "parity-scale-codec-derive" 1410 | version = "3.1.3" 1411 | source = "registry+https://github.com/rust-lang/crates.io-index" 1412 | checksum = "9299338969a3d2f491d65f140b00ddec470858402f888af98e8642fb5e8965cd" 1413 | dependencies = [ 1414 | "proc-macro-crate", 1415 | "proc-macro2", 1416 | "quote", 1417 | "syn", 1418 | ] 1419 | 1420 | [[package]] 1421 | name = "parity-util-mem" 1422 | version = "0.11.0" 1423 | source = "registry+https://github.com/rust-lang/crates.io-index" 1424 | checksum = "c32561d248d352148124f036cac253a644685a21dc9fea383eb4907d7bd35a8f" 1425 | dependencies = [ 1426 | "cfg-if", 1427 | "hashbrown", 1428 | "impl-trait-for-tuples", 1429 | "parity-util-mem-derive", 1430 | "parking_lot", 1431 | "primitive-types", 1432 | "winapi", 1433 | ] 1434 | 1435 | [[package]] 1436 | name = "parity-util-mem-derive" 1437 | version = "0.1.0" 1438 | source = "registry+https://github.com/rust-lang/crates.io-index" 1439 | checksum = "f557c32c6d268a07c921471619c0295f5efad3a0e76d4f97a05c091a51d110b2" 1440 | dependencies = [ 1441 | "proc-macro2", 1442 | "syn", 1443 | "synstructure", 1444 | ] 1445 | 1446 | [[package]] 1447 | name = "parity-wasm" 1448 | version = "0.42.2" 1449 | source = "registry+https://github.com/rust-lang/crates.io-index" 1450 | checksum = "be5e13c266502aadf83426d87d81a0f5d1ef45b8027f5a471c360abfe4bfae92" 1451 | 1452 | [[package]] 1453 | name = "parking_lot" 1454 | version = "0.12.1" 1455 | source = "registry+https://github.com/rust-lang/crates.io-index" 1456 | checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" 1457 | dependencies = [ 1458 | "lock_api", 1459 | "parking_lot_core", 1460 | ] 1461 | 1462 | [[package]] 1463 | name = "parking_lot_core" 1464 | version = "0.9.3" 1465 | source = "registry+https://github.com/rust-lang/crates.io-index" 1466 | checksum = "09a279cbf25cb0757810394fbc1e359949b59e348145c643a939a525692e6929" 1467 | dependencies = [ 1468 | "cfg-if", 1469 | "libc", 1470 | "redox_syscall", 1471 | "smallvec", 1472 | "windows-sys", 1473 | ] 1474 | 1475 | [[package]] 1476 | name = "paste" 1477 | version = "1.0.8" 1478 | source = "registry+https://github.com/rust-lang/crates.io-index" 1479 | checksum = "9423e2b32f7a043629287a536f21951e8c6a82482d0acb1eeebfc90bc2225b22" 1480 | 1481 | [[package]] 1482 | name = "pbkdf2" 1483 | version = "0.4.0" 1484 | source = "registry+https://github.com/rust-lang/crates.io-index" 1485 | checksum = "216eaa586a190f0a738f2f918511eecfa90f13295abec0e457cdebcceda80cbd" 1486 | dependencies = [ 1487 | "crypto-mac 0.8.0", 1488 | ] 1489 | 1490 | [[package]] 1491 | name = "pbkdf2" 1492 | version = "0.8.0" 1493 | source = "registry+https://github.com/rust-lang/crates.io-index" 1494 | checksum = "d95f5254224e617595d2cc3cc73ff0a5eaf2637519e25f03388154e9378b6ffa" 1495 | dependencies = [ 1496 | "crypto-mac 0.11.1", 1497 | ] 1498 | 1499 | [[package]] 1500 | name = "pin-project-lite" 1501 | version = "0.2.9" 1502 | source = "registry+https://github.com/rust-lang/crates.io-index" 1503 | checksum = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116" 1504 | 1505 | [[package]] 1506 | name = "pin-utils" 1507 | version = "0.1.0" 1508 | source = "registry+https://github.com/rust-lang/crates.io-index" 1509 | checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" 1510 | 1511 | [[package]] 1512 | name = "ppv-lite86" 1513 | version = "0.2.16" 1514 | source = "registry+https://github.com/rust-lang/crates.io-index" 1515 | checksum = "eb9f9e6e233e5c4a35559a617bf40a4ec447db2e84c20b55a6f83167b7e57872" 1516 | 1517 | [[package]] 1518 | name = "primitive-types" 1519 | version = "0.11.1" 1520 | source = "registry+https://github.com/rust-lang/crates.io-index" 1521 | checksum = "e28720988bff275df1f51b171e1b2a18c30d194c4d2b61defdacecd625a5d94a" 1522 | dependencies = [ 1523 | "fixed-hash", 1524 | "impl-codec", 1525 | "impl-serde", 1526 | "scale-info", 1527 | "uint", 1528 | ] 1529 | 1530 | [[package]] 1531 | name = "proc-macro-crate" 1532 | version = "1.2.0" 1533 | source = "registry+https://github.com/rust-lang/crates.io-index" 1534 | checksum = "26d50bfb8c23f23915855a00d98b5a35ef2e0b871bb52937bacadb798fbb66c8" 1535 | dependencies = [ 1536 | "once_cell", 1537 | "thiserror", 1538 | "toml", 1539 | ] 1540 | 1541 | [[package]] 1542 | name = "proc-macro2" 1543 | version = "1.0.43" 1544 | source = "registry+https://github.com/rust-lang/crates.io-index" 1545 | checksum = "0a2ca2c61bc9f3d74d2886294ab7b9853abd9c1ad903a3ac7815c58989bb7bab" 1546 | dependencies = [ 1547 | "unicode-ident", 1548 | ] 1549 | 1550 | [[package]] 1551 | name = "quote" 1552 | version = "1.0.21" 1553 | source = "registry+https://github.com/rust-lang/crates.io-index" 1554 | checksum = "bbe448f377a7d6961e30f5955f9b8d106c3f5e449d493ee1b125c1d43c2b5179" 1555 | dependencies = [ 1556 | "proc-macro2", 1557 | ] 1558 | 1559 | [[package]] 1560 | name = "radium" 1561 | version = "0.7.0" 1562 | source = "registry+https://github.com/rust-lang/crates.io-index" 1563 | checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" 1564 | 1565 | [[package]] 1566 | name = "rand" 1567 | version = "0.7.3" 1568 | source = "registry+https://github.com/rust-lang/crates.io-index" 1569 | checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" 1570 | dependencies = [ 1571 | "getrandom 0.1.16", 1572 | "libc", 1573 | "rand_chacha 0.2.2", 1574 | "rand_core 0.5.1", 1575 | "rand_hc", 1576 | "rand_pcg", 1577 | ] 1578 | 1579 | [[package]] 1580 | name = "rand" 1581 | version = "0.8.5" 1582 | source = "registry+https://github.com/rust-lang/crates.io-index" 1583 | checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" 1584 | dependencies = [ 1585 | "libc", 1586 | "rand_chacha 0.3.1", 1587 | "rand_core 0.6.3", 1588 | ] 1589 | 1590 | [[package]] 1591 | name = "rand_chacha" 1592 | version = "0.2.2" 1593 | source = "registry+https://github.com/rust-lang/crates.io-index" 1594 | checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" 1595 | dependencies = [ 1596 | "ppv-lite86", 1597 | "rand_core 0.5.1", 1598 | ] 1599 | 1600 | [[package]] 1601 | name = "rand_chacha" 1602 | version = "0.3.1" 1603 | source = "registry+https://github.com/rust-lang/crates.io-index" 1604 | checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" 1605 | dependencies = [ 1606 | "ppv-lite86", 1607 | "rand_core 0.6.3", 1608 | ] 1609 | 1610 | [[package]] 1611 | name = "rand_core" 1612 | version = "0.5.1" 1613 | source = "registry+https://github.com/rust-lang/crates.io-index" 1614 | checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" 1615 | dependencies = [ 1616 | "getrandom 0.1.16", 1617 | ] 1618 | 1619 | [[package]] 1620 | name = "rand_core" 1621 | version = "0.6.3" 1622 | source = "registry+https://github.com/rust-lang/crates.io-index" 1623 | checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7" 1624 | dependencies = [ 1625 | "getrandom 0.2.7", 1626 | ] 1627 | 1628 | [[package]] 1629 | name = "rand_distr" 1630 | version = "0.4.3" 1631 | source = "registry+https://github.com/rust-lang/crates.io-index" 1632 | checksum = "32cb0b9bc82b0a0876c2dd994a7e7a2683d3e7390ca40e6886785ef0c7e3ee31" 1633 | dependencies = [ 1634 | "num-traits", 1635 | "rand 0.8.5", 1636 | ] 1637 | 1638 | [[package]] 1639 | name = "rand_hc" 1640 | version = "0.2.0" 1641 | source = "registry+https://github.com/rust-lang/crates.io-index" 1642 | checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" 1643 | dependencies = [ 1644 | "rand_core 0.5.1", 1645 | ] 1646 | 1647 | [[package]] 1648 | name = "rand_pcg" 1649 | version = "0.2.1" 1650 | source = "registry+https://github.com/rust-lang/crates.io-index" 1651 | checksum = "16abd0c1b639e9eb4d7c50c0b8100b0d0f849be2349829c740fe8e6eb4816429" 1652 | dependencies = [ 1653 | "rand_core 0.5.1", 1654 | ] 1655 | 1656 | [[package]] 1657 | name = "rawpointer" 1658 | version = "0.2.1" 1659 | source = "registry+https://github.com/rust-lang/crates.io-index" 1660 | checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" 1661 | 1662 | [[package]] 1663 | name = "redox_syscall" 1664 | version = "0.2.16" 1665 | source = "registry+https://github.com/rust-lang/crates.io-index" 1666 | checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" 1667 | dependencies = [ 1668 | "bitflags", 1669 | ] 1670 | 1671 | [[package]] 1672 | name = "ref-cast" 1673 | version = "1.0.9" 1674 | source = "registry+https://github.com/rust-lang/crates.io-index" 1675 | checksum = "ed13bcd201494ab44900a96490291651d200730904221832b9547d24a87d332b" 1676 | dependencies = [ 1677 | "ref-cast-impl", 1678 | ] 1679 | 1680 | [[package]] 1681 | name = "ref-cast-impl" 1682 | version = "1.0.9" 1683 | source = "registry+https://github.com/rust-lang/crates.io-index" 1684 | checksum = "5234cd6063258a5e32903b53b1b6ac043a0541c8adc1f610f67b0326c7a578fa" 1685 | dependencies = [ 1686 | "proc-macro2", 1687 | "quote", 1688 | "syn", 1689 | ] 1690 | 1691 | [[package]] 1692 | name = "regex" 1693 | version = "1.6.0" 1694 | source = "registry+https://github.com/rust-lang/crates.io-index" 1695 | checksum = "4c4eb3267174b8c6c2f654116623910a0fef09c4753f8dd83db29c48a0df988b" 1696 | dependencies = [ 1697 | "aho-corasick", 1698 | "memchr", 1699 | "regex-syntax", 1700 | ] 1701 | 1702 | [[package]] 1703 | name = "regex-automata" 1704 | version = "0.1.10" 1705 | source = "registry+https://github.com/rust-lang/crates.io-index" 1706 | checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" 1707 | dependencies = [ 1708 | "regex-syntax", 1709 | ] 1710 | 1711 | [[package]] 1712 | name = "regex-syntax" 1713 | version = "0.6.27" 1714 | source = "registry+https://github.com/rust-lang/crates.io-index" 1715 | checksum = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244" 1716 | 1717 | [[package]] 1718 | name = "rfc6979" 1719 | version = "0.1.0" 1720 | source = "registry+https://github.com/rust-lang/crates.io-index" 1721 | checksum = "96ef608575f6392792f9ecf7890c00086591d29a83910939d430753f7c050525" 1722 | dependencies = [ 1723 | "crypto-bigint", 1724 | "hmac 0.11.0", 1725 | "zeroize", 1726 | ] 1727 | 1728 | [[package]] 1729 | name = "rustc-demangle" 1730 | version = "0.1.21" 1731 | source = "registry+https://github.com/rust-lang/crates.io-index" 1732 | checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342" 1733 | 1734 | [[package]] 1735 | name = "rustc-hash" 1736 | version = "1.1.0" 1737 | source = "registry+https://github.com/rust-lang/crates.io-index" 1738 | checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" 1739 | 1740 | [[package]] 1741 | name = "rustc-hex" 1742 | version = "2.1.0" 1743 | source = "registry+https://github.com/rust-lang/crates.io-index" 1744 | checksum = "3e75f6a532d0fd9f7f13144f392b6ad56a32696bfcd9c78f797f16bbb6f072d6" 1745 | 1746 | [[package]] 1747 | name = "ryu" 1748 | version = "1.0.11" 1749 | source = "registry+https://github.com/rust-lang/crates.io-index" 1750 | checksum = "4501abdff3ae82a1c1b477a17252eb69cee9e66eb915c1abaa4f44d873df9f09" 1751 | 1752 | [[package]] 1753 | name = "scale-info" 1754 | version = "2.1.2" 1755 | source = "registry+https://github.com/rust-lang/crates.io-index" 1756 | checksum = "c46be926081c9f4dd5dd9b6f1d3e3229f2360bc6502dd8836f84a93b7c75e99a" 1757 | dependencies = [ 1758 | "bitvec", 1759 | "cfg-if", 1760 | "derive_more", 1761 | "parity-scale-codec", 1762 | "scale-info-derive", 1763 | "serde", 1764 | ] 1765 | 1766 | [[package]] 1767 | name = "scale-info-derive" 1768 | version = "2.1.2" 1769 | source = "registry+https://github.com/rust-lang/crates.io-index" 1770 | checksum = "50e334bb10a245e28e5fd755cabcafd96cfcd167c99ae63a46924ca8d8703a3c" 1771 | dependencies = [ 1772 | "proc-macro-crate", 1773 | "proc-macro2", 1774 | "quote", 1775 | "syn", 1776 | ] 1777 | 1778 | [[package]] 1779 | name = "schnorrkel" 1780 | version = "0.9.1" 1781 | source = "registry+https://github.com/rust-lang/crates.io-index" 1782 | checksum = "021b403afe70d81eea68f6ea12f6b3c9588e5d536a94c3bf80f15e7faa267862" 1783 | dependencies = [ 1784 | "arrayref", 1785 | "arrayvec 0.5.2", 1786 | "curve25519-dalek 2.1.3", 1787 | "getrandom 0.1.16", 1788 | "merlin", 1789 | "rand 0.7.3", 1790 | "rand_core 0.5.1", 1791 | "sha2 0.8.2", 1792 | "subtle", 1793 | "zeroize", 1794 | ] 1795 | 1796 | [[package]] 1797 | name = "scopeguard" 1798 | version = "1.1.0" 1799 | source = "registry+https://github.com/rust-lang/crates.io-index" 1800 | checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" 1801 | 1802 | [[package]] 1803 | name = "sec1" 1804 | version = "0.2.1" 1805 | source = "registry+https://github.com/rust-lang/crates.io-index" 1806 | checksum = "08da66b8b0965a5555b6bd6639e68ccba85e1e2506f5fbb089e93f8a04e1a2d1" 1807 | dependencies = [ 1808 | "der", 1809 | "generic-array 0.14.6", 1810 | "subtle", 1811 | "zeroize", 1812 | ] 1813 | 1814 | [[package]] 1815 | name = "secp256k1" 1816 | version = "0.24.0" 1817 | source = "registry+https://github.com/rust-lang/crates.io-index" 1818 | checksum = "b7649a0b3ffb32636e60c7ce0d70511eda9c52c658cd0634e194d5a19943aeff" 1819 | dependencies = [ 1820 | "secp256k1-sys", 1821 | ] 1822 | 1823 | [[package]] 1824 | name = "secp256k1-sys" 1825 | version = "0.6.0" 1826 | source = "registry+https://github.com/rust-lang/crates.io-index" 1827 | checksum = "7058dc8eaf3f2810d7828680320acda0b25a288f6d288e19278e249bbf74226b" 1828 | dependencies = [ 1829 | "cc", 1830 | ] 1831 | 1832 | [[package]] 1833 | name = "secrecy" 1834 | version = "0.8.0" 1835 | source = "registry+https://github.com/rust-lang/crates.io-index" 1836 | checksum = "9bd1c54ea06cfd2f6b63219704de0b9b4f72dcc2b8fdef820be6cd799780e91e" 1837 | dependencies = [ 1838 | "zeroize", 1839 | ] 1840 | 1841 | [[package]] 1842 | name = "serde" 1843 | version = "1.0.142" 1844 | source = "registry+https://github.com/rust-lang/crates.io-index" 1845 | checksum = "e590c437916fb6b221e1d00df6e3294f3fccd70ca7e92541c475d6ed6ef5fee2" 1846 | dependencies = [ 1847 | "serde_derive", 1848 | ] 1849 | 1850 | [[package]] 1851 | name = "serde_derive" 1852 | version = "1.0.142" 1853 | source = "registry+https://github.com/rust-lang/crates.io-index" 1854 | checksum = "34b5b8d809babe02f538c2cfec6f2c1ed10804c0e5a6a041a049a4f5588ccc2e" 1855 | dependencies = [ 1856 | "proc-macro2", 1857 | "quote", 1858 | "syn", 1859 | ] 1860 | 1861 | [[package]] 1862 | name = "serde_json" 1863 | version = "1.0.83" 1864 | source = "registry+https://github.com/rust-lang/crates.io-index" 1865 | checksum = "38dd04e3c8279e75b31ef29dbdceebfe5ad89f4d0937213c53f7d49d01b3d5a7" 1866 | dependencies = [ 1867 | "itoa 1.0.3", 1868 | "ryu", 1869 | "serde", 1870 | ] 1871 | 1872 | [[package]] 1873 | name = "sha2" 1874 | version = "0.8.2" 1875 | source = "registry+https://github.com/rust-lang/crates.io-index" 1876 | checksum = "a256f46ea78a0c0d9ff00077504903ac881a1dafdc20da66545699e7776b3e69" 1877 | dependencies = [ 1878 | "block-buffer 0.7.3", 1879 | "digest 0.8.1", 1880 | "fake-simd", 1881 | "opaque-debug 0.2.3", 1882 | ] 1883 | 1884 | [[package]] 1885 | name = "sha2" 1886 | version = "0.9.9" 1887 | source = "registry+https://github.com/rust-lang/crates.io-index" 1888 | checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800" 1889 | dependencies = [ 1890 | "block-buffer 0.9.0", 1891 | "cfg-if", 1892 | "cpufeatures", 1893 | "digest 0.9.0", 1894 | "opaque-debug 0.3.0", 1895 | ] 1896 | 1897 | [[package]] 1898 | name = "sha2" 1899 | version = "0.10.2" 1900 | source = "registry+https://github.com/rust-lang/crates.io-index" 1901 | checksum = "55deaec60f81eefe3cce0dc50bda92d6d8e88f2a27df7c5033b42afeb1ed2676" 1902 | dependencies = [ 1903 | "cfg-if", 1904 | "cpufeatures", 1905 | "digest 0.10.3", 1906 | ] 1907 | 1908 | [[package]] 1909 | name = "sha3" 1910 | version = "0.10.2" 1911 | source = "registry+https://github.com/rust-lang/crates.io-index" 1912 | checksum = "0a31480366ec990f395a61b7c08122d99bd40544fdb5abcfc1b06bb29994312c" 1913 | dependencies = [ 1914 | "digest 0.10.3", 1915 | "keccak", 1916 | ] 1917 | 1918 | [[package]] 1919 | name = "sharded-slab" 1920 | version = "0.1.4" 1921 | source = "registry+https://github.com/rust-lang/crates.io-index" 1922 | checksum = "900fba806f70c630b0a382d0d825e17a0f19fcd059a2ade1ff237bcddf446b31" 1923 | dependencies = [ 1924 | "lazy_static", 1925 | ] 1926 | 1927 | [[package]] 1928 | name = "signature" 1929 | version = "1.4.0" 1930 | source = "registry+https://github.com/rust-lang/crates.io-index" 1931 | checksum = "02658e48d89f2bec991f9a78e69cfa4c316f8d6a6c4ec12fae1aeb263d486788" 1932 | dependencies = [ 1933 | "digest 0.9.0", 1934 | "rand_core 0.6.3", 1935 | ] 1936 | 1937 | [[package]] 1938 | name = "simba" 1939 | version = "0.5.1" 1940 | source = "registry+https://github.com/rust-lang/crates.io-index" 1941 | checksum = "8e82063457853d00243beda9952e910b82593e4b07ae9f721b9278a99a0d3d5c" 1942 | dependencies = [ 1943 | "approx", 1944 | "num-complex", 1945 | "num-traits", 1946 | "paste", 1947 | ] 1948 | 1949 | [[package]] 1950 | name = "slab" 1951 | version = "0.4.7" 1952 | source = "registry+https://github.com/rust-lang/crates.io-index" 1953 | checksum = "4614a76b2a8be0058caa9dbbaf66d988527d86d003c11a94fbd335d7661edcef" 1954 | dependencies = [ 1955 | "autocfg", 1956 | ] 1957 | 1958 | [[package]] 1959 | name = "smallvec" 1960 | version = "1.9.0" 1961 | source = "registry+https://github.com/rust-lang/crates.io-index" 1962 | checksum = "2fd0db749597d91ff862fd1d55ea87f7855a744a8425a64695b6fca237d1dad1" 1963 | 1964 | [[package]] 1965 | name = "sp-api" 1966 | version = "4.0.0-dev" 1967 | source = "git+https://github.com/paritytech/substrate?branch=master#317808ab8920e261840013cc0e522b47a6c0d57d" 1968 | dependencies = [ 1969 | "hash-db", 1970 | "log", 1971 | "parity-scale-codec", 1972 | "sp-api-proc-macro", 1973 | "sp-core", 1974 | "sp-runtime", 1975 | "sp-state-machine", 1976 | "sp-std", 1977 | "sp-version", 1978 | "thiserror", 1979 | ] 1980 | 1981 | [[package]] 1982 | name = "sp-api-proc-macro" 1983 | version = "4.0.0-dev" 1984 | source = "git+https://github.com/paritytech/substrate?branch=master#317808ab8920e261840013cc0e522b47a6c0d57d" 1985 | dependencies = [ 1986 | "blake2", 1987 | "proc-macro-crate", 1988 | "proc-macro2", 1989 | "quote", 1990 | "syn", 1991 | ] 1992 | 1993 | [[package]] 1994 | name = "sp-application-crypto" 1995 | version = "6.0.0" 1996 | source = "git+https://github.com/paritytech/substrate?branch=master#317808ab8920e261840013cc0e522b47a6c0d57d" 1997 | dependencies = [ 1998 | "parity-scale-codec", 1999 | "scale-info", 2000 | "serde", 2001 | "sp-core", 2002 | "sp-io", 2003 | "sp-std", 2004 | ] 2005 | 2006 | [[package]] 2007 | name = "sp-arithmetic" 2008 | version = "5.0.0" 2009 | source = "git+https://github.com/paritytech/substrate?branch=master#317808ab8920e261840013cc0e522b47a6c0d57d" 2010 | dependencies = [ 2011 | "integer-sqrt", 2012 | "num-traits", 2013 | "parity-scale-codec", 2014 | "scale-info", 2015 | "serde", 2016 | "sp-debug-derive", 2017 | "sp-std", 2018 | "static_assertions", 2019 | ] 2020 | 2021 | [[package]] 2022 | name = "sp-core" 2023 | version = "6.0.0" 2024 | source = "git+https://github.com/paritytech/substrate?branch=master#317808ab8920e261840013cc0e522b47a6c0d57d" 2025 | dependencies = [ 2026 | "base58", 2027 | "bitflags", 2028 | "blake2-rfc", 2029 | "byteorder", 2030 | "dyn-clonable", 2031 | "ed25519-dalek", 2032 | "futures", 2033 | "hash-db", 2034 | "hash256-std-hasher", 2035 | "hex", 2036 | "impl-serde", 2037 | "lazy_static", 2038 | "libsecp256k1", 2039 | "log", 2040 | "merlin", 2041 | "num-traits", 2042 | "parity-scale-codec", 2043 | "parity-util-mem", 2044 | "parking_lot", 2045 | "primitive-types", 2046 | "rand 0.7.3", 2047 | "regex", 2048 | "scale-info", 2049 | "schnorrkel", 2050 | "secp256k1", 2051 | "secrecy", 2052 | "serde", 2053 | "sp-core-hashing", 2054 | "sp-debug-derive", 2055 | "sp-externalities", 2056 | "sp-runtime-interface", 2057 | "sp-std", 2058 | "sp-storage", 2059 | "ss58-registry", 2060 | "substrate-bip39", 2061 | "thiserror", 2062 | "tiny-bip39", 2063 | "wasmi", 2064 | "zeroize", 2065 | ] 2066 | 2067 | [[package]] 2068 | name = "sp-core-hashing" 2069 | version = "4.0.0" 2070 | source = "git+https://github.com/paritytech/substrate?branch=master#317808ab8920e261840013cc0e522b47a6c0d57d" 2071 | dependencies = [ 2072 | "blake2", 2073 | "byteorder", 2074 | "digest 0.10.3", 2075 | "sha2 0.10.2", 2076 | "sha3", 2077 | "sp-std", 2078 | "twox-hash", 2079 | ] 2080 | 2081 | [[package]] 2082 | name = "sp-core-hashing-proc-macro" 2083 | version = "5.0.0" 2084 | source = "git+https://github.com/paritytech/substrate?branch=master#317808ab8920e261840013cc0e522b47a6c0d57d" 2085 | dependencies = [ 2086 | "proc-macro2", 2087 | "quote", 2088 | "sp-core-hashing", 2089 | "syn", 2090 | ] 2091 | 2092 | [[package]] 2093 | name = "sp-debug-derive" 2094 | version = "4.0.0" 2095 | source = "git+https://github.com/paritytech/substrate?branch=master#317808ab8920e261840013cc0e522b47a6c0d57d" 2096 | dependencies = [ 2097 | "proc-macro2", 2098 | "quote", 2099 | "syn", 2100 | ] 2101 | 2102 | [[package]] 2103 | name = "sp-externalities" 2104 | version = "0.12.0" 2105 | source = "git+https://github.com/paritytech/substrate?branch=master#317808ab8920e261840013cc0e522b47a6c0d57d" 2106 | dependencies = [ 2107 | "environmental", 2108 | "parity-scale-codec", 2109 | "sp-std", 2110 | "sp-storage", 2111 | ] 2112 | 2113 | [[package]] 2114 | name = "sp-inherents" 2115 | version = "4.0.0-dev" 2116 | source = "git+https://github.com/paritytech/substrate?branch=master#317808ab8920e261840013cc0e522b47a6c0d57d" 2117 | dependencies = [ 2118 | "async-trait", 2119 | "impl-trait-for-tuples", 2120 | "parity-scale-codec", 2121 | "sp-core", 2122 | "sp-runtime", 2123 | "sp-std", 2124 | "thiserror", 2125 | ] 2126 | 2127 | [[package]] 2128 | name = "sp-io" 2129 | version = "6.0.0" 2130 | source = "git+https://github.com/paritytech/substrate?branch=master#317808ab8920e261840013cc0e522b47a6c0d57d" 2131 | dependencies = [ 2132 | "bytes", 2133 | "futures", 2134 | "hash-db", 2135 | "libsecp256k1", 2136 | "log", 2137 | "parity-scale-codec", 2138 | "parking_lot", 2139 | "secp256k1", 2140 | "sp-core", 2141 | "sp-externalities", 2142 | "sp-keystore", 2143 | "sp-runtime-interface", 2144 | "sp-state-machine", 2145 | "sp-std", 2146 | "sp-tracing", 2147 | "sp-trie", 2148 | "sp-wasm-interface", 2149 | "tracing", 2150 | "tracing-core", 2151 | ] 2152 | 2153 | [[package]] 2154 | name = "sp-keystore" 2155 | version = "0.12.0" 2156 | source = "git+https://github.com/paritytech/substrate?branch=master#317808ab8920e261840013cc0e522b47a6c0d57d" 2157 | dependencies = [ 2158 | "async-trait", 2159 | "futures", 2160 | "merlin", 2161 | "parity-scale-codec", 2162 | "parking_lot", 2163 | "schnorrkel", 2164 | "sp-core", 2165 | "sp-externalities", 2166 | "thiserror", 2167 | ] 2168 | 2169 | [[package]] 2170 | name = "sp-panic-handler" 2171 | version = "4.0.0" 2172 | source = "git+https://github.com/paritytech/substrate?branch=master#317808ab8920e261840013cc0e522b47a6c0d57d" 2173 | dependencies = [ 2174 | "backtrace", 2175 | "lazy_static", 2176 | "regex", 2177 | ] 2178 | 2179 | [[package]] 2180 | name = "sp-rpc" 2181 | version = "6.0.0" 2182 | source = "git+https://github.com/paritytech/substrate?branch=master#317808ab8920e261840013cc0e522b47a6c0d57d" 2183 | dependencies = [ 2184 | "rustc-hash", 2185 | "serde", 2186 | "sp-core", 2187 | ] 2188 | 2189 | [[package]] 2190 | name = "sp-runtime" 2191 | version = "6.0.0" 2192 | source = "git+https://github.com/paritytech/substrate?branch=master#317808ab8920e261840013cc0e522b47a6c0d57d" 2193 | dependencies = [ 2194 | "either", 2195 | "hash256-std-hasher", 2196 | "impl-trait-for-tuples", 2197 | "log", 2198 | "parity-scale-codec", 2199 | "parity-util-mem", 2200 | "paste", 2201 | "rand 0.7.3", 2202 | "scale-info", 2203 | "serde", 2204 | "sp-application-crypto", 2205 | "sp-arithmetic", 2206 | "sp-core", 2207 | "sp-io", 2208 | "sp-std", 2209 | ] 2210 | 2211 | [[package]] 2212 | name = "sp-runtime-interface" 2213 | version = "6.0.0" 2214 | source = "git+https://github.com/paritytech/substrate?branch=master#317808ab8920e261840013cc0e522b47a6c0d57d" 2215 | dependencies = [ 2216 | "bytes", 2217 | "impl-trait-for-tuples", 2218 | "parity-scale-codec", 2219 | "primitive-types", 2220 | "sp-externalities", 2221 | "sp-runtime-interface-proc-macro", 2222 | "sp-std", 2223 | "sp-storage", 2224 | "sp-tracing", 2225 | "sp-wasm-interface", 2226 | "static_assertions", 2227 | ] 2228 | 2229 | [[package]] 2230 | name = "sp-runtime-interface-proc-macro" 2231 | version = "5.0.0" 2232 | source = "git+https://github.com/paritytech/substrate?branch=master#317808ab8920e261840013cc0e522b47a6c0d57d" 2233 | dependencies = [ 2234 | "Inflector", 2235 | "proc-macro-crate", 2236 | "proc-macro2", 2237 | "quote", 2238 | "syn", 2239 | ] 2240 | 2241 | [[package]] 2242 | name = "sp-sandbox" 2243 | version = "0.10.0-dev" 2244 | source = "git+https://github.com/paritytech/substrate?branch=master#317808ab8920e261840013cc0e522b47a6c0d57d" 2245 | dependencies = [ 2246 | "log", 2247 | "parity-scale-codec", 2248 | "sp-core", 2249 | "sp-io", 2250 | "sp-std", 2251 | "sp-wasm-interface", 2252 | "wasmi", 2253 | ] 2254 | 2255 | [[package]] 2256 | name = "sp-staking" 2257 | version = "4.0.0-dev" 2258 | source = "git+https://github.com/paritytech/substrate?branch=master#317808ab8920e261840013cc0e522b47a6c0d57d" 2259 | dependencies = [ 2260 | "parity-scale-codec", 2261 | "scale-info", 2262 | "sp-runtime", 2263 | "sp-std", 2264 | ] 2265 | 2266 | [[package]] 2267 | name = "sp-state-machine" 2268 | version = "0.12.0" 2269 | source = "git+https://github.com/paritytech/substrate?branch=master#317808ab8920e261840013cc0e522b47a6c0d57d" 2270 | dependencies = [ 2271 | "hash-db", 2272 | "log", 2273 | "num-traits", 2274 | "parity-scale-codec", 2275 | "parking_lot", 2276 | "rand 0.7.3", 2277 | "smallvec", 2278 | "sp-core", 2279 | "sp-externalities", 2280 | "sp-panic-handler", 2281 | "sp-std", 2282 | "sp-trie", 2283 | "thiserror", 2284 | "tracing", 2285 | "trie-root", 2286 | ] 2287 | 2288 | [[package]] 2289 | name = "sp-std" 2290 | version = "4.0.0" 2291 | source = "git+https://github.com/paritytech/substrate?branch=master#317808ab8920e261840013cc0e522b47a6c0d57d" 2292 | 2293 | [[package]] 2294 | name = "sp-storage" 2295 | version = "6.0.0" 2296 | source = "git+https://github.com/paritytech/substrate?branch=master#317808ab8920e261840013cc0e522b47a6c0d57d" 2297 | dependencies = [ 2298 | "impl-serde", 2299 | "parity-scale-codec", 2300 | "ref-cast", 2301 | "serde", 2302 | "sp-debug-derive", 2303 | "sp-std", 2304 | ] 2305 | 2306 | [[package]] 2307 | name = "sp-tracing" 2308 | version = "5.0.0" 2309 | source = "git+https://github.com/paritytech/substrate?branch=master#317808ab8920e261840013cc0e522b47a6c0d57d" 2310 | dependencies = [ 2311 | "parity-scale-codec", 2312 | "sp-std", 2313 | "tracing", 2314 | "tracing-core", 2315 | "tracing-subscriber", 2316 | ] 2317 | 2318 | [[package]] 2319 | name = "sp-trie" 2320 | version = "6.0.0" 2321 | source = "git+https://github.com/paritytech/substrate?branch=master#317808ab8920e261840013cc0e522b47a6c0d57d" 2322 | dependencies = [ 2323 | "hash-db", 2324 | "memory-db", 2325 | "parity-scale-codec", 2326 | "scale-info", 2327 | "sp-core", 2328 | "sp-std", 2329 | "thiserror", 2330 | "trie-db", 2331 | "trie-root", 2332 | ] 2333 | 2334 | [[package]] 2335 | name = "sp-version" 2336 | version = "5.0.0" 2337 | source = "git+https://github.com/paritytech/substrate?branch=master#317808ab8920e261840013cc0e522b47a6c0d57d" 2338 | dependencies = [ 2339 | "impl-serde", 2340 | "parity-scale-codec", 2341 | "parity-wasm", 2342 | "scale-info", 2343 | "serde", 2344 | "sp-core-hashing-proc-macro", 2345 | "sp-runtime", 2346 | "sp-std", 2347 | "sp-version-proc-macro", 2348 | "thiserror", 2349 | ] 2350 | 2351 | [[package]] 2352 | name = "sp-version-proc-macro" 2353 | version = "4.0.0-dev" 2354 | source = "git+https://github.com/paritytech/substrate?branch=master#317808ab8920e261840013cc0e522b47a6c0d57d" 2355 | dependencies = [ 2356 | "parity-scale-codec", 2357 | "proc-macro2", 2358 | "quote", 2359 | "syn", 2360 | ] 2361 | 2362 | [[package]] 2363 | name = "sp-wasm-interface" 2364 | version = "6.0.0" 2365 | source = "git+https://github.com/paritytech/substrate?branch=master#317808ab8920e261840013cc0e522b47a6c0d57d" 2366 | dependencies = [ 2367 | "impl-trait-for-tuples", 2368 | "log", 2369 | "parity-scale-codec", 2370 | "sp-std", 2371 | "wasmi", 2372 | ] 2373 | 2374 | [[package]] 2375 | name = "ss58-registry" 2376 | version = "1.25.0" 2377 | source = "registry+https://github.com/rust-lang/crates.io-index" 2378 | checksum = "a039906277e0d8db996cd9d1ef19278c10209d994ecfc1025ced16342873a17c" 2379 | dependencies = [ 2380 | "Inflector", 2381 | "num-format", 2382 | "proc-macro2", 2383 | "quote", 2384 | "serde", 2385 | "serde_json", 2386 | "unicode-xid", 2387 | ] 2388 | 2389 | [[package]] 2390 | name = "static_assertions" 2391 | version = "1.1.0" 2392 | source = "registry+https://github.com/rust-lang/crates.io-index" 2393 | checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" 2394 | 2395 | [[package]] 2396 | name = "statrs" 2397 | version = "0.15.0" 2398 | source = "registry+https://github.com/rust-lang/crates.io-index" 2399 | checksum = "05bdbb8e4e78216a85785a85d3ec3183144f98d0097b9281802c019bb07a6f05" 2400 | dependencies = [ 2401 | "approx", 2402 | "lazy_static", 2403 | "nalgebra", 2404 | "num-traits", 2405 | "rand 0.8.5", 2406 | ] 2407 | 2408 | [[package]] 2409 | name = "substrate-bip39" 2410 | version = "0.4.4" 2411 | source = "registry+https://github.com/rust-lang/crates.io-index" 2412 | checksum = "49eee6965196b32f882dd2ee85a92b1dbead41b04e53907f269de3b0dc04733c" 2413 | dependencies = [ 2414 | "hmac 0.11.0", 2415 | "pbkdf2 0.8.0", 2416 | "schnorrkel", 2417 | "sha2 0.9.9", 2418 | "zeroize", 2419 | ] 2420 | 2421 | [[package]] 2422 | name = "subtle" 2423 | version = "2.4.1" 2424 | source = "registry+https://github.com/rust-lang/crates.io-index" 2425 | checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" 2426 | 2427 | [[package]] 2428 | name = "syn" 2429 | version = "1.0.99" 2430 | source = "registry+https://github.com/rust-lang/crates.io-index" 2431 | checksum = "58dbef6ec655055e20b86b15a8cc6d439cca19b667537ac6a1369572d151ab13" 2432 | dependencies = [ 2433 | "proc-macro2", 2434 | "quote", 2435 | "unicode-ident", 2436 | ] 2437 | 2438 | [[package]] 2439 | name = "synstructure" 2440 | version = "0.12.6" 2441 | source = "registry+https://github.com/rust-lang/crates.io-index" 2442 | checksum = "f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f" 2443 | dependencies = [ 2444 | "proc-macro2", 2445 | "quote", 2446 | "syn", 2447 | "unicode-xid", 2448 | ] 2449 | 2450 | [[package]] 2451 | name = "tap" 2452 | version = "1.0.1" 2453 | source = "registry+https://github.com/rust-lang/crates.io-index" 2454 | checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" 2455 | 2456 | [[package]] 2457 | name = "thiserror" 2458 | version = "1.0.32" 2459 | source = "registry+https://github.com/rust-lang/crates.io-index" 2460 | checksum = "f5f6586b7f764adc0231f4c79be7b920e766bb2f3e51b3661cdb263828f19994" 2461 | dependencies = [ 2462 | "thiserror-impl", 2463 | ] 2464 | 2465 | [[package]] 2466 | name = "thiserror-impl" 2467 | version = "1.0.32" 2468 | source = "registry+https://github.com/rust-lang/crates.io-index" 2469 | checksum = "12bafc5b54507e0149cdf1b145a5d80ab80a90bcd9275df43d4fff68460f6c21" 2470 | dependencies = [ 2471 | "proc-macro2", 2472 | "quote", 2473 | "syn", 2474 | ] 2475 | 2476 | [[package]] 2477 | name = "thread_local" 2478 | version = "1.1.4" 2479 | source = "registry+https://github.com/rust-lang/crates.io-index" 2480 | checksum = "5516c27b78311c50bf42c071425c560ac799b11c30b31f87e3081965fe5e0180" 2481 | dependencies = [ 2482 | "once_cell", 2483 | ] 2484 | 2485 | [[package]] 2486 | name = "tiny-bip39" 2487 | version = "0.8.2" 2488 | source = "registry+https://github.com/rust-lang/crates.io-index" 2489 | checksum = "ffc59cb9dfc85bb312c3a78fd6aa8a8582e310b0fa885d5bb877f6dcc601839d" 2490 | dependencies = [ 2491 | "anyhow", 2492 | "hmac 0.8.1", 2493 | "once_cell", 2494 | "pbkdf2 0.4.0", 2495 | "rand 0.7.3", 2496 | "rustc-hash", 2497 | "sha2 0.9.9", 2498 | "thiserror", 2499 | "unicode-normalization", 2500 | "wasm-bindgen", 2501 | "zeroize", 2502 | ] 2503 | 2504 | [[package]] 2505 | name = "tinyvec" 2506 | version = "1.6.0" 2507 | source = "registry+https://github.com/rust-lang/crates.io-index" 2508 | checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" 2509 | dependencies = [ 2510 | "tinyvec_macros", 2511 | ] 2512 | 2513 | [[package]] 2514 | name = "tinyvec_macros" 2515 | version = "0.1.0" 2516 | source = "registry+https://github.com/rust-lang/crates.io-index" 2517 | checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" 2518 | 2519 | [[package]] 2520 | name = "toml" 2521 | version = "0.5.9" 2522 | source = "registry+https://github.com/rust-lang/crates.io-index" 2523 | checksum = "8d82e1a7758622a465f8cee077614c73484dac5b836c02ff6a40d5d1010324d7" 2524 | dependencies = [ 2525 | "serde", 2526 | ] 2527 | 2528 | [[package]] 2529 | name = "tracing" 2530 | version = "0.1.36" 2531 | source = "registry+https://github.com/rust-lang/crates.io-index" 2532 | checksum = "2fce9567bd60a67d08a16488756721ba392f24f29006402881e43b19aac64307" 2533 | dependencies = [ 2534 | "cfg-if", 2535 | "pin-project-lite", 2536 | "tracing-attributes", 2537 | "tracing-core", 2538 | ] 2539 | 2540 | [[package]] 2541 | name = "tracing-attributes" 2542 | version = "0.1.22" 2543 | source = "registry+https://github.com/rust-lang/crates.io-index" 2544 | checksum = "11c75893af559bc8e10716548bdef5cb2b983f8e637db9d0e15126b61b484ee2" 2545 | dependencies = [ 2546 | "proc-macro2", 2547 | "quote", 2548 | "syn", 2549 | ] 2550 | 2551 | [[package]] 2552 | name = "tracing-core" 2553 | version = "0.1.29" 2554 | source = "registry+https://github.com/rust-lang/crates.io-index" 2555 | checksum = "5aeea4303076558a00714b823f9ad67d58a3bbda1df83d8827d21193156e22f7" 2556 | dependencies = [ 2557 | "once_cell", 2558 | "valuable", 2559 | ] 2560 | 2561 | [[package]] 2562 | name = "tracing-log" 2563 | version = "0.1.3" 2564 | source = "registry+https://github.com/rust-lang/crates.io-index" 2565 | checksum = "78ddad33d2d10b1ed7eb9d1f518a5674713876e97e5bb9b7345a7984fbb4f922" 2566 | dependencies = [ 2567 | "lazy_static", 2568 | "log", 2569 | "tracing-core", 2570 | ] 2571 | 2572 | [[package]] 2573 | name = "tracing-serde" 2574 | version = "0.1.3" 2575 | source = "registry+https://github.com/rust-lang/crates.io-index" 2576 | checksum = "bc6b213177105856957181934e4920de57730fc69bf42c37ee5bb664d406d9e1" 2577 | dependencies = [ 2578 | "serde", 2579 | "tracing-core", 2580 | ] 2581 | 2582 | [[package]] 2583 | name = "tracing-subscriber" 2584 | version = "0.2.25" 2585 | source = "registry+https://github.com/rust-lang/crates.io-index" 2586 | checksum = "0e0d2eaa99c3c2e41547cfa109e910a68ea03823cccad4a0525dcbc9b01e8c71" 2587 | dependencies = [ 2588 | "ansi_term", 2589 | "chrono", 2590 | "lazy_static", 2591 | "matchers", 2592 | "regex", 2593 | "serde", 2594 | "serde_json", 2595 | "sharded-slab", 2596 | "smallvec", 2597 | "thread_local", 2598 | "tracing", 2599 | "tracing-core", 2600 | "tracing-log", 2601 | "tracing-serde", 2602 | ] 2603 | 2604 | [[package]] 2605 | name = "trie-db" 2606 | version = "0.23.1" 2607 | source = "registry+https://github.com/rust-lang/crates.io-index" 2608 | checksum = "d32d034c0d3db64b43c31de38e945f15b40cd4ca6d2dcfc26d4798ce8de4ab83" 2609 | dependencies = [ 2610 | "hash-db", 2611 | "hashbrown", 2612 | "log", 2613 | "rustc-hex", 2614 | "smallvec", 2615 | ] 2616 | 2617 | [[package]] 2618 | name = "trie-root" 2619 | version = "0.17.0" 2620 | source = "registry+https://github.com/rust-lang/crates.io-index" 2621 | checksum = "9a36c5ca3911ed3c9a5416ee6c679042064b93fc637ded67e25f92e68d783891" 2622 | dependencies = [ 2623 | "hash-db", 2624 | ] 2625 | 2626 | [[package]] 2627 | name = "tt-call" 2628 | version = "1.0.8" 2629 | source = "registry+https://github.com/rust-lang/crates.io-index" 2630 | checksum = "5e66dcbec4290c69dd03c57e76c2469ea5c7ce109c6dd4351c13055cf71ea055" 2631 | 2632 | [[package]] 2633 | name = "twox-hash" 2634 | version = "1.6.3" 2635 | source = "registry+https://github.com/rust-lang/crates.io-index" 2636 | checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" 2637 | dependencies = [ 2638 | "cfg-if", 2639 | "digest 0.10.3", 2640 | "rand 0.8.5", 2641 | "static_assertions", 2642 | ] 2643 | 2644 | [[package]] 2645 | name = "typenum" 2646 | version = "1.15.0" 2647 | source = "registry+https://github.com/rust-lang/crates.io-index" 2648 | checksum = "dcf81ac59edc17cc8697ff311e8f5ef2d99fcbd9817b34cec66f90b6c3dfd987" 2649 | 2650 | [[package]] 2651 | name = "uint" 2652 | version = "0.9.3" 2653 | source = "registry+https://github.com/rust-lang/crates.io-index" 2654 | checksum = "12f03af7ccf01dd611cc450a0d10dbc9b745770d096473e2faf0ca6e2d66d1e0" 2655 | dependencies = [ 2656 | "byteorder", 2657 | "crunchy", 2658 | "hex", 2659 | "static_assertions", 2660 | ] 2661 | 2662 | [[package]] 2663 | name = "unicode-ident" 2664 | version = "1.0.3" 2665 | source = "registry+https://github.com/rust-lang/crates.io-index" 2666 | checksum = "c4f5b37a154999a8f3f98cc23a628d850e154479cd94decf3414696e12e31aaf" 2667 | 2668 | [[package]] 2669 | name = "unicode-normalization" 2670 | version = "0.1.21" 2671 | source = "registry+https://github.com/rust-lang/crates.io-index" 2672 | checksum = "854cbdc4f7bc6ae19c820d44abdc3277ac3e1b2b93db20a636825d9322fb60e6" 2673 | dependencies = [ 2674 | "tinyvec", 2675 | ] 2676 | 2677 | [[package]] 2678 | name = "unicode-xid" 2679 | version = "0.2.3" 2680 | source = "registry+https://github.com/rust-lang/crates.io-index" 2681 | checksum = "957e51f3646910546462e67d5f7599b9e4fb8acdd304b087a6494730f9eebf04" 2682 | 2683 | [[package]] 2684 | name = "valuable" 2685 | version = "0.1.0" 2686 | source = "registry+https://github.com/rust-lang/crates.io-index" 2687 | checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" 2688 | 2689 | [[package]] 2690 | name = "version_check" 2691 | version = "0.9.4" 2692 | source = "registry+https://github.com/rust-lang/crates.io-index" 2693 | checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" 2694 | 2695 | [[package]] 2696 | name = "wasi" 2697 | version = "0.9.0+wasi-snapshot-preview1" 2698 | source = "registry+https://github.com/rust-lang/crates.io-index" 2699 | checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" 2700 | 2701 | [[package]] 2702 | name = "wasi" 2703 | version = "0.11.0+wasi-snapshot-preview1" 2704 | source = "registry+https://github.com/rust-lang/crates.io-index" 2705 | checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" 2706 | 2707 | [[package]] 2708 | name = "wasm-bindgen" 2709 | version = "0.2.82" 2710 | source = "registry+https://github.com/rust-lang/crates.io-index" 2711 | checksum = "fc7652e3f6c4706c8d9cd54832c4a4ccb9b5336e2c3bd154d5cccfbf1c1f5f7d" 2712 | dependencies = [ 2713 | "cfg-if", 2714 | "wasm-bindgen-macro", 2715 | ] 2716 | 2717 | [[package]] 2718 | name = "wasm-bindgen-backend" 2719 | version = "0.2.82" 2720 | source = "registry+https://github.com/rust-lang/crates.io-index" 2721 | checksum = "662cd44805586bd52971b9586b1df85cdbbd9112e4ef4d8f41559c334dc6ac3f" 2722 | dependencies = [ 2723 | "bumpalo", 2724 | "log", 2725 | "once_cell", 2726 | "proc-macro2", 2727 | "quote", 2728 | "syn", 2729 | "wasm-bindgen-shared", 2730 | ] 2731 | 2732 | [[package]] 2733 | name = "wasm-bindgen-macro" 2734 | version = "0.2.82" 2735 | source = "registry+https://github.com/rust-lang/crates.io-index" 2736 | checksum = "b260f13d3012071dfb1512849c033b1925038373aea48ced3012c09df952c602" 2737 | dependencies = [ 2738 | "quote", 2739 | "wasm-bindgen-macro-support", 2740 | ] 2741 | 2742 | [[package]] 2743 | name = "wasm-bindgen-macro-support" 2744 | version = "0.2.82" 2745 | source = "registry+https://github.com/rust-lang/crates.io-index" 2746 | checksum = "5be8e654bdd9b79216c2929ab90721aa82faf65c48cdf08bdc4e7f51357b80da" 2747 | dependencies = [ 2748 | "proc-macro2", 2749 | "quote", 2750 | "syn", 2751 | "wasm-bindgen-backend", 2752 | "wasm-bindgen-shared", 2753 | ] 2754 | 2755 | [[package]] 2756 | name = "wasm-bindgen-shared" 2757 | version = "0.2.82" 2758 | source = "registry+https://github.com/rust-lang/crates.io-index" 2759 | checksum = "6598dd0bd3c7d51095ff6531a5b23e02acdc81804e30d8f07afb77b7215a140a" 2760 | 2761 | [[package]] 2762 | name = "wasm-instrument" 2763 | version = "0.1.1" 2764 | source = "registry+https://github.com/rust-lang/crates.io-index" 2765 | checksum = "962e5b0401bbb6c887f54e69b8c496ea36f704df65db73e81fd5ff8dc3e63a9f" 2766 | dependencies = [ 2767 | "parity-wasm", 2768 | ] 2769 | 2770 | [[package]] 2771 | name = "wasmi" 2772 | version = "0.9.1" 2773 | source = "registry+https://github.com/rust-lang/crates.io-index" 2774 | checksum = "ca00c5147c319a8ec91ec1a0edbec31e566ce2c9cc93b3f9bb86a9efd0eb795d" 2775 | dependencies = [ 2776 | "downcast-rs", 2777 | "libc", 2778 | "libm", 2779 | "memory_units", 2780 | "num-rational 0.2.4", 2781 | "num-traits", 2782 | "parity-wasm", 2783 | "wasmi-validation", 2784 | ] 2785 | 2786 | [[package]] 2787 | name = "wasmi-validation" 2788 | version = "0.4.1" 2789 | source = "registry+https://github.com/rust-lang/crates.io-index" 2790 | checksum = "165343ecd6c018fc09ebcae280752702c9a2ef3e6f8d02f1cfcbdb53ef6d7937" 2791 | dependencies = [ 2792 | "parity-wasm", 2793 | ] 2794 | 2795 | [[package]] 2796 | name = "winapi" 2797 | version = "0.3.9" 2798 | source = "registry+https://github.com/rust-lang/crates.io-index" 2799 | checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" 2800 | dependencies = [ 2801 | "winapi-i686-pc-windows-gnu", 2802 | "winapi-x86_64-pc-windows-gnu", 2803 | ] 2804 | 2805 | [[package]] 2806 | name = "winapi-i686-pc-windows-gnu" 2807 | version = "0.4.0" 2808 | source = "registry+https://github.com/rust-lang/crates.io-index" 2809 | checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 2810 | 2811 | [[package]] 2812 | name = "winapi-x86_64-pc-windows-gnu" 2813 | version = "0.4.0" 2814 | source = "registry+https://github.com/rust-lang/crates.io-index" 2815 | checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 2816 | 2817 | [[package]] 2818 | name = "windows-sys" 2819 | version = "0.36.1" 2820 | source = "registry+https://github.com/rust-lang/crates.io-index" 2821 | checksum = "ea04155a16a59f9eab786fe12a4a450e75cdb175f9e0d80da1e17db09f55b8d2" 2822 | dependencies = [ 2823 | "windows_aarch64_msvc", 2824 | "windows_i686_gnu", 2825 | "windows_i686_msvc", 2826 | "windows_x86_64_gnu", 2827 | "windows_x86_64_msvc", 2828 | ] 2829 | 2830 | [[package]] 2831 | name = "windows_aarch64_msvc" 2832 | version = "0.36.1" 2833 | source = "registry+https://github.com/rust-lang/crates.io-index" 2834 | checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47" 2835 | 2836 | [[package]] 2837 | name = "windows_i686_gnu" 2838 | version = "0.36.1" 2839 | source = "registry+https://github.com/rust-lang/crates.io-index" 2840 | checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6" 2841 | 2842 | [[package]] 2843 | name = "windows_i686_msvc" 2844 | version = "0.36.1" 2845 | source = "registry+https://github.com/rust-lang/crates.io-index" 2846 | checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024" 2847 | 2848 | [[package]] 2849 | name = "windows_x86_64_gnu" 2850 | version = "0.36.1" 2851 | source = "registry+https://github.com/rust-lang/crates.io-index" 2852 | checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1" 2853 | 2854 | [[package]] 2855 | name = "windows_x86_64_msvc" 2856 | version = "0.36.1" 2857 | source = "registry+https://github.com/rust-lang/crates.io-index" 2858 | checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680" 2859 | 2860 | [[package]] 2861 | name = "wyz" 2862 | version = "0.5.0" 2863 | source = "registry+https://github.com/rust-lang/crates.io-index" 2864 | checksum = "30b31594f29d27036c383b53b59ed3476874d518f0efb151b27a4c275141390e" 2865 | dependencies = [ 2866 | "tap", 2867 | ] 2868 | 2869 | [[package]] 2870 | name = "xcm" 2871 | version = "0.9.27" 2872 | source = "git+https://github.com/paritytech/polkadot?branch=master#4863d0a33a4a3534236f76abb5b1dc91751c6c34" 2873 | dependencies = [ 2874 | "derivative", 2875 | "impl-trait-for-tuples", 2876 | "log", 2877 | "parity-scale-codec", 2878 | "scale-info", 2879 | "sp-runtime", 2880 | "xcm-procedural", 2881 | ] 2882 | 2883 | [[package]] 2884 | name = "xcm-executor" 2885 | version = "0.9.27" 2886 | source = "git+https://github.com/paritytech/polkadot?branch=master#4863d0a33a4a3534236f76abb5b1dc91751c6c34" 2887 | dependencies = [ 2888 | "frame-support", 2889 | "impl-trait-for-tuples", 2890 | "log", 2891 | "parity-scale-codec", 2892 | "sp-arithmetic", 2893 | "sp-core", 2894 | "sp-io", 2895 | "sp-runtime", 2896 | "sp-std", 2897 | "xcm", 2898 | ] 2899 | 2900 | [[package]] 2901 | name = "xcm-procedural" 2902 | version = "0.9.27" 2903 | source = "git+https://github.com/paritytech/polkadot?branch=master#4863d0a33a4a3534236f76abb5b1dc91751c6c34" 2904 | dependencies = [ 2905 | "Inflector", 2906 | "proc-macro2", 2907 | "quote", 2908 | "syn", 2909 | ] 2910 | 2911 | [[package]] 2912 | name = "zeroize" 2913 | version = "1.5.7" 2914 | source = "registry+https://github.com/rust-lang/crates.io-index" 2915 | checksum = "c394b5bd0c6f669e7275d9c20aa90ae064cb22e75a1cad54e1b34088034b149f" 2916 | dependencies = [ 2917 | "zeroize_derive", 2918 | ] 2919 | 2920 | [[package]] 2921 | name = "zeroize_derive" 2922 | version = "1.3.2" 2923 | source = "registry+https://github.com/rust-lang/crates.io-index" 2924 | checksum = "3f8f187641dad4f680d25c4bfc4225b418165984179f26ca76ec4fb6441d3a17" 2925 | dependencies = [ 2926 | "proc-macro2", 2927 | "quote", 2928 | "syn", 2929 | "synstructure", 2930 | ] 2931 | -------------------------------------------------------------------------------- /runtime/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | authors = ["Parity Technologies "] 3 | edition = "2021" 4 | name = "pallet-contracts-xcm" 5 | version = "0.1.0" 6 | 7 | [dependencies] 8 | codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive"] } 9 | num_enum = { version = "0.5", default-features = false } 10 | scale-info = { version = "2", default-features = false, features = ["derive"] } 11 | serde = { version = "1", optional = true, features = ["derive"] } 12 | log = { version = "0.4", default-features = false } 13 | 14 | sp-std = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } 15 | sp-runtime = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } 16 | sp-core = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } 17 | frame-support = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } 18 | frame-system = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } 19 | pallet-contracts = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "master" } 20 | 21 | pallet-xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } 22 | xcm = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } 23 | xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "master" } 24 | 25 | [features] 26 | default = ["std"] 27 | std = [ 28 | "codec/std", 29 | "num_enum/std", 30 | "scale-info/std", 31 | "serde", 32 | "sp-std/std", 33 | "sp-core/std", 34 | "sp-runtime/std", 35 | "frame-support/std", 36 | "frame-system/std", 37 | "pallet-contracts/std", 38 | "pallet-xcm/std", 39 | "xcm/std", 40 | "xcm-executor/std", 41 | ] 42 | runtime-benchmarks = [ 43 | "frame-system/runtime-benchmarks" 44 | ] 45 | -------------------------------------------------------------------------------- /runtime/rustfmt.toml: -------------------------------------------------------------------------------- 1 | # Basic 2 | hard_tabs = true 3 | max_width = 100 4 | use_small_heuristics = "Max" 5 | # Imports 6 | imports_granularity = "Crate" 7 | reorder_imports = true 8 | # Consistency 9 | newline_style = "Unix" 10 | # Misc 11 | chain_width = 80 12 | spaces_around_ranges = false 13 | binop_separator = "Back" 14 | reorder_impl_items = false 15 | match_arm_leading_pipes = "Preserve" 16 | match_arm_blocks = false 17 | match_block_trailing_comma = true 18 | trailing_comma = "Vertical" 19 | trailing_semicolon = false 20 | use_field_init_shorthand = true 21 | ignore = [ 22 | "bridges", 23 | ] 24 | edition = "2021" 25 | -------------------------------------------------------------------------------- /runtime/src/chain_ext.rs: -------------------------------------------------------------------------------- 1 | use crate::{Config, Error as PalletError}; 2 | use codec::{Decode, Encode}; 3 | use frame_support::{weights::Weight, DefaultNoBound}; 4 | use pallet_contracts::chain_extension::{ 5 | ChainExtension, Environment, Ext, InitState, RegisteredChainExtension, Result, RetVal, 6 | SysConfig, UncheckedFrom, 7 | }; 8 | use sp_runtime::traits::Bounded; 9 | use xcm::prelude::*; 10 | use xcm_executor::traits::WeightBounds; 11 | 12 | type CallOf = ::Call; 13 | 14 | #[repr(u16)] 15 | #[derive(num_enum::TryFromPrimitive)] 16 | enum Command { 17 | PrepareExecute = 0, 18 | Execute = 1, 19 | ValidateSend = 2, 20 | Send = 3, 21 | NewQuery = 4, 22 | TakeResponse = 5, 23 | } 24 | 25 | #[repr(u32)] 26 | #[derive(num_enum::IntoPrimitive)] 27 | enum Error { 28 | Success = 0, 29 | NoResponse = 1, 30 | } 31 | 32 | #[derive(Decode)] 33 | struct ValidateSendInput { 34 | dest: VersionedMultiLocation, 35 | xcm: VersionedXcm<()>, 36 | } 37 | 38 | pub struct PreparedExecution { 39 | xcm: Xcm, 40 | weight: Weight, 41 | } 42 | 43 | pub struct ValidatedSend { 44 | dest: MultiLocation, 45 | xcm: Xcm<()>, 46 | } 47 | 48 | #[derive(DefaultNoBound)] 49 | pub struct Extension { 50 | prepared_execute: Option>>, 51 | validated_send: Option, 52 | } 53 | 54 | macro_rules! unwrap { 55 | ($val:expr, $err:expr) => { 56 | match $val { 57 | Ok(inner) => inner, 58 | Err(_) => return Ok(RetVal::Converging($err.into())), 59 | } 60 | }; 61 | } 62 | 63 | impl ChainExtension for Extension 64 | where 65 | ::AccountId: AsRef<[u8; 32]>, 66 | { 67 | fn call(&mut self, mut env: Environment) -> Result 68 | where 69 | E: Ext, 70 | ::AccountId: UncheckedFrom<::Hash> + AsRef<[u8]>, 71 | { 72 | match Command::try_from(env.func_id()).map_err(|_| PalletError::::InvalidCommand)? { 73 | Command::PrepareExecute => { 74 | let mut env = env.buf_in_buf_out(); 75 | let len = env.in_len(); 76 | let input: VersionedXcm> = env.read_as_unbounded(len)?; 77 | let mut xcm = 78 | input.try_into().map_err(|_| PalletError::::XcmVersionNotSupported)?; 79 | let weight = 80 | T::Weigher::weight(&mut xcm).map_err(|_| PalletError::::CannotWeigh)?; 81 | self.prepared_execute = Some(PreparedExecution { xcm, weight }); 82 | weight.using_encoded(|w| env.write(w, true, None))?; 83 | }, 84 | Command::Execute => { 85 | let input = 86 | self.prepared_execute.take().ok_or(PalletError::::PreparationMissing)?; 87 | env.charge_weight(input.weight)?; 88 | let origin = MultiLocation { 89 | parents: 0, 90 | interior: Junctions::X1(Junction::AccountId32 { 91 | network: NetworkId::Any, 92 | id: *env.ext().address().as_ref(), 93 | }), 94 | }; 95 | let outcome = T::XcmExecutor::execute_xcm_in_credit( 96 | origin, 97 | input.xcm, 98 | input.weight, 99 | input.weight, 100 | ); 101 | // revert for anything but a complete excution 102 | match outcome { 103 | Outcome::Complete(_) => (), 104 | _ => Err(PalletError::::ExecutionFailed)?, 105 | } 106 | }, 107 | Command::ValidateSend => { 108 | let mut env = env.buf_in_buf_out(); 109 | let len = env.in_len(); 110 | let input: ValidateSendInput = env.read_as_unbounded(len)?; 111 | self.validated_send = Some(ValidatedSend { 112 | dest: input 113 | .dest 114 | .try_into() 115 | .map_err(|_| PalletError::::XcmVersionNotSupported)?, 116 | xcm: input 117 | .xcm 118 | .try_into() 119 | .map_err(|_| PalletError::::XcmVersionNotSupported)?, 120 | }); 121 | // just a dummy asset until XCMv3 rolls around with its validate function 122 | let asset = MultiAsset { 123 | id: AssetId::Concrete(MultiLocation { parents: 0, interior: Junctions::Here }), 124 | fun: Fungibility::Fungible(0), 125 | }; 126 | VersionedMultiAsset::from(asset).using_encoded(|a| env.write(a, true, None))?; 127 | }, 128 | Command::Send => { 129 | let input = 130 | self.validated_send.take().ok_or(PalletError::::PreparationMissing)?; 131 | T::XcmRouter::send_xcm(input.dest, input.xcm) 132 | .map_err(|_| PalletError::::SendFailed)?; 133 | }, 134 | Command::NewQuery => { 135 | let mut env = env.buf_in_buf_out(); 136 | let location = MultiLocation { 137 | parents: 0, 138 | interior: Junctions::X1(Junction::AccountId32 { 139 | network: NetworkId::Any, 140 | id: *env.ext().address().as_ref(), 141 | }), 142 | }; 143 | let query_id: u64 = 144 | pallet_xcm::Pallet::::new_query(location, Bounded::max_value()).into(); 145 | query_id.using_encoded(|q| env.write(q, true, None))?; 146 | }, 147 | Command::TakeResponse => { 148 | let mut env = env.buf_in_buf_out(); 149 | let query_id: u64 = env.read_as()?; 150 | let response = unwrap!( 151 | pallet_xcm::Pallet::::take_response(query_id).map(|ret| ret.0).ok_or(()), 152 | Error::NoResponse 153 | ); 154 | VersionedResponse::from(response).using_encoded(|r| env.write(r, true, None))?; 155 | }, 156 | } 157 | 158 | Ok(RetVal::Converging(Error::Success.into())) 159 | } 160 | } 161 | 162 | impl RegisteredChainExtension for Extension 163 | where 164 | ::AccountId: AsRef<[u8; 32]>, 165 | { 166 | const ID: u16 = 1; 167 | } 168 | -------------------------------------------------------------------------------- /runtime/src/lib.rs: -------------------------------------------------------------------------------- 1 | // Copyright 2020-2021 Parity Technologies (UK) Ltd. 2 | // This file is part of Polkadot. 3 | 4 | // Polkadot is free software: you can redistribute it and/or modify 5 | // it under the terms of the GNU General Public License as published by 6 | // the Free Software Foundation, either version 3 of the License, or 7 | // (at your option) any later version. 8 | 9 | // Polkadot is distributed in the hope that it will be useful, 10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | // GNU General Public License for more details. 13 | 14 | // You should have received a copy of the GNU General Public License 15 | // along with Polkadot. If not, see . 16 | 17 | //! Pallet to handle XCM messages. 18 | 19 | #![cfg_attr(not(feature = "std"), no_std)] 20 | 21 | mod chain_ext; 22 | 23 | pub use chain_ext::Extension; 24 | pub use pallet::*; 25 | 26 | #[frame_support::pallet] 27 | pub mod pallet { 28 | use super::*; 29 | 30 | #[pallet::pallet] 31 | #[pallet::generate_store(pub(super) trait Store)] 32 | pub struct Pallet(_); 33 | 34 | #[pallet::config] 35 | /// The pallet configuration trait. 36 | pub trait Config: frame_system::Config + pallet_contracts::Config + pallet_xcm::Config {} 37 | 38 | #[pallet::error] 39 | pub enum Error { 40 | InvalidCommand, 41 | XcmVersionNotSupported, 42 | PreparationMissing, 43 | ExecutionFailed, 44 | SendFailed, 45 | CannotWeigh, 46 | } 47 | 48 | impl Pallet {} 49 | } 50 | --------------------------------------------------------------------------------