mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-07 11:21:07 +00:00
Merge branch 'master' into jsdw-subxt-new
This commit is contained in:
16 files changed
+330
-208
No files matched your search
Generated
+1
-1
@@ -5739,7 +5739,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "subxt-historic"
|
||||
version = "0.0.7"
|
||||
version = "0.0.8"
|
||||
dependencies = [
|
||||
"frame-decode",
|
||||
"frame-metadata 23.0.0",
|
||||
|
||||
@@ -46,10 +46,10 @@
|
||||
},
|
||||
"id": "polkadot",
|
||||
"lightSyncState": {
|
||||
"babeEpochChanges": "0x04870fbfea04aaa5eb4c382a9cb75917a94347290e9cccbcd411a3be9ee91862e34b7ab80101736f871100000000d3788711000000000417e8cd746443872e40bcedb71f4532dcf468589fdb0e63a1b699922f29cfc3d48e83b80101d378871100000000338287110000000004ab06a3a7b72f3e17c19e3f0f35b0afdefbc7347ad2b76fbf16078bca1837681bd48cb801013382871100000000938b87110000000000000c17e8cd746443872e40bcedb71f4532dcf468589fdb0e63a1b699922f29cfc3d48e83b80101362f000000000000d3788711000000006009000000000000610976441c448aefcf40a72128edc9b44a4f7ef9c267c503e98f5f9c72d5e9e92f000100000000000000827e307dcad5bfe176ba102e357c5f18ace450271cf480e27cb994b9197be15a0100000000000000c65fb01e233e312b7d3dd6bf7d6c159d30a06550fbf40e664d2f97f21def7c1d01000000000000003221a28016eb199905fd81487057fcf2e2bba221533ee33e5083712f486c665b0100000000000000ec8fcbae6ca9d402b51bb0bde913f0c29769d8d1b9653f4933db117890fe38720100000000000000941fe9f3d91174e444772a4355f4026e64acaeecbc9eca9e747423dde2b2193c0100000000000000da5eaf1eedda26a69afbd206dabbcd47c603545b5c56e1a931a2c2c56e5a29020100000000000000f69a39a051376ea1dbb2a00c3e18369664beb746ca10453dad7db5f9341fde7e0100000000000000ba99b377112ed41f0b909d8cfa1e753935ca4041bdf90727f33f784b035aa4300100000000000000440945ba14eb5da1428d98999372bea1be75664f1aaccac2e096b579a034607a01000000000000008cc61258712d90f7b1c18e542c655b5e4f5d9b63be1c669feed7d4fb9152d155010000000000000072a33520bc6ae22805c80f338d013f6b4d39f3288fdea54ff8cd539949ace53a0100000000000000f88b0be90381341d0d7bfacdf140b8f291a16edd3310f72bd0920369416399330100000000000000ecfdd88a55fb9545aaaba980b541b1c380e8fbc1cb0dcc59c8146fb0660d61670100000000000000147ccca21c4dedac43e0222ab379ef490987b302176a8010ba2265aa29567b610100000000000000e0c8701616aea15e91edc27c9e64e0afdd3abbf4f502c0f646fa060eded3bc680100000000000000906ec0a56171d27f65c29683a31c71a87a4e32b273596a0a704ff07ba344d0660100000000000000e03e8b838de23dc7dbe96982a43cb33b406d6f9978132eac11ae555efa8d226b0100000000000000ba395fcb33327501109ed40712c7a372d25bf3339edfabe2a1964fb7b5d4d8240100000000000000da9bf8b51b8396da87113ba296940b23a9fb3cfe7c3fd0b3d541331121b8f57c01000000000000003c2943d6777720179fafe62691d06390210dfb03a1f4c77150cd7e708b86be1e0100000000000000c0ff0ad7de8b9403d14459655c0ec4107f119e74406be3161faf15b5ddf1395001000000000000004c9886e2e62ee92a6778d6a7928052732044b64fa61969cd8e37f3f7e3406f7201000000000000005aa1de5c9ba6f68622ab82dd17b5fc87ff249a65350349ff3e6414a2e3f3b9190100000000000000a23237719086db4a3c6e4ec298be9fbd400f80f44b694f69cc1dd1cd84ecfe1d01000000000000006a84d16e0196639a917baad78fb5e3b716d7ffd6c447ccadeedead0882482e6e010000000000000042a3ac82a61fcefa09c9714d0ddf190029d37bb8fdb4ebdccd8c469495614717010000000000000058cc4e48b26665ec1d6c2a128f0f5b70434ab4a771743429058b963257e6563d0100000000000000228dfe58ff0326d8c8e0c51476692d0610424b01244c52c561f02dd133e83e0a0100000000000000da86601db8ba04ab92b1bca3b317b47da09c65da6ee826cb7af7bd798e9d8a4c01000000000000005237e4509f24bc9e8bf9bfd78b594219d86853ae16601f692f10c9b16b88f83b0100000000000000a0511c06f6fc317bbc43df8b47b7c36ca7e3ad43010607e88f21cccb32ecbd5b010000000000000000836368eae8c87e8d7bd379d88e044455eebcef3de1b41ae050762da3e35c05010000000000000042c38c0a2e0b230aef2bdcd86e294d7ba64f69e4c5d0b855e5c79352bb71fb3a0100000000000000f889a6824331b322212a55a8166718506a530c87d93e087a7df1eb3cd0ab34610100000000000000b88e803bf4241f6465c0393416858ce6a0ac3c350be41cf0434a3566eeb79c4701000000000000008084d934bf7a7ad960de3b325ad5109d10eef00e90d6ab776240b7bbeb6a6a7e0100000000000000ce0c4220872f866ef72bec24c671acc11cb909f47491c5ff18bd48eec4290825010000000000000030425fa7695a36809abd4916d4d9d161b5565a4427aae8e163f10d3b6908825e0100000000000000f0fecff9ef1c288d6adbc261c63a2dec156042b30e9d29e30283e682eaba675601000000000000009ce7136b5fb85ba83e153c64a212fca1eee9c3ee42fd010fb27f2d55695b29640100000000000000707c6f8128973d552e4e13c7b3e0a7cebca93fecf8efc5df89fb66865acbaf7201000000000000003a48578e324606cff7794dceb4f7c800578aa46bbe795a2de8918ebcfef6a47e010000000000000006d2846642c835b0fb1ff1ef908449376aa8e7c0f3352e55da9a1e97e9528b230100000000000000d4be6f891156ecfd5f9ff661f780884578ac18dcc999b7f574510196c5243c220100000000000000ca29cefbde4a2167c5b0b4900dd25b7dd6877111ce52029ee334f02aa9a054590100000000000000908631a95b3a7158d6a7970b98062c798d53b5808f2af5a4bb0c462c6d882c570100000000000000f8a681118ea0bb9dfde2813ce5144eeb5cee881c27883de1c0c759255ec32654010000000000000016e3f8f5ce2e2b22b816bed27dc767115513198ec47d2795ba9edcccdde2d1580100000000000000b43a022b3cf70d5c2f080a2759d1778cc246f6f817df139391b9e7a952fdb14a0100000000000000a60b866a3a8230eb54cc3703d735d43cc9e8630a6c61c27353aca849f1ff2e480100000000000000c08c91ecf8879f5042960c3d61c0e74f125463ca2726e6655fb922af5cdcb8510100000000000000e23173bf099d870567cbac0e94678e62cb1a554f4bf92c14ec2d46d9dbd8570101000000000000002c637ca0ccfc4fcf709987ab93933fde929687f615951f4db7ada7cba981e53e0100000000000000e67c524e443cda4cd27dfcce70488a5d23a93c8c46a5e83ef5a69eff3a02fa5a0100000000000000a42289d68c963358f3c450a850242bb53121e73e17f0e2ea2b93327446bea33c0100000000000000caa53cf3e8ff5604d82bac45868bf3e25115Line truncated
|
||||
"babeFinalizedBlockWeight": 7209655,
|
||||
"finalizedBlockHeader": "0x415e7c8002923f00f0d617ff9561a27224334df46d82da3a1c101464d2024c64263de2068b8723aedf2330033e13fbb5e3cfb1b3634551609c8b4f32dceec30eb54958cdf04bf53a4d4887ecd97fd458f44f49a60ffe91f01929d064f4fcca7b2ecbd4fa0c0642414245b50103b30000004d7b871100000000a2191c4766e568b5b381d74f37a0d569a140fe6a41a029a9f418f5b0c925cc07a5201a1b05ed95c1540014add15482a2506c3656e500828534ef89d9a5e2b80b3b4757c7582c5fd5817e2bef42e5d0ce865448de4acb7e18df3ad577eaa1290f044245454684036c41735036950b6eabb35f4fa4ee0fad7888183b9c1eadd3e13bf973ea4342db05424142450101f4b6b7775b8536d3556341d0823733d7d5e92d124bbca8679ad70c348ce7792a9f0a95a957be988cfd555e56427bc052580a749a868e8abcebc09f6cedff228c",
|
||||
"grandpaAuthoritySet": "0x61098a239af78d4659897af698b5670533fa6d215864be8c41e3a2fc4309f9f83dcb010000000000000031717c15a4ff007e43d657c58adf5fb2fdc0c3b90640815c52aa1c7ac9c7dfa30100000000000000ad6fa2991d221816fdc47582c35b718e5911a1af71172bf80c4cf35bad75f9d7010000000000000084789e9d81a7397a766534133442631d8cd465eb3b31f99a88edcee06399508a0100000000000000938e7a90b6bb370ab1de25f714a6d4ec79766f0a83645df23e839b08800bc16e01000000000000007bacba88f4d6893f767d540089d168c324c6374494e822fff803300b5f5de45a0100000000000000ff434a95c55bc11f3b43e92fea0790683c10f89009c6dbbac8d5e3d8fe809e980100000000000000203e355e692bb88164b4bdf0aab2fcb3ce5fa1113b7c55c1610f92ad133447020100000000000000cfd281b24276cf618f77d3ac505df4e16685af1082e5ef2cc3e8d7223c7d72fc010000000000000003d22615b6cfa1f7eea3cf85498252de0bc20d76009ed8d36e0d154a6037ec6f01000000000000002e83ca1be5a9b43abc59d5b2793fa06c39025aebb2b5a69366cc6277477e5f600100000000000000afb29bc0347cb06439773cfa5b8393470dac42f83b09bb9aaf94f32bbe3fd8a90100000000000000a39288ea3d95adde4b553318ecad2470ec0efa4839c4bae94cc1538c8537537e0100000000000000893dfa282157bfbb147d19c6f0d76b720983381c24fbd2f1f109bdf956c1c2070100000000000000db08502f1b6f793e4c5744467fec7d07f00e216431a75ce3ab1696c7ebefd33601000000000000000c890e728c3be18e683a09d94e574397b5168fcebad0376d140e3926fc28f75e01000000000000007f4c80530943a75943dddbd81a7138a25a1ba2139161742a8fb304581153facf0100000000000000b29508b9e36692084a0658d822389f0597783786796a92e508251fdec11642e30100000000000000e8d7333e457fa740db924866152f31c3bfa6124c0367b0878a61aff2d5d6e27e0100000000000000333ceb19084d7d83976fc84b9f8f44dd84afdac808a1675d7e8ddba62411bdf1010000000000000017d9b810a46767625cc0081b96f2eb384b45ae095c812abbe8009105456e01b90100000000000000882dd3fb6cfe65709167894025b8477c721ba8acfc1c8521a6a59b30c9be0b8b010000000000000070ba6e5985990ba1b1392713236f1b50df750f10f744cc6eb95fa7c5cfbc6876010000000000000012eecc2c0fabdb74f052b3f2ee6620a4c6116a6ab2db150eb41ee15e061ef6c80100000000000000d10d26b17880ea616cd28ad00392c0a97a407f69cb57f316e4f1cf69fbee1c2b0100000000000000641340aa407175876dbb2ea3464ab3dad50b4cbdf6e34fe3ee47dfacc4fca41a01000000000000007a713d9b915acfb70bb1098e35def4213d3b78ae57f64c0c93b137c8bf0cfe6401000000000000001ff6c4d8b7ee9f99bab0aa9fbe88ef94bd3a0f1f08532a329403cd0dca571cf101000000000000008faf00d72dc043219783f02ecfb9ec870c07b608f4e18b9a9121bb4ddb1c15ee010000000000000043d724765e59af7192233907124d04b4b8f445f8fee13b34921675bc57cfc8730100000000000000e511d441d6d3c822cb276bb2a14b1c8071d9fe1995802383fb5dcf8a92edcfc2010000000000000063205a0a65f0df343e0bf1246eb965755f56d640639320f3c26f64a808e864cb010000000000000036c0322ebb94ba997dd35f6765f20c3093a6e86d46280861acec90ca56a7164d0100000000000000dc6c23702219b1250c3b2755953f3ead84c59f68b08e506c70c513fb39a7eff601000000000000002a02c4dc90496b9cc67acbb766ea9a183a0d5e2eff4faaae5d5be26bcd6ee34b010000000000000042fa51a590d863c3dc1279ab2444a394f22610eab077dc724827070f586d432101000000000000001b4b5f4e0667c084b318210779b013a36f4e2a99a1fc2dce5adb7c921278332b010000000000000099eb3b3ec8ce6a4591dc266864c384c3fdc3c4cc9fa6b79e482247e9e3d847bb01000000000000004ef72d44f2a2992e4087002740ea8b0373756af4d09b8a44fd3e423e73ddd92d0100000000000000f23e0968a818a3225f64efb63719a894770f03e5387cd64698ff8e1008acf4f00100000000000000bfdb9d87bf7ddb753ab52e356a0eb4becfe10d78c4589c646a9b7444855377ae0100000000000000b0435d9d506deb5aeb02f9b4a872239134e5fbbdfa2bec55fd6041ca829474060100000000000000d1bc95175842a81e80a69240466d928aca9dfe94cc5c981ad7a97e0fcaac125801000000000000007818639057900f8fb58e3aa8180f6108c251884a9fcb8041ca645cf612bc1eda010000000000000097d57a25c49a171f87773fd18925fa2d8716f2c4c812949d73efdd5b8b39b2140100000000000000e38f2d737c0841fe1534864408ed3ac0a22ad9edf9cd3c832754262b80de71d201000000000000004533310d14afb7f94aa21dce0b96bd07216ded21c7737e0634fe92c3fff96efb0100000000000000a8dbfc6cb88ac105e25b9dc7f11e883631824647cd4d0c18014bb6239627b2900100000000000000764be126771bd51265d69b733c6ef30419f94451e32792117d25636b63a837740100000000000000e59a9cc37937f617aa9eb54767eed84c1a57a2b270fcee8079116201c280b4f301000000000000001d030ee2fa002984ba91c3dd03c878ff0862cb506d96fbe732e924765e15f14e010000000000000052a59d0bfed47022fc79a5f56d67e9f833d45a57843c986755a3c809092d16c10100000000000000757b8d55585c89c1f8a22e1b73a0b7c6e66bcb8479c4df4633cde709d1aae17b0100000000000000beb52fdca5833f2981c8a869f97136722c187ff31bfb9fe44b0b888bb2d13b8d010000000000000041ef4a31eb7dc1e01f4630604e1908e644d7cdee3f66a60f98d6d59605326f8b0100000000000000890f5c296681b8c23038b3d36a491ca9e0e7e809e6455b2bcd28a13700f81abb010000000000000098df914cfd089eee8993fbfbd1522d6a31700c98bdc3a31cf69014a0ac123ecf01000000000000009f5c82ee25dcfaf356dfb70c3ea626715a0b6b9be5a1dd1ab523ea1538095d820100000000000000acd71d4269b3ba2a9de822d494c4d841708e1519c08de41d7fc6153eaf48da810100000000000000e36b385cc17b3ef19ef7fee9e4b96742254f7d5c90583fb8a07eba2dbc55d2690100000000000000264aa8e17904b7f83139c101e96770cc85795050b1d868914f98f48f8b99a84601000000000000000dd000dec5c529bd2ff4206b18d7142a2da2811f07e38b1e256f3f5713eb9ef4010000000000000027c4dLine truncated
|
||||
"babeEpochChanges": "0x0458226da5b808368bede9f6cb9c433405a1c5bdf955252097e583cbf6d179884e2100ba010133f988110000000093028911000000000461389cb00c017bf9b42328a470e70e3c0ba0d6af5e1521ef38bcce6337a4e76d6e09ba01019302891100000000f30b89110000000004bc4f23716eee7f20ecf1fee07608c08ea0a5676c58c3010d0ccde85bd24d15e0b312ba0101f30b891100000000531589110000000000000c58226da5b808368bede9f6cb9c433405a1c5bdf955252097e583cbf6d179884e2100ba01015f2f00000000000033f98811000000006009000000000000610976441c448aefcf40a72128edc9b44a4f7ef9c267c503e98f5f9c72d5e9e92f000100000000000000827e307dcad5bfe176ba102e357c5f18ace450271cf480e27cb994b9197be15a0100000000000000c65fb01e233e312b7d3dd6bf7d6c159d30a06550fbf40e664d2f97f21def7c1d01000000000000003221a28016eb199905fd81487057fcf2e2bba221533ee33e5083712f486c665b0100000000000000ec8fcbae6ca9d402b51bb0bde913f0c29769d8d1b9653f4933db117890fe38720100000000000000941fe9f3d91174e444772a4355f4026e64acaeecbc9eca9e747423dde2b2193c0100000000000000da5eaf1eedda26a69afbd206dabbcd47c603545b5c56e1a931a2c2c56e5a29020100000000000000f69a39a051376ea1dbb2a00c3e18369664beb746ca10453dad7db5f9341fde7e0100000000000000ba99b377112ed41f0b909d8cfa1e753935ca4041bdf90727f33f784b035aa4300100000000000000440945ba14eb5da1428d98999372bea1be75664f1aaccac2e096b579a034607a01000000000000008cc61258712d90f7b1c18e542c655b5e4f5d9b63be1c669feed7d4fb9152d155010000000000000072a33520bc6ae22805c80f338d013f6b4d39f3288fdea54ff8cd539949ace53a0100000000000000f88b0be90381341d0d7bfacdf140b8f291a16edd3310f72bd0920369416399330100000000000000ecfdd88a55fb9545aaaba980b541b1c380e8fbc1cb0dcc59c8146fb0660d61670100000000000000147ccca21c4dedac43e0222ab379ef490987b302176a8010ba2265aa29567b610100000000000000e0c8701616aea15e91edc27c9e64e0afdd3abbf4f502c0f646fa060eded3bc680100000000000000906ec0a56171d27f65c29683a31c71a87a4e32b273596a0a704ff07ba344d0660100000000000000e03e8b838de23dc7dbe96982a43cb33b406d6f9978132eac11ae555efa8d226b0100000000000000ba395fcb33327501109ed40712c7a372d25bf3339edfabe2a1964fb7b5d4d8240100000000000000da9bf8b51b8396da87113ba296940b23a9fb3cfe7c3fd0b3d541331121b8f57c01000000000000003c2943d6777720179fafe62691d06390210dfb03a1f4c77150cd7e708b86be1e0100000000000000c0ff0ad7de8b9403d14459655c0ec4107f119e74406be3161faf15b5ddf1395001000000000000004c9886e2e62ee92a6778d6a7928052732044b64fa61969cd8e37f3f7e3406f7201000000000000005aa1de5c9ba6f68622ab82dd17b5fc87ff249a65350349ff3e6414a2e3f3b9190100000000000000a23237719086db4a3c6e4ec298be9fbd400f80f44b694f69cc1dd1cd84ecfe1d01000000000000006a84d16e0196639a917baad78fb5e3b716d7ffd6c447ccadeedead0882482e6e010000000000000042a3ac82a61fcefa09c9714d0ddf190029d37bb8fdb4ebdccd8c469495614717010000000000000058cc4e48b26665ec1d6c2a128f0f5b70434ab4a771743429058b963257e6563d0100000000000000c80f32768e5bcf83095be0dc3db1f59f43650d58aebe4ca599dc02de3bbede120100000000000000228dfe58ff0326d8c8e0c51476692d0610424b01244c52c561f02dd133e83e0a0100000000000000da86601db8ba04ab92b1bca3b317b47da09c65da6ee826cb7af7bd798e9d8a4c01000000000000005237e4509f24bc9e8bf9bfd78b594219d86853ae16601f692f10c9b16b88f83b0100000000000000262398bb60b52e56984d3e9ee6c9f3025cca5287d10754acba8a1a637ebcb3350100000000000000a0511c06f6fc317bbc43df8b47b7c36ca7e3ad43010607e88f21cccb32ecbd5b010000000000000000836368eae8c87e8d7bd379d88e044455eebcef3de1b41ae050762da3e35c05010000000000000042c38c0a2e0b230aef2bdcd86e294d7ba64f69e4c5d0b855e5c79352bb71fb3a0100000000000000f889a6824331b322212a55a8166718506a530c87d93e087a7df1eb3cd0ab34610100000000000000b88e803bf4241f6465c0393416858ce6a0ac3c350be41cf0434a3566eeb79c4701000000000000008084d934bf7a7ad960de3b325ad5109d10eef00e90d6ab776240b7bbeb6a6a7e0100000000000000ce0c4220872f866ef72bec24c671acc11cb909f47491c5ff18bd48eec4290825010000000000000030425fa7695a36809abd4916d4d9d161b5565a4427aae8e163f10d3b6908825e0100000000000000f0fecff9ef1c288d6adbc261c63a2dec156042b30e9d29e30283e682eaba675601000000000000009ce7136b5fb85ba83e153c64a212fca1eee9c3ee42fd010fb27f2d55695b29640100000000000000707c6f8128973d552e4e13c7b3e0a7cebca93fecf8efc5df89fb66865acbaf72010000000000000006d2846642c835b0fb1ff1ef908449376aa8e7c0f3352e55da9a1e97e9528b230100000000000000ca29cefbde4a2167c5b0b4900dd25b7dd6877111ce52029ee334f02aa9a054590100000000000000908631a95b3a7158d6a7970b98062c798d53b5808f2af5a4bb0c462c6d882c570100000000000000f8a681118ea0bb9dfde2813ce5144eeb5cee881c27883de1c0c759255ec32654010000000000000016e3f8f5ce2e2b22b816bed27dc767115513198ec47d2795ba9edcccdde2d1580100000000000000b43a022b3cf70d5c2f080a2759d1778cc246f6f817df139391b9e7a952fdb14a0100000000000000081f00368df9978d903c5034e1c11a5f2ae7b8d9a11713f9e123a60366bee97f0100000000000000a60b866a3a8230eb54cc3703d735d43cc9e8630a6c61c27353aca849f1ff2e480100000000000000c08c91ecf8879f5042960c3d61c0e74f125463ca2726e6655fb922af5cdcb8510100000000000000e23173bf099d870567cbac0e94678e62cb1a554f4bf92c14ec2d46d9dbd8570101000000000000002c637ca0ccfc4fcf709987ab93933fde929687f615951f4db7ada7cba981e53e0100000000000000e67c524e443cda4cd27dfcce70488a5d23a93c8c46a5e83ef5a69eff3a02fa5a0100000000000000a42289d68c963358f3c450a850242bb53121Line truncated
|
||||
"babeFinalizedBlockWeight": 7234616,
|
||||
"finalizedBlockHeader": "0x670c4933051c89c21aa8f9b68fd22df32a55723e679680199599752ad43bebe5ca53e8067e44bf88763b31ed6d4faf622b6f4a8d5bf2e091c4b2fb90eadddf1a909d644b84e55574c795a43692abea547022fc42a92dbb4cab7b79deb5d91009e3f6b1f40c0642414245b501038c010000d60489110000000068d30b4eada81edb0a257b03633b995b998487b8ca449eeabebd357922c208017f28bb8ee0762d7266905fc2f742ef620dc4d06c2335de029900a3c374b40d0ebd70b60354a40a3ae6452af95eda4a714d6344d8b11726d9c0fdbd2e15b64104044245454684038e34c6d18673095c9b2b1f52f7d1e37b256f75f6c77d371f8288bb12243516cf05424142450101d45cd1312fba7c03ed569e03b53162ff7a512a6fc4d7583e5df3314ff68d2c3d373839bd5cd19dd6ee65bb63d01808cdf13e44d5e1d0875948262ae4bf725c83",
|
||||
"grandpaAuthoritySet": "0x61098a239af78d4659897af698b5670533fa6d215864be8c41e3a2fc4309f9f83dcb010000000000000031717c15a4ff007e43d657c58adf5fb2fdc0c3b90640815c52aa1c7ac9c7dfa30100000000000000ad6fa2991d221816fdc47582c35b718e5911a1af71172bf80c4cf35bad75f9d7010000000000000084789e9d81a7397a766534133442631d8cd465eb3b31f99a88edcee06399508a0100000000000000938e7a90b6bb370ab1de25f714a6d4ec79766f0a83645df23e839b08800bc16e01000000000000007bacba88f4d6893f767d540089d168c324c6374494e822fff803300b5f5de45a0100000000000000ff434a95c55bc11f3b43e92fea0790683c10f89009c6dbbac8d5e3d8fe809e980100000000000000203e355e692bb88164b4bdf0aab2fcb3ce5fa1113b7c55c1610f92ad133447020100000000000000cfd281b24276cf618f77d3ac505df4e16685af1082e5ef2cc3e8d7223c7d72fc010000000000000003d22615b6cfa1f7eea3cf85498252de0bc20d76009ed8d36e0d154a6037ec6f01000000000000002e83ca1be5a9b43abc59d5b2793fa06c39025aebb2b5a69366cc6277477e5f600100000000000000afb29bc0347cb06439773cfa5b8393470dac42f83b09bb9aaf94f32bbe3fd8a90100000000000000a39288ea3d95adde4b553318ecad2470ec0efa4839c4bae94cc1538c8537537e0100000000000000893dfa282157bfbb147d19c6f0d76b720983381c24fbd2f1f109bdf956c1c2070100000000000000db08502f1b6f793e4c5744467fec7d07f00e216431a75ce3ab1696c7ebefd33601000000000000000c890e728c3be18e683a09d94e574397b5168fcebad0376d140e3926fc28f75e01000000000000007f4c80530943a75943dddbd81a7138a25a1ba2139161742a8fb304581153facf0100000000000000b29508b9e36692084a0658d822389f0597783786796a92e508251fdec11642e30100000000000000e8d7333e457fa740db924866152f31c3bfa6124c0367b0878a61aff2d5d6e27e0100000000000000333ceb19084d7d83976fc84b9f8f44dd84afdac808a1675d7e8ddba62411bdf1010000000000000017d9b810a46767625cc0081b96f2eb384b45ae095c812abbe8009105456e01b90100000000000000882dd3fb6cfe65709167894025b8477c721ba8acfc1c8521a6a59b30c9be0b8b010000000000000070ba6e5985990ba1b1392713236f1b50df750f10f744cc6eb95fa7c5cfbc6876010000000000000012eecc2c0fabdb74f052b3f2ee6620a4c6116a6ab2db150eb41ee15e061ef6c80100000000000000d10d26b17880ea616cd28ad00392c0a97a407f69cb57f316e4f1cf69fbee1c2b0100000000000000641340aa407175876dbb2ea3464ab3dad50b4cbdf6e34fe3ee47dfacc4fca41a01000000000000007a713d9b915acfb70bb1098e35def4213d3b78ae57f64c0c93b137c8bf0cfe6401000000000000001ff6c4d8b7ee9f99bab0aa9fbe88ef94bd3a0f1f08532a329403cd0dca571cf10100000000000000aac65dde24439d67c7bd0ad79ff575163635b113a851e620deb6e4724da0a33801000000000000008faf00d72dc043219783f02ecfb9ec870c07b608f4e18b9a9121bb4ddb1c15ee010000000000000043d724765e59af7192233907124d04b4b8f445f8fee13b34921675bc57cfc8730100000000000000e511d441d6d3c822cb276bb2a14b1c8071d9fe1995802383fb5dcf8a92edcfc20100000000000000ca877ddd1af867f38e178081d824706c0ffe3cc1a02d2ef5792165fa92403a0f010000000000000063205a0a65f0df343e0bf1246eb965755f56d640639320f3c26f64a808e864cb010000000000000036c0322ebb94ba997dd35f6765f20c3093a6e86d46280861acec90ca56a7164d0100000000000000dc6c23702219b1250c3b2755953f3ead84c59f68b08e506c70c513fb39a7eff601000000000000002a02c4dc90496b9cc67acbb766ea9a183a0d5e2eff4faaae5d5be26bcd6ee34b010000000000000042fa51a590d863c3dc1279ab2444a394f22610eab077dc724827070f586d432101000000000000001b4b5f4e0667c084b318210779b013a36f4e2a99a1fc2dce5adb7c921278332b010000000000000099eb3b3ec8ce6a4591dc266864c384c3fdc3c4cc9fa6b79e482247e9e3d847bb01000000000000004ef72d44f2a2992e4087002740ea8b0373756af4d09b8a44fd3e423e73ddd92d0100000000000000f23e0968a818a3225f64efb63719a894770f03e5387cd64698ff8e1008acf4f00100000000000000bfdb9d87bf7ddb753ab52e356a0eb4becfe10d78c4589c646a9b7444855377ae0100000000000000b0435d9d506deb5aeb02f9b4a872239134e5fbbdfa2bec55fd6041ca8294740601000000000000007818639057900f8fb58e3aa8180f6108c251884a9fcb8041ca645cf612bc1eda0100000000000000e38f2d737c0841fe1534864408ed3ac0a22ad9edf9cd3c832754262b80de71d201000000000000004533310d14afb7f94aa21dce0b96bd07216ded21c7737e0634fe92c3fff96efb0100000000000000a8dbfc6cb88ac105e25b9dc7f11e883631824647cd4d0c18014bb6239627b2900100000000000000764be126771bd51265d69b733c6ef30419f94451e32792117d25636b63a837740100000000000000e59a9cc37937f617aa9eb54767eed84c1a57a2b270fcee8079116201c280b4f301000000000000002e76782a73b937e7186472dd4fd0773bcf5cc2605b9016406ba27f47bd73750a01000000000000001d030ee2fa002984ba91c3dd03c878ff0862cb506d96fbe732e924765e15f14e010000000000000052a59d0bfed47022fc79a5f56d67e9f833d45a57843c986755a3c809092d16c10100000000000000757b8d55585c89c1f8a22e1b73a0b7c6e66bcb8479c4df4633cde709d1aae17b0100000000000000beb52fdca5833f2981c8a869f97136722c187ff31bfb9fe44b0b888bb2d13b8d010000000000000041ef4a31eb7dc1e01f4630604e1908e644d7cdee3f66a60f98d6d59605326f8b0100000000000000890f5c296681b8c23038b3d36a491ca9e0e7e809e6455b2bcd28a13700f81abb010000000000000098df914cfd089eee8993fbfbd1522d6a31700c98bdc3a31cf69014a0ac123ecf01000000000000009f5c82ee25dcfaf356dfb70c3ea626715a0b6b9be5a1dd1ab523ea1538095d820100000000000000acd71d4269b3ba2a9de822d494c4d841708e1519c08de41d7fc6153eaf48da810100000000000000e36b385cc17b3ef19ef7fee9e4b96742254f7d5c90583fb8a07eba2dbc55d2690100000000000000264aa8e17904b7f83139c101e96770cc85795050b1d868914f98f48f8b99a84601000000000000000dd00Line truncated
|
||||
},
|
||||
"name": "Polkadot",
|
||||
"properties": {
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -4,6 +4,10 @@ This is separate from the Subxt changelog as subxt-historic is currently releasa
|
||||
|
||||
Eventually this project will merge with Subxt and no longer exist, but until then it's being maintained and updated where needed.
|
||||
|
||||
## 0.0.8 (2025-12-04)
|
||||
|
||||
Expose `ClientAtBlock::resolver()`. This hands back a type resolver which is capable of resolving type IDs given by the `.visit()` methods on extrinsic fields and storage values. The extrinsics example has been modified to show how this can be used.
|
||||
|
||||
## 0.0.7 (2025-12-03)
|
||||
|
||||
Expose `OfflineClientAtBlock`, `OfflineClientAtBlockT`, `OnlinelientAtBlock`, `OnlineClientAtBlockT`.
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "subxt-historic"
|
||||
version = "0.0.7"
|
||||
version = "0.0.8"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
|
||||
@@ -48,7 +48,8 @@ async fn main() -> Result<(), Box<dyn core::error::Error + Send + Sync + 'static
|
||||
.unwrap_or_default();
|
||||
|
||||
// When visiting fields we can also decode into a custom shape like so:
|
||||
let _custom_value = field.visit(value::GetValue::new())?;
|
||||
let _custom_value =
|
||||
field.visit(value::GetValue::new(&client_at_block.resolver()))?;
|
||||
|
||||
// We can also obtain and decode things without the complexity of the above:
|
||||
println!(
|
||||
@@ -183,7 +184,8 @@ mod value {
|
||||
I256([u8; 32]),
|
||||
U256([u8; 32]),
|
||||
Struct(HashMap<String, Value>),
|
||||
Variant(String, VariantFields),
|
||||
VariantWithoutData(String),
|
||||
VariantWithData(String, VariantFields),
|
||||
}
|
||||
|
||||
pub enum VariantFields {
|
||||
@@ -198,23 +200,23 @@ mod value {
|
||||
Decode(#[from] scale_decode::visitor::DecodeError),
|
||||
#[error("Cannot decode bit sequence: {0}")]
|
||||
CannotDecodeBitSequence(codec::Error),
|
||||
#[error("Cannot resolve variant type information: {0}")]
|
||||
CannotResolveVariantType(String),
|
||||
}
|
||||
|
||||
/// This is a visitor which obtains type names.
|
||||
pub struct GetValue<R> {
|
||||
marker: core::marker::PhantomData<R>,
|
||||
pub struct GetValue<'r, R> {
|
||||
resolver: &'r R,
|
||||
}
|
||||
|
||||
impl<R> GetValue<R> {
|
||||
impl<'r, R> GetValue<'r, R> {
|
||||
/// Construct our TypeName visitor.
|
||||
pub fn new() -> Self {
|
||||
GetValue {
|
||||
marker: core::marker::PhantomData,
|
||||
}
|
||||
pub fn new(resolver: &'r R) -> Self {
|
||||
GetValue { resolver }
|
||||
}
|
||||
}
|
||||
|
||||
impl<R: TypeResolver> Visitor for GetValue<R> {
|
||||
impl<'r, R: TypeResolver> Visitor for GetValue<'r, R> {
|
||||
type Value<'scale, 'resolver> = Value;
|
||||
type Error = ValueError;
|
||||
type TypeResolver = R;
|
||||
@@ -346,7 +348,11 @@ mod value {
|
||||
values: &mut Array<'scale, 'resolver, Self::TypeResolver>,
|
||||
_type_id: TypeIdFor<Self>,
|
||||
) -> Result<Self::Value<'scale, 'resolver>, Self::Error> {
|
||||
Ok(Value::Array(to_array(values.remaining(), values)?))
|
||||
Ok(Value::Array(to_array(
|
||||
self.resolver,
|
||||
values.remaining(),
|
||||
values,
|
||||
)?))
|
||||
}
|
||||
|
||||
fn visit_sequence<'scale, 'resolver>(
|
||||
@@ -354,7 +360,11 @@ mod value {
|
||||
values: &mut Sequence<'scale, 'resolver, Self::TypeResolver>,
|
||||
_type_id: TypeIdFor<Self>,
|
||||
) -> Result<Self::Value<'scale, 'resolver>, Self::Error> {
|
||||
Ok(Value::Array(to_array(values.remaining(), values)?))
|
||||
Ok(Value::Array(to_array(
|
||||
self.resolver,
|
||||
values.remaining(),
|
||||
values,
|
||||
)?))
|
||||
}
|
||||
|
||||
fn visit_str<'scale, 'resolver>(
|
||||
@@ -370,7 +380,11 @@ mod value {
|
||||
values: &mut Tuple<'scale, 'resolver, Self::TypeResolver>,
|
||||
_type_id: TypeIdFor<Self>,
|
||||
) -> Result<Self::Value<'scale, 'resolver>, Self::Error> {
|
||||
Ok(Value::Array(to_array(values.remaining(), values)?))
|
||||
Ok(Value::Array(to_array(
|
||||
self.resolver,
|
||||
values.remaining(),
|
||||
values,
|
||||
)?))
|
||||
}
|
||||
|
||||
fn visit_bitsequence<'scale, 'resolver>(
|
||||
@@ -401,7 +415,7 @@ mod value {
|
||||
}
|
||||
|
||||
// Reuse logic for decoding variant fields:
|
||||
match to_variant_fieldish(value)? {
|
||||
match to_variant_fieldish(self.resolver, value)? {
|
||||
VariantFields::Named(s) => Ok(Value::Struct(s)),
|
||||
VariantFields::Unnamed(a) => Ok(Value::Array(a)),
|
||||
}
|
||||
@@ -410,20 +424,50 @@ mod value {
|
||||
fn visit_variant<'scale, 'resolver>(
|
||||
self,
|
||||
value: &mut Variant<'scale, 'resolver, Self::TypeResolver>,
|
||||
_type_id: TypeIdFor<Self>,
|
||||
type_id: TypeIdFor<Self>,
|
||||
) -> Result<Self::Value<'scale, 'resolver>, Self::Error> {
|
||||
// Because we have access to a type resolver on self, we can
|
||||
// look up the type IDs we're given back and base decode decisions
|
||||
// on them. here we see whether the enum type has any data attached:
|
||||
let has_data_visitor = scale_type_resolver::visitor::new((), |_, _| false)
|
||||
.visit_variant(|_, _, variants| {
|
||||
for mut variant in variants {
|
||||
if variant.fields.next().is_some() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
false
|
||||
});
|
||||
|
||||
// Do any variants have data in this enum type?
|
||||
let has_data = self
|
||||
.resolver
|
||||
.resolve_type(type_id, has_data_visitor)
|
||||
.map_err(|e| ValueError::CannotResolveVariantType(e.to_string()))?;
|
||||
|
||||
let name = value.name().to_owned();
|
||||
let fields = to_variant_fieldish(value.fields())?;
|
||||
Ok(Value::Variant(name, fields))
|
||||
|
||||
// base our decoding on whether any data in enum type.
|
||||
if has_data {
|
||||
let fields = to_variant_fieldish(self.resolver, value.fields())?;
|
||||
Ok(Value::VariantWithData(name, fields))
|
||||
} else {
|
||||
Ok(Value::VariantWithoutData(name))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fn to_variant_fieldish<'scale, 'resolver, R: TypeResolver>(
|
||||
fn to_variant_fieldish<'r, 'scale, 'resolver, R: TypeResolver>(
|
||||
resolver: &'r R,
|
||||
value: &mut Composite<'scale, 'resolver, R>,
|
||||
) -> Result<VariantFields, ValueError> {
|
||||
// If fields are unnamed, treat as array:
|
||||
if value.fields().iter().all(|f| f.name.is_none()) {
|
||||
return Ok(VariantFields::Unnamed(to_array(value.remaining(), value)?));
|
||||
return Ok(VariantFields::Unnamed(to_array(
|
||||
resolver,
|
||||
value.remaining(),
|
||||
value,
|
||||
)?));
|
||||
}
|
||||
|
||||
// Otherwise object:
|
||||
@@ -431,18 +475,19 @@ mod value {
|
||||
for field in value {
|
||||
let field = field?;
|
||||
let name = field.name().unwrap().to_string();
|
||||
let value = field.decode_with_visitor(GetValue::new())?;
|
||||
let value = field.decode_with_visitor(GetValue::new(resolver))?;
|
||||
out.insert(name, value);
|
||||
}
|
||||
Ok(VariantFields::Named(out))
|
||||
}
|
||||
|
||||
fn to_array<'scale, 'resolver, R: TypeResolver>(
|
||||
fn to_array<'r, 'scale, 'resolver, R: TypeResolver>(
|
||||
resolver: &'r R,
|
||||
len: usize,
|
||||
mut values: impl scale_decode::visitor::DecodeItemIterator<'scale, 'resolver, R>,
|
||||
) -> Result<Vec<Value>, ValueError> {
|
||||
let mut out = Vec::with_capacity(len);
|
||||
while let Some(value) = values.decode_item(GetValue::new()) {
|
||||
while let Some(value) = values.decode_item(GetValue::new(resolver)) {
|
||||
out.push(value?);
|
||||
}
|
||||
Ok(out)
|
||||
|
||||
@@ -4,6 +4,7 @@ mod online_client;
|
||||
use crate::config::Config;
|
||||
use crate::extrinsics::ExtrinsicsClient;
|
||||
use crate::storage::StorageClient;
|
||||
use crate::utils::AnyResolver;
|
||||
use frame_metadata::RuntimeMetadata;
|
||||
use std::marker::PhantomData;
|
||||
|
||||
@@ -45,4 +46,28 @@ where
|
||||
pub fn metadata(&self) -> &RuntimeMetadata {
|
||||
self.client.metadata()
|
||||
}
|
||||
|
||||
/// Return something which implements [`scale_type_resolver::TypeResolver`] and
|
||||
/// can be used in conjnction with type IDs in `.visit` methods.
|
||||
pub fn resolver(&self) -> AnyResolver<'_, 'client> {
|
||||
match self.client.metadata() {
|
||||
RuntimeMetadata::V0(_)
|
||||
| RuntimeMetadata::V1(_)
|
||||
| RuntimeMetadata::V2(_)
|
||||
| RuntimeMetadata::V3(_)
|
||||
| RuntimeMetadata::V4(_)
|
||||
| RuntimeMetadata::V5(_)
|
||||
| RuntimeMetadata::V6(_)
|
||||
| RuntimeMetadata::V7(_)
|
||||
| RuntimeMetadata::V8(_)
|
||||
| RuntimeMetadata::V9(_)
|
||||
| RuntimeMetadata::V10(_)
|
||||
| RuntimeMetadata::V11(_)
|
||||
| RuntimeMetadata::V12(_)
|
||||
| RuntimeMetadata::V13(_) => AnyResolver::B(self.client.legacy_types()),
|
||||
RuntimeMetadata::V14(m) => AnyResolver::A(&m.types),
|
||||
RuntimeMetadata::V15(m) => AnyResolver::A(&m.types),
|
||||
RuntimeMetadata::V16(m) => AnyResolver::A(&m.types),
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -54,7 +54,7 @@ impl<'extrinsics, 'atblock> ExtrinsicCall<'extrinsics, 'atblock> {
|
||||
pub struct ExtrinsicCallFields<'extrinsics, 'atblock> {
|
||||
all_bytes: &'extrinsics [u8],
|
||||
info: &'extrinsics AnyExtrinsicInfo<'atblock>,
|
||||
resolver: AnyResolver<'atblock>,
|
||||
resolver: AnyResolver<'atblock, 'atblock>,
|
||||
}
|
||||
|
||||
impl<'extrinsics, 'atblock> ExtrinsicCallFields<'extrinsics, 'atblock> {
|
||||
@@ -135,7 +135,7 @@ impl<'extrinsics, 'atblock> ExtrinsicCallFields<'extrinsics, 'atblock> {
|
||||
pub struct ExtrinsicCallField<'fields, 'extrinsics, 'atblock> {
|
||||
field_bytes: &'extrinsics [u8],
|
||||
info: AnyExtrinsicCallFieldInfo<'extrinsics, 'atblock>,
|
||||
resolver: &'fields AnyResolver<'atblock>,
|
||||
resolver: &'fields AnyResolver<'atblock, 'atblock>,
|
||||
}
|
||||
|
||||
enum AnyExtrinsicCallFieldInfo<'extrinsics, 'atblock> {
|
||||
@@ -172,7 +172,9 @@ impl<'fields, 'extrinsics, 'atblock> ExtrinsicCallField<'fields, 'extrinsics, 'a
|
||||
/// Visit the given field with a [`scale_decode::visitor::Visitor`]. This is like a lower level
|
||||
/// version of [`ExtrinsicCallField::decode_as`], as the visitor is able to preserve lifetimes
|
||||
/// and has access to more type information than is available via [`ExtrinsicCallField::decode_as`].
|
||||
pub fn visit<V: scale_decode::visitor::Visitor<TypeResolver = AnyResolver<'atblock>>>(
|
||||
pub fn visit<
|
||||
V: scale_decode::visitor::Visitor<TypeResolver = AnyResolver<'atblock, 'atblock>>,
|
||||
>(
|
||||
&self,
|
||||
visitor: V,
|
||||
) -> Result<V::Value<'extrinsics, 'fields>, V::Error> {
|
||||
|
||||
@@ -10,7 +10,7 @@ use std::sync::Arc;
|
||||
pub struct StorageValue<'atblock> {
|
||||
pub(crate) info: Arc<AnyStorageInfo<'atblock>>,
|
||||
bytes: Cow<'atblock, [u8]>,
|
||||
resolver: AnyResolver<'atblock>,
|
||||
resolver: AnyResolver<'atblock, 'atblock>,
|
||||
}
|
||||
|
||||
impl<'atblock> StorageValue<'atblock> {
|
||||
@@ -41,7 +41,9 @@ impl<'atblock> StorageValue<'atblock> {
|
||||
/// Visit the given field with a [`scale_decode::visitor::Visitor`]. This is like a lower level
|
||||
/// version of [`StorageValue::decode_as`], as the visitor is able to preserve lifetimes
|
||||
/// and has access to more type information than is available via [`StorageValue::decode_as`].
|
||||
pub fn visit<V: scale_decode::visitor::Visitor<TypeResolver = AnyResolver<'atblock>>>(
|
||||
pub fn visit<
|
||||
V: scale_decode::visitor::Visitor<TypeResolver = AnyResolver<'atblock, 'atblock>>,
|
||||
>(
|
||||
&self,
|
||||
visitor: V,
|
||||
) -> Result<V::Value<'_, '_>, V::Error> {
|
||||
|
||||
@@ -3,10 +3,8 @@ use scale_info_legacy::LookupName;
|
||||
use scale_type_resolver::ResolvedTypeVisitor;
|
||||
|
||||
/// A type resolver which could either be for modern or historic resolving.
|
||||
pub type AnyResolver<'resolver> = Either<
|
||||
&'resolver scale_info::PortableRegistry,
|
||||
&'resolver scale_info_legacy::TypeRegistrySet<'resolver>,
|
||||
>;
|
||||
pub type AnyResolver<'a, 'b> =
|
||||
Either<&'a scale_info::PortableRegistry, &'a scale_info_legacy::TypeRegistrySet<'b>>;
|
||||
|
||||
/// A type ID which is either a modern or historic ID.
|
||||
pub type AnyTypeId = Either<u32, scale_info_legacy::LookupName>;
|
||||
@@ -60,7 +58,7 @@ pub enum AnyResolverError {
|
||||
ScaleInfoLegacy(scale_info_legacy::type_registry::TypeRegistryResolveError),
|
||||
}
|
||||
|
||||
impl<'resolver> scale_type_resolver::TypeResolver for AnyResolver<'resolver> {
|
||||
impl<'a, 'b> scale_type_resolver::TypeResolver for AnyResolver<'a, 'b> {
|
||||
type TypeId = AnyTypeId;
|
||||
type Error = AnyResolverError;
|
||||
|
||||
|
||||
+19
-6
@@ -212,6 +212,22 @@ fn validate_type_path(path: &syn::Path, metadata: &Metadata) {
|
||||
}
|
||||
}
|
||||
|
||||
/// Resolves a path, handling the $OUT_DIR placeholder if present.
|
||||
/// If $OUT_DIR is present in the path, it's replaced with the actual OUT_DIR environment variable.
|
||||
/// Otherwise, the path is resolved relative to CARGO_MANIFEST_DIR.
|
||||
fn resolve_path(path_str: &str) -> std::path::PathBuf {
|
||||
if path_str.contains("$OUT_DIR") {
|
||||
let out_dir = std::env::var("OUT_DIR").unwrap_or_else(|_| {
|
||||
abort_call_site!("$OUT_DIR is used in path but OUT_DIR environment variable is not set")
|
||||
});
|
||||
std::path::Path::new(&path_str.replace("$OUT_DIR", &out_dir)).into()
|
||||
} else {
|
||||
let root = std::env::var("CARGO_MANIFEST_DIR").unwrap_or_else(|_| ".".into());
|
||||
let root_path = std::path::Path::new(&root);
|
||||
root_path.join(path_str)
|
||||
}
|
||||
}
|
||||
|
||||
/// Fetches metadata in a blocking manner, from a url or file path.
|
||||
fn fetch_metadata(args: &RuntimeMetadataArgs) -> Result<subxt_codegen::Metadata, TokenStream> {
|
||||
// Do we want to fetch unstable metadata? This only works if fetching from a URL.
|
||||
@@ -224,9 +240,7 @@ fn fetch_metadata(args: &RuntimeMetadataArgs) -> Result<subxt_codegen::Metadata,
|
||||
"Only one of 'runtime_metadata_path', 'runtime_metadata_insecure_url' or `runtime_path` must be provided"
|
||||
);
|
||||
};
|
||||
let root = std::env::var("CARGO_MANIFEST_DIR").unwrap_or_else(|_| ".".into());
|
||||
let root_path = std::path::Path::new(&root);
|
||||
let path = root_path.join(path);
|
||||
let path = resolve_path(path);
|
||||
|
||||
let metadata = wasm_loader::from_wasm_file(&path).map_err(|e| e.into_compile_error())?;
|
||||
return Ok(metadata);
|
||||
@@ -243,9 +257,8 @@ fn fetch_metadata(args: &RuntimeMetadataArgs) -> Result<subxt_codegen::Metadata,
|
||||
)
|
||||
}
|
||||
|
||||
let root = std::env::var("CARGO_MANIFEST_DIR").unwrap_or_else(|_| ".".into());
|
||||
let root_path = std::path::Path::new(&root);
|
||||
let path = root_path.join(rest_of_path);
|
||||
let path = resolve_path(rest_of_path);
|
||||
|
||||
subxt_utils_fetchmetadata::from_file_blocking(&path)
|
||||
.and_then(|b| subxt_codegen::Metadata::decode(&mut &*b).map_err(Into::into))
|
||||
.map_err(|e| CodegenError::Other(e.to_string()).into_compile_error())?
|
||||
|
||||
@@ -146,6 +146,15 @@ pub mod ext {
|
||||
/// mod polkadot {}
|
||||
/// ```
|
||||
///
|
||||
/// You can use the `$OUT_DIR` placeholder in the path to reference metadata generated at build time:
|
||||
///
|
||||
/// ```rust,ignore
|
||||
/// #[subxt::subxt(
|
||||
/// runtime_metadata_path = "$OUT_DIR/metadata.scale",
|
||||
/// )]
|
||||
/// mod polkadot {}
|
||||
/// ```
|
||||
///
|
||||
/// ## Using a WASM runtime via `runtime_path = "..."`
|
||||
///
|
||||
/// This requires the `runtime-wasm-path` feature flag.
|
||||
@@ -159,6 +168,15 @@ pub mod ext {
|
||||
/// mod polkadot {}
|
||||
/// ```
|
||||
///
|
||||
/// You can also use the `$OUT_DIR` placeholder in the path to reference WASM files generated at build time:
|
||||
///
|
||||
/// ```rust,ignore
|
||||
/// #[subxt::subxt(
|
||||
/// runtime_path = "$OUT_DIR/runtime.wasm",
|
||||
/// )]
|
||||
/// mod polkadot {}
|
||||
/// ```
|
||||
///
|
||||
/// ## Connecting to a node to download metadata via `runtime_metadata_insecure_url = "..."`
|
||||
///
|
||||
/// This will, at compile time, connect to the JSON-RPC interface for some node at the URL given,
|
||||
|
||||
@@ -99,12 +99,18 @@ fn interface_docs(should_gen_docs: bool) -> Vec<String> {
|
||||
|
||||
#[test]
|
||||
fn check_documentation() {
|
||||
// Inspect metadata recursively and obtain all associated documentation.
|
||||
// Inspect metadata and obtain all associated documentation.
|
||||
let raw_docs = metadata_docs();
|
||||
// Obtain documentation from the generated API.
|
||||
let runtime_docs = interface_docs(true);
|
||||
|
||||
for raw in raw_docs.iter() {
|
||||
if raw.contains(|c: char| !c.is_ascii()) {
|
||||
// Ignore lines containing on-ascii chars; they are encoded currently
|
||||
// as "\u{nn}" which doesn't match their input which is the raw non-ascii
|
||||
// char.
|
||||
continue;
|
||||
}
|
||||
assert!(
|
||||
runtime_docs.contains(raw),
|
||||
"Documentation not present in runtime API: {raw}"
|
||||
@@ -114,7 +120,7 @@ fn check_documentation() {
|
||||
|
||||
#[test]
|
||||
fn check_no_documentation() {
|
||||
// Inspect metadata recursively and obtain all associated documentation.
|
||||
// Inspect metadata and obtain all associated documentation.
|
||||
let raw_docs = metadata_docs();
|
||||
// Obtain documentation from the generated API.
|
||||
let runtime_docs = interface_docs(false);
|
||||
|
||||
@@ -495,9 +495,10 @@ pub mod api {
|
||||
"dry_run_call",
|
||||
(origin, call, result_xcms_version),
|
||||
[
|
||||
135u8, 226u8, 21u8, 246u8, 89u8, 247u8, 135u8, 92u8, 113u8, 148u8,
|
||||
119u8, 34u8, 197u8, 148u8, 224u8, 14u8, 133u8, 119u8, 46u8, 132u8, 4u8,
|
||||
38u8, 32u8, 244u8, 15u8, 244u8, 93u8, 37u8, 220u8, 184u8, 92u8, 101u8,
|
||||
40u8, 38u8, 126u8, 49u8, 197u8, 238u8, 216u8, 241u8, 159u8, 127u8,
|
||||
59u8, 226u8, 148u8, 145u8, 171u8, 208u8, 144u8, 48u8, 107u8, 203u8,
|
||||
73u8, 59u8, 131u8, 160u8, 229u8, 107u8, 58u8, 134u8, 141u8, 225u8,
|
||||
104u8, 214u8,
|
||||
],
|
||||
)
|
||||
}
|
||||
@@ -3987,9 +3988,9 @@ pub mod api {
|
||||
.hash();
|
||||
runtime_metadata_hash
|
||||
== [
|
||||
18u8, 150u8, 200u8, 31u8, 196u8, 24u8, 219u8, 232u8, 48u8, 35u8, 69u8, 97u8, 216u8,
|
||||
18u8, 71u8, 145u8, 158u8, 173u8, 108u8, 170u8, 105u8, 141u8, 102u8, 24u8, 78u8,
|
||||
107u8, 126u8, 143u8, 20u8, 42u8, 125u8, 103u8,
|
||||
103u8, 177u8, 93u8, 186u8, 64u8, 8u8, 160u8, 121u8, 76u8, 46u8, 254u8, 77u8, 196u8,
|
||||
209u8, 191u8, 117u8, 203u8, 223u8, 19u8, 252u8, 123u8, 62u8, 58u8, 193u8, 137u8,
|
||||
79u8, 49u8, 204u8, 254u8, 209u8, 164u8, 248u8,
|
||||
]
|
||||
}
|
||||
pub mod system {
|
||||
@@ -15007,10 +15008,10 @@ pub mod api {
|
||||
call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call),
|
||||
},
|
||||
[
|
||||
168u8, 40u8, 134u8, 82u8, 140u8, 23u8, 182u8, 174u8, 255u8, 95u8,
|
||||
122u8, 217u8, 237u8, 209u8, 147u8, 236u8, 111u8, 44u8, 0u8, 22u8,
|
||||
165u8, 25u8, 208u8, 235u8, 59u8, 182u8, 2u8, 188u8, 137u8, 151u8,
|
||||
109u8, 144u8,
|
||||
246u8, 33u8, 102u8, 124u8, 212u8, 219u8, 99u8, 224u8, 18u8, 35u8,
|
||||
117u8, 224u8, 56u8, 173u8, 58u8, 12u8, 161u8, 123u8, 14u8, 214u8,
|
||||
178u8, 70u8, 165u8, 1u8, 171u8, 195u8, 218u8, 230u8, 114u8, 197u8,
|
||||
51u8, 193u8,
|
||||
],
|
||||
)
|
||||
}
|
||||
@@ -16086,9 +16087,9 @@ pub mod api {
|
||||
"batch",
|
||||
types::Batch { calls },
|
||||
[
|
||||
74u8, 188u8, 119u8, 132u8, 246u8, 22u8, 228u8, 26u8, 88u8, 17u8, 235u8,
|
||||
97u8, 42u8, 167u8, 71u8, 205u8, 132u8, 111u8, 120u8, 90u8, 62u8, 198u8,
|
||||
97u8, 71u8, 187u8, 96u8, 170u8, 197u8, 115u8, 11u8, 207u8, 170u8,
|
||||
3u8, 237u8, 56u8, 53u8, 21u8, 11u8, 83u8, 138u8, 190u8, 176u8, 250u8,
|
||||
61u8, 193u8, 4u8, 109u8, 250u8, 196u8, 95u8, 159u8, 4u8, 119u8, 229u8,
|
||||
79u8, 74u8, 13u8, 167u8, 29u8, 23u8, 120u8, 41u8, 61u8, 123u8,
|
||||
],
|
||||
)
|
||||
}
|
||||
@@ -16119,10 +16120,10 @@ pub mod api {
|
||||
call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call),
|
||||
},
|
||||
[
|
||||
221u8, 2u8, 85u8, 132u8, 242u8, 111u8, 24u8, 198u8, 120u8, 159u8,
|
||||
197u8, 209u8, 135u8, 56u8, 229u8, 205u8, 14u8, 26u8, 108u8, 179u8,
|
||||
82u8, 167u8, 113u8, 190u8, 66u8, 41u8, 171u8, 28u8, 191u8, 197u8,
|
||||
188u8, 44u8,
|
||||
186u8, 212u8, 100u8, 244u8, 88u8, 215u8, 10u8, 103u8, 96u8, 184u8,
|
||||
160u8, 213u8, 212u8, 0u8, 73u8, 99u8, 234u8, 128u8, 232u8, 29u8, 91u8,
|
||||
253u8, 216u8, 226u8, 113u8, 203u8, 41u8, 84u8, 101u8, 209u8, 222u8,
|
||||
163u8,
|
||||
],
|
||||
)
|
||||
}
|
||||
@@ -16149,10 +16150,9 @@ pub mod api {
|
||||
"batch_all",
|
||||
types::BatchAll { calls },
|
||||
[
|
||||
213u8, 243u8, 106u8, 40u8, 47u8, 168u8, 177u8, 239u8, 100u8, 64u8,
|
||||
174u8, 135u8, 145u8, 138u8, 228u8, 37u8, 54u8, 69u8, 17u8, 214u8,
|
||||
134u8, 83u8, 203u8, 13u8, 145u8, 180u8, 50u8, 194u8, 168u8, 14u8,
|
||||
128u8, 221u8,
|
||||
238u8, 192u8, 118u8, 217u8, 228u8, 209u8, 113u8, 16u8, 189u8, 24u8,
|
||||
140u8, 27u8, 179u8, 201u8, 44u8, 86u8, 211u8, 7u8, 75u8, 154u8, 199u8,
|
||||
36u8, 165u8, 26u8, 207u8, 12u8, 29u8, 209u8, 233u8, 37u8, 176u8, 215u8,
|
||||
],
|
||||
)
|
||||
}
|
||||
@@ -16176,10 +16176,9 @@ pub mod api {
|
||||
call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call),
|
||||
},
|
||||
[
|
||||
154u8, 127u8, 234u8, 135u8, 74u8, 210u8, 21u8, 196u8, 23u8, 146u8,
|
||||
99u8, 232u8, 253u8, 237u8, 127u8, 20u8, 205u8, 211u8, 139u8, 164u8,
|
||||
228u8, 170u8, 189u8, 72u8, 24u8, 216u8, 3u8, 102u8, 18u8, 180u8, 198u8,
|
||||
199u8,
|
||||
208u8, 21u8, 102u8, 243u8, 68u8, 60u8, 28u8, 175u8, 113u8, 105u8, 63u8,
|
||||
153u8, 20u8, 248u8, 72u8, 103u8, 139u8, 126u8, 131u8, 253u8, 32u8,
|
||||
26u8, 112u8, 47u8, 34u8, 195u8, 129u8, 0u8, 81u8, 78u8, 231u8, 184u8,
|
||||
],
|
||||
)
|
||||
}
|
||||
@@ -16206,9 +16205,10 @@ pub mod api {
|
||||
"force_batch",
|
||||
types::ForceBatch { calls },
|
||||
[
|
||||
165u8, 254u8, 101u8, 48u8, 51u8, 204u8, 174u8, 243u8, 195u8, 120u8,
|
||||
99u8, 233u8, 199u8, 22u8, 254u8, 182u8, 220u8, 62u8, 178u8, 4u8, 107u8,
|
||||
203u8, 1u8, 156u8, 219u8, 185u8, 96u8, 133u8, 101u8, 75u8, 91u8, 251u8,
|
||||
88u8, 134u8, 254u8, 240u8, 121u8, 181u8, 66u8, 132u8, 41u8, 200u8,
|
||||
213u8, 247u8, 170u8, 75u8, 80u8, 20u8, 231u8, 221u8, 157u8, 147u8,
|
||||
214u8, 33u8, 162u8, 126u8, 89u8, 98u8, 29u8, 67u8, 234u8, 13u8, 252u8,
|
||||
192u8,
|
||||
],
|
||||
)
|
||||
}
|
||||
@@ -16232,10 +16232,9 @@ pub mod api {
|
||||
weight,
|
||||
},
|
||||
[
|
||||
158u8, 227u8, 106u8, 111u8, 21u8, 210u8, 216u8, 107u8, 158u8, 38u8,
|
||||
161u8, 205u8, 174u8, 193u8, 3u8, 196u8, 134u8, 13u8, 145u8, 86u8,
|
||||
112u8, 206u8, 38u8, 187u8, 206u8, 140u8, 12u8, 217u8, 75u8, 215u8,
|
||||
50u8, 46u8,
|
||||
48u8, 131u8, 229u8, 42u8, 81u8, 107u8, 85u8, 108u8, 214u8, 84u8, 18u8,
|
||||
251u8, 178u8, 241u8, 170u8, 13u8, 147u8, 104u8, 58u8, 241u8, 152u8,
|
||||
220u8, 165u8, 70u8, 153u8, 1u8, 45u8, 79u8, 129u8, 27u8, 13u8, 198u8,
|
||||
],
|
||||
)
|
||||
}
|
||||
@@ -16276,10 +16275,9 @@ pub mod api {
|
||||
fallback: ::subxt::ext::subxt_core::alloc::boxed::Box::new(fallback),
|
||||
},
|
||||
[
|
||||
16u8, 213u8, 217u8, 153u8, 132u8, 132u8, 191u8, 97u8, 166u8, 89u8,
|
||||
201u8, 201u8, 52u8, 184u8, 121u8, 245u8, 192u8, 129u8, 138u8, 106u8,
|
||||
15u8, 222u8, 172u8, 203u8, 46u8, 195u8, 117u8, 32u8, 156u8, 12u8, 25u8,
|
||||
134u8,
|
||||
3u8, 66u8, 49u8, 122u8, 112u8, 61u8, 159u8, 150u8, 57u8, 100u8, 10u8,
|
||||
127u8, 87u8, 65u8, 235u8, 116u8, 11u8, 7u8, 1u8, 50u8, 128u8, 137u8,
|
||||
29u8, 151u8, 119u8, 128u8, 34u8, 87u8, 122u8, 215u8, 108u8, 89u8,
|
||||
],
|
||||
)
|
||||
}
|
||||
@@ -16302,9 +16300,9 @@ pub mod api {
|
||||
call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call),
|
||||
},
|
||||
[
|
||||
0u8, 135u8, 115u8, 55u8, 255u8, 215u8, 54u8, 169u8, 179u8, 74u8, 127u8,
|
||||
58u8, 58u8, 211u8, 207u8, 9u8, 56u8, 165u8, 131u8, 178u8, 105u8, 138u8,
|
||||
172u8, 45u8, 162u8, 117u8, 182u8, 236u8, 130u8, 161u8, 9u8, 174u8,
|
||||
35u8, 54u8, 22u8, 174u8, 37u8, 180u8, 178u8, 22u8, 208u8, 211u8, 68u8,
|
||||
254u8, 16u8, 67u8, 52u8, 83u8, 46u8, 64u8, 125u8, 21u8, 226u8, 214u8,
|
||||
233u8, 25u8, 166u8, 36u8, 40u8, 99u8, 31u8, 110u8, 109u8, 112u8,
|
||||
],
|
||||
)
|
||||
}
|
||||
@@ -21537,10 +21535,10 @@ pub mod api {
|
||||
call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call),
|
||||
},
|
||||
[
|
||||
151u8, 72u8, 167u8, 38u8, 166u8, 255u8, 32u8, 128u8, 164u8, 93u8,
|
||||
126u8, 206u8, 168u8, 161u8, 151u8, 103u8, 187u8, 179u8, 249u8, 49u8,
|
||||
51u8, 247u8, 99u8, 127u8, 7u8, 29u8, 57u8, 218u8, 149u8, 145u8, 206u8,
|
||||
231u8,
|
||||
202u8, 158u8, 177u8, 109u8, 142u8, 51u8, 247u8, 244u8, 31u8, 67u8,
|
||||
178u8, 75u8, 40u8, 12u8, 147u8, 252u8, 100u8, 42u8, 245u8, 8u8, 84u8,
|
||||
192u8, 168u8, 2u8, 252u8, 159u8, 230u8, 143u8, 159u8, 116u8, 195u8,
|
||||
176u8,
|
||||
],
|
||||
)
|
||||
}
|
||||
@@ -22828,7 +22826,10 @@ pub mod api {
|
||||
#[encode_as_type(
|
||||
crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode"
|
||||
)]
|
||||
#[doc = "Cancel an anonymously scheduled task."]
|
||||
#[doc = "Cancel a scheduled task (named or anonymous), by providing the block it is scheduled for"]
|
||||
#[doc = "execution in, as well as the index of the task in that block's agenda."]
|
||||
#[doc = ""]
|
||||
#[doc = "In the case of a named task, it will remove it from the lookup table as well."]
|
||||
pub struct Cancel {
|
||||
pub when: cancel::When,
|
||||
pub index: cancel::Index,
|
||||
@@ -22983,6 +22984,8 @@ pub mod api {
|
||||
#[doc = "clones of the original task. Their retry configuration will be derived from the"]
|
||||
#[doc = "original task's configuration, but will have a lower value for `remaining` than the"]
|
||||
#[doc = "original `total_retries`."]
|
||||
#[doc = ""]
|
||||
#[doc = "This call **cannot** be used to set a retry configuration for a named task."]
|
||||
pub struct SetRetry {
|
||||
pub task: set_retry::Task,
|
||||
pub retries: set_retry::Retries,
|
||||
@@ -23021,6 +23024,8 @@ pub mod api {
|
||||
#[doc = "clones of the original task. Their retry configuration will be derived from the"]
|
||||
#[doc = "original task's configuration, but will have a lower value for `remaining` than the"]
|
||||
#[doc = "original `total_retries`."]
|
||||
#[doc = ""]
|
||||
#[doc = "This is the only way to set a retry configuration for a named task."]
|
||||
pub struct SetRetryNamed {
|
||||
pub id: set_retry_named::Id,
|
||||
pub retries: set_retry_named::Retries,
|
||||
@@ -23104,13 +23109,16 @@ pub mod api {
|
||||
call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call),
|
||||
},
|
||||
[
|
||||
91u8, 204u8, 205u8, 187u8, 92u8, 140u8, 193u8, 173u8, 60u8, 38u8, 0u8,
|
||||
75u8, 136u8, 4u8, 148u8, 116u8, 246u8, 68u8, 72u8, 155u8, 13u8, 47u8,
|
||||
73u8, 114u8, 121u8, 113u8, 79u8, 58u8, 150u8, 6u8, 111u8, 81u8,
|
||||
74u8, 115u8, 153u8, 70u8, 53u8, 63u8, 99u8, 226u8, 155u8, 176u8, 70u8,
|
||||
142u8, 154u8, 125u8, 211u8, 216u8, 115u8, 140u8, 238u8, 168u8, 50u8,
|
||||
71u8, 170u8, 214u8, 41u8, 201u8, 40u8, 153u8, 115u8, 2u8, 233u8, 12u8,
|
||||
],
|
||||
)
|
||||
}
|
||||
#[doc = "Cancel an anonymously scheduled task."]
|
||||
#[doc = "Cancel a scheduled task (named or anonymous), by providing the block it is scheduled for"]
|
||||
#[doc = "execution in, as well as the index of the task in that block's agenda."]
|
||||
#[doc = ""]
|
||||
#[doc = "In the case of a named task, it will remove it from the lookup table as well."]
|
||||
pub fn cancel(
|
||||
&self,
|
||||
when: types::cancel::When,
|
||||
@@ -23150,9 +23158,9 @@ pub mod api {
|
||||
call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call),
|
||||
},
|
||||
[
|
||||
35u8, 131u8, 210u8, 64u8, 251u8, 60u8, 213u8, 131u8, 3u8, 105u8, 201u8,
|
||||
177u8, 14u8, 0u8, 70u8, 126u8, 185u8, 15u8, 1u8, 220u8, 138u8, 70u8,
|
||||
131u8, 127u8, 13u8, 214u8, 25u8, 79u8, 167u8, 0u8, 70u8, 207u8,
|
||||
89u8, 41u8, 143u8, 1u8, 250u8, 74u8, 112u8, 211u8, 125u8, 68u8, 245u8,
|
||||
105u8, 25u8, 154u8, 155u8, 80u8, 31u8, 45u8, 87u8, 211u8, 154u8, 175u8,
|
||||
165u8, 36u8, 42u8, 80u8, 93u8, 69u8, 220u8, 40u8, 129u8, 131u8,
|
||||
],
|
||||
)
|
||||
}
|
||||
@@ -23192,10 +23200,10 @@ pub mod api {
|
||||
call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call),
|
||||
},
|
||||
[
|
||||
255u8, 141u8, 46u8, 187u8, 106u8, 161u8, 226u8, 188u8, 103u8, 38u8,
|
||||
251u8, 231u8, 181u8, 115u8, 250u8, 117u8, 232u8, 169u8, 141u8, 92u8,
|
||||
86u8, 94u8, 210u8, 234u8, 100u8, 246u8, 3u8, 200u8, 59u8, 203u8, 218u8,
|
||||
2u8,
|
||||
159u8, 184u8, 114u8, 95u8, 119u8, 34u8, 87u8, 197u8, 117u8, 35u8,
|
||||
174u8, 71u8, 217u8, 135u8, 20u8, 60u8, 38u8, 178u8, 63u8, 136u8, 249u8,
|
||||
17u8, 210u8, 252u8, 98u8, 172u8, 160u8, 24u8, 142u8, 82u8, 195u8,
|
||||
175u8,
|
||||
],
|
||||
)
|
||||
}
|
||||
@@ -23220,10 +23228,10 @@ pub mod api {
|
||||
call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call),
|
||||
},
|
||||
[
|
||||
160u8, 86u8, 212u8, 180u8, 108u8, 80u8, 127u8, 72u8, 118u8, 21u8,
|
||||
138u8, 244u8, 127u8, 62u8, 212u8, 178u8, 37u8, 148u8, 24u8, 149u8,
|
||||
197u8, 176u8, 47u8, 183u8, 188u8, 38u8, 144u8, 56u8, 131u8, 178u8,
|
||||
25u8, 123u8,
|
||||
124u8, 250u8, 227u8, 143u8, 63u8, 19u8, 160u8, 174u8, 50u8, 126u8, 4u8,
|
||||
178u8, 11u8, 153u8, 143u8, 179u8, 102u8, 244u8, 27u8, 61u8, 125u8,
|
||||
149u8, 243u8, 152u8, 196u8, 221u8, 209u8, 208u8, 178u8, 243u8, 243u8,
|
||||
65u8,
|
||||
],
|
||||
)
|
||||
}
|
||||
@@ -23239,6 +23247,8 @@ pub mod api {
|
||||
#[doc = "clones of the original task. Their retry configuration will be derived from the"]
|
||||
#[doc = "original task's configuration, but will have a lower value for `remaining` than the"]
|
||||
#[doc = "original `total_retries`."]
|
||||
#[doc = ""]
|
||||
#[doc = "This call **cannot** be used to set a retry configuration for a named task."]
|
||||
pub fn set_retry(
|
||||
&self,
|
||||
task: types::set_retry::Task,
|
||||
@@ -23273,6 +23283,8 @@ pub mod api {
|
||||
#[doc = "clones of the original task. Their retry configuration will be derived from the"]
|
||||
#[doc = "original task's configuration, but will have a lower value for `remaining` than the"]
|
||||
#[doc = "original `total_retries`."]
|
||||
#[doc = ""]
|
||||
#[doc = "This is the only way to set a retry configuration for a named task."]
|
||||
pub fn set_retry_named(
|
||||
&self,
|
||||
id: types::set_retry_named::Id,
|
||||
@@ -24188,10 +24200,9 @@ pub mod api {
|
||||
call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call),
|
||||
},
|
||||
[
|
||||
16u8, 140u8, 252u8, 232u8, 162u8, 157u8, 206u8, 181u8, 138u8, 51u8,
|
||||
166u8, 151u8, 86u8, 10u8, 171u8, 35u8, 172u8, 16u8, 188u8, 158u8,
|
||||
189u8, 7u8, 4u8, 223u8, 33u8, 150u8, 35u8, 60u8, 0u8, 184u8, 163u8,
|
||||
49u8,
|
||||
23u8, 157u8, 39u8, 96u8, 67u8, 226u8, 26u8, 153u8, 4u8, 84u8, 88u8,
|
||||
103u8, 135u8, 174u8, 17u8, 33u8, 148u8, 53u8, 54u8, 88u8, 103u8, 179u8,
|
||||
69u8, 185u8, 117u8, 46u8, 193u8, 60u8, 65u8, 98u8, 3u8, 81u8,
|
||||
],
|
||||
)
|
||||
}
|
||||
@@ -24479,9 +24490,10 @@ pub mod api {
|
||||
call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call),
|
||||
},
|
||||
[
|
||||
160u8, 144u8, 80u8, 125u8, 36u8, 2u8, 108u8, 41u8, 147u8, 143u8, 128u8,
|
||||
65u8, 229u8, 43u8, 195u8, 220u8, 179u8, 2u8, 121u8, 42u8, 141u8, 138u8,
|
||||
42u8, 193u8, 144u8, 211u8, 31u8, 47u8, 46u8, 93u8, 243u8, 106u8,
|
||||
108u8, 219u8, 113u8, 213u8, 48u8, 200u8, 156u8, 43u8, 157u8, 109u8,
|
||||
236u8, 149u8, 205u8, 5u8, 199u8, 253u8, 108u8, 143u8, 255u8, 3u8,
|
||||
167u8, 167u8, 181u8, 34u8, 115u8, 120u8, 169u8, 5u8, 14u8, 116u8,
|
||||
206u8, 44u8,
|
||||
],
|
||||
)
|
||||
}
|
||||
@@ -25197,10 +25209,10 @@ pub mod api {
|
||||
call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call),
|
||||
},
|
||||
[
|
||||
235u8, 141u8, 93u8, 40u8, 173u8, 68u8, 193u8, 74u8, 9u8, 223u8, 194u8,
|
||||
27u8, 255u8, 218u8, 105u8, 139u8, 209u8, 249u8, 178u8, 32u8, 200u8,
|
||||
230u8, 184u8, 169u8, 67u8, 168u8, 193u8, 154u8, 158u8, 100u8, 55u8,
|
||||
5u8,
|
||||
155u8, 193u8, 223u8, 126u8, 147u8, 38u8, 173u8, 120u8, 69u8, 82u8,
|
||||
235u8, 44u8, 119u8, 17u8, 33u8, 0u8, 193u8, 125u8, 0u8, 202u8, 245u8,
|
||||
214u8, 25u8, 21u8, 241u8, 144u8, 216u8, 150u8, 109u8, 187u8, 40u8,
|
||||
111u8,
|
||||
],
|
||||
)
|
||||
}
|
||||
@@ -25263,9 +25275,10 @@ pub mod api {
|
||||
max_weight,
|
||||
},
|
||||
[
|
||||
70u8, 200u8, 226u8, 154u8, 48u8, 231u8, 32u8, 152u8, 198u8, 77u8, 23u8,
|
||||
78u8, 35u8, 89u8, 150u8, 92u8, 227u8, 144u8, 76u8, 211u8, 225u8, 142u8,
|
||||
108u8, 209u8, 148u8, 124u8, 163u8, 207u8, 234u8, 114u8, 121u8, 111u8,
|
||||
231u8, 225u8, 55u8, 242u8, 193u8, 170u8, 114u8, 68u8, 231u8, 33u8,
|
||||
71u8, 215u8, 210u8, 63u8, 118u8, 112u8, 106u8, 1u8, 100u8, 178u8, 18u8,
|
||||
250u8, 96u8, 178u8, 140u8, 200u8, 145u8, 13u8, 147u8, 216u8, 88u8,
|
||||
209u8,
|
||||
],
|
||||
)
|
||||
}
|
||||
@@ -41701,7 +41714,7 @@ pub mod api {
|
||||
#[doc = "**This function is deprecated: Use `limited_teleport_assets` instead.**"]
|
||||
#[doc = ""]
|
||||
#[doc = "Fee payment on the destination side is made from the asset in the `assets` vector of"]
|
||||
#[doc = "id `fee_asset_id`. The weight limit for fees is not provided and thus is unlimited,"]
|
||||
#[doc = "index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,"]
|
||||
#[doc = "with all fees taken as needed from the asset."]
|
||||
#[doc = ""]
|
||||
#[doc = "- `origin`: Must be capable of withdrawing the `assets` and executing XCM."]
|
||||
@@ -41712,22 +41725,22 @@ pub mod api {
|
||||
#[doc = " generally be an `AccountId32` value."]
|
||||
#[doc = "- `assets`: The assets to be withdrawn. This should include the assets used to pay the"]
|
||||
#[doc = " fee on the `dest` chain."]
|
||||
#[doc = "- `fee_asset_id`: Id of the asset from `assets` which should be used to pay fees."]
|
||||
#[doc = "- `fee_asset_item`: The index into `assets` of the item which should be used to pay"]
|
||||
#[doc = " fees."]
|
||||
pub struct TeleportAssets {
|
||||
pub dest: ::subxt::ext::subxt_core::alloc::boxed::Box<teleport_assets::Dest>,
|
||||
pub beneficiary:
|
||||
::subxt::ext::subxt_core::alloc::boxed::Box<teleport_assets::Beneficiary>,
|
||||
pub assets:
|
||||
::subxt::ext::subxt_core::alloc::boxed::Box<teleport_assets::Assets>,
|
||||
pub fee_asset_id:
|
||||
::subxt::ext::subxt_core::alloc::boxed::Box<teleport_assets::FeeAssetId>,
|
||||
pub fee_asset_item: teleport_assets::FeeAssetItem,
|
||||
}
|
||||
pub mod teleport_assets {
|
||||
use super::runtime_types;
|
||||
pub type Dest = runtime_types::xcm::VersionedLocation;
|
||||
pub type Beneficiary = runtime_types::xcm::VersionedLocation;
|
||||
pub type Assets = runtime_types::xcm::VersionedAssets;
|
||||
pub type FeeAssetId = runtime_types::xcm::VersionedAssetId;
|
||||
pub type FeeAssetItem = ::core::primitive::u32;
|
||||
}
|
||||
impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for TeleportAssets {
|
||||
const PALLET: &'static str = "XcmPallet";
|
||||
@@ -41761,7 +41774,7 @@ pub mod api {
|
||||
#[doc = "**This function is deprecated: Use `limited_reserve_transfer_assets` instead.**"]
|
||||
#[doc = ""]
|
||||
#[doc = "Fee payment on the destination side is made from the asset in the `assets` vector of"]
|
||||
#[doc = "id `fee_asset_id`. The weight limit for fees is not provided and thus is unlimited,"]
|
||||
#[doc = "index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,"]
|
||||
#[doc = "with all fees taken as needed from the asset."]
|
||||
#[doc = ""]
|
||||
#[doc = "- `origin`: Must be capable of withdrawing the `assets` and executing XCM."]
|
||||
@@ -41772,7 +41785,8 @@ pub mod api {
|
||||
#[doc = " generally be an `AccountId32` value."]
|
||||
#[doc = "- `assets`: The assets to be withdrawn. This should include the assets used to pay the"]
|
||||
#[doc = " fee on the `dest` (and possibly reserve) chains."]
|
||||
#[doc = "- `fee_asset_id`: Id of the asset from `assets` which should be used to pay fees."]
|
||||
#[doc = "- `fee_asset_item`: The index into `assets` of the item which should be used to pay"]
|
||||
#[doc = " fees."]
|
||||
pub struct ReserveTransferAssets {
|
||||
pub dest:
|
||||
::subxt::ext::subxt_core::alloc::boxed::Box<reserve_transfer_assets::Dest>,
|
||||
@@ -41782,16 +41796,14 @@ pub mod api {
|
||||
pub assets: ::subxt::ext::subxt_core::alloc::boxed::Box<
|
||||
reserve_transfer_assets::Assets,
|
||||
>,
|
||||
pub fee_asset_id: ::subxt::ext::subxt_core::alloc::boxed::Box<
|
||||
reserve_transfer_assets::FeeAssetId,
|
||||
>,
|
||||
pub fee_asset_item: reserve_transfer_assets::FeeAssetItem,
|
||||
}
|
||||
pub mod reserve_transfer_assets {
|
||||
use super::runtime_types;
|
||||
pub type Dest = runtime_types::xcm::VersionedLocation;
|
||||
pub type Beneficiary = runtime_types::xcm::VersionedLocation;
|
||||
pub type Assets = runtime_types::xcm::VersionedAssets;
|
||||
pub type FeeAssetId = runtime_types::xcm::VersionedAssetId;
|
||||
pub type FeeAssetItem = ::core::primitive::u32;
|
||||
}
|
||||
impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ReserveTransferAssets {
|
||||
const PALLET: &'static str = "XcmPallet";
|
||||
@@ -41971,7 +41983,7 @@ pub mod api {
|
||||
#[doc = " to mint and deposit reserve-based assets to `beneficiary`."]
|
||||
#[doc = ""]
|
||||
#[doc = "Fee payment on the destination side is made from the asset in the `assets` vector of"]
|
||||
#[doc = "id `fee_asset_id`, up to enough to pay for `weight_limit` of weight. If more weight"]
|
||||
#[doc = "index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight"]
|
||||
#[doc = "is needed than `weight_limit`, then the operation will fail and the sent assets may be"]
|
||||
#[doc = "at risk."]
|
||||
#[doc = ""]
|
||||
@@ -41983,7 +41995,8 @@ pub mod api {
|
||||
#[doc = " generally be an `AccountId32` value."]
|
||||
#[doc = "- `assets`: The assets to be withdrawn. This should include the assets used to pay the"]
|
||||
#[doc = " fee on the `dest` (and possibly reserve) chains."]
|
||||
#[doc = "- `fee_asset_id`: Id of the asset from `assets` which should be used to pay fees."]
|
||||
#[doc = "- `fee_asset_item`: The index into `assets` of the item which should be used to pay"]
|
||||
#[doc = " fees."]
|
||||
#[doc = "- `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase."]
|
||||
pub struct LimitedReserveTransferAssets {
|
||||
pub dest: ::subxt::ext::subxt_core::alloc::boxed::Box<
|
||||
@@ -41995,9 +42008,7 @@ pub mod api {
|
||||
pub assets: ::subxt::ext::subxt_core::alloc::boxed::Box<
|
||||
limited_reserve_transfer_assets::Assets,
|
||||
>,
|
||||
pub fee_asset_id: ::subxt::ext::subxt_core::alloc::boxed::Box<
|
||||
limited_reserve_transfer_assets::FeeAssetId,
|
||||
>,
|
||||
pub fee_asset_item: limited_reserve_transfer_assets::FeeAssetItem,
|
||||
pub weight_limit: limited_reserve_transfer_assets::WeightLimit,
|
||||
}
|
||||
pub mod limited_reserve_transfer_assets {
|
||||
@@ -42005,7 +42016,7 @@ pub mod api {
|
||||
pub type Dest = runtime_types::xcm::VersionedLocation;
|
||||
pub type Beneficiary = runtime_types::xcm::VersionedLocation;
|
||||
pub type Assets = runtime_types::xcm::VersionedAssets;
|
||||
pub type FeeAssetId = runtime_types::xcm::VersionedAssetId;
|
||||
pub type FeeAssetItem = ::core::primitive::u32;
|
||||
pub type WeightLimit = runtime_types::xcm::v3::WeightLimit;
|
||||
}
|
||||
impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for LimitedReserveTransferAssets {
|
||||
@@ -42026,7 +42037,7 @@ pub mod api {
|
||||
#[doc = "Teleport some assets from the local chain to some destination chain."]
|
||||
#[doc = ""]
|
||||
#[doc = "Fee payment on the destination side is made from the asset in the `assets` vector of"]
|
||||
#[doc = "id `fee_asset_id`, up to enough to pay for `weight_limit` of weight. If more weight"]
|
||||
#[doc = "index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight"]
|
||||
#[doc = "is needed than `weight_limit`, then the operation will fail and the sent assets may be"]
|
||||
#[doc = "at risk."]
|
||||
#[doc = ""]
|
||||
@@ -42038,7 +42049,8 @@ pub mod api {
|
||||
#[doc = " generally be an `AccountId32` value."]
|
||||
#[doc = "- `assets`: The assets to be withdrawn. This should include the assets used to pay the"]
|
||||
#[doc = " fee on the `dest` chain."]
|
||||
#[doc = "- `fee_asset_id`: Id of the asset from `assets` which should be used to pay fees."]
|
||||
#[doc = "- `fee_asset_item`: The index into `assets` of the item which should be used to pay"]
|
||||
#[doc = " fees."]
|
||||
#[doc = "- `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase."]
|
||||
pub struct LimitedTeleportAssets {
|
||||
pub dest:
|
||||
@@ -42049,9 +42061,7 @@ pub mod api {
|
||||
pub assets: ::subxt::ext::subxt_core::alloc::boxed::Box<
|
||||
limited_teleport_assets::Assets,
|
||||
>,
|
||||
pub fee_asset_id: ::subxt::ext::subxt_core::alloc::boxed::Box<
|
||||
limited_teleport_assets::FeeAssetId,
|
||||
>,
|
||||
pub fee_asset_item: limited_teleport_assets::FeeAssetItem,
|
||||
pub weight_limit: limited_teleport_assets::WeightLimit,
|
||||
}
|
||||
pub mod limited_teleport_assets {
|
||||
@@ -42059,7 +42069,7 @@ pub mod api {
|
||||
pub type Dest = runtime_types::xcm::VersionedLocation;
|
||||
pub type Beneficiary = runtime_types::xcm::VersionedLocation;
|
||||
pub type Assets = runtime_types::xcm::VersionedAssets;
|
||||
pub type FeeAssetId = runtime_types::xcm::VersionedAssetId;
|
||||
pub type FeeAssetItem = ::core::primitive::u32;
|
||||
pub type WeightLimit = runtime_types::xcm::v3::WeightLimit;
|
||||
}
|
||||
impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for LimitedTeleportAssets {
|
||||
@@ -42107,7 +42117,7 @@ pub mod api {
|
||||
#[doc = "destination or remote reserve, or through teleports."]
|
||||
#[doc = ""]
|
||||
#[doc = "Fee payment on the destination side is made from the asset in the `assets` vector of"]
|
||||
#[doc = "id `fee_asset_id` (hence referred to as `fees`), up to enough to pay for"]
|
||||
#[doc = "index `fee_asset_item` (hence referred to as `fees`), up to enough to pay for"]
|
||||
#[doc = "`weight_limit` of weight. If more weight is needed than `weight_limit`, then the"]
|
||||
#[doc = "operation will fail and the sent assets may be at risk."]
|
||||
#[doc = ""]
|
||||
@@ -42133,7 +42143,8 @@ pub mod api {
|
||||
#[doc = " generally be an `AccountId32` value."]
|
||||
#[doc = "- `assets`: The assets to be withdrawn. This should include the assets used to pay the"]
|
||||
#[doc = " fee on the `dest` (and possibly reserve) chains."]
|
||||
#[doc = "- `fee_asset_id`: Id of the asset from `assets` which should be used to pay fees."]
|
||||
#[doc = "- `fee_asset_item`: The index into `assets` of the item which should be used to pay"]
|
||||
#[doc = " fees."]
|
||||
#[doc = "- `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase."]
|
||||
pub struct TransferAssets {
|
||||
pub dest: ::subxt::ext::subxt_core::alloc::boxed::Box<transfer_assets::Dest>,
|
||||
@@ -42141,8 +42152,7 @@ pub mod api {
|
||||
::subxt::ext::subxt_core::alloc::boxed::Box<transfer_assets::Beneficiary>,
|
||||
pub assets:
|
||||
::subxt::ext::subxt_core::alloc::boxed::Box<transfer_assets::Assets>,
|
||||
pub fee_asset_id:
|
||||
::subxt::ext::subxt_core::alloc::boxed::Box<transfer_assets::FeeAssetId>,
|
||||
pub fee_asset_item: transfer_assets::FeeAssetItem,
|
||||
pub weight_limit: transfer_assets::WeightLimit,
|
||||
}
|
||||
pub mod transfer_assets {
|
||||
@@ -42150,7 +42160,7 @@ pub mod api {
|
||||
pub type Dest = runtime_types::xcm::VersionedLocation;
|
||||
pub type Beneficiary = runtime_types::xcm::VersionedLocation;
|
||||
pub type Assets = runtime_types::xcm::VersionedAssets;
|
||||
pub type FeeAssetId = runtime_types::xcm::VersionedAssetId;
|
||||
pub type FeeAssetItem = ::core::primitive::u32;
|
||||
pub type WeightLimit = runtime_types::xcm::v3::WeightLimit;
|
||||
}
|
||||
impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for TransferAssets {
|
||||
@@ -42392,7 +42402,7 @@ pub mod api {
|
||||
#[doc = "**This function is deprecated: Use `limited_teleport_assets` instead.**"]
|
||||
#[doc = ""]
|
||||
#[doc = "Fee payment on the destination side is made from the asset in the `assets` vector of"]
|
||||
#[doc = "id `fee_asset_id`. The weight limit for fees is not provided and thus is unlimited,"]
|
||||
#[doc = "index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,"]
|
||||
#[doc = "with all fees taken as needed from the asset."]
|
||||
#[doc = ""]
|
||||
#[doc = "- `origin`: Must be capable of withdrawing the `assets` and executing XCM."]
|
||||
@@ -42403,13 +42413,14 @@ pub mod api {
|
||||
#[doc = " generally be an `AccountId32` value."]
|
||||
#[doc = "- `assets`: The assets to be withdrawn. This should include the assets used to pay the"]
|
||||
#[doc = " fee on the `dest` chain."]
|
||||
#[doc = "- `fee_asset_id`: Id of the asset from `assets` which should be used to pay fees."]
|
||||
#[doc = "- `fee_asset_item`: The index into `assets` of the item which should be used to pay"]
|
||||
#[doc = " fees."]
|
||||
pub fn teleport_assets(
|
||||
&self,
|
||||
dest: types::teleport_assets::Dest,
|
||||
beneficiary: types::teleport_assets::Beneficiary,
|
||||
assets: types::teleport_assets::Assets,
|
||||
fee_asset_id: types::teleport_assets::FeeAssetId,
|
||||
fee_asset_item: types::teleport_assets::FeeAssetItem,
|
||||
) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload<types::TeleportAssets>
|
||||
{
|
||||
::subxt::ext::subxt_core::tx::payload::StaticPayload::new_static(
|
||||
@@ -42421,14 +42432,12 @@ pub mod api {
|
||||
beneficiary,
|
||||
),
|
||||
assets: ::subxt::ext::subxt_core::alloc::boxed::Box::new(assets),
|
||||
fee_asset_id: ::subxt::ext::subxt_core::alloc::boxed::Box::new(
|
||||
fee_asset_id,
|
||||
),
|
||||
fee_asset_item,
|
||||
},
|
||||
[
|
||||
105u8, 171u8, 39u8, 189u8, 158u8, 95u8, 0u8, 57u8, 181u8, 224u8, 114u8,
|
||||
247u8, 198u8, 255u8, 165u8, 155u8, 118u8, 220u8, 160u8, 82u8, 154u8,
|
||||
132u8, 22u8, 61u8, 113u8, 18u8, 46u8, 161u8, 204u8, 38u8, 84u8, 34u8,
|
||||
31u8, 60u8, 0u8, 220u8, 157u8, 38u8, 28u8, 140u8, 79u8, 243u8, 182u8,
|
||||
229u8, 158u8, 45u8, 213u8, 132u8, 149u8, 196u8, 212u8, 239u8, 23u8,
|
||||
19u8, 69u8, 27u8, 250u8, 110u8, 193u8, 60u8, 227u8, 252u8, 174u8, 35u8,
|
||||
],
|
||||
)
|
||||
}
|
||||
@@ -42449,7 +42458,7 @@ pub mod api {
|
||||
#[doc = "**This function is deprecated: Use `limited_reserve_transfer_assets` instead.**"]
|
||||
#[doc = ""]
|
||||
#[doc = "Fee payment on the destination side is made from the asset in the `assets` vector of"]
|
||||
#[doc = "id `fee_asset_id`. The weight limit for fees is not provided and thus is unlimited,"]
|
||||
#[doc = "index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,"]
|
||||
#[doc = "with all fees taken as needed from the asset."]
|
||||
#[doc = ""]
|
||||
#[doc = "- `origin`: Must be capable of withdrawing the `assets` and executing XCM."]
|
||||
@@ -42460,13 +42469,14 @@ pub mod api {
|
||||
#[doc = " generally be an `AccountId32` value."]
|
||||
#[doc = "- `assets`: The assets to be withdrawn. This should include the assets used to pay the"]
|
||||
#[doc = " fee on the `dest` (and possibly reserve) chains."]
|
||||
#[doc = "- `fee_asset_id`: Id of the asset from `assets` which should be used to pay fees."]
|
||||
#[doc = "- `fee_asset_item`: The index into `assets` of the item which should be used to pay"]
|
||||
#[doc = " fees."]
|
||||
pub fn reserve_transfer_assets(
|
||||
&self,
|
||||
dest: types::reserve_transfer_assets::Dest,
|
||||
beneficiary: types::reserve_transfer_assets::Beneficiary,
|
||||
assets: types::reserve_transfer_assets::Assets,
|
||||
fee_asset_id: types::reserve_transfer_assets::FeeAssetId,
|
||||
fee_asset_item: types::reserve_transfer_assets::FeeAssetItem,
|
||||
) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload<
|
||||
types::ReserveTransferAssets,
|
||||
> {
|
||||
@@ -42479,15 +42489,13 @@ pub mod api {
|
||||
beneficiary,
|
||||
),
|
||||
assets: ::subxt::ext::subxt_core::alloc::boxed::Box::new(assets),
|
||||
fee_asset_id: ::subxt::ext::subxt_core::alloc::boxed::Box::new(
|
||||
fee_asset_id,
|
||||
),
|
||||
fee_asset_item,
|
||||
},
|
||||
[
|
||||
62u8, 243u8, 101u8, 225u8, 210u8, 125u8, 241u8, 149u8, 239u8, 61u8,
|
||||
208u8, 195u8, 41u8, 45u8, 242u8, 116u8, 71u8, 125u8, 190u8, 217u8,
|
||||
46u8, 58u8, 236u8, 11u8, 255u8, 190u8, 232u8, 112u8, 77u8, 106u8,
|
||||
125u8, 212u8,
|
||||
76u8, 122u8, 201u8, 193u8, 160u8, 210u8, 58u8, 150u8, 236u8, 130u8,
|
||||
225u8, 28u8, 35u8, 9u8, 206u8, 235u8, 14u8, 101u8, 193u8, 118u8, 145u8,
|
||||
230u8, 112u8, 65u8, 172u8, 251u8, 62u8, 64u8, 130u8, 223u8, 153u8,
|
||||
139u8,
|
||||
],
|
||||
)
|
||||
}
|
||||
@@ -42633,7 +42641,7 @@ pub mod api {
|
||||
#[doc = " to mint and deposit reserve-based assets to `beneficiary`."]
|
||||
#[doc = ""]
|
||||
#[doc = "Fee payment on the destination side is made from the asset in the `assets` vector of"]
|
||||
#[doc = "id `fee_asset_id`, up to enough to pay for `weight_limit` of weight. If more weight"]
|
||||
#[doc = "index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight"]
|
||||
#[doc = "is needed than `weight_limit`, then the operation will fail and the sent assets may be"]
|
||||
#[doc = "at risk."]
|
||||
#[doc = ""]
|
||||
@@ -42645,14 +42653,15 @@ pub mod api {
|
||||
#[doc = " generally be an `AccountId32` value."]
|
||||
#[doc = "- `assets`: The assets to be withdrawn. This should include the assets used to pay the"]
|
||||
#[doc = " fee on the `dest` (and possibly reserve) chains."]
|
||||
#[doc = "- `fee_asset_id`: Id of the asset from `assets` which should be used to pay fees."]
|
||||
#[doc = "- `fee_asset_item`: The index into `assets` of the item which should be used to pay"]
|
||||
#[doc = " fees."]
|
||||
#[doc = "- `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase."]
|
||||
pub fn limited_reserve_transfer_assets(
|
||||
&self,
|
||||
dest: types::limited_reserve_transfer_assets::Dest,
|
||||
beneficiary: types::limited_reserve_transfer_assets::Beneficiary,
|
||||
assets: types::limited_reserve_transfer_assets::Assets,
|
||||
fee_asset_id: types::limited_reserve_transfer_assets::FeeAssetId,
|
||||
fee_asset_item: types::limited_reserve_transfer_assets::FeeAssetItem,
|
||||
weight_limit: types::limited_reserve_transfer_assets::WeightLimit,
|
||||
) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload<
|
||||
types::LimitedReserveTransferAssets,
|
||||
@@ -42666,22 +42675,20 @@ pub mod api {
|
||||
beneficiary,
|
||||
),
|
||||
assets: ::subxt::ext::subxt_core::alloc::boxed::Box::new(assets),
|
||||
fee_asset_id: ::subxt::ext::subxt_core::alloc::boxed::Box::new(
|
||||
fee_asset_id,
|
||||
),
|
||||
fee_asset_item,
|
||||
weight_limit,
|
||||
},
|
||||
[
|
||||
199u8, 125u8, 158u8, 232u8, 236u8, 3u8, 16u8, 44u8, 18u8, 119u8, 43u8,
|
||||
14u8, 137u8, 54u8, 183u8, 56u8, 98u8, 82u8, 12u8, 4u8, 102u8, 146u8,
|
||||
61u8, 95u8, 182u8, 178u8, 152u8, 13u8, 127u8, 244u8, 174u8, 119u8,
|
||||
72u8, 168u8, 103u8, 54u8, 253u8, 3u8, 152u8, 167u8, 60u8, 214u8, 24u8,
|
||||
47u8, 179u8, 36u8, 251u8, 15u8, 213u8, 191u8, 95u8, 128u8, 93u8, 42u8,
|
||||
205u8, 37u8, 214u8, 170u8, 241u8, 71u8, 176u8, 11u8, 43u8, 74u8,
|
||||
],
|
||||
)
|
||||
}
|
||||
#[doc = "Teleport some assets from the local chain to some destination chain."]
|
||||
#[doc = ""]
|
||||
#[doc = "Fee payment on the destination side is made from the asset in the `assets` vector of"]
|
||||
#[doc = "id `fee_asset_id`, up to enough to pay for `weight_limit` of weight. If more weight"]
|
||||
#[doc = "index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight"]
|
||||
#[doc = "is needed than `weight_limit`, then the operation will fail and the sent assets may be"]
|
||||
#[doc = "at risk."]
|
||||
#[doc = ""]
|
||||
@@ -42693,14 +42700,15 @@ pub mod api {
|
||||
#[doc = " generally be an `AccountId32` value."]
|
||||
#[doc = "- `assets`: The assets to be withdrawn. This should include the assets used to pay the"]
|
||||
#[doc = " fee on the `dest` chain."]
|
||||
#[doc = "- `fee_asset_id`: Id of the asset from `assets` which should be used to pay fees."]
|
||||
#[doc = "- `fee_asset_item`: The index into `assets` of the item which should be used to pay"]
|
||||
#[doc = " fees."]
|
||||
#[doc = "- `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase."]
|
||||
pub fn limited_teleport_assets(
|
||||
&self,
|
||||
dest: types::limited_teleport_assets::Dest,
|
||||
beneficiary: types::limited_teleport_assets::Beneficiary,
|
||||
assets: types::limited_teleport_assets::Assets,
|
||||
fee_asset_id: types::limited_teleport_assets::FeeAssetId,
|
||||
fee_asset_item: types::limited_teleport_assets::FeeAssetItem,
|
||||
weight_limit: types::limited_teleport_assets::WeightLimit,
|
||||
) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload<
|
||||
types::LimitedTeleportAssets,
|
||||
@@ -42714,15 +42722,13 @@ pub mod api {
|
||||
beneficiary,
|
||||
),
|
||||
assets: ::subxt::ext::subxt_core::alloc::boxed::Box::new(assets),
|
||||
fee_asset_id: ::subxt::ext::subxt_core::alloc::boxed::Box::new(
|
||||
fee_asset_id,
|
||||
),
|
||||
fee_asset_item,
|
||||
weight_limit,
|
||||
},
|
||||
[
|
||||
214u8, 93u8, 106u8, 233u8, 91u8, 97u8, 220u8, 66u8, 184u8, 25u8, 36u8,
|
||||
14u8, 197u8, 40u8, 250u8, 212u8, 41u8, 134u8, 249u8, 170u8, 210u8, 3u8,
|
||||
178u8, 81u8, 228u8, 227u8, 96u8, 130u8, 154u8, 60u8, 235u8, 175u8,
|
||||
56u8, 190u8, 251u8, 133u8, 34u8, 100u8, 32u8, 57u8, 114u8, 73u8, 153u8,
|
||||
74u8, 178u8, 228u8, 239u8, 87u8, 242u8, 202u8, 56u8, 66u8, 22u8, 216u8,
|
||||
113u8, 25u8, 233u8, 238u8, 164u8, 76u8, 144u8, 204u8, 219u8, 91u8,
|
||||
],
|
||||
)
|
||||
}
|
||||
@@ -42750,7 +42756,7 @@ pub mod api {
|
||||
#[doc = "destination or remote reserve, or through teleports."]
|
||||
#[doc = ""]
|
||||
#[doc = "Fee payment on the destination side is made from the asset in the `assets` vector of"]
|
||||
#[doc = "id `fee_asset_id` (hence referred to as `fees`), up to enough to pay for"]
|
||||
#[doc = "index `fee_asset_item` (hence referred to as `fees`), up to enough to pay for"]
|
||||
#[doc = "`weight_limit` of weight. If more weight is needed than `weight_limit`, then the"]
|
||||
#[doc = "operation will fail and the sent assets may be at risk."]
|
||||
#[doc = ""]
|
||||
@@ -42776,14 +42782,15 @@ pub mod api {
|
||||
#[doc = " generally be an `AccountId32` value."]
|
||||
#[doc = "- `assets`: The assets to be withdrawn. This should include the assets used to pay the"]
|
||||
#[doc = " fee on the `dest` (and possibly reserve) chains."]
|
||||
#[doc = "- `fee_asset_id`: Id of the asset from `assets` which should be used to pay fees."]
|
||||
#[doc = "- `fee_asset_item`: The index into `assets` of the item which should be used to pay"]
|
||||
#[doc = " fees."]
|
||||
#[doc = "- `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase."]
|
||||
pub fn transfer_assets(
|
||||
&self,
|
||||
dest: types::transfer_assets::Dest,
|
||||
beneficiary: types::transfer_assets::Beneficiary,
|
||||
assets: types::transfer_assets::Assets,
|
||||
fee_asset_id: types::transfer_assets::FeeAssetId,
|
||||
fee_asset_item: types::transfer_assets::FeeAssetItem,
|
||||
weight_limit: types::transfer_assets::WeightLimit,
|
||||
) -> ::subxt::ext::subxt_core::tx::payload::StaticPayload<types::TransferAssets>
|
||||
{
|
||||
@@ -42796,16 +42803,13 @@ pub mod api {
|
||||
beneficiary,
|
||||
),
|
||||
assets: ::subxt::ext::subxt_core::alloc::boxed::Box::new(assets),
|
||||
fee_asset_id: ::subxt::ext::subxt_core::alloc::boxed::Box::new(
|
||||
fee_asset_id,
|
||||
),
|
||||
fee_asset_item,
|
||||
weight_limit,
|
||||
},
|
||||
[
|
||||
110u8, 202u8, 0u8, 240u8, 197u8, 131u8, 66u8, 82u8, 15u8, 151u8, 187u8,
|
||||
140u8, 138u8, 254u8, 115u8, 255u8, 17u8, 83u8, 37u8, 253u8, 175u8,
|
||||
129u8, 209u8, 187u8, 184u8, 132u8, 32u8, 213u8, 39u8, 87u8, 42u8,
|
||||
121u8,
|
||||
204u8, 118u8, 44u8, 144u8, 51u8, 77u8, 235u8, 235u8, 86u8, 166u8, 92u8,
|
||||
106u8, 197u8, 151u8, 154u8, 136u8, 137u8, 206u8, 111u8, 118u8, 94u8,
|
||||
22u8, 7u8, 21u8, 13u8, 169u8, 214u8, 87u8, 84u8, 140u8, 6u8, 54u8,
|
||||
],
|
||||
)
|
||||
}
|
||||
@@ -47175,10 +47179,10 @@ pub mod api {
|
||||
call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call),
|
||||
},
|
||||
[
|
||||
34u8, 213u8, 211u8, 208u8, 162u8, 172u8, 152u8, 71u8, 31u8, 45u8,
|
||||
252u8, 217u8, 71u8, 253u8, 154u8, 242u8, 233u8, 5u8, 189u8, 51u8,
|
||||
129u8, 216u8, 50u8, 195u8, 34u8, 244u8, 13u8, 180u8, 46u8, 30u8, 70u8,
|
||||
128u8,
|
||||
13u8, 234u8, 7u8, 113u8, 77u8, 58u8, 175u8, 47u8, 188u8, 116u8, 191u8,
|
||||
230u8, 105u8, 100u8, 178u8, 17u8, 205u8, 162u8, 164u8, 134u8, 72u8,
|
||||
81u8, 187u8, 222u8, 240u8, 32u8, 91u8, 242u8, 209u8, 84u8, 125u8,
|
||||
116u8,
|
||||
],
|
||||
)
|
||||
}
|
||||
@@ -47201,10 +47205,9 @@ pub mod api {
|
||||
weight,
|
||||
},
|
||||
[
|
||||
59u8, 57u8, 224u8, 163u8, 26u8, 56u8, 134u8, 70u8, 86u8, 43u8, 173u8,
|
||||
111u8, 77u8, 76u8, 119u8, 102u8, 239u8, 196u8, 103u8, 104u8, 12u8,
|
||||
247u8, 144u8, 143u8, 117u8, 95u8, 230u8, 134u8, 107u8, 177u8, 228u8,
|
||||
154u8,
|
||||
186u8, 38u8, 165u8, 213u8, 119u8, 35u8, 120u8, 14u8, 212u8, 253u8,
|
||||
10u8, 71u8, 69u8, 120u8, 146u8, 26u8, 154u8, 94u8, 128u8, 79u8, 55u8,
|
||||
104u8, 246u8, 99u8, 40u8, 93u8, 228u8, 139u8, 223u8, 8u8, 90u8, 199u8,
|
||||
],
|
||||
)
|
||||
}
|
||||
@@ -47244,10 +47247,9 @@ pub mod api {
|
||||
call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call),
|
||||
},
|
||||
[
|
||||
29u8, 2u8, 206u8, 118u8, 253u8, 133u8, 5u8, 120u8, 243u8, 251u8, 240u8,
|
||||
19u8, 170u8, 116u8, 184u8, 7u8, 187u8, 196u8, 255u8, 139u8, 114u8,
|
||||
106u8, 119u8, 181u8, 221u8, 230u8, 103u8, 164u8, 229u8, 11u8, 75u8,
|
||||
40u8,
|
||||
19u8, 27u8, 169u8, 165u8, 246u8, 113u8, 53u8, 175u8, 30u8, 140u8,
|
||||
153u8, 169u8, 69u8, 59u8, 43u8, 225u8, 24u8, 181u8, 222u8, 47u8, 155u8,
|
||||
17u8, 132u8, 210u8, 29u8, 50u8, 196u8, 130u8, 157u8, 94u8, 174u8, 55u8,
|
||||
],
|
||||
)
|
||||
}
|
||||
@@ -54328,7 +54330,10 @@ pub mod api {
|
||||
>,
|
||||
},
|
||||
#[codec(index = 1)]
|
||||
#[doc = "Cancel an anonymously scheduled task."]
|
||||
#[doc = "Cancel a scheduled task (named or anonymous), by providing the block it is scheduled for"]
|
||||
#[doc = "execution in, as well as the index of the task in that block's agenda."]
|
||||
#[doc = ""]
|
||||
#[doc = "In the case of a named task, it will remove it from the lookup table as well."]
|
||||
cancel {
|
||||
when: ::core::primitive::u32,
|
||||
index: ::core::primitive::u32,
|
||||
@@ -54392,6 +54397,8 @@ pub mod api {
|
||||
#[doc = "clones of the original task. Their retry configuration will be derived from the"]
|
||||
#[doc = "original task's configuration, but will have a lower value for `remaining` than the"]
|
||||
#[doc = "original `total_retries`."]
|
||||
#[doc = ""]
|
||||
#[doc = "This call **cannot** be used to set a retry configuration for a named task."]
|
||||
set_retry {
|
||||
task: (::core::primitive::u32, ::core::primitive::u32),
|
||||
retries: ::core::primitive::u8,
|
||||
@@ -54410,6 +54417,8 @@ pub mod api {
|
||||
#[doc = "clones of the original task. Their retry configuration will be derived from the"]
|
||||
#[doc = "original task's configuration, but will have a lower value for `remaining` than the"]
|
||||
#[doc = "original `total_retries`."]
|
||||
#[doc = ""]
|
||||
#[doc = "This is the only way to set a retry configuration for a named task."]
|
||||
set_retry_named {
|
||||
id: [::core::primitive::u8; 32usize],
|
||||
retries: ::core::primitive::u8,
|
||||
@@ -56890,7 +56899,7 @@ pub mod api {
|
||||
)]
|
||||
#[doc = "Contains a variant per dispatchable extrinsic that this pallet has."]
|
||||
pub enum Call {
|
||||
# [codec (index = 0)] send { dest : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , message : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedXcm > , } , # [codec (index = 1)] # [doc = "Teleport some assets from the local chain to some destination chain."] # [doc = ""] # [doc = "**This function is deprecated: Use `limited_teleport_assets` instead.**"] # [doc = ""] # [doc = "Fee payment on the destination side is made from the asset in the `assets` vector of"] # [doc = "id `fee_asset_id`. The weight limit for fees is not provided and thus is unlimited,"] # [doc = "with all fees taken as needed from the asset."] # [doc = ""] # [doc = "- `origin`: Must be capable of withdrawing the `assets` and executing XCM."] # [doc = "- `dest`: Destination context for the assets. Will typically be `[Parent,"] # [doc = " Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from"] # [doc = " relay to parachain."] # [doc = "- `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will"] # [doc = " generally be an `AccountId32` value."] # [doc = "- `assets`: The assets to be withdrawn. This should include the assets used to pay the"] # [doc = " fee on the `dest` chain."] # [doc = "- `fee_asset_id`: Id of the asset from `assets` which should be used to pay fees."] teleport_assets { dest : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , beneficiary : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , assets : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedAssets > , fee_asset_id : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedAssetId > , } , # [codec (index = 2)] # [doc = "Transfer some assets from the local chain to the destination chain through their local,"] # [doc = "destination or remote reserve."] # [doc = ""] # [doc = "`assets` must have same reserve location and may not be teleportable to `dest`."] # [doc = " - `assets` have local reserve: transfer assets to sovereign account of destination"] # [doc = " chain and forward a notification XCM to `dest` to mint and deposit reserve-based"] # [doc = " assets to `beneficiary`."] # [doc = " - `assets` have destination reserve: burn local assets and forward a notification to"] # [doc = " `dest` chain to withdraw the reserve assets from this chain's sovereign account and"] # [doc = " deposit them to `beneficiary`."] # [doc = " - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move"] # [doc = " reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest`"] # [doc = " to mint and deposit reserve-based assets to `beneficiary`."] # [doc = ""] # [doc = "**This function is deprecated: Use `limited_reserve_transfer_assets` instead.**"] # [doc = ""] # [doc = "Fee payment on the destination side is made from the asset in the `assets` vector of"] # [doc = "id `fee_asset_id`. The weight limit for fees is not provided and thus is unlimited,"] # [doc = "with all fees taken as needed from the asset."] # [doc = ""] # [doc = "- `origin`: Must be capable of withdrawing the `assets` and executing XCM."] # [doc = "- `dest`: Destination context for the assets. Will typically be `[Parent,"] # [doc = " Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from"] # [doc = " relay to parachain."] # [doc = "- `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will"] # [doc = " generally be an `AccountId32` value."] # [doc = "- `assets`: The assets to be withdrawn. This should include the assets used to pay the"] # [doc = " fee on the `dest` (and possibly reserve) chains."] # [doc = "- `fee_asset_id`: Id of the asset from `assets` which should be used to pay fees."] reserve_transfer_assets { dest : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , beneficiary : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , assets : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedAssets > , fee_asset_id : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedAssetId > , } , # [codec (index = 3)] # [doc = "Execute an XCM message from a local, signed, origin."] # [doc = ""] # [doc = "An event is deposited indicating whether `msg` could be executed completely or only"] # [doc = "partially."] # [doc = ""] # [doc = "No more than `max_weight` will be used in its attempted execution. If this is less than"] # [doc = "the maximum amount of weight that the message could take to be executed, then no"] # [doc = "execution attempt will be made."] execute { messageLine truncated
|
||||
# [codec (index = 0)] send { dest : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , message : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedXcm > , } , # [codec (index = 1)] # [doc = "Teleport some assets from the local chain to some destination chain."] # [doc = ""] # [doc = "**This function is deprecated: Use `limited_teleport_assets` instead.**"] # [doc = ""] # [doc = "Fee payment on the destination side is made from the asset in the `assets` vector of"] # [doc = "index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,"] # [doc = "with all fees taken as needed from the asset."] # [doc = ""] # [doc = "- `origin`: Must be capable of withdrawing the `assets` and executing XCM."] # [doc = "- `dest`: Destination context for the assets. Will typically be `[Parent,"] # [doc = " Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from"] # [doc = " relay to parachain."] # [doc = "- `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will"] # [doc = " generally be an `AccountId32` value."] # [doc = "- `assets`: The assets to be withdrawn. This should include the assets used to pay the"] # [doc = " fee on the `dest` chain."] # [doc = "- `fee_asset_item`: The index into `assets` of the item which should be used to pay"] # [doc = " fees."] teleport_assets { dest : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , beneficiary : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , assets : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedAssets > , fee_asset_item : :: core :: primitive :: u32 , } , # [codec (index = 2)] # [doc = "Transfer some assets from the local chain to the destination chain through their local,"] # [doc = "destination or remote reserve."] # [doc = ""] # [doc = "`assets` must have same reserve location and may not be teleportable to `dest`."] # [doc = " - `assets` have local reserve: transfer assets to sovereign account of destination"] # [doc = " chain and forward a notification XCM to `dest` to mint and deposit reserve-based"] # [doc = " assets to `beneficiary`."] # [doc = " - `assets` have destination reserve: burn local assets and forward a notification to"] # [doc = " `dest` chain to withdraw the reserve assets from this chain's sovereign account and"] # [doc = " deposit them to `beneficiary`."] # [doc = " - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move"] # [doc = " reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest`"] # [doc = " to mint and deposit reserve-based assets to `beneficiary`."] # [doc = ""] # [doc = "**This function is deprecated: Use `limited_reserve_transfer_assets` instead.**"] # [doc = ""] # [doc = "Fee payment on the destination side is made from the asset in the `assets` vector of"] # [doc = "index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,"] # [doc = "with all fees taken as needed from the asset."] # [doc = ""] # [doc = "- `origin`: Must be capable of withdrawing the `assets` and executing XCM."] # [doc = "- `dest`: Destination context for the assets. Will typically be `[Parent,"] # [doc = " Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from"] # [doc = " relay to parachain."] # [doc = "- `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will"] # [doc = " generally be an `AccountId32` value."] # [doc = "- `assets`: The assets to be withdrawn. This should include the assets used to pay the"] # [doc = " fee on the `dest` (and possibly reserve) chains."] # [doc = "- `fee_asset_item`: The index into `assets` of the item which should be used to pay"] # [doc = " fees."] reserve_transfer_assets { dest : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , beneficiary : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedLocation > , assets : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VersionedAssets > , fee_asset_item : :: core :: primitive :: u32 , } , # [codec (index = 3)] # [doc = "Execute an XCM message from a local, signed, origin."] # [doc = ""] # [doc = "An event is deposited indicating whether `msg` could be executed completely or only"] # [doc = "partially."] # [doc = ""] # [doc = "No more than `max_weight` will be used in its attempted execution. If this is less than"] # [doc = "the maximum amount of weight that the message could take to be executed, then no"] # [doc = "execution attempt will be made."] execute { message : :: subxt :: ext :: subxt_core :: alloc :: boxed :: Box < runtime_types :: xcm :: VeLine truncated
|
||||
#[derive(
|
||||
:: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType,
|
||||
:: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType,
|
||||
|
||||
Reference in new issue
Block a user