@pezkuwi/api-augment 16.5.34 → 16.5.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (339) hide show
  1. package/package.json +13 -13
  2. package/build/LICENSE +0 -201
  3. package/build/README.md +0 -3
  4. package/build/assetHubDicle/consts.js +0 -2
  5. package/build/assetHubDicle/errors.js +0 -2
  6. package/build/assetHubDicle/events.js +0 -2
  7. package/build/assetHubDicle/index.js +0 -8
  8. package/build/assetHubDicle/query.js +0 -2
  9. package/build/assetHubDicle/registry.js +0 -1
  10. package/build/assetHubDicle/runtime.js +0 -2
  11. package/build/assetHubDicle/tx.js +0 -2
  12. package/build/assetHubPezkuwi/consts.js +0 -2
  13. package/build/assetHubPezkuwi/errors.js +0 -2
  14. package/build/assetHubPezkuwi/events.js +0 -2
  15. package/build/assetHubPezkuwi/index.js +0 -8
  16. package/build/assetHubPezkuwi/query.js +0 -2
  17. package/build/assetHubPezkuwi/registry.js +0 -1
  18. package/build/assetHubPezkuwi/runtime.js +0 -2
  19. package/build/assetHubPezkuwi/tx.js +0 -2
  20. package/build/base.js +0 -2
  21. package/build/bizinikiwi/consts.js +0 -2
  22. package/build/bizinikiwi/errors.js +0 -2
  23. package/build/bizinikiwi/events.js +0 -2
  24. package/build/bizinikiwi/index.js +0 -8
  25. package/build/bizinikiwi/query.js +0 -2
  26. package/build/bizinikiwi/registry.js +0 -1
  27. package/build/bizinikiwi/runtime.js +0 -2
  28. package/build/bizinikiwi/tx.js +0 -2
  29. package/build/bundle.js +0 -2
  30. package/build/cjs/assetHubDicle/consts.js +0 -4
  31. package/build/cjs/assetHubDicle/errors.js +0 -4
  32. package/build/cjs/assetHubDicle/events.js +0 -4
  33. package/build/cjs/assetHubDicle/index.js +0 -10
  34. package/build/cjs/assetHubDicle/query.js +0 -4
  35. package/build/cjs/assetHubDicle/registry.js +0 -3
  36. package/build/cjs/assetHubDicle/runtime.js +0 -4
  37. package/build/cjs/assetHubDicle/tx.js +0 -4
  38. package/build/cjs/assetHubPezkuwi/consts.js +0 -4
  39. package/build/cjs/assetHubPezkuwi/errors.js +0 -4
  40. package/build/cjs/assetHubPezkuwi/events.js +0 -4
  41. package/build/cjs/assetHubPezkuwi/index.js +0 -10
  42. package/build/cjs/assetHubPezkuwi/query.js +0 -4
  43. package/build/cjs/assetHubPezkuwi/registry.js +0 -3
  44. package/build/cjs/assetHubPezkuwi/runtime.js +0 -4
  45. package/build/cjs/assetHubPezkuwi/tx.js +0 -4
  46. package/build/cjs/base.d.ts +0 -2
  47. package/build/cjs/base.js +0 -4
  48. package/build/cjs/bizinikiwi/consts.d.ts +0 -1875
  49. package/build/cjs/bizinikiwi/consts.js +0 -4
  50. package/build/cjs/bizinikiwi/errors.d.ts +0 -3865
  51. package/build/cjs/bizinikiwi/errors.js +0 -4
  52. package/build/cjs/bizinikiwi/events.d.ts +0 -4702
  53. package/build/cjs/bizinikiwi/events.js +0 -4
  54. package/build/cjs/bizinikiwi/index.js +0 -10
  55. package/build/cjs/bizinikiwi/query.d.ts +0 -2767
  56. package/build/cjs/bizinikiwi/query.js +0 -4
  57. package/build/cjs/bizinikiwi/registry.d.ts +0 -1
  58. package/build/cjs/bizinikiwi/registry.js +0 -3
  59. package/build/cjs/bizinikiwi/runtime.d.ts +0 -585
  60. package/build/cjs/bizinikiwi/runtime.js +0 -4
  61. package/build/cjs/bizinikiwi/tx.d.ts +0 -8267
  62. package/build/cjs/bizinikiwi/tx.js +0 -4
  63. package/build/cjs/bundle.d.ts +0 -2
  64. package/build/cjs/bundle.js +0 -6
  65. package/build/cjs/dicle/consts.js +0 -4
  66. package/build/cjs/dicle/errors.js +0 -4
  67. package/build/cjs/dicle/events.js +0 -4
  68. package/build/cjs/dicle/query.js +0 -4
  69. package/build/cjs/dicle/runtime.js +0 -4
  70. package/build/cjs/dicle/tx.js +0 -4
  71. package/build/cjs/index.js +0 -5
  72. package/build/cjs/packageInfo.js +0 -4
  73. package/build/cjs/pezkuwi/consts.js +0 -4
  74. package/build/cjs/pezkuwi/errors.js +0 -4
  75. package/build/cjs/pezkuwi/events.js +0 -4
  76. package/build/cjs/pezkuwi/index.d.ts +0 -8
  77. package/build/cjs/pezkuwi/index.js +0 -10
  78. package/build/cjs/pezkuwi/query.js +0 -4
  79. package/build/cjs/pezkuwi/registry.js +0 -4
  80. package/build/cjs/pezkuwi/runtime.js +0 -4
  81. package/build/cjs/pezkuwi/tx.js +0 -4
  82. package/build/dicle/consts.js +0 -2
  83. package/build/dicle/errors.js +0 -2
  84. package/build/dicle/events.js +0 -2
  85. package/build/dicle/query.js +0 -2
  86. package/build/dicle/runtime.js +0 -2
  87. package/build/dicle/tx.js +0 -2
  88. package/build/index.d.ts +0 -2
  89. package/build/index.js +0 -2
  90. package/build/package.json +0 -460
  91. package/build/packageDetect.d.ts +0 -1
  92. package/build/packageDetect.js +0 -6
  93. package/build/packageInfo.d.ts +0 -6
  94. package/build/packageInfo.js +0 -1
  95. package/build/pezkuwi/consts.d.ts +0 -940
  96. package/build/pezkuwi/consts.js +0 -2
  97. package/build/pezkuwi/errors.d.ts +0 -2148
  98. package/build/pezkuwi/errors.js +0 -2
  99. package/build/pezkuwi/events.d.ts +0 -2473
  100. package/build/pezkuwi/events.js +0 -2
  101. package/build/pezkuwi/index.d.ts +0 -8
  102. package/build/pezkuwi/index.js +0 -8
  103. package/build/pezkuwi/query.d.ts +0 -2400
  104. package/build/pezkuwi/query.js +0 -2
  105. package/build/pezkuwi/registry.d.ts +0 -2
  106. package/build/pezkuwi/registry.js +0 -2
  107. package/build/pezkuwi/runtime.d.ts +0 -655
  108. package/build/pezkuwi/runtime.js +0 -2
  109. package/build/pezkuwi/tx.d.ts +0 -4464
  110. package/build/pezkuwi/tx.js +0 -2
  111. package/build-deno/README.md +0 -3
  112. package/build-deno/assetHubDicle/consts.ts +0 -1304
  113. package/build-deno/assetHubDicle/errors.ts +0 -2776
  114. package/build-deno/assetHubDicle/events.ts +0 -2292
  115. package/build-deno/assetHubDicle/index.ts +0 -9
  116. package/build-deno/assetHubDicle/query.ts +0 -2189
  117. package/build-deno/assetHubDicle/registry.ts +0 -2
  118. package/build-deno/assetHubDicle/runtime.ts +0 -515
  119. package/build-deno/assetHubDicle/tx.ts +0 -6886
  120. package/build-deno/assetHubPezkuwi/consts.ts +0 -1121
  121. package/build-deno/assetHubPezkuwi/errors.ts +0 -2357
  122. package/build-deno/assetHubPezkuwi/events.ts +0 -2125
  123. package/build-deno/assetHubPezkuwi/index.ts +0 -9
  124. package/build-deno/assetHubPezkuwi/query.ts +0 -1998
  125. package/build-deno/assetHubPezkuwi/registry.ts +0 -2
  126. package/build-deno/assetHubPezkuwi/runtime.ts +0 -440
  127. package/build-deno/assetHubPezkuwi/tx.ts +0 -6238
  128. package/build-deno/base.ts +0 -3
  129. package/build-deno/bizinikiwi/consts.ts +0 -1882
  130. package/build-deno/bizinikiwi/errors.ts +0 -3872
  131. package/build-deno/bizinikiwi/events.ts +0 -2886
  132. package/build-deno/bizinikiwi/index.ts +0 -9
  133. package/build-deno/bizinikiwi/query.ts +0 -2731
  134. package/build-deno/bizinikiwi/registry.ts +0 -2
  135. package/build-deno/bizinikiwi/runtime.ts +0 -590
  136. package/build-deno/bizinikiwi/tx.ts +0 -8205
  137. package/build-deno/bundle.ts +0 -4
  138. package/build-deno/dicle/consts.ts +0 -1031
  139. package/build-deno/dicle/errors.ts +0 -2433
  140. package/build-deno/dicle/events.ts +0 -1789
  141. package/build-deno/dicle/query.ts +0 -2503
  142. package/build-deno/dicle/runtime.ts +0 -607
  143. package/build-deno/dicle/tx.ts +0 -4723
  144. package/build-deno/index.ts +0 -4
  145. package/build-deno/mod.ts +0 -2
  146. package/build-deno/packageDetect.ts +0 -10
  147. package/build-deno/packageInfo.ts +0 -3
  148. package/build-deno/pezkuwi/consts.ts +0 -945
  149. package/build-deno/pezkuwi/errors.ts +0 -2153
  150. package/build-deno/pezkuwi/events.ts +0 -1598
  151. package/build-deno/pezkuwi/index.ts +0 -9
  152. package/build-deno/pezkuwi/query.ts +0 -2355
  153. package/build-deno/pezkuwi/registry.ts +0 -3
  154. package/build-deno/pezkuwi/runtime.ts +0 -618
  155. package/build-deno/pezkuwi/tx.ts +0 -4238
  156. package/build-tsc-cjs/packageDetect.js +0 -8
  157. package/src/assetHubDicle/consts.ts +0 -1307
  158. package/src/assetHubDicle/errors.ts +0 -2779
  159. package/src/assetHubDicle/events.ts +0 -2295
  160. package/src/assetHubDicle/index.ts +0 -11
  161. package/src/assetHubDicle/query.ts +0 -2192
  162. package/src/assetHubDicle/registry.ts +0 -4
  163. package/src/assetHubDicle/runtime.ts +0 -518
  164. package/src/assetHubDicle/tx.ts +0 -6889
  165. package/src/assetHubPezkuwi/consts.ts +0 -1124
  166. package/src/assetHubPezkuwi/errors.ts +0 -2360
  167. package/src/assetHubPezkuwi/events.ts +0 -2128
  168. package/src/assetHubPezkuwi/index.ts +0 -11
  169. package/src/assetHubPezkuwi/query.ts +0 -2001
  170. package/src/assetHubPezkuwi/registry.ts +0 -4
  171. package/src/assetHubPezkuwi/runtime.ts +0 -443
  172. package/src/assetHubPezkuwi/tx.ts +0 -6241
  173. package/src/base.ts +0 -6
  174. package/src/bizinikiwi/consts.ts +0 -1883
  175. package/src/bizinikiwi/errors.ts +0 -3873
  176. package/src/bizinikiwi/events.ts +0 -2889
  177. package/src/bizinikiwi/index.ts +0 -11
  178. package/src/bizinikiwi/query.ts +0 -2734
  179. package/src/bizinikiwi/registry.ts +0 -4
  180. package/src/bizinikiwi/runtime.ts +0 -593
  181. package/src/bizinikiwi/tx.ts +0 -8208
  182. package/src/bundle.ts +0 -6
  183. package/src/dicle/consts.ts +0 -1034
  184. package/src/dicle/errors.ts +0 -2436
  185. package/src/dicle/events.ts +0 -1790
  186. package/src/dicle/query.ts +0 -2504
  187. package/src/dicle/runtime.ts +0 -610
  188. package/src/dicle/tx.ts +0 -4724
  189. package/src/index.ts +0 -6
  190. package/src/mod.ts +0 -4
  191. package/src/packageDetect.ts +0 -14
  192. package/src/packageInfo.ts +0 -6
  193. package/src/pezkuwi/consts.ts +0 -948
  194. package/src/pezkuwi/errors.ts +0 -2156
  195. package/src/pezkuwi/events.ts +0 -1599
  196. package/src/pezkuwi/index.ts +0 -11
  197. package/src/pezkuwi/query.ts +0 -2356
  198. package/src/pezkuwi/registry.ts +0 -5
  199. package/src/pezkuwi/runtime.ts +0 -621
  200. package/src/pezkuwi/tx.ts +0 -4239
  201. package/tsconfig.assetHubPezkuwi.json +0 -22
  202. package/tsconfig.assetHubPezkuwi.tsbuildinfo +0 -1
  203. package/tsconfig.assetHubZagros.json +0 -22
  204. package/tsconfig.assetHubZagros.tsbuildinfo +0 -1
  205. package/tsconfig.build.json +0 -25
  206. package/tsconfig.build.tsbuildinfo +0 -1
  207. package/tsconfig.pezkuwi.json +0 -22
  208. package/tsconfig.pezkuwi.tsbuildinfo +0 -1
  209. package/tsconfig.zagros.json +0 -22
  210. package/tsconfig.zagros.tsbuildinfo +0 -1
  211. /package/{build-tsc-esm/assetHubDicle → assetHubDicle}/consts.js +0 -0
  212. /package/{build-tsc-esm/assetHubDicle → assetHubDicle}/errors.js +0 -0
  213. /package/{build-tsc-esm/assetHubDicle → assetHubDicle}/events.js +0 -0
  214. /package/{build-tsc-esm/assetHubDicle → assetHubDicle}/index.js +0 -0
  215. /package/{build-tsc-esm/assetHubDicle → assetHubDicle}/query.js +0 -0
  216. /package/{build-tsc-esm/assetHubDicle → assetHubDicle}/registry.js +0 -0
  217. /package/{build-tsc-esm/assetHubDicle → assetHubDicle}/runtime.js +0 -0
  218. /package/{build-tsc-esm/assetHubDicle → assetHubDicle}/tx.js +0 -0
  219. /package/{build-tsc-esm/assetHubPezkuwi → assetHubPezkuwi}/consts.js +0 -0
  220. /package/{build-tsc-esm/assetHubPezkuwi → assetHubPezkuwi}/errors.js +0 -0
  221. /package/{build-tsc-esm/assetHubPezkuwi → assetHubPezkuwi}/events.js +0 -0
  222. /package/{build-tsc-esm/assetHubPezkuwi → assetHubPezkuwi}/index.js +0 -0
  223. /package/{build-tsc-esm/assetHubPezkuwi → assetHubPezkuwi}/query.js +0 -0
  224. /package/{build-tsc-esm/assetHubPezkuwi → assetHubPezkuwi}/registry.js +0 -0
  225. /package/{build-tsc-esm/assetHubPezkuwi → assetHubPezkuwi}/runtime.js +0 -0
  226. /package/{build-tsc-esm/assetHubPezkuwi → assetHubPezkuwi}/tx.js +0 -0
  227. /package/{build-tsc/base.d.ts → base.d.ts} +0 -0
  228. /package/{build-tsc-esm/base.js → base.js} +0 -0
  229. /package/{build-tsc/bizinikiwi → bizinikiwi}/consts.d.ts +0 -0
  230. /package/{build-tsc-esm/bizinikiwi → bizinikiwi}/consts.js +0 -0
  231. /package/{build-tsc/bizinikiwi → bizinikiwi}/errors.d.ts +0 -0
  232. /package/{build-tsc-esm/bizinikiwi → bizinikiwi}/errors.js +0 -0
  233. /package/{build-tsc/bizinikiwi → bizinikiwi}/events.d.ts +0 -0
  234. /package/{build-tsc-esm/bizinikiwi → bizinikiwi}/events.js +0 -0
  235. /package/{build-tsc/bizinikiwi → bizinikiwi}/index.d.ts +0 -0
  236. /package/{build-tsc-esm/bizinikiwi → bizinikiwi}/index.js +0 -0
  237. /package/{build-tsc/bizinikiwi → bizinikiwi}/query.d.ts +0 -0
  238. /package/{build-tsc-esm/bizinikiwi → bizinikiwi}/query.js +0 -0
  239. /package/{build-tsc/bizinikiwi → bizinikiwi}/registry.d.ts +0 -0
  240. /package/{build-tsc-esm/bizinikiwi → bizinikiwi}/registry.js +0 -0
  241. /package/{build-tsc/bizinikiwi → bizinikiwi}/runtime.d.ts +0 -0
  242. /package/{build-tsc-esm/bizinikiwi → bizinikiwi}/runtime.js +0 -0
  243. /package/{build-tsc/bizinikiwi → bizinikiwi}/tx.d.ts +0 -0
  244. /package/{build-tsc-esm/bizinikiwi → bizinikiwi}/tx.js +0 -0
  245. /package/{build-tsc/bundle.d.ts → bundle.d.ts} +0 -0
  246. /package/{build-tsc-esm/bundle.js → bundle.js} +0 -0
  247. /package/{build-tsc-cjs → cjs}/assetHubDicle/consts.js +0 -0
  248. /package/{build-tsc-cjs → cjs}/assetHubDicle/errors.js +0 -0
  249. /package/{build-tsc-cjs → cjs}/assetHubDicle/events.js +0 -0
  250. /package/{build-tsc-cjs → cjs}/assetHubDicle/index.js +0 -0
  251. /package/{build-tsc-cjs → cjs}/assetHubDicle/query.js +0 -0
  252. /package/{build-tsc-cjs → cjs}/assetHubDicle/registry.js +0 -0
  253. /package/{build-tsc-cjs → cjs}/assetHubDicle/runtime.js +0 -0
  254. /package/{build-tsc-cjs → cjs}/assetHubDicle/tx.js +0 -0
  255. /package/{build-tsc-cjs → cjs}/assetHubPezkuwi/consts.js +0 -0
  256. /package/{build-tsc-cjs → cjs}/assetHubPezkuwi/errors.js +0 -0
  257. /package/{build-tsc-cjs → cjs}/assetHubPezkuwi/events.js +0 -0
  258. /package/{build-tsc-cjs → cjs}/assetHubPezkuwi/index.js +0 -0
  259. /package/{build-tsc-cjs → cjs}/assetHubPezkuwi/query.js +0 -0
  260. /package/{build-tsc-cjs → cjs}/assetHubPezkuwi/registry.js +0 -0
  261. /package/{build-tsc-cjs → cjs}/assetHubPezkuwi/runtime.js +0 -0
  262. /package/{build-tsc-cjs → cjs}/assetHubPezkuwi/tx.js +0 -0
  263. /package/{build → cjs}/base.d.ts +0 -0
  264. /package/{build-tsc-cjs → cjs}/base.js +0 -0
  265. /package/{build → cjs}/bizinikiwi/consts.d.ts +0 -0
  266. /package/{build-tsc-cjs → cjs}/bizinikiwi/consts.js +0 -0
  267. /package/{build → cjs}/bizinikiwi/errors.d.ts +0 -0
  268. /package/{build-tsc-cjs → cjs}/bizinikiwi/errors.js +0 -0
  269. /package/{build → cjs}/bizinikiwi/events.d.ts +0 -0
  270. /package/{build-tsc-cjs → cjs}/bizinikiwi/events.js +0 -0
  271. /package/{build-tsc/pezkuwi → cjs/bizinikiwi}/index.d.ts +0 -0
  272. /package/{build-tsc-cjs → cjs}/bizinikiwi/index.js +0 -0
  273. /package/{build → cjs}/bizinikiwi/query.d.ts +0 -0
  274. /package/{build-tsc-cjs → cjs}/bizinikiwi/query.js +0 -0
  275. /package/{build → cjs}/bizinikiwi/registry.d.ts +0 -0
  276. /package/{build-tsc-cjs → cjs}/bizinikiwi/registry.js +0 -0
  277. /package/{build → cjs}/bizinikiwi/runtime.d.ts +0 -0
  278. /package/{build-tsc-cjs → cjs}/bizinikiwi/runtime.js +0 -0
  279. /package/{build → cjs}/bizinikiwi/tx.d.ts +0 -0
  280. /package/{build-tsc-cjs → cjs}/bizinikiwi/tx.js +0 -0
  281. /package/{build → cjs}/bundle.d.ts +0 -0
  282. /package/{build-tsc-cjs → cjs}/bundle.js +0 -0
  283. /package/{build-tsc-cjs → cjs}/dicle/consts.js +0 -0
  284. /package/{build-tsc-cjs → cjs}/dicle/errors.js +0 -0
  285. /package/{build-tsc-cjs → cjs}/dicle/events.js +0 -0
  286. /package/{build-tsc-cjs → cjs}/dicle/query.js +0 -0
  287. /package/{build-tsc-cjs → cjs}/dicle/runtime.js +0 -0
  288. /package/{build-tsc-cjs → cjs}/dicle/tx.js +0 -0
  289. /package/{build-tsc → cjs}/index.d.ts +0 -0
  290. /package/{build-tsc-cjs → cjs}/index.js +0 -0
  291. /package/{build/cjs → cjs}/package.json +0 -0
  292. /package/{build-tsc → cjs}/packageDetect.d.ts +0 -0
  293. /package/{build/cjs → cjs}/packageDetect.js +0 -0
  294. /package/{build-tsc → cjs}/packageInfo.d.ts +0 -0
  295. /package/{build-tsc-cjs → cjs}/packageInfo.js +0 -0
  296. /package/{build-tsc → cjs}/pezkuwi/consts.d.ts +0 -0
  297. /package/{build-tsc-cjs → cjs}/pezkuwi/consts.js +0 -0
  298. /package/{build-tsc → cjs}/pezkuwi/errors.d.ts +0 -0
  299. /package/{build-tsc-cjs → cjs}/pezkuwi/errors.js +0 -0
  300. /package/{build-tsc → cjs}/pezkuwi/events.d.ts +0 -0
  301. /package/{build-tsc-cjs → cjs}/pezkuwi/events.js +0 -0
  302. /package/{build/bizinikiwi → cjs/pezkuwi}/index.d.ts +0 -0
  303. /package/{build-tsc-cjs → cjs}/pezkuwi/index.js +0 -0
  304. /package/{build-tsc → cjs}/pezkuwi/query.d.ts +0 -0
  305. /package/{build-tsc-cjs → cjs}/pezkuwi/query.js +0 -0
  306. /package/{build-tsc → cjs}/pezkuwi/registry.d.ts +0 -0
  307. /package/{build-tsc-cjs → cjs}/pezkuwi/registry.js +0 -0
  308. /package/{build-tsc → cjs}/pezkuwi/runtime.d.ts +0 -0
  309. /package/{build-tsc-cjs → cjs}/pezkuwi/runtime.js +0 -0
  310. /package/{build-tsc → cjs}/pezkuwi/tx.d.ts +0 -0
  311. /package/{build-tsc-cjs → cjs}/pezkuwi/tx.js +0 -0
  312. /package/{build-tsc-esm/dicle → dicle}/consts.js +0 -0
  313. /package/{build-tsc-esm/dicle → dicle}/errors.js +0 -0
  314. /package/{build-tsc-esm/dicle → dicle}/events.js +0 -0
  315. /package/{build-tsc-esm/dicle → dicle}/query.js +0 -0
  316. /package/{build-tsc-esm/dicle → dicle}/runtime.js +0 -0
  317. /package/{build-tsc-esm/dicle → dicle}/tx.js +0 -0
  318. /package/{build/cjs/index.d.ts → index.d.ts} +0 -0
  319. /package/{build-tsc-esm/index.js → index.js} +0 -0
  320. /package/{build/cjs/packageDetect.d.ts → packageDetect.d.ts} +0 -0
  321. /package/{build-tsc-esm/packageDetect.js → packageDetect.js} +0 -0
  322. /package/{build/cjs/packageInfo.d.ts → packageInfo.d.ts} +0 -0
  323. /package/{build-tsc-esm/packageInfo.js → packageInfo.js} +0 -0
  324. /package/{build/cjs/pezkuwi → pezkuwi}/consts.d.ts +0 -0
  325. /package/{build-tsc-esm/pezkuwi → pezkuwi}/consts.js +0 -0
  326. /package/{build/cjs/pezkuwi → pezkuwi}/errors.d.ts +0 -0
  327. /package/{build-tsc-esm/pezkuwi → pezkuwi}/errors.js +0 -0
  328. /package/{build/cjs/pezkuwi → pezkuwi}/events.d.ts +0 -0
  329. /package/{build-tsc-esm/pezkuwi → pezkuwi}/events.js +0 -0
  330. /package/{build/cjs/bizinikiwi → pezkuwi}/index.d.ts +0 -0
  331. /package/{build-tsc-esm/pezkuwi → pezkuwi}/index.js +0 -0
  332. /package/{build/cjs/pezkuwi → pezkuwi}/query.d.ts +0 -0
  333. /package/{build-tsc-esm/pezkuwi → pezkuwi}/query.js +0 -0
  334. /package/{build/cjs/pezkuwi → pezkuwi}/registry.d.ts +0 -0
  335. /package/{build-tsc-esm/pezkuwi → pezkuwi}/registry.js +0 -0
  336. /package/{build/cjs/pezkuwi → pezkuwi}/runtime.d.ts +0 -0
  337. /package/{build-tsc-esm/pezkuwi → pezkuwi}/runtime.js +0 -0
  338. /package/{build/cjs/pezkuwi → pezkuwi}/tx.d.ts +0 -0
  339. /package/{build-tsc-esm/pezkuwi → pezkuwi}/tx.js +0 -0
@@ -1,4464 +0,0 @@
1
- import '@pezkuwi/api-base/types/submittable';
2
- import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@pezkuwi/api-base/types';
3
- import type { Bytes, Compact, Option, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@pezkuwi/types-codec';
4
- import type { AnyNumber, IMethod, ITuple } from '@pezkuwi/types-codec/types';
5
- import type { AccountId, AccountIndex, Address, H256, LookupSource, RuntimeCall } from '@pezkuwi/types/interfaces/runtime';
6
- import type { PezframeSupportPreimagesBounded, PezframeSupportScheduleDispatchTime, PezkuwiPrimitivesV8ApprovalVotingParams, PezkuwiPrimitivesV8AsyncBackingAsyncBackingParams, PezkuwiPrimitivesV8ExecutorParams, PezkuwiPrimitivesV8PvfCheckStatement, PezkuwiPrimitivesV8SchedulerParams, PezkuwiPrimitivesV8ValidatorAppSignature, PezkuwiPrimitivesVstagingDisputeProof, PezkuwiPrimitivesVstagingInherentData, PezkuwiRuntimeCommonClaimsEcdsaSignature, PezkuwiRuntimeCommonClaimsEthereumAddress, PezkuwiRuntimeCommonClaimsStatementKind, PezkuwiRuntimeCommonImplsVersionedLocatableAsset, PezkuwiRuntimeConstantsProxyProxyType, PezkuwiRuntimeOriginCaller, PezkuwiRuntimeSessionKeys, PezkuwiRuntimeTeyrchainsInclusionAggregateMessageOrigin, PezkuwiTeyrchainPrimitivesPrimitivesHrmpChannelId, PezpalletBalancesAdjustmentDirection, PezpalletBrokerCoretimeInterfaceCoreAssignment, PezpalletConvictionVotingConviction, PezpalletConvictionVotingVoteAccountVote, PezpalletElectionProviderMultiPhaseRawSolution, PezpalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PezpalletMultisigTimepoint, PezpalletNominationPoolsBondExtra, PezpalletNominationPoolsClaimPermission, PezpalletNominationPoolsCommissionChangeRate, PezpalletNominationPoolsCommissionClaimPermission, PezpalletNominationPoolsConfigOpAccountId32, PezpalletNominationPoolsConfigOpPerbill, PezpalletNominationPoolsConfigOpU128, PezpalletNominationPoolsConfigOpU32, PezpalletNominationPoolsPoolState, PezpalletRcMigratorManagerMultisigVote, PezpalletRcMigratorMigrationSettings, PezpalletRcMigratorMigrationStage, PezpalletRcMigratorQueuePriority, PezpalletStakingAsyncAhClientOperatingMode, PezpalletStakingAsyncRcClientValidatorSetReport, PezpalletStakingPezpalletConfigOpPerbill, PezpalletStakingPezpalletConfigOpPercent, PezpalletStakingPezpalletConfigOpU128, PezpalletStakingPezpalletConfigOpU32, PezpalletStakingRewardDestination, PezpalletStakingUnlockChunk, PezpalletStakingValidatorPrefs, PezpalletStateTrieMigrationMigrationLimits, PezpalletStateTrieMigrationMigrationTask, PezpalletStateTrieMigrationProgress, PezpalletVestingVestingInfo, PezspConsensusBabeDigestsNextConfigDescriptor, PezspConsensusBeefyDoubleVotingProof, PezspConsensusBeefyForkVotingProofAncestryProof, PezspConsensusBeefyFutureBlockVotingProof, PezspConsensusGrandpaEquivocationProof, PezspConsensusSlotsEquivocationProof, PezspCoreCryptoAccountId32, PezspNposElectionsElectionScore, PezspNposElectionsSupport, PezspRuntimeMultiAddress, PezspRuntimeMultiSignature, PezspRuntimeMultiSigner, PezspSessionMembershipProof, PezspWeightsWeightV2Weight, StagingXcmExecutorAssetTransferTransferType, StagingXcmV5Location, StagingXcmV5Response, XcmV3WeightLimit, XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, XcmVersionedXcm } from '@pezkuwi/types/lookup';
7
- export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
8
- export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
9
- export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
10
- declare module '@pezkuwi/api-base/types/submittable' {
11
- interface AugmentedSubmittables<ApiType extends ApiTypes> {
12
- assetRate: {
13
- /**
14
- * Initialize a conversion rate to native balance for the given asset.
15
- *
16
- * ## Complexity
17
- * - O(1)
18
- **/
19
- create: AugmentedSubmittable<(assetKind: PezkuwiRuntimeCommonImplsVersionedLocatableAsset, rate: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezkuwiRuntimeCommonImplsVersionedLocatableAsset, u128]>;
20
- /**
21
- * Remove an existing conversion rate to native balance for the given asset.
22
- *
23
- * ## Complexity
24
- * - O(1)
25
- **/
26
- remove: AugmentedSubmittable<(assetKind: PezkuwiRuntimeCommonImplsVersionedLocatableAsset) => SubmittableExtrinsic<ApiType>, [PezkuwiRuntimeCommonImplsVersionedLocatableAsset]>;
27
- /**
28
- * Update the conversion rate to native balance for the given asset.
29
- *
30
- * ## Complexity
31
- * - O(1)
32
- **/
33
- update: AugmentedSubmittable<(assetKind: PezkuwiRuntimeCommonImplsVersionedLocatableAsset, rate: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezkuwiRuntimeCommonImplsVersionedLocatableAsset, u128]>;
34
- /**
35
- * Generic tx
36
- **/
37
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
38
- };
39
- auctions: {
40
- /**
41
- * Make a new bid from an account (including a parachain account) for deploying a new
42
- * parachain.
43
- *
44
- * Multiple simultaneous bids from the same bidder are allowed only as long as all active
45
- * bids overlap each other (i.e. are mutually exclusive). Bids cannot be redacted.
46
- *
47
- * - `sub` is the sub-bidder ID, allowing for multiple competing bids to be made by (and
48
- * funded by) the same account.
49
- * - `auction_index` is the index of the auction to bid on. Should just be the present
50
- * value of `AuctionCounter`.
51
- * - `first_slot` is the first lease period index of the range to bid on. This is the
52
- * absolute lease period index value, not an auction-specific offset.
53
- * - `last_slot` is the last lease period index of the range to bid on. This is the
54
- * absolute lease period index value, not an auction-specific offset.
55
- * - `amount` is the amount to bid to be held as deposit for the parachain should the
56
- * bid win. This amount is held throughout the range.
57
- **/
58
- bid: AugmentedSubmittable<(para: Compact<u32> | AnyNumber | Uint8Array, auctionIndex: Compact<u32> | AnyNumber | Uint8Array, firstSlot: Compact<u32> | AnyNumber | Uint8Array, lastSlot: Compact<u32> | AnyNumber | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u32>, Compact<u32>, Compact<u32>, Compact<u128>]>;
59
- /**
60
- * Cancel an in-progress auction.
61
- *
62
- * Can only be called by Root origin.
63
- **/
64
- cancelAuction: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
65
- /**
66
- * Create a new auction.
67
- *
68
- * This can only happen when there isn't already an auction in progress and may only be
69
- * called by the root origin. Accepts the `duration` of this auction and the
70
- * `lease_period_index` of the initial lease period of the four that are to be auctioned.
71
- **/
72
- newAuction: AugmentedSubmittable<(duration: Compact<u32> | AnyNumber | Uint8Array, leasePeriodIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u32>]>;
73
- /**
74
- * Generic tx
75
- **/
76
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
77
- };
78
- babe: {
79
- /**
80
- * Plan an epoch config change. The epoch config change is recorded and will be enacted on
81
- * the next call to `enact_epoch_change`. The config will be activated one epoch after.
82
- * Multiple calls to this method will replace any existing planned config change that had
83
- * not been enacted yet.
84
- **/
85
- planConfigChange: AugmentedSubmittable<(config: PezspConsensusBabeDigestsNextConfigDescriptor) => SubmittableExtrinsic<ApiType>, [PezspConsensusBabeDigestsNextConfigDescriptor]>;
86
- /**
87
- * Report authority equivocation/misbehavior. This method will verify
88
- * the equivocation proof and validate the given key ownership proof
89
- * against the extracted offender. If both are valid, the offence will
90
- * be reported.
91
- **/
92
- reportEquivocation: AugmentedSubmittable<(equivocationProof: PezspConsensusSlotsEquivocationProof, keyOwnerProof: PezspSessionMembershipProof) => SubmittableExtrinsic<ApiType>, [PezspConsensusSlotsEquivocationProof, PezspSessionMembershipProof]>;
93
- /**
94
- * Report authority equivocation/misbehavior. This method will verify
95
- * the equivocation proof and validate the given key ownership proof
96
- * against the extracted offender. If both are valid, the offence will
97
- * be reported.
98
- * This extrinsic must be called unsigned and it is expected that only
99
- * block authors will call it (validated in `ValidateUnsigned`), as such
100
- * if the block author is defined it will be defined as the equivocation
101
- * reporter.
102
- **/
103
- reportEquivocationUnsigned: AugmentedSubmittable<(equivocationProof: PezspConsensusSlotsEquivocationProof, keyOwnerProof: PezspSessionMembershipProof) => SubmittableExtrinsic<ApiType>, [PezspConsensusSlotsEquivocationProof, PezspSessionMembershipProof]>;
104
- /**
105
- * Generic tx
106
- **/
107
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
108
- };
109
- balances: {
110
- /**
111
- * Burn the specified liquid free balance from the origin account.
112
- *
113
- * If the origin's account ends up below the existential deposit as a result
114
- * of the burn and `keep_alive` is false, the account will be reaped.
115
- *
116
- * Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible,
117
- * this `burn` operation will reduce total issuance by the amount _burned_.
118
- **/
119
- burn: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, bool]>;
120
- /**
121
- * Adjust the total issuance in a saturating way.
122
- *
123
- * Can only be called by root and always needs a positive `delta`.
124
- *
125
- * # Example
126
- **/
127
- forceAdjustTotalIssuance: AugmentedSubmittable<(direction: PezpalletBalancesAdjustmentDirection, delta: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezpalletBalancesAdjustmentDirection, Compact<u128>]>;
128
- /**
129
- * Set the regular balance of a given account.
130
- *
131
- * The dispatch origin for this call is `root`.
132
- **/
133
- forceSetBalance: AugmentedSubmittable<(who: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, Compact<u128>]>;
134
- /**
135
- * Exactly as `transfer_allow_death`, except the origin must be root and the source account
136
- * may be specified.
137
- **/
138
- forceTransfer: AugmentedSubmittable<(source: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, dest: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, PezspRuntimeMultiAddress, Compact<u128>]>;
139
- /**
140
- * Unreserve some balance from a user by force.
141
- *
142
- * Can only be called by ROOT.
143
- **/
144
- forceUnreserve: AugmentedSubmittable<(who: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, u128]>;
145
- /**
146
- * Transfer the entire transferable balance from the caller account.
147
- *
148
- * NOTE: This function only attempts to transfer _transferable_ balances. This means that
149
- * any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be
150
- * transferred by this function. To ensure that this function results in a killed account,
151
- * you might need to prepare the account by removing any reference counters, storage
152
- * deposits, etc...
153
- *
154
- * The dispatch origin of this call must be Signed.
155
- *
156
- * - `dest`: The recipient of the transfer.
157
- * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
158
- * of the funds the account has, causing the sender account to be killed (false), or
159
- * transfer everything except at least the existential deposit, which will guarantee to
160
- * keep the sender account alive (true).
161
- **/
162
- transferAll: AugmentedSubmittable<(dest: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, bool]>;
163
- /**
164
- * Transfer some liquid free balance to another account.
165
- *
166
- * `transfer_allow_death` will set the `FreeBalance` of the sender and receiver.
167
- * If the sender's account is below the existential deposit as a result
168
- * of the transfer, the account will be reaped.
169
- *
170
- * The dispatch origin for this call must be `Signed` by the transactor.
171
- **/
172
- transferAllowDeath: AugmentedSubmittable<(dest: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, Compact<u128>]>;
173
- /**
174
- * Same as the [`transfer_allow_death`] call, but with a check that the transfer will not
175
- * kill the origin account.
176
- *
177
- * 99% of the time you want [`transfer_allow_death`] instead.
178
- *
179
- * [`transfer_allow_death`]: struct.Pallet.html#method.transfer
180
- **/
181
- transferKeepAlive: AugmentedSubmittable<(dest: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, Compact<u128>]>;
182
- /**
183
- * Upgrade a specified account.
184
- *
185
- * - `origin`: Must be `Signed`.
186
- * - `who`: The account to be upgraded.
187
- *
188
- * This will waive the transaction fee if at least all but 10% of the accounts needed to
189
- * be upgraded. (We let some not have to be upgraded just in order to allow for the
190
- * possibility of churn).
191
- **/
192
- upgradeAccounts: AugmentedSubmittable<(who: Vec<PezspCoreCryptoAccountId32> | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<PezspCoreCryptoAccountId32>]>;
193
- /**
194
- * Generic tx
195
- **/
196
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
197
- };
198
- beefy: {
199
- /**
200
- * Report voter equivocation/misbehavior. This method will verify the
201
- * equivocation proof and validate the given key ownership proof
202
- * against the extracted offender. If both are valid, the offence
203
- * will be reported.
204
- **/
205
- reportDoubleVoting: AugmentedSubmittable<(equivocationProof: PezspConsensusBeefyDoubleVotingProof, keyOwnerProof: PezspSessionMembershipProof) => SubmittableExtrinsic<ApiType>, [PezspConsensusBeefyDoubleVotingProof, PezspSessionMembershipProof]>;
206
- /**
207
- * Report voter equivocation/misbehavior. This method will verify the
208
- * equivocation proof and validate the given key ownership proof
209
- * against the extracted offender. If both are valid, the offence
210
- * will be reported.
211
- *
212
- * This extrinsic must be called unsigned and it is expected that only
213
- * block authors will call it (validated in `ValidateUnsigned`), as such
214
- * if the block author is defined it will be defined as the equivocation
215
- * reporter.
216
- **/
217
- reportDoubleVotingUnsigned: AugmentedSubmittable<(equivocationProof: PezspConsensusBeefyDoubleVotingProof, keyOwnerProof: PezspSessionMembershipProof) => SubmittableExtrinsic<ApiType>, [PezspConsensusBeefyDoubleVotingProof, PezspSessionMembershipProof]>;
218
- /**
219
- * Report fork voting equivocation. This method will verify the equivocation proof
220
- * and validate the given key ownership proof against the extracted offender.
221
- * If both are valid, the offence will be reported.
222
- **/
223
- reportForkVoting: AugmentedSubmittable<(equivocationProof: PezspConsensusBeefyForkVotingProofAncestryProof, keyOwnerProof: PezspSessionMembershipProof) => SubmittableExtrinsic<ApiType>, [PezspConsensusBeefyForkVotingProofAncestryProof, PezspSessionMembershipProof]>;
224
- /**
225
- * Report fork voting equivocation. This method will verify the equivocation proof
226
- * and validate the given key ownership proof against the extracted offender.
227
- * If both are valid, the offence will be reported.
228
- *
229
- * This extrinsic must be called unsigned and it is expected that only
230
- * block authors will call it (validated in `ValidateUnsigned`), as such
231
- * if the block author is defined it will be defined as the equivocation
232
- * reporter.
233
- **/
234
- reportForkVotingUnsigned: AugmentedSubmittable<(equivocationProof: PezspConsensusBeefyForkVotingProofAncestryProof, keyOwnerProof: PezspSessionMembershipProof) => SubmittableExtrinsic<ApiType>, [PezspConsensusBeefyForkVotingProofAncestryProof, PezspSessionMembershipProof]>;
235
- /**
236
- * Report future block voting equivocation. This method will verify the equivocation proof
237
- * and validate the given key ownership proof against the extracted offender.
238
- * If both are valid, the offence will be reported.
239
- **/
240
- reportFutureBlockVoting: AugmentedSubmittable<(equivocationProof: PezspConsensusBeefyFutureBlockVotingProof, keyOwnerProof: PezspSessionMembershipProof) => SubmittableExtrinsic<ApiType>, [PezspConsensusBeefyFutureBlockVotingProof, PezspSessionMembershipProof]>;
241
- /**
242
- * Report future block voting equivocation. This method will verify the equivocation proof
243
- * and validate the given key ownership proof against the extracted offender.
244
- * If both are valid, the offence will be reported.
245
- *
246
- * This extrinsic must be called unsigned and it is expected that only
247
- * block authors will call it (validated in `ValidateUnsigned`), as such
248
- * if the block author is defined it will be defined as the equivocation
249
- * reporter.
250
- **/
251
- reportFutureBlockVotingUnsigned: AugmentedSubmittable<(equivocationProof: PezspConsensusBeefyFutureBlockVotingProof, keyOwnerProof: PezspSessionMembershipProof) => SubmittableExtrinsic<ApiType>, [PezspConsensusBeefyFutureBlockVotingProof, PezspSessionMembershipProof]>;
252
- /**
253
- * Reset BEEFY consensus by setting a new BEEFY genesis at `delay_in_blocks` blocks in the
254
- * future.
255
- *
256
- * Note: `delay_in_blocks` has to be at least 1.
257
- **/
258
- setNewGenesis: AugmentedSubmittable<(delayInBlocks: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
259
- /**
260
- * Generic tx
261
- **/
262
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
263
- };
264
- bounties: {
265
- /**
266
- * Accept the curator role for a bounty.
267
- * A deposit will be reserved from curator and refund upon successful payout.
268
- *
269
- * May only be called from the curator.
270
- *
271
- * ## Complexity
272
- * - O(1).
273
- **/
274
- acceptCurator: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
275
- /**
276
- * Approve a bounty proposal. At a later time, the bounty will be funded and become active
277
- * and the original deposit will be returned.
278
- *
279
- * May only be called from `T::SpendOrigin`.
280
- *
281
- * ## Complexity
282
- * - O(1).
283
- **/
284
- approveBounty: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
285
- /**
286
- * Approve bountry and propose a curator simultaneously.
287
- * This call is a shortcut to calling `approve_bounty` and `propose_curator` separately.
288
- *
289
- * May only be called from `T::SpendOrigin`.
290
- *
291
- * - `bounty_id`: Bounty ID to approve.
292
- * - `curator`: The curator account whom will manage this bounty.
293
- * - `fee`: The curator fee.
294
- *
295
- * ## Complexity
296
- * - O(1).
297
- **/
298
- approveBountyWithCurator: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array, curator: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, fee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, PezspRuntimeMultiAddress, Compact<u128>]>;
299
- /**
300
- * Award bounty to a beneficiary account. The beneficiary will be able to claim the funds
301
- * after a delay.
302
- *
303
- * The dispatch origin for this call must be the curator of this bounty.
304
- *
305
- * - `bounty_id`: Bounty ID to award.
306
- * - `beneficiary`: The beneficiary account whom will receive the payout.
307
- *
308
- * ## Complexity
309
- * - O(1).
310
- **/
311
- awardBounty: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array, beneficiary: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, PezspRuntimeMultiAddress]>;
312
- /**
313
- * Claim the payout from an awarded bounty after payout delay.
314
- *
315
- * The dispatch origin for this call must be the beneficiary of this bounty.
316
- *
317
- * - `bounty_id`: Bounty ID to claim.
318
- *
319
- * ## Complexity
320
- * - O(1).
321
- **/
322
- claimBounty: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
323
- /**
324
- * Cancel a proposed or active bounty. All the funds will be sent to treasury and
325
- * the curator deposit will be unreserved if possible.
326
- *
327
- * Only `T::RejectOrigin` is able to cancel a bounty.
328
- *
329
- * - `bounty_id`: Bounty ID to cancel.
330
- *
331
- * ## Complexity
332
- * - O(1).
333
- **/
334
- closeBounty: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
335
- /**
336
- * Extend the expiry time of an active bounty.
337
- *
338
- * The dispatch origin for this call must be the curator of this bounty.
339
- *
340
- * - `bounty_id`: Bounty ID to extend.
341
- * - `remark`: additional information.
342
- *
343
- * ## Complexity
344
- * - O(1).
345
- **/
346
- extendBountyExpiry: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array, remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Bytes]>;
347
- /**
348
- * Poke the deposit reserved for creating a bounty proposal.
349
- *
350
- * This can be used by accounts to update their reserved amount.
351
- *
352
- * The dispatch origin for this call must be _Signed_.
353
- *
354
- * Parameters:
355
- * - `bounty_id`: The bounty id for which to adjust the deposit.
356
- *
357
- * If the deposit is updated, the difference will be reserved/unreserved from the
358
- * proposer's account.
359
- *
360
- * The transaction is made free if the deposit is updated and paid otherwise.
361
- *
362
- * Emits `DepositPoked` if the deposit is updated.
363
- **/
364
- pokeDeposit: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
365
- /**
366
- * Propose a new bounty.
367
- *
368
- * The dispatch origin for this call must be _Signed_.
369
- *
370
- * Payment: `TipReportDepositBase` will be reserved from the origin account, as well as
371
- * `DataDepositPerByte` for each byte in `reason`. It will be unreserved upon approval,
372
- * or slashed when rejected.
373
- *
374
- * - `curator`: The curator account whom will manage this bounty.
375
- * - `fee`: The curator fee.
376
- * - `value`: The total payment amount of this bounty, curator fee included.
377
- * - `description`: The description of this bounty.
378
- **/
379
- proposeBounty: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, description: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, Bytes]>;
380
- /**
381
- * Propose a curator to a funded bounty.
382
- *
383
- * May only be called from `T::SpendOrigin`.
384
- *
385
- * ## Complexity
386
- * - O(1).
387
- **/
388
- proposeCurator: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array, curator: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, fee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, PezspRuntimeMultiAddress, Compact<u128>]>;
389
- /**
390
- * Unassign curator from a bounty.
391
- *
392
- * This function can only be called by the `RejectOrigin` a signed origin.
393
- *
394
- * If this function is called by the `RejectOrigin`, we assume that the curator is
395
- * malicious or inactive. As a result, we will slash the curator when possible.
396
- *
397
- * If the origin is the curator, we take this as a sign they are unable to do their job and
398
- * they willingly give up. We could slash them, but for now we allow them to recover their
399
- * deposit and exit without issue. (We may want to change this if it is abused.)
400
- *
401
- * Finally, the origin can be anyone if and only if the curator is "inactive". This allows
402
- * anyone in the community to call out that a curator is not doing their due diligence, and
403
- * we should pick a new curator. In this case the curator should also be slashed.
404
- *
405
- * ## Complexity
406
- * - O(1).
407
- **/
408
- unassignCurator: AugmentedSubmittable<(bountyId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
409
- /**
410
- * Generic tx
411
- **/
412
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
413
- };
414
- childBounties: {
415
- /**
416
- * Accept the curator role for the child-bounty.
417
- *
418
- * The dispatch origin for this call must be the curator of this
419
- * child-bounty.
420
- *
421
- * A deposit will be reserved from the curator and refund upon
422
- * successful payout or cancellation.
423
- *
424
- * Fee for curator is deducted from curator fee of parent bounty.
425
- *
426
- * Parent bounty must be in active state, for this child-bounty call to
427
- * work.
428
- *
429
- * Child-bounty must be in "CuratorProposed" state, for processing the
430
- * call. And state of child-bounty is moved to "Active" on successful
431
- * call completion.
432
- *
433
- * - `parent_bounty_id`: Index of parent bounty.
434
- * - `child_bounty_id`: Index of child bounty.
435
- **/
436
- acceptCurator: AugmentedSubmittable<(parentBountyId: Compact<u32> | AnyNumber | Uint8Array, childBountyId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u32>]>;
437
- /**
438
- * Add a new child-bounty.
439
- *
440
- * The dispatch origin for this call must be the curator of parent
441
- * bounty and the parent bounty must be in "active" state.
442
- *
443
- * Child-bounty gets added successfully & fund gets transferred from
444
- * parent bounty to child-bounty account, if parent bounty has enough
445
- * funds, else the call fails.
446
- *
447
- * Upper bound to maximum number of active child bounties that can be
448
- * added are managed via runtime trait config
449
- * [`Config::MaxActiveChildBountyCount`].
450
- *
451
- * If the call is success, the status of child-bounty is updated to
452
- * "Added".
453
- *
454
- * - `parent_bounty_id`: Index of parent bounty for which child-bounty is being added.
455
- * - `value`: Value for executing the proposal.
456
- * - `description`: Text description for the child-bounty.
457
- **/
458
- addChildBounty: AugmentedSubmittable<(parentBountyId: Compact<u32> | AnyNumber | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, description: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>, Bytes]>;
459
- /**
460
- * Award child-bounty to a beneficiary.
461
- *
462
- * The beneficiary will be able to claim the funds after a delay.
463
- *
464
- * The dispatch origin for this call must be the parent curator or
465
- * curator of this child-bounty.
466
- *
467
- * Parent bounty must be in active state, for this child-bounty call to
468
- * work.
469
- *
470
- * Child-bounty must be in active state, for processing the call. And
471
- * state of child-bounty is moved to "PendingPayout" on successful call
472
- * completion.
473
- *
474
- * - `parent_bounty_id`: Index of parent bounty.
475
- * - `child_bounty_id`: Index of child bounty.
476
- * - `beneficiary`: Beneficiary account.
477
- **/
478
- awardChildBounty: AugmentedSubmittable<(parentBountyId: Compact<u32> | AnyNumber | Uint8Array, childBountyId: Compact<u32> | AnyNumber | Uint8Array, beneficiary: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u32>, PezspRuntimeMultiAddress]>;
479
- /**
480
- * Claim the payout from an awarded child-bounty after payout delay.
481
- *
482
- * The dispatch origin for this call may be any signed origin.
483
- *
484
- * Call works independent of parent bounty state, No need for parent
485
- * bounty to be in active state.
486
- *
487
- * The Beneficiary is paid out with agreed bounty value. Curator fee is
488
- * paid & curator deposit is unreserved.
489
- *
490
- * Child-bounty must be in "PendingPayout" state, for processing the
491
- * call. And instance of child-bounty is removed from the state on
492
- * successful call completion.
493
- *
494
- * - `parent_bounty_id`: Index of parent bounty.
495
- * - `child_bounty_id`: Index of child bounty.
496
- **/
497
- claimChildBounty: AugmentedSubmittable<(parentBountyId: Compact<u32> | AnyNumber | Uint8Array, childBountyId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u32>]>;
498
- /**
499
- * Cancel a proposed or active child-bounty. Child-bounty account funds
500
- * are transferred to parent bounty account. The child-bounty curator
501
- * deposit may be unreserved if possible.
502
- *
503
- * The dispatch origin for this call must be either parent curator or
504
- * `T::RejectOrigin`.
505
- *
506
- * If the state of child-bounty is `Active`, curator deposit is
507
- * unreserved.
508
- *
509
- * If the state of child-bounty is `PendingPayout`, call fails &
510
- * returns `PendingPayout` error.
511
- *
512
- * For the origin other than T::RejectOrigin, parent bounty must be in
513
- * active state, for this child-bounty call to work. For origin
514
- * T::RejectOrigin execution is forced.
515
- *
516
- * Instance of child-bounty is removed from the state on successful
517
- * call completion.
518
- *
519
- * - `parent_bounty_id`: Index of parent bounty.
520
- * - `child_bounty_id`: Index of child bounty.
521
- **/
522
- closeChildBounty: AugmentedSubmittable<(parentBountyId: Compact<u32> | AnyNumber | Uint8Array, childBountyId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u32>]>;
523
- /**
524
- * Propose curator for funded child-bounty.
525
- *
526
- * The dispatch origin for this call must be curator of parent bounty.
527
- *
528
- * Parent bounty must be in active state, for this child-bounty call to
529
- * work.
530
- *
531
- * Child-bounty must be in "Added" state, for processing the call. And
532
- * state of child-bounty is moved to "CuratorProposed" on successful
533
- * call completion.
534
- *
535
- * - `parent_bounty_id`: Index of parent bounty.
536
- * - `child_bounty_id`: Index of child bounty.
537
- * - `curator`: Address of child-bounty curator.
538
- * - `fee`: payment fee to child-bounty curator for execution.
539
- **/
540
- proposeCurator: AugmentedSubmittable<(parentBountyId: Compact<u32> | AnyNumber | Uint8Array, childBountyId: Compact<u32> | AnyNumber | Uint8Array, curator: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, fee: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u32>, PezspRuntimeMultiAddress, Compact<u128>]>;
541
- /**
542
- * Unassign curator from a child-bounty.
543
- *
544
- * The dispatch origin for this call can be either `RejectOrigin`, or
545
- * the curator of the parent bounty, or any signed origin.
546
- *
547
- * For the origin other than T::RejectOrigin and the child-bounty
548
- * curator, parent bounty must be in active state, for this call to
549
- * work. We allow child-bounty curator and T::RejectOrigin to execute
550
- * this call irrespective of the parent bounty state.
551
- *
552
- * If this function is called by the `RejectOrigin` or the
553
- * parent bounty curator, we assume that the child-bounty curator is
554
- * malicious or inactive. As a result, child-bounty curator deposit is
555
- * slashed.
556
- *
557
- * If the origin is the child-bounty curator, we take this as a sign
558
- * that they are unable to do their job, and are willingly giving up.
559
- * We could slash the deposit, but for now we allow them to unreserve
560
- * their deposit and exit without issue. (We may want to change this if
561
- * it is abused.)
562
- *
563
- * Finally, the origin can be anyone iff the child-bounty curator is
564
- * "inactive". Expiry update due of parent bounty is used to estimate
565
- * inactive state of child-bounty curator.
566
- *
567
- * This allows anyone in the community to call out that a child-bounty
568
- * curator is not doing their due diligence, and we should pick a new
569
- * one. In this case the child-bounty curator deposit is slashed.
570
- *
571
- * State of child-bounty is moved to Added state on successful call
572
- * completion.
573
- *
574
- * - `parent_bounty_id`: Index of parent bounty.
575
- * - `child_bounty_id`: Index of child bounty.
576
- **/
577
- unassignCurator: AugmentedSubmittable<(parentBountyId: Compact<u32> | AnyNumber | Uint8Array, childBountyId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u32>]>;
578
- /**
579
- * Generic tx
580
- **/
581
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
582
- };
583
- claims: {
584
- /**
585
- * Attest to a statement, needed to finalize the claims process.
586
- *
587
- * WARNING: Insecure unless your chain includes `PrevalidateAttests` as a
588
- * `TransactionExtension`.
589
- *
590
- * Unsigned Validation:
591
- * A call to attest is deemed valid if the sender has a `Preclaim` registered
592
- * and provides a `statement` which is expected for the account.
593
- *
594
- * Parameters:
595
- * - `statement`: The identity of the statement which is being attested to in the
596
- * signature.
597
- *
598
- * <weight>
599
- * The weight of this call is invariant over the input parameters.
600
- * Weight includes logic to do pre-validation on `attest` call.
601
- *
602
- * Total Complexity: O(1)
603
- * </weight>
604
- **/
605
- attest: AugmentedSubmittable<(statement: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
606
- /**
607
- * Make a claim to collect your DOTs.
608
- *
609
- * The dispatch origin for this call must be _None_.
610
- *
611
- * Unsigned Validation:
612
- * A call to claim is deemed valid if the signature provided matches
613
- * the expected signed message of:
614
- *
615
- * > Ethereum Signed Message:
616
- * > (configured prefix string)(address)
617
- *
618
- * and `address` matches the `dest` account.
619
- *
620
- * Parameters:
621
- * - `dest`: The destination account to payout the claim.
622
- * - `ethereum_signature`: The signature of an ethereum signed message matching the format
623
- * described above.
624
- *
625
- * <weight>
626
- * The weight of this call is invariant over the input parameters.
627
- * Weight includes logic to validate unsigned `claim` call.
628
- *
629
- * Total Complexity: O(1)
630
- * </weight>
631
- **/
632
- claim: AugmentedSubmittable<(dest: PezspCoreCryptoAccountId32 | string | Uint8Array, ethereumSignature: PezkuwiRuntimeCommonClaimsEcdsaSignature) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32, PezkuwiRuntimeCommonClaimsEcdsaSignature]>;
633
- /**
634
- * Make a claim to collect your DOTs by signing a statement.
635
- *
636
- * The dispatch origin for this call must be _None_.
637
- *
638
- * Unsigned Validation:
639
- * A call to `claim_attest` is deemed valid if the signature provided matches
640
- * the expected signed message of:
641
- *
642
- * > Ethereum Signed Message:
643
- * > (configured prefix string)(address)(statement)
644
- *
645
- * and `address` matches the `dest` account; the `statement` must match that which is
646
- * expected according to your purchase arrangement.
647
- *
648
- * Parameters:
649
- * - `dest`: The destination account to payout the claim.
650
- * - `ethereum_signature`: The signature of an ethereum signed message matching the format
651
- * described above.
652
- * - `statement`: The identity of the statement which is being attested to in the
653
- * signature.
654
- *
655
- * <weight>
656
- * The weight of this call is invariant over the input parameters.
657
- * Weight includes logic to validate unsigned `claim_attest` call.
658
- *
659
- * Total Complexity: O(1)
660
- * </weight>
661
- **/
662
- claimAttest: AugmentedSubmittable<(dest: PezspCoreCryptoAccountId32 | string | Uint8Array, ethereumSignature: PezkuwiRuntimeCommonClaimsEcdsaSignature, statement: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32, PezkuwiRuntimeCommonClaimsEcdsaSignature, Bytes]>;
663
- /**
664
- * Mint a new claim to collect DOTs.
665
- *
666
- * The dispatch origin for this call must be _Root_.
667
- *
668
- * Parameters:
669
- * - `who`: The Ethereum address allowed to collect this claim.
670
- * - `value`: The number of DOTs that will be claimed.
671
- * - `vesting_schedule`: An optional vesting schedule for these DOTs.
672
- *
673
- * <weight>
674
- * The weight of this call is invariant over the input parameters.
675
- * We assume worst case that both vesting and statement is being inserted.
676
- *
677
- * Total Complexity: O(1)
678
- * </weight>
679
- **/
680
- mintClaim: AugmentedSubmittable<(who: PezkuwiRuntimeCommonClaimsEthereumAddress, value: u128 | AnyNumber | Uint8Array, vestingSchedule: Option<ITuple<[u128, u128, u32]>> | null | Uint8Array | ITuple<[u128, u128, u32]> | [u128 | AnyNumber | Uint8Array, u128 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], statement: Option<PezkuwiRuntimeCommonClaimsStatementKind> | null | Uint8Array | PezkuwiRuntimeCommonClaimsStatementKind) => SubmittableExtrinsic<ApiType>, [PezkuwiRuntimeCommonClaimsEthereumAddress, u128, Option<ITuple<[u128, u128, u32]>>, Option<PezkuwiRuntimeCommonClaimsStatementKind>]>;
681
- moveClaim: AugmentedSubmittable<(old: PezkuwiRuntimeCommonClaimsEthereumAddress, updated: PezkuwiRuntimeCommonClaimsEthereumAddress, maybePreclaim: Option<PezspCoreCryptoAccountId32> | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezkuwiRuntimeCommonClaimsEthereumAddress, PezkuwiRuntimeCommonClaimsEthereumAddress, Option<PezspCoreCryptoAccountId32>]>;
682
- /**
683
- * Generic tx
684
- **/
685
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
686
- };
687
- configuration: {
688
- /**
689
- * Set approval-voting-params.
690
- **/
691
- setApprovalVotingParams: AugmentedSubmittable<(updated: PezkuwiPrimitivesV8ApprovalVotingParams) => SubmittableExtrinsic<ApiType>, [PezkuwiPrimitivesV8ApprovalVotingParams]>;
692
- /**
693
- * Set the asynchronous backing parameters.
694
- **/
695
- setAsyncBackingParams: AugmentedSubmittable<(updated: PezkuwiPrimitivesV8AsyncBackingAsyncBackingParams) => SubmittableExtrinsic<ApiType>, [PezkuwiPrimitivesV8AsyncBackingAsyncBackingParams]>;
696
- /**
697
- * Setting this to true will disable consistency checks for the configuration setters.
698
- * Use with caution.
699
- **/
700
- setBypassConsistencyCheck: AugmentedSubmittable<(updated: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [bool]>;
701
- /**
702
- * Set the acceptance period for an included candidate.
703
- **/
704
- setCodeRetentionPeriod: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
705
- /**
706
- * Set the number of coretime execution cores.
707
- *
708
- * NOTE: that this configuration is managed by the coretime chain. Only manually change
709
- * this, if you really know what you are doing!
710
- **/
711
- setCoretimeCores: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
712
- /**
713
- * Set the dispute period, in number of sessions to keep for disputes.
714
- **/
715
- setDisputePeriod: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
716
- /**
717
- * Set the dispute post conclusion acceptance period.
718
- **/
719
- setDisputePostConclusionAcceptancePeriod: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
720
- /**
721
- * Set PVF executor parameters.
722
- **/
723
- setExecutorParams: AugmentedSubmittable<(updated: PezkuwiPrimitivesV8ExecutorParams) => SubmittableExtrinsic<ApiType>, [PezkuwiPrimitivesV8ExecutorParams]>;
724
- /**
725
- * Set the parachain validator-group rotation frequency
726
- **/
727
- setGroupRotationFrequency: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
728
- /**
729
- * Sets the maximum number of messages allowed in an HRMP channel at once.
730
- **/
731
- setHrmpChannelMaxCapacity: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
732
- /**
733
- * Sets the maximum size of a message that could ever be put into an HRMP channel.
734
- **/
735
- setHrmpChannelMaxMessageSize: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
736
- /**
737
- * Sets the maximum total size of messages in bytes allowed in an HRMP channel at once.
738
- **/
739
- setHrmpChannelMaxTotalSize: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
740
- /**
741
- * Sets the maximum number of outbound HRMP messages can be sent by a candidate.
742
- **/
743
- setHrmpMaxMessageNumPerCandidate: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
744
- /**
745
- * Sets the maximum number of inbound HRMP channels a parachain is allowed to accept.
746
- **/
747
- setHrmpMaxParachainInboundChannels: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
748
- /**
749
- * Sets the maximum number of outbound HRMP channels a parachain is allowed to open.
750
- **/
751
- setHrmpMaxParachainOutboundChannels: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
752
- /**
753
- * Sets the number of sessions after which an HRMP open channel request expires.
754
- **/
755
- setHrmpOpenRequestTtl: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
756
- /**
757
- * Sets the amount of funds that the recipient should provide for accepting opening an HRMP
758
- * channel.
759
- **/
760
- setHrmpRecipientDeposit: AugmentedSubmittable<(updated: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
761
- /**
762
- * Sets the amount of funds that the sender should provide for opening an HRMP channel.
763
- **/
764
- setHrmpSenderDeposit: AugmentedSubmittable<(updated: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
765
- /**
766
- * Set the max validation code size for incoming upgrades.
767
- **/
768
- setMaxCodeSize: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
769
- /**
770
- * Set the critical downward message size.
771
- **/
772
- setMaxDownwardMessageSize: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
773
- /**
774
- * Set the max head data size for paras.
775
- **/
776
- setMaxHeadDataSize: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
777
- /**
778
- * Set the max POV block size for incoming upgrades.
779
- **/
780
- setMaxPovSize: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
781
- /**
782
- * Sets the maximum number of messages that a candidate can contain.
783
- **/
784
- setMaxUpwardMessageNumPerCandidate: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
785
- /**
786
- * Sets the maximum size of an upward message that can be sent by a candidate.
787
- **/
788
- setMaxUpwardMessageSize: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
789
- /**
790
- * Sets the maximum items that can present in a upward dispatch queue at once.
791
- **/
792
- setMaxUpwardQueueCount: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
793
- /**
794
- * Sets the maximum total size of items that can present in a upward dispatch queue at
795
- * once.
796
- **/
797
- setMaxUpwardQueueSize: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
798
- /**
799
- * Set the maximum number of validators to use in parachain consensus.
800
- **/
801
- setMaxValidators: AugmentedSubmittable<(updated: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
802
- /**
803
- * Set the maximum number of validators to assign to any core.
804
- **/
805
- setMaxValidatorsPerCore: AugmentedSubmittable<(updated: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
806
- /**
807
- * Set the minimum backing votes threshold.
808
- **/
809
- setMinimumBackingVotes: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
810
- /**
811
- * Sets the minimum delay between announcing the upgrade block for a parachain until the
812
- * upgrade taking place.
813
- *
814
- * See the field documentation for information and constraints for the new value.
815
- **/
816
- setMinimumValidationUpgradeDelay: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
817
- /**
818
- * Set the total number of delay tranches.
819
- **/
820
- setNDelayTranches: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
821
- /**
822
- * Set the number of validators needed to approve a block.
823
- **/
824
- setNeededApprovals: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
825
- /**
826
- * Set/Unset a node feature.
827
- **/
828
- setNodeFeature: AugmentedSubmittable<(index: u8 | AnyNumber | Uint8Array, value: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u8, bool]>;
829
- /**
830
- * Set the no show slots, in number of number of consensus slots.
831
- * Must be at least 1.
832
- **/
833
- setNoShowSlots: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
834
- /**
835
- * Set the on demand (parathreads) base fee.
836
- **/
837
- setOnDemandBaseFee: AugmentedSubmittable<(updated: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
838
- /**
839
- * Set the on demand (parathreads) fee variability.
840
- **/
841
- setOnDemandFeeVariability: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
842
- /**
843
- * Set the on demand (parathreads) queue max size.
844
- **/
845
- setOnDemandQueueMaxSize: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
846
- /**
847
- * Set the on demand (parathreads) fee variability.
848
- **/
849
- setOnDemandTargetQueueUtilization: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
850
- /**
851
- * Set the availability period for paras.
852
- **/
853
- setParasAvailabilityPeriod: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
854
- /**
855
- * Set the number of session changes after which a PVF pre-checking voting is rejected.
856
- **/
857
- setPvfVotingTtl: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
858
- /**
859
- * Set the number of samples to do of the `RelayVRFModulo` approval assignment criterion.
860
- **/
861
- setRelayVrfModuloSamples: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
862
- /**
863
- * Set scheduler-params.
864
- **/
865
- setSchedulerParams: AugmentedSubmittable<(updated: PezkuwiPrimitivesV8SchedulerParams) => SubmittableExtrinsic<ApiType>, [PezkuwiPrimitivesV8SchedulerParams]>;
866
- /**
867
- * Set the scheduling lookahead, in expected number of blocks at peak throughput.
868
- **/
869
- setSchedulingLookahead: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
870
- /**
871
- * Set the validation upgrade cooldown.
872
- **/
873
- setValidationUpgradeCooldown: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
874
- /**
875
- * Set the validation upgrade delay.
876
- **/
877
- setValidationUpgradeDelay: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
878
- /**
879
- * Set the zeroth delay tranche width.
880
- **/
881
- setZerothDelayTrancheWidth: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
882
- /**
883
- * Generic tx
884
- **/
885
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
886
- };
887
- convictionVoting: {
888
- /**
889
- * Delegate the voting power (with some given conviction) of the sending account for a
890
- * particular class of polls.
891
- *
892
- * The balance delegated is locked for as long as it's delegated, and thereafter for the
893
- * time appropriate for the conviction's lock period.
894
- *
895
- * The dispatch origin of this call must be _Signed_, and the signing account must either:
896
- * - be delegating already; or
897
- * - have no voting activity (if there is, then it will need to be removed through
898
- * `remove_vote`).
899
- *
900
- * - `to`: The account whose voting the `target` account's voting power will follow.
901
- * - `class`: The class of polls to delegate. To delegate multiple classes, multiple calls
902
- * to this function are required.
903
- * - `conviction`: The conviction that will be attached to the delegated votes. When the
904
- * account is undelegated, the funds will be locked for the corresponding period.
905
- * - `balance`: The amount of the account's balance to be used in delegating. This must not
906
- * be more than the account's current balance.
907
- *
908
- * Emits `Delegated`.
909
- *
910
- * Weight: `O(R)` where R is the number of polls the voter delegating to has
911
- * voted on. Weight is initially charged as if maximum votes, but is refunded later.
912
- **/
913
- delegate: AugmentedSubmittable<(clazz: u16 | AnyNumber | Uint8Array, to: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, conviction: PezpalletConvictionVotingConviction, balance: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, PezspRuntimeMultiAddress, PezpalletConvictionVotingConviction, u128]>;
914
- /**
915
- * Remove a vote for a poll.
916
- *
917
- * If the `target` is equal to the signer, then this function is exactly equivalent to
918
- * `remove_vote`. If not equal to the signer, then the vote must have expired,
919
- * either because the poll was cancelled, because the voter lost the poll or
920
- * because the conviction period is over.
921
- *
922
- * The dispatch origin of this call must be _Signed_.
923
- *
924
- * - `target`: The account of the vote to be removed; this account must have voted for poll
925
- * `index`.
926
- * - `index`: The index of poll of the vote to be removed.
927
- * - `class`: The class of the poll.
928
- *
929
- * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on.
930
- * Weight is calculated for the maximum number of vote.
931
- **/
932
- removeOtherVote: AugmentedSubmittable<(target: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, clazz: u16 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, u16, u32]>;
933
- /**
934
- * Remove a vote for a poll.
935
- *
936
- * If:
937
- * - the poll was cancelled, or
938
- * - the poll is ongoing, or
939
- * - the poll has ended such that
940
- * - the vote of the account was in opposition to the result; or
941
- * - there was no conviction to the account's vote; or
942
- * - the account made a split vote
943
- * ...then the vote is removed cleanly and a following call to `unlock` may result in more
944
- * funds being available.
945
- *
946
- * If, however, the poll has ended and:
947
- * - it finished corresponding to the vote of the account, and
948
- * - the account made a standard vote with conviction, and
949
- * - the lock period of the conviction is not over
950
- * ...then the lock will be aggregated into the overall account's lock, which may involve
951
- * *overlocking* (where the two locks are combined into a single lock that is the maximum
952
- * of both the amount locked and the time is it locked for).
953
- *
954
- * The dispatch origin of this call must be _Signed_, and the signer must have a vote
955
- * registered for poll `index`.
956
- *
957
- * - `index`: The index of poll of the vote to be removed.
958
- * - `class`: Optional parameter, if given it indicates the class of the poll. For polls
959
- * which have finished or are cancelled, this must be `Some`.
960
- *
961
- * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on.
962
- * Weight is calculated for the maximum number of vote.
963
- **/
964
- removeVote: AugmentedSubmittable<(clazz: Option<u16> | null | Uint8Array | u16 | AnyNumber, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<u16>, u32]>;
965
- /**
966
- * Undelegate the voting power of the sending account for a particular class of polls.
967
- *
968
- * Tokens may be unlocked following once an amount of time consistent with the lock period
969
- * of the conviction with which the delegation was issued has passed.
970
- *
971
- * The dispatch origin of this call must be _Signed_ and the signing account must be
972
- * currently delegating.
973
- *
974
- * - `class`: The class of polls to remove the delegation from.
975
- *
976
- * Emits `Undelegated`.
977
- *
978
- * Weight: `O(R)` where R is the number of polls the voter delegating to has
979
- * voted on. Weight is initially charged as if maximum votes, but is refunded later.
980
- **/
981
- undelegate: AugmentedSubmittable<(clazz: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16]>;
982
- /**
983
- * Remove the lock caused by prior voting/delegating which has expired within a particular
984
- * class.
985
- *
986
- * The dispatch origin of this call must be _Signed_.
987
- *
988
- * - `class`: The class of polls to unlock.
989
- * - `target`: The account to remove the lock on.
990
- *
991
- * Weight: `O(R)` with R number of vote of target.
992
- **/
993
- unlock: AugmentedSubmittable<(clazz: u16 | AnyNumber | Uint8Array, target: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, PezspRuntimeMultiAddress]>;
994
- /**
995
- * Vote in a poll. If `vote.is_aye()`, the vote is to enact the proposal;
996
- * otherwise it is a vote to keep the status quo.
997
- *
998
- * The dispatch origin of this call must be _Signed_.
999
- *
1000
- * - `poll_index`: The index of the poll to vote for.
1001
- * - `vote`: The vote configuration.
1002
- *
1003
- * Weight: `O(R)` where R is the number of polls the voter has voted on.
1004
- **/
1005
- vote: AugmentedSubmittable<(pollIndex: Compact<u32> | AnyNumber | Uint8Array, vote: PezpalletConvictionVotingVoteAccountVote) => SubmittableExtrinsic<ApiType>, [Compact<u32>, PezpalletConvictionVotingVoteAccountVote]>;
1006
- /**
1007
- * Generic tx
1008
- **/
1009
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
1010
- };
1011
- coretime: {
1012
- /**
1013
- * Receive instructions from the `ExternalBrokerOrigin`, detailing how a specific core is
1014
- * to be used.
1015
- *
1016
- * Parameters:
1017
- * -`origin`: The `ExternalBrokerOrigin`, assumed to be the coretime chain.
1018
- * -`core`: The core that should be scheduled.
1019
- * -`begin`: The starting blockheight of the instruction.
1020
- * -`assignment`: How the blockspace should be utilised.
1021
- * -`end_hint`: An optional hint as to when this particular set of instructions will end.
1022
- **/
1023
- assignCore: AugmentedSubmittable<(core: u16 | AnyNumber | Uint8Array, begin: u32 | AnyNumber | Uint8Array, assignment: Vec<ITuple<[PezpalletBrokerCoretimeInterfaceCoreAssignment, u16]>> | ([PezpalletBrokerCoretimeInterfaceCoreAssignment, u16 | AnyNumber | Uint8Array])[], endHint: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [u16, u32, Vec<ITuple<[PezpalletBrokerCoretimeInterfaceCoreAssignment, u16]>>, Option<u32>]>;
1024
- creditAccount: AugmentedSubmittable<(who: PezspCoreCryptoAccountId32 | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32, u128]>;
1025
- /**
1026
- * Request the configuration to be updated with the specified number of cores. Warning:
1027
- * Since this only schedules a configuration update, it takes two sessions to come into
1028
- * effect.
1029
- *
1030
- * - `origin`: Root or the Coretime Chain
1031
- * - `count`: total number of cores
1032
- **/
1033
- requestCoreCount: AugmentedSubmittable<(count: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16]>;
1034
- /**
1035
- * Request to claim the instantaneous coretime sales revenue starting from the block it was
1036
- * last claimed until and up to the block specified. The claimed amount value is sent back
1037
- * to the Coretime chain in a `notify_revenue` message. At the same time, the amount is
1038
- * teleported to the Coretime chain.
1039
- **/
1040
- requestRevenueAt: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1041
- /**
1042
- * Generic tx
1043
- **/
1044
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
1045
- };
1046
- crowdloan: {
1047
- /**
1048
- * Add an optional memo to an existing crowdloan contribution.
1049
- *
1050
- * Origin must be Signed, and the user must have contributed to the crowdloan.
1051
- **/
1052
- addMemo: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array, memo: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
1053
- /**
1054
- * Contribute to a crowd sale. This will transfer some balance over to fund a parachain
1055
- * slot. It will be withdrawable when the crowdloan has ended and the funds are unused.
1056
- **/
1057
- contribute: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array, signature: Option<PezspRuntimeMultiSignature> | null | Uint8Array | PezspRuntimeMultiSignature) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>, Option<PezspRuntimeMultiSignature>]>;
1058
- /**
1059
- * Contribute your entire balance to a crowd sale. This will transfer the entire balance of
1060
- * a user over to fund a parachain slot. It will be withdrawable when the crowdloan has
1061
- * ended and the funds are unused.
1062
- **/
1063
- contributeAll: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, signature: Option<PezspRuntimeMultiSignature> | null | Uint8Array | PezspRuntimeMultiSignature) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Option<PezspRuntimeMultiSignature>]>;
1064
- /**
1065
- * Create a new crowdloaning campaign for a parachain slot with the given lease period
1066
- * range.
1067
- *
1068
- * This applies a lock to your parachain configuration, ensuring that it cannot be changed
1069
- * by the parachain manager.
1070
- **/
1071
- create: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, cap: Compact<u128> | AnyNumber | Uint8Array, firstPeriod: Compact<u32> | AnyNumber | Uint8Array, lastPeriod: Compact<u32> | AnyNumber | Uint8Array, end: Compact<u32> | AnyNumber | Uint8Array, verifier: Option<PezspRuntimeMultiSigner> | null | Uint8Array | PezspRuntimeMultiSigner) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>, Compact<u32>, Compact<u32>, Compact<u32>, Option<PezspRuntimeMultiSigner>]>;
1072
- /**
1073
- * Remove a fund after the retirement period has ended and all funds have been returned.
1074
- **/
1075
- dissolve: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
1076
- /**
1077
- * Edit the configuration for an in-progress crowdloan.
1078
- *
1079
- * Can only be called by Root origin.
1080
- **/
1081
- edit: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array, cap: Compact<u128> | AnyNumber | Uint8Array, firstPeriod: Compact<u32> | AnyNumber | Uint8Array, lastPeriod: Compact<u32> | AnyNumber | Uint8Array, end: Compact<u32> | AnyNumber | Uint8Array, verifier: Option<PezspRuntimeMultiSigner> | null | Uint8Array | PezspRuntimeMultiSigner) => SubmittableExtrinsic<ApiType>, [Compact<u32>, Compact<u128>, Compact<u32>, Compact<u32>, Compact<u32>, Option<PezspRuntimeMultiSigner>]>;
1082
- /**
1083
- * Poke the fund into `NewRaise`
1084
- *
1085
- * Origin must be Signed, and the fund has non-zero raise.
1086
- **/
1087
- poke: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1088
- /**
1089
- * Automatically refund contributors of an ended crowdloan.
1090
- * Due to weight restrictions, this function may need to be called multiple
1091
- * times to fully refund all users. We will refund `RemoveKeysLimit` users at a time.
1092
- *
1093
- * Origin must be signed, but can come from anyone.
1094
- **/
1095
- refund: AugmentedSubmittable<(index: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
1096
- /**
1097
- * Withdraw full balance of a specific contributor.
1098
- *
1099
- * Origin must be signed, but can come from anyone.
1100
- *
1101
- * The fund must be either in, or ready for, retirement. For a fund to be *in* retirement,
1102
- * then the retirement flag must be set. For a fund to be ready for retirement, then:
1103
- * - it must not already be in retirement;
1104
- * - the amount of raised funds must be bigger than the _free_ balance of the account;
1105
- * - and either:
1106
- * - the block number must be at least `end`; or
1107
- * - the current lease period must be greater than the fund's `last_period`.
1108
- *
1109
- * In this case, the fund's retirement flag is set and its `end` is reset to the current
1110
- * block number.
1111
- *
1112
- * - `who`: The account whose contribution should be withdrawn.
1113
- * - `index`: The parachain to whose crowdloan the contribution was made.
1114
- **/
1115
- withdraw: AugmentedSubmittable<(who: PezspCoreCryptoAccountId32 | string | Uint8Array, index: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32, Compact<u32>]>;
1116
- /**
1117
- * Generic tx
1118
- **/
1119
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
1120
- };
1121
- electionProviderMultiPhase: {
1122
- /**
1123
- * Trigger the governance fallback.
1124
- *
1125
- * This can only be called when [`Phase::Emergency`] is enabled, as an alternative to
1126
- * calling [`Call::set_emergency_election_result`].
1127
- **/
1128
- governanceFallback: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
1129
- /**
1130
- * Set a solution in the queue, to be handed out to the client of this pallet in the next
1131
- * call to `ElectionProvider::elect`.
1132
- *
1133
- * This can only be set by `T::ForceOrigin`, and only when the phase is `Emergency`.
1134
- *
1135
- * The solution is not checked for any feasibility and is assumed to be trustworthy, as any
1136
- * feasibility check itself can in principle cause the election process to fail (due to
1137
- * memory/weight constrains).
1138
- **/
1139
- setEmergencyElectionResult: AugmentedSubmittable<(supports: Vec<ITuple<[PezspCoreCryptoAccountId32, PezspNposElectionsSupport]>> | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[PezspCoreCryptoAccountId32, PezspNposElectionsSupport]>>]>;
1140
- /**
1141
- * Set a new value for `MinimumUntrustedScore`.
1142
- *
1143
- * Dispatch origin must be aligned with `T::ForceOrigin`.
1144
- *
1145
- * This check can be turned off by setting the value to `None`.
1146
- **/
1147
- setMinimumUntrustedScore: AugmentedSubmittable<(maybeNextScore: Option<PezspNposElectionsElectionScore> | null | Uint8Array | PezspNposElectionsElectionScore) => SubmittableExtrinsic<ApiType>, [Option<PezspNposElectionsElectionScore>]>;
1148
- /**
1149
- * Submit a solution for the signed phase.
1150
- *
1151
- * The dispatch origin fo this call must be __signed__.
1152
- *
1153
- * The solution is potentially queued, based on the claimed score and processed at the end
1154
- * of the signed phase.
1155
- *
1156
- * A deposit is reserved and recorded for the solution. Based on the outcome, the solution
1157
- * might be rewarded, slashed, or get all or a part of the deposit back.
1158
- **/
1159
- submit: AugmentedSubmittable<(rawSolution: PezpalletElectionProviderMultiPhaseRawSolution) => SubmittableExtrinsic<ApiType>, [PezpalletElectionProviderMultiPhaseRawSolution]>;
1160
- /**
1161
- * Submit a solution for the unsigned phase.
1162
- *
1163
- * The dispatch origin fo this call must be __none__.
1164
- *
1165
- * This submission is checked on the fly. Moreover, this unsigned solution is only
1166
- * validated when submitted to the pool from the **local** node. Effectively, this means
1167
- * that only active validators can submit this transaction when authoring a block (similar
1168
- * to an inherent).
1169
- *
1170
- * To prevent any incorrect solution (and thus wasted time/weight), this transaction will
1171
- * panic if the solution submitted by the validator is invalid in any way, effectively
1172
- * putting their authoring reward at risk.
1173
- *
1174
- * No deposit or reward is associated with this submission.
1175
- **/
1176
- submitUnsigned: AugmentedSubmittable<(rawSolution: PezpalletElectionProviderMultiPhaseRawSolution, witness: PezpalletElectionProviderMultiPhaseSolutionOrSnapshotSize) => SubmittableExtrinsic<ApiType>, [PezpalletElectionProviderMultiPhaseRawSolution, PezpalletElectionProviderMultiPhaseSolutionOrSnapshotSize]>;
1177
- /**
1178
- * Generic tx
1179
- **/
1180
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
1181
- };
1182
- fastUnstake: {
1183
- /**
1184
- * Control the operation of this pallet.
1185
- *
1186
- * ## Dispatch Origin
1187
- *
1188
- * The dispatch origin of this call must be [`Config::ControlOrigin`].
1189
- *
1190
- * ## Details
1191
- *
1192
- * Can set the number of eras to check per block, and potentially other admin work.
1193
- *
1194
- * ## Events
1195
- *
1196
- * No events are emitted from this dispatch.
1197
- **/
1198
- control: AugmentedSubmittable<(erasToCheck: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1199
- /**
1200
- * Deregister oneself from the fast-unstake.
1201
- *
1202
- * ## Dispatch Origin
1203
- *
1204
- * The dispatch origin of this call must be *signed* by whoever is permitted to call
1205
- * unbond funds by the staking system. See [`Config::Staking`].
1206
- *
1207
- * ## Details
1208
- *
1209
- * This is useful if one is registered, they are still waiting, and they change their mind.
1210
- *
1211
- * Note that the associated stash is still fully unbonded and chilled as a consequence of
1212
- * calling [`Pallet::register_fast_unstake`]. Therefore, this should probably be followed
1213
- * by a call to `rebond` in the staking system.
1214
- *
1215
- * ## Events
1216
- *
1217
- * Some events from the staking and currency system might be emitted.
1218
- **/
1219
- deregister: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
1220
- /**
1221
- * Register oneself for fast-unstake.
1222
- *
1223
- * ## Dispatch Origin
1224
- *
1225
- * The dispatch origin of this call must be *signed* by whoever is permitted to call
1226
- * unbond funds by the staking system. See [`Config::Staking`].
1227
- *
1228
- * ## Details
1229
- *
1230
- * The stash associated with the origin must have no ongoing unlocking chunks. If
1231
- * successful, this will fully unbond and chill the stash. Then, it will enqueue the stash
1232
- * to be checked in further blocks.
1233
- *
1234
- * If by the time this is called, the stash is actually eligible for fast-unstake, then
1235
- * they are guaranteed to remain eligible, because the call will chill them as well.
1236
- *
1237
- * If the check works, the entire staking data is removed, i.e. the stash is fully
1238
- * unstaked.
1239
- *
1240
- * If the check fails, the stash remains chilled and waiting for being unbonded as in with
1241
- * the normal staking system, but they lose part of their unbonding chunks due to consuming
1242
- * the chain's resources.
1243
- *
1244
- * ## Events
1245
- *
1246
- * Some events from the staking and currency system might be emitted.
1247
- **/
1248
- registerFastUnstake: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
1249
- /**
1250
- * Generic tx
1251
- **/
1252
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
1253
- };
1254
- grandpa: {
1255
- /**
1256
- * Note that the current authority set of the GRANDPA finality gadget has stalled.
1257
- *
1258
- * This will trigger a forced authority set change at the beginning of the next session, to
1259
- * be enacted `delay` blocks after that. The `delay` should be high enough to safely assume
1260
- * that the block signalling the forced change will not be re-orged e.g. 1000 blocks.
1261
- * The block production rate (which may be slowed down because of finality lagging) should
1262
- * be taken into account when choosing the `delay`. The GRANDPA voters based on the new
1263
- * authority will start voting on top of `best_finalized_block_number` for new finalized
1264
- * blocks. `best_finalized_block_number` should be the highest of the latest finalized
1265
- * block of all validators of the new authority set.
1266
- *
1267
- * Only callable by root.
1268
- **/
1269
- noteStalled: AugmentedSubmittable<(delay: u32 | AnyNumber | Uint8Array, bestFinalizedBlockNumber: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
1270
- /**
1271
- * Report voter equivocation/misbehavior. This method will verify the
1272
- * equivocation proof and validate the given key ownership proof
1273
- * against the extracted offender. If both are valid, the offence
1274
- * will be reported.
1275
- **/
1276
- reportEquivocation: AugmentedSubmittable<(equivocationProof: PezspConsensusGrandpaEquivocationProof, keyOwnerProof: PezspSessionMembershipProof) => SubmittableExtrinsic<ApiType>, [PezspConsensusGrandpaEquivocationProof, PezspSessionMembershipProof]>;
1277
- /**
1278
- * Report voter equivocation/misbehavior. This method will verify the
1279
- * equivocation proof and validate the given key ownership proof
1280
- * against the extracted offender. If both are valid, the offence
1281
- * will be reported.
1282
- *
1283
- * This extrinsic must be called unsigned and it is expected that only
1284
- * block authors will call it (validated in `ValidateUnsigned`), as such
1285
- * if the block author is defined it will be defined as the equivocation
1286
- * reporter.
1287
- **/
1288
- reportEquivocationUnsigned: AugmentedSubmittable<(equivocationProof: PezspConsensusGrandpaEquivocationProof, keyOwnerProof: PezspSessionMembershipProof) => SubmittableExtrinsic<ApiType>, [PezspConsensusGrandpaEquivocationProof, PezspSessionMembershipProof]>;
1289
- /**
1290
- * Generic tx
1291
- **/
1292
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
1293
- };
1294
- hrmp: {
1295
- /**
1296
- * Establish a bidirectional HRMP channel between a parachain and a system chain.
1297
- *
1298
- * Arguments:
1299
- *
1300
- * - `target_system_chain`: A system chain, `ParaId`.
1301
- *
1302
- * The origin needs to be the parachain origin.
1303
- **/
1304
- establishChannelWithSystem: AugmentedSubmittable<(targetSystemChain: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1305
- /**
1306
- * Establish an HRMP channel between two system chains. If the channel does not already
1307
- * exist, the transaction fees will be refunded to the caller. The system does not take
1308
- * deposits for channels between system chains, and automatically sets the message number
1309
- * and size limits to the maximum allowed by the network's configuration.
1310
- *
1311
- * Arguments:
1312
- *
1313
- * - `sender`: A system chain, `ParaId`.
1314
- * - `recipient`: A system chain, `ParaId`.
1315
- *
1316
- * Any signed origin can call this function, but _both_ inputs MUST be system chains. If
1317
- * the channel does not exist yet, there is no fee.
1318
- **/
1319
- establishSystemChannel: AugmentedSubmittable<(sender: u32 | AnyNumber | Uint8Array, recipient: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
1320
- /**
1321
- * This extrinsic triggers the cleanup of all the HRMP storage items that a para may have.
1322
- * Normally this happens once per session, but this allows you to trigger the cleanup
1323
- * immediately for a specific parachain.
1324
- *
1325
- * Number of inbound and outbound channels for `para` must be provided as witness data.
1326
- *
1327
- * Origin must be the `ChannelManager`.
1328
- **/
1329
- forceCleanHrmp: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, numInbound: u32 | AnyNumber | Uint8Array, numOutbound: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;
1330
- /**
1331
- * Open a channel from a `sender` to a `recipient` `ParaId`. Although opened by governance,
1332
- * the `max_capacity` and `max_message_size` are still subject to the Relay Chain's
1333
- * configured limits.
1334
- *
1335
- * Expected use is when one (and only one) of the `ParaId`s involved in the channel is
1336
- * governed by the system, e.g. a system parachain.
1337
- *
1338
- * Origin must be the `ChannelManager`.
1339
- **/
1340
- forceOpenHrmpChannel: AugmentedSubmittable<(sender: u32 | AnyNumber | Uint8Array, recipient: u32 | AnyNumber | Uint8Array, maxCapacity: u32 | AnyNumber | Uint8Array, maxMessageSize: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32, u32]>;
1341
- /**
1342
- * Force process HRMP close channel requests.
1343
- *
1344
- * If there are pending HRMP close channel requests, you can use this function to process
1345
- * all of those requests immediately.
1346
- *
1347
- * Total number of closing channels must be provided as witness data.
1348
- *
1349
- * Origin must be the `ChannelManager`.
1350
- **/
1351
- forceProcessHrmpClose: AugmentedSubmittable<(channels: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1352
- /**
1353
- * Force process HRMP open channel requests.
1354
- *
1355
- * If there are pending HRMP open channel requests, you can use this function to process
1356
- * all of those requests immediately.
1357
- *
1358
- * Total number of opening channels must be provided as witness data.
1359
- *
1360
- * Origin must be the `ChannelManager`.
1361
- **/
1362
- forceProcessHrmpOpen: AugmentedSubmittable<(channels: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1363
- /**
1364
- * Accept a pending open channel request from the given sender.
1365
- *
1366
- * The channel will be opened only on the next session boundary.
1367
- **/
1368
- hrmpAcceptOpenChannel: AugmentedSubmittable<(sender: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1369
- /**
1370
- * This cancels a pending open channel request. It can be canceled by either of the sender
1371
- * or the recipient for that request. The origin must be either of those.
1372
- *
1373
- * The cancellation happens immediately. It is not possible to cancel the request if it is
1374
- * already accepted.
1375
- *
1376
- * Total number of open requests (i.e. `HrmpOpenChannelRequestsList`) must be provided as
1377
- * witness data.
1378
- **/
1379
- hrmpCancelOpenRequest: AugmentedSubmittable<(channelId: PezkuwiTeyrchainPrimitivesPrimitivesHrmpChannelId, openRequests: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezkuwiTeyrchainPrimitivesPrimitivesHrmpChannelId, u32]>;
1380
- /**
1381
- * Initiate unilateral closing of a channel. The origin must be either the sender or the
1382
- * recipient in the channel being closed.
1383
- *
1384
- * The closure can only happen on a session change.
1385
- **/
1386
- hrmpCloseChannel: AugmentedSubmittable<(channelId: PezkuwiTeyrchainPrimitivesPrimitivesHrmpChannelId) => SubmittableExtrinsic<ApiType>, [PezkuwiTeyrchainPrimitivesPrimitivesHrmpChannelId]>;
1387
- /**
1388
- * Initiate opening a channel from a parachain to a given recipient with given channel
1389
- * parameters.
1390
- *
1391
- * - `proposed_max_capacity` - specifies how many messages can be in the channel at once.
1392
- * - `proposed_max_message_size` - specifies the maximum size of the messages.
1393
- *
1394
- * These numbers are a subject to the relay-chain configuration limits.
1395
- *
1396
- * The channel can be opened only after the recipient confirms it and only on a session
1397
- * change.
1398
- **/
1399
- hrmpInitOpenChannel: AugmentedSubmittable<(recipient: u32 | AnyNumber | Uint8Array, proposedMaxCapacity: u32 | AnyNumber | Uint8Array, proposedMaxMessageSize: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;
1400
- /**
1401
- * Update the deposits held for an HRMP channel to the latest `Configuration`. Channels
1402
- * with system chains do not require a deposit.
1403
- *
1404
- * Arguments:
1405
- *
1406
- * - `sender`: A chain, `ParaId`.
1407
- * - `recipient`: A chain, `ParaId`.
1408
- *
1409
- * Any signed origin can call this function.
1410
- **/
1411
- pokeChannelDeposits: AugmentedSubmittable<(sender: u32 | AnyNumber | Uint8Array, recipient: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
1412
- /**
1413
- * Generic tx
1414
- **/
1415
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
1416
- };
1417
- indices: {
1418
- /**
1419
- * Assign an previously unassigned index.
1420
- *
1421
- * Payment: `Deposit` is reserved from the sender account.
1422
- *
1423
- * The dispatch origin for this call must be _Signed_.
1424
- *
1425
- * - `index`: the index to be claimed. This must not be in use.
1426
- *
1427
- * Emits `IndexAssigned` if successful.
1428
- *
1429
- * ## Complexity
1430
- * - `O(1)`.
1431
- **/
1432
- claim: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1433
- /**
1434
- * Force an index to an account. This doesn't require a deposit. If the index is already
1435
- * held, then any deposit is reimbursed to its current owner.
1436
- *
1437
- * The dispatch origin for this call must be _Root_.
1438
- *
1439
- * - `index`: the index to be (re-)assigned.
1440
- * - `new`: the new owner of the index. This function is a no-op if it is equal to sender.
1441
- * - `freeze`: if set to `true`, will freeze the index so it cannot be transferred.
1442
- *
1443
- * Emits `IndexAssigned` if successful.
1444
- *
1445
- * ## Complexity
1446
- * - `O(1)`.
1447
- **/
1448
- forceTransfer: AugmentedSubmittable<(updated: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, index: u32 | AnyNumber | Uint8Array, freeze: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, u32, bool]>;
1449
- /**
1450
- * Free up an index owned by the sender.
1451
- *
1452
- * Payment: Any previous deposit placed for the index is unreserved in the sender account.
1453
- *
1454
- * The dispatch origin for this call must be _Signed_ and the sender must own the index.
1455
- *
1456
- * - `index`: the index to be freed. This must be owned by the sender.
1457
- *
1458
- * Emits `IndexFreed` if successful.
1459
- *
1460
- * ## Complexity
1461
- * - `O(1)`.
1462
- **/
1463
- free: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1464
- /**
1465
- * Freeze an index so it will always point to the sender account. This consumes the
1466
- * deposit.
1467
- *
1468
- * The dispatch origin for this call must be _Signed_ and the signing account must have a
1469
- * non-frozen account `index`.
1470
- *
1471
- * - `index`: the index to be frozen in place.
1472
- *
1473
- * Emits `IndexFrozen` if successful.
1474
- *
1475
- * ## Complexity
1476
- * - `O(1)`.
1477
- **/
1478
- freeze: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1479
- /**
1480
- * Poke the deposit reserved for an index.
1481
- *
1482
- * The dispatch origin for this call must be _Signed_ and the signing account must have a
1483
- * non-frozen account `index`.
1484
- *
1485
- * The transaction fees is waived if the deposit is changed after poking/reconsideration.
1486
- *
1487
- * - `index`: the index whose deposit is to be poked/reconsidered.
1488
- *
1489
- * Emits `DepositPoked` if successful.
1490
- **/
1491
- pokeDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1492
- /**
1493
- * Assign an index already owned by the sender to another account. The balance reservation
1494
- * is effectively transferred to the new account.
1495
- *
1496
- * The dispatch origin for this call must be _Signed_.
1497
- *
1498
- * - `index`: the index to be re-assigned. This must be owned by the sender.
1499
- * - `new`: the new owner of the index. This function is a no-op if it is equal to sender.
1500
- *
1501
- * Emits `IndexAssigned` if successful.
1502
- *
1503
- * ## Complexity
1504
- * - `O(1)`.
1505
- **/
1506
- transfer: AugmentedSubmittable<(updated: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, u32]>;
1507
- /**
1508
- * Generic tx
1509
- **/
1510
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
1511
- };
1512
- initializer: {
1513
- /**
1514
- * Issue a signal to the consensus engine to forcibly act as though all parachain
1515
- * blocks in all relay chain blocks up to and including the given number in the current
1516
- * chain are valid and should be finalized.
1517
- **/
1518
- forceApprove: AugmentedSubmittable<(upTo: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1519
- /**
1520
- * Generic tx
1521
- **/
1522
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
1523
- };
1524
- messageQueue: {
1525
- /**
1526
- * Execute an overweight message.
1527
- *
1528
- * Temporary processing errors will be propagated whereas permanent errors are treated
1529
- * as success condition.
1530
- *
1531
- * - `origin`: Must be `Signed`.
1532
- * - `message_origin`: The origin from which the message to be executed arrived.
1533
- * - `page`: The page in the queue in which the message to be executed is sitting.
1534
- * - `index`: The index into the queue of the message to be executed.
1535
- * - `weight_limit`: The maximum amount of weight allowed to be consumed in the execution
1536
- * of the message.
1537
- *
1538
- * Benchmark complexity considerations: O(index + weight_limit).
1539
- **/
1540
- executeOverweight: AugmentedSubmittable<(messageOrigin: PezkuwiRuntimeTeyrchainsInclusionAggregateMessageOrigin, page: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array, weightLimit: PezspWeightsWeightV2Weight) => SubmittableExtrinsic<ApiType>, [PezkuwiRuntimeTeyrchainsInclusionAggregateMessageOrigin, u32, u32, PezspWeightsWeightV2Weight]>;
1541
- /**
1542
- * Remove a page which has no more messages remaining to be processed or is stale.
1543
- **/
1544
- reapPage: AugmentedSubmittable<(messageOrigin: PezkuwiRuntimeTeyrchainsInclusionAggregateMessageOrigin, pageIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezkuwiRuntimeTeyrchainsInclusionAggregateMessageOrigin, u32]>;
1545
- /**
1546
- * Generic tx
1547
- **/
1548
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
1549
- };
1550
- multisig: {
1551
- /**
1552
- * Register approval for a dispatch to be made from a deterministic composite account if
1553
- * approved by a total of `threshold - 1` of `other_signatories`.
1554
- *
1555
- * Payment: `DepositBase` will be reserved if this is the first approval, plus
1556
- * `threshold` times `DepositFactor`. It is returned once this dispatch happens or
1557
- * is cancelled.
1558
- *
1559
- * The dispatch origin for this call must be _Signed_.
1560
- *
1561
- * - `threshold`: The total number of approvals for this dispatch before it is executed.
1562
- * - `other_signatories`: The accounts (other than the sender) who can approve this
1563
- * dispatch. May not be empty.
1564
- * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is
1565
- * not the first approval, then it must be `Some`, with the timepoint (block number and
1566
- * transaction index) of the first approval transaction.
1567
- * - `call_hash`: The hash of the call to be executed.
1568
- *
1569
- * NOTE: If this is the final approval, you will want to use `as_multi` instead.
1570
- *
1571
- * ## Complexity
1572
- * - `O(S)`.
1573
- * - Up to one balance-reserve or unreserve operation.
1574
- * - One passthrough operation, one insert, both `O(S)` where `S` is the number of
1575
- * signatories. `S` is capped by `MaxSignatories`, with weight being proportional.
1576
- * - One encode & hash, both of complexity `O(S)`.
1577
- * - Up to one binary search and insert (`O(logS + S)`).
1578
- * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove.
1579
- * - One event.
1580
- * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit
1581
- * taken for its lifetime of `DepositBase + threshold * DepositFactor`.
1582
- **/
1583
- approveAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<PezspCoreCryptoAccountId32> | string | Uint8Array, maybeTimepoint: Option<PezpalletMultisigTimepoint> | null | Uint8Array | PezpalletMultisigTimepoint, callHash: U8aFixed | string | Uint8Array, maxWeight: PezspWeightsWeightV2Weight) => SubmittableExtrinsic<ApiType>, [u16, Vec<PezspCoreCryptoAccountId32>, Option<PezpalletMultisigTimepoint>, U8aFixed, PezspWeightsWeightV2Weight]>;
1584
- /**
1585
- * Register approval for a dispatch to be made from a deterministic composite account if
1586
- * approved by a total of `threshold - 1` of `other_signatories`.
1587
- *
1588
- * If there are enough, then dispatch the call.
1589
- *
1590
- * Payment: `DepositBase` will be reserved if this is the first approval, plus
1591
- * `threshold` times `DepositFactor`. It is returned once this dispatch happens or
1592
- * is cancelled.
1593
- *
1594
- * The dispatch origin for this call must be _Signed_.
1595
- *
1596
- * - `threshold`: The total number of approvals for this dispatch before it is executed.
1597
- * - `other_signatories`: The accounts (other than the sender) who can approve this
1598
- * dispatch. May not be empty.
1599
- * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is
1600
- * not the first approval, then it must be `Some`, with the timepoint (block number and
1601
- * transaction index) of the first approval transaction.
1602
- * - `call`: The call to be executed.
1603
- *
1604
- * NOTE: Unless this is the final approval, you will generally want to use
1605
- * `approve_as_multi` instead, since it only requires a hash of the call.
1606
- *
1607
- * Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise
1608
- * on success, result is `Ok` and the result from the interior call, if it was executed,
1609
- * may be found in the deposited `MultisigExecuted` event.
1610
- *
1611
- * ## Complexity
1612
- * - `O(S + Z + Call)`.
1613
- * - Up to one balance-reserve or unreserve operation.
1614
- * - One passthrough operation, one insert, both `O(S)` where `S` is the number of
1615
- * signatories. `S` is capped by `MaxSignatories`, with weight being proportional.
1616
- * - One call encode & hash, both of complexity `O(Z)` where `Z` is tx-len.
1617
- * - One encode & hash, both of complexity `O(S)`.
1618
- * - Up to one binary search and insert (`O(logS + S)`).
1619
- * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove.
1620
- * - One event.
1621
- * - The weight of the `call`.
1622
- * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit
1623
- * taken for its lifetime of `DepositBase + threshold * DepositFactor`.
1624
- **/
1625
- asMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<PezspCoreCryptoAccountId32> | string | Uint8Array, maybeTimepoint: Option<PezpalletMultisigTimepoint> | null | Uint8Array | PezpalletMultisigTimepoint, call: RuntimeCall | IMethod | string | Uint8Array, maxWeight: PezspWeightsWeightV2Weight) => SubmittableExtrinsic<ApiType>, [u16, Vec<PezspCoreCryptoAccountId32>, Option<PezpalletMultisigTimepoint>, RuntimeCall, PezspWeightsWeightV2Weight]>;
1626
- /**
1627
- * Immediately dispatch a multi-signature call using a single approval from the caller.
1628
- *
1629
- * The dispatch origin for this call must be _Signed_.
1630
- *
1631
- * - `other_signatories`: The accounts (other than the sender) who are part of the
1632
- * multi-signature, but do not participate in the approval process.
1633
- * - `call`: The call to be executed.
1634
- *
1635
- * Result is equivalent to the dispatched result.
1636
- *
1637
- * ## Complexity
1638
- * O(Z + C) where Z is the length of the call and C its execution weight.
1639
- **/
1640
- asMultiThreshold1: AugmentedSubmittable<(otherSignatories: Vec<PezspCoreCryptoAccountId32> | string | Uint8Array, call: RuntimeCall | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<PezspCoreCryptoAccountId32>, RuntimeCall]>;
1641
- /**
1642
- * Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously
1643
- * for this operation will be unreserved on success.
1644
- *
1645
- * The dispatch origin for this call must be _Signed_.
1646
- *
1647
- * - `threshold`: The total number of approvals for this dispatch before it is executed.
1648
- * - `other_signatories`: The accounts (other than the sender) who can approve this
1649
- * dispatch. May not be empty.
1650
- * - `timepoint`: The timepoint (block number and transaction index) of the first approval
1651
- * transaction for this dispatch.
1652
- * - `call_hash`: The hash of the call to be executed.
1653
- *
1654
- * ## Complexity
1655
- * - `O(S)`.
1656
- * - Up to one balance-reserve or unreserve operation.
1657
- * - One passthrough operation, one insert, both `O(S)` where `S` is the number of
1658
- * signatories. `S` is capped by `MaxSignatories`, with weight being proportional.
1659
- * - One encode & hash, both of complexity `O(S)`.
1660
- * - One event.
1661
- * - I/O: 1 read `O(S)`, one remove.
1662
- * - Storage: removes one item.
1663
- **/
1664
- cancelAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<PezspCoreCryptoAccountId32> | string | Uint8Array, timepoint: PezpalletMultisigTimepoint, callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<PezspCoreCryptoAccountId32>, PezpalletMultisigTimepoint, U8aFixed]>;
1665
- /**
1666
- * Poke the deposit reserved for an existing multisig operation.
1667
- *
1668
- * The dispatch origin for this call must be _Signed_ and must be the original depositor of
1669
- * the multisig operation.
1670
- *
1671
- * The transaction fee is waived if the deposit amount has changed.
1672
- *
1673
- * - `threshold`: The total number of approvals needed for this multisig.
1674
- * - `other_signatories`: The accounts (other than the sender) who are part of the
1675
- * multisig.
1676
- * - `call_hash`: The hash of the call this deposit is reserved for.
1677
- *
1678
- * Emits `DepositPoked` if successful.
1679
- **/
1680
- pokeDeposit: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<PezspCoreCryptoAccountId32> | string | Uint8Array, callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<PezspCoreCryptoAccountId32>, U8aFixed]>;
1681
- /**
1682
- * Generic tx
1683
- **/
1684
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
1685
- };
1686
- nominationPools: {
1687
- /**
1688
- * Top up the deficit or withdraw the excess ED from the pool.
1689
- *
1690
- * When a pool is created, the pool depositor transfers ED to the reward account of the
1691
- * pool. ED is subject to change and over time, the deposit in the reward account may be
1692
- * insufficient to cover the ED deficit of the pool or vice-versa where there is excess
1693
- * deposit to the pool. This call allows anyone to adjust the ED deposit of the
1694
- * pool by either topping up the deficit or claiming the excess.
1695
- **/
1696
- adjustPoolDeposit: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1697
- /**
1698
- * Apply a pending slash on a member.
1699
- *
1700
- * Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
1701
- * [`adapter::StakeStrategyType::Delegate`].
1702
- *
1703
- * The pending slash amount of the member must be equal or more than `ExistentialDeposit`.
1704
- * This call can be dispatched permissionlessly (i.e. by any account). If the execution
1705
- * is successful, fee is refunded and caller may be rewarded with a part of the slash
1706
- * based on the [`crate::pallet::Config::StakeAdapter`] configuration.
1707
- **/
1708
- applySlash: AugmentedSubmittable<(memberAccount: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress]>;
1709
- /**
1710
- * Bond `extra` more funds from `origin` into the pool to which they already belong.
1711
- *
1712
- * Additional funds can come from either the free balance of the account, of from the
1713
- * accumulated rewards, see [`BondExtra`].
1714
- *
1715
- * Bonding extra funds implies an automatic payout of all pending rewards as well.
1716
- * See `bond_extra_other` to bond pending rewards of `other` members.
1717
- **/
1718
- bondExtra: AugmentedSubmittable<(extra: PezpalletNominationPoolsBondExtra) => SubmittableExtrinsic<ApiType>, [PezpalletNominationPoolsBondExtra]>;
1719
- /**
1720
- * `origin` bonds funds from `extra` for some pool member `member` into their respective
1721
- * pools.
1722
- *
1723
- * `origin` can bond extra funds from free balance or pending rewards when `origin ==
1724
- * other`.
1725
- *
1726
- * In the case of `origin != other`, `origin` can only bond extra pending rewards of
1727
- * `other` members assuming set_claim_permission for the given member is
1728
- * `PermissionlessCompound` or `PermissionlessAll`.
1729
- **/
1730
- bondExtraOther: AugmentedSubmittable<(member: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, extra: PezpalletNominationPoolsBondExtra) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, PezpalletNominationPoolsBondExtra]>;
1731
- /**
1732
- * Chill on behalf of the pool.
1733
- *
1734
- * The dispatch origin of this call can be signed by the pool nominator or the pool
1735
- * root role, same as [`Pallet::nominate`].
1736
- *
1737
- * This directly forwards the call to an implementation of `StakingInterface` (e.g.,
1738
- * `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
1739
- *
1740
- * Under certain conditions, this call can be dispatched permissionlessly (i.e. by any
1741
- * account).
1742
- *
1743
- * # Conditions for a permissionless dispatch:
1744
- * * When pool depositor has less than `MinNominatorBond` staked, otherwise pool members
1745
- * are unable to unbond.
1746
- *
1747
- * # Conditions for permissioned dispatch:
1748
- * * The caller is the pool's nominator or root.
1749
- **/
1750
- chill: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1751
- /**
1752
- * Claim pending commission.
1753
- *
1754
- * The `root` role of the pool is _always_ allowed to claim the pool's commission.
1755
- *
1756
- * If the pool has set `CommissionClaimPermission::Permissionless`, then any account can
1757
- * trigger the process of claiming the pool's commission.
1758
- *
1759
- * If the pool has set its `CommissionClaimPermission` to `Account(acc)`, then only
1760
- * accounts
1761
- * * `acc`, and
1762
- * * the pool's root account
1763
- *
1764
- * may call this extrinsic on behalf of the pool.
1765
- *
1766
- * Pending commissions are paid out and added to the total claimed commission.
1767
- * The total pending commission is reset to zero.
1768
- **/
1769
- claimCommission: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1770
- /**
1771
- * A bonded member can use this to claim their payout based on the rewards that the pool
1772
- * has accumulated since their last claimed payout (OR since joining if this is their first
1773
- * time claiming rewards). The payout will be transferred to the member's account.
1774
- *
1775
- * The member will earn rewards pro rata based on the members stake vs the sum of the
1776
- * members in the pools stake. Rewards do not "expire".
1777
- *
1778
- * See `claim_payout_other` to claim rewards on behalf of some `other` pool member.
1779
- **/
1780
- claimPayout: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
1781
- /**
1782
- * `origin` can claim payouts on some pool member `other`'s behalf.
1783
- *
1784
- * Pool member `other` must have a `PermissionlessWithdraw` or `PermissionlessAll` claim
1785
- * permission for this call to be successful.
1786
- **/
1787
- claimPayoutOther: AugmentedSubmittable<(other: PezspCoreCryptoAccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32]>;
1788
- /**
1789
- * Create a new delegation pool.
1790
- *
1791
- * # Arguments
1792
- *
1793
- * * `amount` - The amount of funds to delegate to the pool. This also acts of a sort of
1794
- * deposit since the pools creator cannot fully unbond funds until the pool is being
1795
- * destroyed.
1796
- * * `index` - A disambiguation index for creating the account. Likely only useful when
1797
- * creating multiple pools in the same extrinsic.
1798
- * * `root` - The account to set as [`PoolRoles::root`].
1799
- * * `nominator` - The account to set as the [`PoolRoles::nominator`].
1800
- * * `bouncer` - The account to set as the [`PoolRoles::bouncer`].
1801
- *
1802
- * # Note
1803
- *
1804
- * In addition to `amount`, the caller will transfer the existential deposit; so the caller
1805
- * needs at have at least `amount + existential_deposit` transferable.
1806
- **/
1807
- create: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, root: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, nominator: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, bouncer: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, PezspRuntimeMultiAddress, PezspRuntimeMultiAddress, PezspRuntimeMultiAddress]>;
1808
- /**
1809
- * Create a new delegation pool with a previously used pool id
1810
- *
1811
- * # Arguments
1812
- *
1813
- * same as `create` with the inclusion of
1814
- * * `pool_id` - `A valid PoolId.
1815
- **/
1816
- createWithPoolId: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, root: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, nominator: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, bouncer: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, PezspRuntimeMultiAddress, PezspRuntimeMultiAddress, PezspRuntimeMultiAddress, u32]>;
1817
- /**
1818
- * Stake funds with a pool. The amount to bond is delegated (or transferred based on
1819
- * [`adapter::StakeStrategyType`]) from the member to the pool account and immediately
1820
- * increases the pool's bond.
1821
- *
1822
- * The method of transferring the amount to the pool account is determined by
1823
- * [`adapter::StakeStrategyType`]. If the pool is configured to use
1824
- * [`adapter::StakeStrategyType::Delegate`], the funds remain in the account of
1825
- * the `origin`, while the pool gains the right to use these funds for staking.
1826
- *
1827
- * # Note
1828
- *
1829
- * * An account can only be a member of a single pool.
1830
- * * An account cannot join the same pool multiple times.
1831
- * * This call will *not* dust the member account, so the member must have at least
1832
- * `existential deposit + amount` in their account.
1833
- * * Only a pool with [`PoolState::Open`] can be joined
1834
- **/
1835
- join: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, u32]>;
1836
- /**
1837
- * Migrates delegated funds from the pool account to the `member_account`.
1838
- *
1839
- * Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
1840
- * [`adapter::StakeStrategyType::Delegate`].
1841
- *
1842
- * This is a permission-less call and refunds any fee if claim is successful.
1843
- *
1844
- * If the pool has migrated to delegation based staking, the staked tokens of pool members
1845
- * can be moved and held in their own account. See [`adapter::DelegateStake`]
1846
- **/
1847
- migrateDelegation: AugmentedSubmittable<(memberAccount: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress]>;
1848
- /**
1849
- * Migrate pool from [`adapter::StakeStrategyType::Transfer`] to
1850
- * [`adapter::StakeStrategyType::Delegate`].
1851
- *
1852
- * Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
1853
- * [`adapter::StakeStrategyType::Delegate`].
1854
- *
1855
- * This call can be dispatched permissionlessly, and refunds any fee if successful.
1856
- *
1857
- * If the pool has already migrated to delegation based staking, this call will fail.
1858
- **/
1859
- migratePoolToDelegateStake: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1860
- /**
1861
- * Nominate on behalf of the pool.
1862
- *
1863
- * The dispatch origin of this call must be signed by the pool nominator or the pool
1864
- * root role.
1865
- *
1866
- * This directly forwards the call to an implementation of `StakingInterface` (e.g.,
1867
- * `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
1868
- *
1869
- * # Note
1870
- *
1871
- * In addition to a `root` or `nominator` role of `origin`, the pool's depositor needs to
1872
- * have at least `depositor_min_bond` in the pool to start nominating.
1873
- **/
1874
- nominate: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, validators: Vec<PezspCoreCryptoAccountId32> | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Vec<PezspCoreCryptoAccountId32>]>;
1875
- /**
1876
- * Call `withdraw_unbonded` for the pools account. This call can be made by any account.
1877
- *
1878
- * This is useful if there are too many unlocking chunks to call `unbond`, and some
1879
- * can be cleared by withdrawing. In the case there are too many unlocking chunks, the user
1880
- * would probably see an error like `NoMoreChunks` emitted from the staking system when
1881
- * they attempt to unbond.
1882
- **/
1883
- poolWithdrawUnbonded: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
1884
- /**
1885
- * Allows a pool member to set a claim permission to allow or disallow permissionless
1886
- * bonding and withdrawing.
1887
- *
1888
- * # Arguments
1889
- *
1890
- * * `origin` - Member of a pool.
1891
- * * `permission` - The permission to be applied.
1892
- **/
1893
- setClaimPermission: AugmentedSubmittable<(permission: PezpalletNominationPoolsClaimPermission) => SubmittableExtrinsic<ApiType>, [PezpalletNominationPoolsClaimPermission]>;
1894
- /**
1895
- * Set the commission of a pool.
1896
- * Both a commission percentage and a commission payee must be provided in the `current`
1897
- * tuple. Where a `current` of `None` is provided, any current commission will be removed.
1898
- *
1899
- * - If a `None` is supplied to `new_commission`, existing commission will be removed.
1900
- **/
1901
- setCommission: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, newCommission: Option<ITuple<[u32, PezspCoreCryptoAccountId32]>> | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Option<ITuple<[u32, PezspCoreCryptoAccountId32]>>]>;
1902
- /**
1903
- * Set the commission change rate for a pool.
1904
- *
1905
- * Initial change rate is not bounded, whereas subsequent updates can only be more
1906
- * restrictive than the current.
1907
- **/
1908
- setCommissionChangeRate: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, changeRate: PezpalletNominationPoolsCommissionChangeRate) => SubmittableExtrinsic<ApiType>, [u32, PezpalletNominationPoolsCommissionChangeRate]>;
1909
- /**
1910
- * Set or remove a pool's commission claim permission.
1911
- *
1912
- * Determines who can claim the pool's pending commission. Only the `Root` role of the pool
1913
- * is able to configure commission claim permissions.
1914
- **/
1915
- setCommissionClaimPermission: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, permission: Option<PezpalletNominationPoolsCommissionClaimPermission> | null | Uint8Array | PezpalletNominationPoolsCommissionClaimPermission) => SubmittableExtrinsic<ApiType>, [u32, Option<PezpalletNominationPoolsCommissionClaimPermission>]>;
1916
- /**
1917
- * Set the maximum commission of a pool.
1918
- *
1919
- * - Initial max can be set to any `Perbill`, and only smaller values thereafter.
1920
- * - Current commission will be lowered in the event it is higher than a new max
1921
- * commission.
1922
- **/
1923
- setCommissionMax: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, maxCommission: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
1924
- /**
1925
- * Update configurations for the nomination pools. The origin for this call must be
1926
- * [`Config::AdminOrigin`].
1927
- *
1928
- * # Arguments
1929
- *
1930
- * * `min_join_bond` - Set [`MinJoinBond`].
1931
- * * `min_create_bond` - Set [`MinCreateBond`].
1932
- * * `max_pools` - Set [`MaxPools`].
1933
- * * `max_members` - Set [`MaxPoolMembers`].
1934
- * * `max_members_per_pool` - Set [`MaxPoolMembersPerPool`].
1935
- * * `global_max_commission` - Set [`GlobalMaxCommission`].
1936
- **/
1937
- setConfigs: AugmentedSubmittable<(minJoinBond: PezpalletNominationPoolsConfigOpU128, minCreateBond: PezpalletNominationPoolsConfigOpU128, maxPools: PezpalletNominationPoolsConfigOpU32, maxMembers: PezpalletNominationPoolsConfigOpU32, maxMembersPerPool: PezpalletNominationPoolsConfigOpU32, globalMaxCommission: PezpalletNominationPoolsConfigOpPerbill) => SubmittableExtrinsic<ApiType>, [PezpalletNominationPoolsConfigOpU128, PezpalletNominationPoolsConfigOpU128, PezpalletNominationPoolsConfigOpU32, PezpalletNominationPoolsConfigOpU32, PezpalletNominationPoolsConfigOpU32, PezpalletNominationPoolsConfigOpPerbill]>;
1938
- /**
1939
- * Set a new metadata for the pool.
1940
- *
1941
- * The dispatch origin of this call must be signed by the bouncer, or the root role of the
1942
- * pool.
1943
- **/
1944
- setMetadata: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, metadata: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
1945
- /**
1946
- * Set a new state for the pool.
1947
- *
1948
- * If a pool is already in the `Destroying` state, then under no condition can its state
1949
- * change again.
1950
- *
1951
- * The dispatch origin of this call must be either:
1952
- *
1953
- * 1. signed by the bouncer, or the root role of the pool,
1954
- * 2. if the pool conditions to be open are NOT met (as described by `ok_to_be_open`), and
1955
- * then the state of the pool can be permissionlessly changed to `Destroying`.
1956
- **/
1957
- setState: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, state: PezpalletNominationPoolsPoolState) => SubmittableExtrinsic<ApiType>, [u32, PezpalletNominationPoolsPoolState]>;
1958
- /**
1959
- * Unbond up to `unbonding_points` of the `member_account`'s funds from the pool. It
1960
- * implicitly collects the rewards one last time, since not doing so would mean some
1961
- * rewards would be forfeited.
1962
- *
1963
- * Under certain conditions, this call can be dispatched permissionlessly (i.e. by any
1964
- * account).
1965
- *
1966
- * # Conditions for a permissionless dispatch.
1967
- *
1968
- * * The pool is blocked and the caller is either the root or bouncer. This is refereed to
1969
- * as a kick.
1970
- * * The pool is destroying and the member is not the depositor.
1971
- * * The pool is destroying, the member is the depositor and no other members are in the
1972
- * pool.
1973
- *
1974
- * ## Conditions for permissioned dispatch (i.e. the caller is also the
1975
- * `member_account`):
1976
- *
1977
- * * The caller is not the depositor.
1978
- * * The caller is the depositor, the pool is destroying and no other members are in the
1979
- * pool.
1980
- *
1981
- * # Note
1982
- *
1983
- * If there are too many unlocking chunks to unbond with the pool account,
1984
- * [`Call::pool_withdraw_unbonded`] can be called to try and minimize unlocking chunks.
1985
- * The [`StakingInterface::unbond`] will implicitly call [`Call::pool_withdraw_unbonded`]
1986
- * to try to free chunks if necessary (ie. if unbound was called and no unlocking chunks
1987
- * are available). However, it may not be possible to release the current unlocking chunks,
1988
- * in which case, the result of this call will likely be the `NoMoreChunks` error from the
1989
- * staking system.
1990
- **/
1991
- unbond: AugmentedSubmittable<(memberAccount: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, unbondingPoints: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, Compact<u128>]>;
1992
- /**
1993
- * Update the roles of the pool.
1994
- *
1995
- * The root is the only entity that can change any of the roles, including itself,
1996
- * excluding the depositor, who can never change.
1997
- *
1998
- * It emits an event, notifying UIs of the role change. This event is quite relevant to
1999
- * most pool members and they should be informed of changes to pool roles.
2000
- **/
2001
- updateRoles: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, newRoot: PezpalletNominationPoolsConfigOpAccountId32 | string | Uint8Array, newNominator: PezpalletNominationPoolsConfigOpAccountId32 | string | Uint8Array, newBouncer: PezpalletNominationPoolsConfigOpAccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PezpalletNominationPoolsConfigOpAccountId32, PezpalletNominationPoolsConfigOpAccountId32, PezpalletNominationPoolsConfigOpAccountId32]>;
2002
- /**
2003
- * Withdraw unbonded funds from `member_account`. If no bonded funds can be unbonded, an
2004
- * error is returned.
2005
- *
2006
- * Under certain conditions, this call can be dispatched permissionlessly (i.e. by any
2007
- * account).
2008
- *
2009
- * # Conditions for a permissionless dispatch
2010
- *
2011
- * * The pool is in destroy mode and the target is not the depositor.
2012
- * * The target is the depositor and they are the only member in the sub pools.
2013
- * * The pool is blocked and the caller is either the root or bouncer.
2014
- *
2015
- * # Conditions for permissioned dispatch
2016
- *
2017
- * * The caller is the target and they are not the depositor.
2018
- *
2019
- * # Note
2020
- *
2021
- * - If the target is the depositor, the pool will be destroyed.
2022
- * - If the pool has any pending slash, we also try to slash the member before letting them
2023
- * withdraw. This calculation adds some weight overhead and is only defensive. In reality,
2024
- * pool slashes must have been already applied via permissionless [`Call::apply_slash`].
2025
- **/
2026
- withdrawUnbonded: AugmentedSubmittable<(memberAccount: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, u32]>;
2027
- /**
2028
- * Generic tx
2029
- **/
2030
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
2031
- };
2032
- onDemand: {
2033
- /**
2034
- * Create a single on demand core order.
2035
- * Will use the spot price for the current block and will reap the account if needed.
2036
- *
2037
- * Parameters:
2038
- * - `origin`: The sender of the call, funds will be withdrawn from this account.
2039
- * - `max_amount`: The maximum balance to withdraw from the origin to place an order.
2040
- * - `para_id`: A `ParaId` the origin wants to provide blockspace for.
2041
- *
2042
- * Errors:
2043
- * - `InsufficientBalance`: from the Currency implementation
2044
- * - `QueueFull`
2045
- * - `SpotPriceHigherThanMaxAmount`
2046
- *
2047
- * Events:
2048
- * - `OnDemandOrderPlaced`
2049
- **/
2050
- placeOrderAllowDeath: AugmentedSubmittable<(maxAmount: u128 | AnyNumber | Uint8Array, paraId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u32]>;
2051
- /**
2052
- * Same as the [`place_order_allow_death`](Self::place_order_allow_death) call , but with a
2053
- * check that placing the order will not reap the account.
2054
- *
2055
- * Parameters:
2056
- * - `origin`: The sender of the call, funds will be withdrawn from this account.
2057
- * - `max_amount`: The maximum balance to withdraw from the origin to place an order.
2058
- * - `para_id`: A `ParaId` the origin wants to provide blockspace for.
2059
- *
2060
- * Errors:
2061
- * - `InsufficientBalance`: from the Currency implementation
2062
- * - `QueueFull`
2063
- * - `SpotPriceHigherThanMaxAmount`
2064
- *
2065
- * Events:
2066
- * - `OnDemandOrderPlaced`
2067
- **/
2068
- placeOrderKeepAlive: AugmentedSubmittable<(maxAmount: u128 | AnyNumber | Uint8Array, paraId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u32]>;
2069
- /**
2070
- * Create a single on demand core order with credits.
2071
- * Will charge the owner's on-demand credit account the spot price for the current block.
2072
- *
2073
- * Parameters:
2074
- * - `origin`: The sender of the call, on-demand credits will be withdrawn from this
2075
- * account.
2076
- * - `max_amount`: The maximum number of credits to spend from the origin to place an
2077
- * order.
2078
- * - `para_id`: A `ParaId` the origin wants to provide blockspace for.
2079
- *
2080
- * Errors:
2081
- * - `InsufficientCredits`
2082
- * - `QueueFull`
2083
- * - `SpotPriceHigherThanMaxAmount`
2084
- *
2085
- * Events:
2086
- * - `OnDemandOrderPlaced`
2087
- **/
2088
- placeOrderWithCredits: AugmentedSubmittable<(maxAmount: u128 | AnyNumber | Uint8Array, paraId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u32]>;
2089
- /**
2090
- * Generic tx
2091
- **/
2092
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
2093
- };
2094
- paraInclusion: {
2095
- /**
2096
- * Generic tx
2097
- **/
2098
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
2099
- };
2100
- paraInherent: {
2101
- /**
2102
- * Enter the paras inherent. This will process bitfields and backed candidates.
2103
- **/
2104
- enter: AugmentedSubmittable<(data: PezkuwiPrimitivesVstagingInherentData) => SubmittableExtrinsic<ApiType>, [PezkuwiPrimitivesVstagingInherentData]>;
2105
- /**
2106
- * Generic tx
2107
- **/
2108
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
2109
- };
2110
- paras: {
2111
- /**
2112
- * Adds the validation code to the storage.
2113
- *
2114
- * The code will not be added if it is already present. Additionally, if PVF pre-checking
2115
- * is running for that code, it will be instantly accepted.
2116
- *
2117
- * Otherwise, the code will be added into the storage. Note that the code will be added
2118
- * into storage with reference count 0. This is to account the fact that there are no users
2119
- * for this code yet. The caller will have to make sure that this code eventually gets
2120
- * used by some parachain or removed from the storage to avoid storage leaks. For the
2121
- * latter prefer to use the `poke_unused_validation_code` dispatchable to raw storage
2122
- * manipulation.
2123
- *
2124
- * This function is mainly meant to be used for upgrading parachains that do not follow
2125
- * the go-ahead signal while the PVF pre-checking feature is enabled.
2126
- **/
2127
- addTrustedValidationCode: AugmentedSubmittable<(validationCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
2128
- /**
2129
- * Applies the already authorized current code for the parachain,
2130
- * triggering the same functionality as `force_set_current_code`.
2131
- **/
2132
- applyAuthorizedForceSetCurrentCode: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
2133
- /**
2134
- * Sets the storage for the authorized current code hash of the parachain.
2135
- * If not applied, it will be removed at the `System::block_number() + valid_period` block.
2136
- *
2137
- * This can be useful, when triggering `Paras::force_set_current_code(para, code)`
2138
- * from a different chain than the one where the `Paras` pallet is deployed.
2139
- *
2140
- * The main purpose is to avoid transferring the entire `code` Wasm blob between chains.
2141
- * Instead, we authorize `code_hash` with `root`, which can later be applied by
2142
- * `Paras::apply_authorized_force_set_current_code(para, code)` by anyone.
2143
- *
2144
- * Authorizations are stored in an **overwriting manner**.
2145
- **/
2146
- authorizeForceSetCurrentCodeHash: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newCodeHash: H256 | string | Uint8Array, validPeriod: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, H256, u32]>;
2147
- /**
2148
- * Note a new block head for para within the context of the current block.
2149
- **/
2150
- forceNoteNewHead: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newHead: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
2151
- /**
2152
- * Put a parachain directly into the next session's action queue.
2153
- * We can't queue it any sooner than this without going into the
2154
- * initializer...
2155
- **/
2156
- forceQueueAction: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2157
- /**
2158
- * Schedule an upgrade as if it was scheduled in the given relay parent block.
2159
- **/
2160
- forceScheduleCodeUpgrade: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newCode: Bytes | string | Uint8Array, relayParentNumber: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes, u32]>;
2161
- /**
2162
- * Set the storage for the parachain validation code immediately.
2163
- **/
2164
- forceSetCurrentCode: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
2165
- /**
2166
- * Set the storage for the current parachain head data immediately.
2167
- **/
2168
- forceSetCurrentHead: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newHead: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
2169
- /**
2170
- * Set the storage for the current parachain head data immediately.
2171
- **/
2172
- forceSetMostRecentContext: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, context: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
2173
- /**
2174
- * Includes a statement for a PVF pre-checking vote. Potentially, finalizes the vote and
2175
- * enacts the results if that was the last vote before achieving the supermajority.
2176
- **/
2177
- includePvfCheckStatement: AugmentedSubmittable<(stmt: PezkuwiPrimitivesV8PvfCheckStatement, signature: PezkuwiPrimitivesV8ValidatorAppSignature) => SubmittableExtrinsic<ApiType>, [PezkuwiPrimitivesV8PvfCheckStatement, PezkuwiPrimitivesV8ValidatorAppSignature]>;
2178
- /**
2179
- * Remove the validation code from the storage iff the reference count is 0.
2180
- *
2181
- * This is better than removing the storage directly, because it will not remove the code
2182
- * that was suddenly got used by some parachain while this dispatchable was pending
2183
- * dispatching.
2184
- **/
2185
- pokeUnusedValidationCode: AugmentedSubmittable<(validationCodeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
2186
- /**
2187
- * Remove an upgrade cooldown for a parachain.
2188
- *
2189
- * The cost for removing the cooldown earlier depends on the time left for the cooldown
2190
- * multiplied by [`Config::CooldownRemovalMultiplier`]. The paid tokens are burned.
2191
- **/
2192
- removeUpgradeCooldown: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2193
- /**
2194
- * Generic tx
2195
- **/
2196
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
2197
- };
2198
- parasDisputes: {
2199
- forceUnfreeze: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
2200
- /**
2201
- * Generic tx
2202
- **/
2203
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
2204
- };
2205
- parasShared: {
2206
- /**
2207
- * Generic tx
2208
- **/
2209
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
2210
- };
2211
- parasSlashing: {
2212
- reportDisputeLostUnsigned: AugmentedSubmittable<(disputeProof: PezkuwiPrimitivesVstagingDisputeProof, keyOwnerProof: PezspSessionMembershipProof) => SubmittableExtrinsic<ApiType>, [PezkuwiPrimitivesVstagingDisputeProof, PezspSessionMembershipProof]>;
2213
- /**
2214
- * Generic tx
2215
- **/
2216
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
2217
- };
2218
- preimage: {
2219
- /**
2220
- * Ensure that the bulk of pre-images is upgraded.
2221
- *
2222
- * The caller pays no fee if at least 90% of pre-images were successfully updated.
2223
- **/
2224
- ensureUpdated: AugmentedSubmittable<(hashes: Vec<H256> | (H256 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<H256>]>;
2225
- /**
2226
- * Register a preimage on-chain.
2227
- *
2228
- * If the preimage was previously requested, no fees or deposits are taken for providing
2229
- * the preimage. Otherwise, a deposit is taken proportional to the size of the preimage.
2230
- **/
2231
- notePreimage: AugmentedSubmittable<(bytes: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
2232
- /**
2233
- * Request a preimage be uploaded to the chain without paying any fees or deposits.
2234
- *
2235
- * If the preimage requests has already been provided on-chain, we unreserve any deposit
2236
- * a user may have paid, and take the control of the preimage out of their hands.
2237
- **/
2238
- requestPreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
2239
- /**
2240
- * Clear an unrequested preimage from the runtime storage.
2241
- *
2242
- * If `len` is provided, then it will be a much cheaper operation.
2243
- *
2244
- * - `hash`: The hash of the preimage to be removed from the store.
2245
- * - `len`: The length of the preimage of `hash`.
2246
- **/
2247
- unnotePreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
2248
- /**
2249
- * Clear a previously made request for a preimage.
2250
- *
2251
- * NOTE: THIS MUST NOT BE CALLED ON `hash` MORE TIMES THAN `request_preimage`.
2252
- **/
2253
- unrequestPreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
2254
- /**
2255
- * Generic tx
2256
- **/
2257
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
2258
- };
2259
- proxy: {
2260
- /**
2261
- * Register a proxy account for the sender that is able to make calls on its behalf.
2262
- *
2263
- * The dispatch origin for this call must be _Signed_.
2264
- *
2265
- * Parameters:
2266
- * - `proxy`: The account that the `caller` would like to make a proxy.
2267
- * - `proxy_type`: The permissions allowed for this proxy account.
2268
- * - `delay`: The announcement period required of the initial proxy. Will generally be
2269
- * zero.
2270
- **/
2271
- addProxy: AugmentedSubmittable<(delegate: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, proxyType: PezkuwiRuntimeConstantsProxyProxyType, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, PezkuwiRuntimeConstantsProxyProxyType, u32]>;
2272
- /**
2273
- * Publish the hash of a proxy-call that will be made in the future.
2274
- *
2275
- * This must be called some number of blocks before the corresponding `proxy` is attempted
2276
- * if the delay associated with the proxy relationship is greater than zero.
2277
- *
2278
- * No more than `MaxPending` announcements may be made at any one time.
2279
- *
2280
- * This will take a deposit of `AnnouncementDepositFactor` as well as
2281
- * `AnnouncementDepositBase` if there are no other pending announcements.
2282
- *
2283
- * The dispatch origin for this call must be _Signed_ and a proxy of `real`.
2284
- *
2285
- * Parameters:
2286
- * - `real`: The account that the proxy will make a call on behalf of.
2287
- * - `call_hash`: The hash of the call to be made by the `real` account.
2288
- **/
2289
- announce: AugmentedSubmittable<(real: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, H256]>;
2290
- /**
2291
- * Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and
2292
- * initialize it with a proxy of `proxy_type` for `origin` sender.
2293
- *
2294
- * Requires a `Signed` origin.
2295
- *
2296
- * - `proxy_type`: The type of the proxy that the sender will be registered as over the
2297
- * new account. This will almost always be the most permissive `ProxyType` possible to
2298
- * allow for maximum flexibility.
2299
- * - `index`: A disambiguation index, in case this is called multiple times in the same
2300
- * transaction (e.g. with `utility::batch`). Unless you're using `batch` you probably just
2301
- * want to use `0`.
2302
- * - `delay`: The announcement period required of the initial proxy. Will generally be
2303
- * zero.
2304
- *
2305
- * Fails with `Duplicate` if this has already been called in this transaction, from the
2306
- * same sender, with the same parameters.
2307
- *
2308
- * Fails if there are insufficient funds to pay for deposit.
2309
- **/
2310
- createPure: AugmentedSubmittable<(proxyType: PezkuwiRuntimeConstantsProxyProxyType, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezkuwiRuntimeConstantsProxyProxyType, u32, u16]>;
2311
- /**
2312
- * Removes a previously spawned pure proxy.
2313
- *
2314
- * WARNING: **All access to this account will be lost.** Any funds held in it will be
2315
- * inaccessible.
2316
- *
2317
- * Requires a `Signed` origin, and the sender account must have been created by a call to
2318
- * `create_pure` with corresponding parameters.
2319
- *
2320
- * - `spawner`: The account that originally called `create_pure` to create this account.
2321
- * - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
2322
- * - `proxy_type`: The proxy type originally passed to `create_pure`.
2323
- * - `height`: The height of the chain when the call to `create_pure` was processed.
2324
- * - `ext_index`: The extrinsic index in which the call to `create_pure` was processed.
2325
- *
2326
- * Fails with `NoPermission` in case the caller is not a previously created pure
2327
- * account whose `create_pure` call has corresponding parameters.
2328
- **/
2329
- killPure: AugmentedSubmittable<(spawner: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, proxyType: PezkuwiRuntimeConstantsProxyProxyType, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, PezkuwiRuntimeConstantsProxyProxyType, u16, Compact<u32>, Compact<u32>]>;
2330
- /**
2331
- * Poke / Adjust deposits made for proxies and announcements based on current values.
2332
- * This can be used by accounts to possibly lower their locked amount.
2333
- *
2334
- * The dispatch origin for this call must be _Signed_.
2335
- *
2336
- * The transaction fee is waived if the deposit amount has changed.
2337
- *
2338
- * Emits `DepositPoked` if successful.
2339
- **/
2340
- pokeDeposit: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
2341
- /**
2342
- * Dispatch the given `call` from an account that the sender is authorised for through
2343
- * `add_proxy`.
2344
- *
2345
- * The dispatch origin for this call must be _Signed_.
2346
- *
2347
- * Parameters:
2348
- * - `real`: The account that the proxy will make a call on behalf of.
2349
- * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
2350
- * - `call`: The call to be made by the `real` account.
2351
- **/
2352
- proxy: AugmentedSubmittable<(real: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, forceProxyType: Option<PezkuwiRuntimeConstantsProxyProxyType> | null | Uint8Array | PezkuwiRuntimeConstantsProxyProxyType, call: RuntimeCall | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, Option<PezkuwiRuntimeConstantsProxyProxyType>, RuntimeCall]>;
2353
- /**
2354
- * Dispatch the given `call` from an account that the sender is authorized for through
2355
- * `add_proxy`.
2356
- *
2357
- * Removes any corresponding announcement(s).
2358
- *
2359
- * The dispatch origin for this call must be _Signed_.
2360
- *
2361
- * Parameters:
2362
- * - `real`: The account that the proxy will make a call on behalf of.
2363
- * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
2364
- * - `call`: The call to be made by the `real` account.
2365
- **/
2366
- proxyAnnounced: AugmentedSubmittable<(delegate: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, real: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, forceProxyType: Option<PezkuwiRuntimeConstantsProxyProxyType> | null | Uint8Array | PezkuwiRuntimeConstantsProxyProxyType, call: RuntimeCall | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, PezspRuntimeMultiAddress, Option<PezkuwiRuntimeConstantsProxyProxyType>, RuntimeCall]>;
2367
- /**
2368
- * Remove the given announcement of a delegate.
2369
- *
2370
- * May be called by a target (proxied) account to remove a call that one of their delegates
2371
- * (`delegate`) has announced they want to execute. The deposit is returned.
2372
- *
2373
- * The dispatch origin for this call must be _Signed_.
2374
- *
2375
- * Parameters:
2376
- * - `delegate`: The account that previously announced the call.
2377
- * - `call_hash`: The hash of the call to be made.
2378
- **/
2379
- rejectAnnouncement: AugmentedSubmittable<(delegate: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, H256]>;
2380
- /**
2381
- * Remove a given announcement.
2382
- *
2383
- * May be called by a proxy account to remove a call they previously announced and return
2384
- * the deposit.
2385
- *
2386
- * The dispatch origin for this call must be _Signed_.
2387
- *
2388
- * Parameters:
2389
- * - `real`: The account that the proxy will make a call on behalf of.
2390
- * - `call_hash`: The hash of the call to be made by the `real` account.
2391
- **/
2392
- removeAnnouncement: AugmentedSubmittable<(real: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, H256]>;
2393
- /**
2394
- * Unregister all proxy accounts for the sender.
2395
- *
2396
- * The dispatch origin for this call must be _Signed_.
2397
- *
2398
- * WARNING: This may be called on accounts created by `create_pure`, however if done, then
2399
- * the unreserved fees will be inaccessible. **All access to this account will be lost.**
2400
- **/
2401
- removeProxies: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
2402
- /**
2403
- * Unregister a proxy account for the sender.
2404
- *
2405
- * The dispatch origin for this call must be _Signed_.
2406
- *
2407
- * Parameters:
2408
- * - `proxy`: The account that the `caller` would like to remove as a proxy.
2409
- * - `proxy_type`: The permissions currently enabled for the removed proxy account.
2410
- **/
2411
- removeProxy: AugmentedSubmittable<(delegate: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, proxyType: PezkuwiRuntimeConstantsProxyProxyType, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, PezkuwiRuntimeConstantsProxyProxyType, u32]>;
2412
- /**
2413
- * Generic tx
2414
- **/
2415
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
2416
- };
2417
- rcMigrator: {
2418
- /**
2419
- * Cancel the migration.
2420
- *
2421
- * Migration can only be cancelled if it is in the [`MigrationStage::Scheduled`] state.
2422
- **/
2423
- cancelMigration: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
2424
- /**
2425
- * Set the migration stage.
2426
- *
2427
- * This call is intended for emergency use only and is guarded by the
2428
- * [`Config::AdminOrigin`].
2429
- **/
2430
- forceSetStage: AugmentedSubmittable<(stage: PezpalletRcMigratorMigrationStage) => SubmittableExtrinsic<ApiType>, [PezpalletRcMigratorMigrationStage]>;
2431
- /**
2432
- * Pause the migration.
2433
- **/
2434
- pauseMigration: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
2435
- /**
2436
- * Set the accounts to be preserved on Relay Chain during the migration.
2437
- *
2438
- * The accounts must have no consumers references.
2439
- **/
2440
- preserveAccounts: AugmentedSubmittable<(accounts: Vec<PezspCoreCryptoAccountId32> | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<PezspCoreCryptoAccountId32>]>;
2441
- /**
2442
- * Receive a query response from the Asset Hub for a previously sent xcm message.
2443
- **/
2444
- receiveQueryResponse: AugmentedSubmittable<(queryId: u64 | AnyNumber | Uint8Array, response: StagingXcmV5Response | {
2445
- Null: any;
2446
- } | {
2447
- Assets: any;
2448
- } | {
2449
- ExecutionResult: any;
2450
- } | {
2451
- Version: any;
2452
- } | {
2453
- PalletsInfo: any;
2454
- } | {
2455
- DispatchResult: any;
2456
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, StagingXcmV5Response]>;
2457
- /**
2458
- * Resend a previously sent and unconfirmed XCM message.
2459
- **/
2460
- resendXcm: AugmentedSubmittable<(queryId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
2461
- /**
2462
- * Schedule the migration to start at a given moment.
2463
- *
2464
- * ### Parameters:
2465
- * - `start`: The block number at which the migration will start. `DispatchTime` calculated
2466
- * at the moment of the extrinsic execution.
2467
- * - `warm_up`: Duration or timepoint that will be used to prepare for the migration. Calls
2468
- * are filtered during this period. It is intended to give enough time for UMP and DMP
2469
- * queues to empty. `DispatchTime` calculated at the moment of the transition to the
2470
- * warm-up stage.
2471
- * - `cool_off`: The block number at which the post migration cool-off period will end. The
2472
- * `DispatchTime` calculated at the moment of the transition to the cool-off stage.
2473
- * - `unsafe_ignore_staking_lock_check`: ONLY FOR TESTING. Ignore the check whether the
2474
- * scheduled time point is far enough in the future.
2475
- *
2476
- * Note: If the staking election for next era is already complete, and the next
2477
- * validator set is queued in `pallet-session`, we want to avoid starting the data
2478
- * migration at this point as it can lead to some missed validator rewards. To address
2479
- * this, we stop staking election at the start of migration and must wait atleast 1
2480
- * session (set via warm_up) before starting the data migration.
2481
- *
2482
- * Read [`MigrationStage::Scheduled`] documentation for more details.
2483
- **/
2484
- scheduleMigration: AugmentedSubmittable<(start: PezframeSupportScheduleDispatchTime, warmUp: PezframeSupportScheduleDispatchTime, coolOff: PezframeSupportScheduleDispatchTime, unsafeIgnoreStakingLockCheck: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezframeSupportScheduleDispatchTime, PezframeSupportScheduleDispatchTime, PezframeSupportScheduleDispatchTime, bool]>;
2485
- /**
2486
- * XCM send call identical to the [`pallet_xcm::Pallet::send`] call but with the
2487
- * [Config::SendXcm] router which will be able to send messages to the Asset Hub during
2488
- * the migration.
2489
- **/
2490
- sendXcmMessage: AugmentedSubmittable<(dest: XcmVersionedLocation | {
2491
- V3: any;
2492
- } | {
2493
- V4: any;
2494
- } | {
2495
- V5: any;
2496
- } | string | Uint8Array, message: XcmVersionedXcm | {
2497
- V3: any;
2498
- } | {
2499
- V4: any;
2500
- } | {
2501
- V5: any;
2502
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedXcm]>;
2503
- /**
2504
- * Set the AH UMP queue priority configuration.
2505
- *
2506
- * Can only be called by the `AdminOrigin`.
2507
- **/
2508
- setAhUmpQueuePriority: AugmentedSubmittable<(updated: PezpalletRcMigratorQueuePriority) => SubmittableExtrinsic<ApiType>, [PezpalletRcMigratorQueuePriority]>;
2509
- /**
2510
- * Set the canceller account id.
2511
- *
2512
- * The canceller can only stop scheduled migration.
2513
- **/
2514
- setCanceller: AugmentedSubmittable<(updated: Option<PezspCoreCryptoAccountId32> | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<PezspCoreCryptoAccountId32>]>;
2515
- /**
2516
- * Set the manager account id.
2517
- *
2518
- * The manager has the similar to [`Config::AdminOrigin`] privileges except that it
2519
- * can not set the manager account id via `set_manager` call.
2520
- **/
2521
- setManager: AugmentedSubmittable<(updated: Option<PezspCoreCryptoAccountId32> | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<PezspCoreCryptoAccountId32>]>;
2522
- /**
2523
- * Set the migration settings. Can only be done by admin or manager.
2524
- **/
2525
- setSettings: AugmentedSubmittable<(settings: Option<PezpalletRcMigratorMigrationSettings> | null | Uint8Array | PezpalletRcMigratorMigrationSettings) => SubmittableExtrinsic<ApiType>, [Option<PezpalletRcMigratorMigrationSettings>]>;
2526
- /**
2527
- * Set the unprocessed message buffer size.
2528
- *
2529
- * `None` means to use the configuration value.
2530
- **/
2531
- setUnprocessedMsgBuffer: AugmentedSubmittable<(updated: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
2532
- /**
2533
- * Start the data migration.
2534
- *
2535
- * This is typically called by the Asset Hub to indicate it's readiness to receive the
2536
- * migration data.
2537
- **/
2538
- startDataMigration: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
2539
- /**
2540
- * Vote on behalf of any of the members in `MultisigMembers`.
2541
- *
2542
- * Unsigned extrinsic, requiring the `payload` to be signed.
2543
- *
2544
- * Upon each call, a new entry is created in `ManagerMultisigs` map the `payload.call` to
2545
- * be dispatched. Once `MultisigThreshold` is reached, the entire map is deleted, and we
2546
- * move on to the next round.
2547
- *
2548
- * The round system ensures that signatures from older round cannot be reused.
2549
- **/
2550
- voteManagerMultisig: AugmentedSubmittable<(payload: PezpalletRcMigratorManagerMultisigVote, sig: PezspRuntimeMultiSignature) => SubmittableExtrinsic<ApiType>, [PezpalletRcMigratorManagerMultisigVote, PezspRuntimeMultiSignature]>;
2551
- /**
2552
- * Generic tx
2553
- **/
2554
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
2555
- };
2556
- referenda: {
2557
- /**
2558
- * Cancel an ongoing referendum.
2559
- *
2560
- * - `origin`: must be the `CancelOrigin`.
2561
- * - `index`: The index of the referendum to be cancelled.
2562
- *
2563
- * Emits `Cancelled`.
2564
- **/
2565
- cancel: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2566
- /**
2567
- * Cancel an ongoing referendum and slash the deposits.
2568
- *
2569
- * - `origin`: must be the `KillOrigin`.
2570
- * - `index`: The index of the referendum to be cancelled.
2571
- *
2572
- * Emits `Killed` and `DepositSlashed`.
2573
- **/
2574
- kill: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2575
- /**
2576
- * Advance a referendum onto its next logical state. Only used internally.
2577
- *
2578
- * - `origin`: must be `Root`.
2579
- * - `index`: the referendum to be advanced.
2580
- **/
2581
- nudgeReferendum: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2582
- /**
2583
- * Advance a track onto its next logical state. Only used internally.
2584
- *
2585
- * - `origin`: must be `Root`.
2586
- * - `track`: the track to be advanced.
2587
- *
2588
- * Action item for when there is now one fewer referendum in the deciding phase and the
2589
- * `DecidingCount` is not yet updated. This means that we should either:
2590
- * - begin deciding another referendum (and leave `DecidingCount` alone); or
2591
- * - decrement `DecidingCount`.
2592
- **/
2593
- oneFewerDeciding: AugmentedSubmittable<(track: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16]>;
2594
- /**
2595
- * Post the Decision Deposit for a referendum.
2596
- *
2597
- * - `origin`: must be `Signed` and the account must have funds available for the
2598
- * referendum's track's Decision Deposit.
2599
- * - `index`: The index of the submitted referendum whose Decision Deposit is yet to be
2600
- * posted.
2601
- *
2602
- * Emits `DecisionDepositPlaced`.
2603
- **/
2604
- placeDecisionDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2605
- /**
2606
- * Refund the Decision Deposit for a closed referendum back to the depositor.
2607
- *
2608
- * - `origin`: must be `Signed` or `Root`.
2609
- * - `index`: The index of a closed referendum whose Decision Deposit has not yet been
2610
- * refunded.
2611
- *
2612
- * Emits `DecisionDepositRefunded`.
2613
- **/
2614
- refundDecisionDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2615
- /**
2616
- * Refund the Submission Deposit for a closed referendum back to the depositor.
2617
- *
2618
- * - `origin`: must be `Signed` or `Root`.
2619
- * - `index`: The index of a closed referendum whose Submission Deposit has not yet been
2620
- * refunded.
2621
- *
2622
- * Emits `SubmissionDepositRefunded`.
2623
- **/
2624
- refundSubmissionDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2625
- /**
2626
- * Set or clear metadata of a referendum.
2627
- *
2628
- * Parameters:
2629
- * - `origin`: Must be `Signed` by a creator of a referendum or by anyone to clear a
2630
- * metadata of a finished referendum.
2631
- * - `index`: The index of a referendum to set or clear metadata for.
2632
- * - `maybe_hash`: The hash of an on-chain stored preimage. `None` to clear a metadata.
2633
- **/
2634
- setMetadata: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array, maybeHash: Option<H256> | null | Uint8Array | H256 | string) => SubmittableExtrinsic<ApiType>, [u32, Option<H256>]>;
2635
- /**
2636
- * Propose a referendum on a privileged action.
2637
- *
2638
- * - `origin`: must be `SubmitOrigin` and the account must have `SubmissionDeposit` funds
2639
- * available.
2640
- * - `proposal_origin`: The origin from which the proposal should be executed.
2641
- * - `proposal`: The proposal.
2642
- * - `enactment_moment`: The moment that the proposal should be enacted.
2643
- *
2644
- * Emits `Submitted`.
2645
- **/
2646
- submit: AugmentedSubmittable<(proposalOrigin: PezkuwiRuntimeOriginCaller, proposal: PezframeSupportPreimagesBounded, enactmentMoment: PezframeSupportScheduleDispatchTime) => SubmittableExtrinsic<ApiType>, [PezkuwiRuntimeOriginCaller, PezframeSupportPreimagesBounded, PezframeSupportScheduleDispatchTime]>;
2647
- /**
2648
- * Generic tx
2649
- **/
2650
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
2651
- };
2652
- registrar: {
2653
- /**
2654
- * Add a manager lock from a para. This will prevent the manager of a
2655
- * para to deregister or swap a para.
2656
- *
2657
- * Can be called by Root, the parachain, or the parachain manager if the parachain is
2658
- * unlocked.
2659
- **/
2660
- addLock: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2661
- /**
2662
- * Deregister a Para Id, freeing all data and returning any deposit.
2663
- *
2664
- * The caller must be Root, the `para` owner, or the `para` itself. The para must be an
2665
- * on-demand parachain.
2666
- **/
2667
- deregister: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2668
- /**
2669
- * Force the registration of a Para Id on the relay chain.
2670
- *
2671
- * This function must be called by a Root origin.
2672
- *
2673
- * The deposit taken can be specified for this registration. Any `ParaId`
2674
- * can be registered, including sub-1000 IDs which are System Parachains.
2675
- **/
2676
- forceRegister: AugmentedSubmittable<(who: PezspCoreCryptoAccountId32 | string | Uint8Array, deposit: u128 | AnyNumber | Uint8Array, id: u32 | AnyNumber | Uint8Array, genesisHead: Bytes | string | Uint8Array, validationCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32, u128, u32, Bytes, Bytes]>;
2677
- /**
2678
- * Register head data and validation code for a reserved Para Id.
2679
- *
2680
- * ## Arguments
2681
- * - `origin`: Must be called by a `Signed` origin.
2682
- * - `id`: The para ID. Must be owned/managed by the `origin` signing account.
2683
- * - `genesis_head`: The genesis head data of the parachain/thread.
2684
- * - `validation_code`: The initial validation code of the parachain/thread.
2685
- *
2686
- * ## Deposits/Fees
2687
- * The account with the originating signature must reserve a deposit.
2688
- *
2689
- * The deposit is required to cover the costs associated with storing the genesis head
2690
- * data and the validation code.
2691
- * This accounts for the potential to store validation code of a size up to the
2692
- * `max_code_size`, as defined in the configuration pallet
2693
- *
2694
- * Anything already reserved previously for this para ID is accounted for.
2695
- *
2696
- * ## Events
2697
- * The `Registered` event is emitted in case of success.
2698
- **/
2699
- register: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array, genesisHead: Bytes | string | Uint8Array, validationCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes, Bytes]>;
2700
- /**
2701
- * Remove a manager lock from a para. This will allow the manager of a
2702
- * previously locked para to deregister or swap a para without using governance.
2703
- *
2704
- * Can only be called by the Root origin or the parachain.
2705
- **/
2706
- removeLock: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2707
- /**
2708
- * Reserve a Para Id on the relay chain.
2709
- *
2710
- * This function will reserve a new Para Id to be owned/managed by the origin account.
2711
- * The origin account is able to register head data and validation code using `register` to
2712
- * create an on-demand parachain. Using the Slots pallet, an on-demand parachain can then
2713
- * be upgraded to a lease holding parachain.
2714
- *
2715
- * ## Arguments
2716
- * - `origin`: Must be called by a `Signed` origin. Becomes the manager/owner of the new
2717
- * para ID.
2718
- *
2719
- * ## Deposits/Fees
2720
- * The origin must reserve a deposit of `ParaDeposit` for the registration.
2721
- *
2722
- * ## Events
2723
- * The `Reserved` event is emitted in case of success, which provides the ID reserved for
2724
- * use.
2725
- **/
2726
- reserve: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
2727
- /**
2728
- * Schedule a parachain upgrade.
2729
- *
2730
- * This will kick off a check of `new_code` by all validators. After the majority of the
2731
- * validators have reported on the validity of the code, the code will either be enacted
2732
- * or the upgrade will be rejected. If the code will be enacted, the current code of the
2733
- * parachain will be overwritten directly. This means that any PoV will be checked by this
2734
- * new code. The parachain itself will not be informed explicitly that the validation code
2735
- * has changed.
2736
- *
2737
- * Can be called by Root, the parachain, or the parachain manager if the parachain is
2738
- * unlocked.
2739
- **/
2740
- scheduleCodeUpgrade: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
2741
- /**
2742
- * Set the parachain's current head.
2743
- *
2744
- * Can be called by Root, the parachain, or the parachain manager if the parachain is
2745
- * unlocked.
2746
- **/
2747
- setCurrentHead: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newHead: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
2748
- /**
2749
- * Swap a lease holding parachain with another parachain, either on-demand or lease
2750
- * holding.
2751
- *
2752
- * The origin must be Root, the `para` owner, or the `para` itself.
2753
- *
2754
- * The swap will happen only if there is already an opposite swap pending. If there is not,
2755
- * the swap will be stored in the pending swaps map, ready for a later confirmatory swap.
2756
- *
2757
- * The `ParaId`s remain mapped to the same head data and code so external code can rely on
2758
- * `ParaId` to be a long-term identifier of a notional "parachain". However, their
2759
- * scheduling info (i.e. whether they're an on-demand parachain or lease holding
2760
- * parachain), auction information and the auction deposit are switched.
2761
- **/
2762
- swap: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array, other: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
2763
- /**
2764
- * Generic tx
2765
- **/
2766
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
2767
- };
2768
- scheduler: {
2769
- /**
2770
- * Cancel an anonymously scheduled task.
2771
- **/
2772
- cancel: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
2773
- /**
2774
- * Cancel a named scheduled task.
2775
- **/
2776
- cancelNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed]>;
2777
- /**
2778
- * Removes the retry configuration of a task.
2779
- **/
2780
- cancelRetry: AugmentedSubmittable<(task: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array]) => SubmittableExtrinsic<ApiType>, [ITuple<[u32, u32]>]>;
2781
- /**
2782
- * Cancel the retry configuration of a named task.
2783
- **/
2784
- cancelRetryNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed]>;
2785
- /**
2786
- * Anonymously schedule a task.
2787
- **/
2788
- schedule: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: RuntimeCall | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Option<ITuple<[u32, u32]>>, u8, RuntimeCall]>;
2789
- /**
2790
- * Anonymously schedule a task after a delay.
2791
- **/
2792
- scheduleAfter: AugmentedSubmittable<(after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: RuntimeCall | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Option<ITuple<[u32, u32]>>, u8, RuntimeCall]>;
2793
- /**
2794
- * Schedule a named task.
2795
- **/
2796
- scheduleNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, when: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: RuntimeCall | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u32, Option<ITuple<[u32, u32]>>, u8, RuntimeCall]>;
2797
- /**
2798
- * Schedule a named task after a delay.
2799
- **/
2800
- scheduleNamedAfter: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, after: u32 | AnyNumber | Uint8Array, maybePeriodic: Option<ITuple<[u32, u32]>> | null | Uint8Array | ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], priority: u8 | AnyNumber | Uint8Array, call: RuntimeCall | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u32, Option<ITuple<[u32, u32]>>, u8, RuntimeCall]>;
2801
- /**
2802
- * Set a retry configuration for a task so that, in case its scheduled run fails, it will
2803
- * be retried after `period` blocks, for a total amount of `retries` retries or until it
2804
- * succeeds.
2805
- *
2806
- * Tasks which need to be scheduled for a retry are still subject to weight metering and
2807
- * agenda space, same as a regular task. If a periodic task fails, it will be scheduled
2808
- * normally while the task is retrying.
2809
- *
2810
- * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic
2811
- * clones of the original task. Their retry configuration will be derived from the
2812
- * original task's configuration, but will have a lower value for `remaining` than the
2813
- * original `total_retries`.
2814
- **/
2815
- setRetry: AugmentedSubmittable<(task: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], retries: u8 | AnyNumber | Uint8Array, period: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [ITuple<[u32, u32]>, u8, u32]>;
2816
- /**
2817
- * Set a retry configuration for a named task so that, in case its scheduled run fails, it
2818
- * will be retried after `period` blocks, for a total amount of `retries` retries or until
2819
- * it succeeds.
2820
- *
2821
- * Tasks which need to be scheduled for a retry are still subject to weight metering and
2822
- * agenda space, same as a regular task. If a periodic task fails, it will be scheduled
2823
- * normally while the task is retrying.
2824
- *
2825
- * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic
2826
- * clones of the original task. Their retry configuration will be derived from the
2827
- * original task's configuration, but will have a lower value for `remaining` than the
2828
- * original `total_retries`.
2829
- **/
2830
- setRetryNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, retries: u8 | AnyNumber | Uint8Array, period: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u8, u32]>;
2831
- /**
2832
- * Generic tx
2833
- **/
2834
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
2835
- };
2836
- session: {
2837
- /**
2838
- * Removes any session key(s) of the function caller.
2839
- *
2840
- * This doesn't take effect until the next session.
2841
- *
2842
- * The dispatch origin of this function must be Signed and the account must be either be
2843
- * convertible to a validator ID using the chain's typical addressing system (this usually
2844
- * means being a controller account) or directly convertible into a validator ID (which
2845
- * usually means being a stash account).
2846
- *
2847
- * ## Complexity
2848
- * - `O(1)` in number of key types. Actual cost depends on the number of length of
2849
- * `T::Keys::key_ids()` which is fixed.
2850
- **/
2851
- purgeKeys: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
2852
- /**
2853
- * Sets the session key(s) of the function caller to `keys`.
2854
- * Allows an account to set its session key prior to becoming a validator.
2855
- * This doesn't take effect until the next session.
2856
- *
2857
- * The dispatch origin of this function must be signed.
2858
- *
2859
- * ## Complexity
2860
- * - `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is
2861
- * fixed.
2862
- **/
2863
- setKeys: AugmentedSubmittable<(keys: PezkuwiRuntimeSessionKeys, proof: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezkuwiRuntimeSessionKeys, Bytes]>;
2864
- /**
2865
- * Generic tx
2866
- **/
2867
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
2868
- };
2869
- slots: {
2870
- /**
2871
- * Clear all leases for a Para Id, refunding any deposits back to the original owners.
2872
- *
2873
- * The dispatch origin for this call must match `T::ForceOrigin`.
2874
- **/
2875
- clearAllLeases: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2876
- /**
2877
- * Just a connect into the `lease_out` call, in case Root wants to force some lease to
2878
- * happen independently of any other on-chain mechanism to use it.
2879
- *
2880
- * The dispatch origin for this call must match `T::ForceOrigin`.
2881
- **/
2882
- forceLease: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, leaser: PezspCoreCryptoAccountId32 | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array, periodBegin: u32 | AnyNumber | Uint8Array, periodCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, PezspCoreCryptoAccountId32, u128, u32, u32]>;
2883
- /**
2884
- * Try to onboard a parachain that has a lease for the current lease period.
2885
- *
2886
- * This function can be useful if there was some state issue with a para that should
2887
- * have onboarded, but was unable to. As long as they have a lease period, we can
2888
- * let them onboard from here.
2889
- *
2890
- * Origin must be signed, but can be called by anyone.
2891
- **/
2892
- triggerOnboard: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2893
- /**
2894
- * Generic tx
2895
- **/
2896
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
2897
- };
2898
- staking: {
2899
- /**
2900
- * Take the origin account as a stash and lock up `value` of its balance. `controller` will
2901
- * be the account that controls it.
2902
- *
2903
- * `value` must be more than the `minimum_balance` specified by `T::Currency`.
2904
- *
2905
- * The dispatch origin for this call must be _Signed_ by the stash account.
2906
- *
2907
- * Emits `Bonded`.
2908
- * ## Complexity
2909
- * - Independent of the arguments. Moderate complexity.
2910
- * - O(1).
2911
- * - Three extra DB entries.
2912
- *
2913
- * NOTE: Two of the storage writes (`Self::bonded`, `Self::payee`) are _never_ cleaned
2914
- * unless the `origin` falls below _existential deposit_ (or equal to 0) and gets removed
2915
- * as dust.
2916
- **/
2917
- bond: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, payee: PezpalletStakingRewardDestination) => SubmittableExtrinsic<ApiType>, [Compact<u128>, PezpalletStakingRewardDestination]>;
2918
- /**
2919
- * Add some extra amount that have appeared in the stash `free_balance` into the balance up
2920
- * for staking.
2921
- *
2922
- * The dispatch origin for this call must be _Signed_ by the stash, not the controller.
2923
- *
2924
- * Use this if there are additional funds in your stash account that you wish to bond.
2925
- * Unlike [`bond`](Self::bond) or [`unbond`](Self::unbond) this function does not impose
2926
- * any limitation on the amount that can be added.
2927
- *
2928
- * Emits `Bonded`.
2929
- *
2930
- * ## Complexity
2931
- * - Independent of the arguments. Insignificant complexity.
2932
- * - O(1).
2933
- **/
2934
- bondExtra: AugmentedSubmittable<(maxAdditional: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>]>;
2935
- /**
2936
- * Cancel enactment of a deferred slash.
2937
- *
2938
- * Can be called by the `T::AdminOrigin`.
2939
- *
2940
- * Parameters: era and indices of the slashes for that era to kill.
2941
- * They **must** be sorted in ascending order, *and* unique.
2942
- **/
2943
- cancelDeferredSlash: AugmentedSubmittable<(era: u32 | AnyNumber | Uint8Array, slashIndices: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<u32>]>;
2944
- /**
2945
- * Declare no desire to either validate or nominate.
2946
- *
2947
- * Effects will be felt at the beginning of the next era.
2948
- *
2949
- * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
2950
- *
2951
- * ## Complexity
2952
- * - Independent of the arguments. Insignificant complexity.
2953
- * - Contains one read.
2954
- * - Writes are limited to the `origin` account key.
2955
- **/
2956
- chill: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
2957
- /**
2958
- * Declare a `controller` to stop participating as either a validator or nominator.
2959
- *
2960
- * Effects will be felt at the beginning of the next era.
2961
- *
2962
- * The dispatch origin for this call must be _Signed_, but can be called by anyone.
2963
- *
2964
- * If the caller is the same as the controller being targeted, then no further checks are
2965
- * enforced, and this function behaves just like `chill`.
2966
- *
2967
- * If the caller is different than the controller being targeted, the following conditions
2968
- * must be met:
2969
- *
2970
- * * `controller` must belong to a nominator who has become non-decodable,
2971
- *
2972
- * Or:
2973
- *
2974
- * * A `ChillThreshold` must be set and checked which defines how close to the max
2975
- * nominators or validators we must reach before users can start chilling one-another.
2976
- * * A `MaxNominatorCount` and `MaxValidatorCount` must be set which is used to determine
2977
- * how close we are to the threshold.
2978
- * * A `MinNominatorBond` and `MinValidatorBond` must be set and checked, which determines
2979
- * if this is a person that should be chilled because they have not met the threshold
2980
- * bond required.
2981
- *
2982
- * This can be helpful if bond requirements are updated, and we need to remove old users
2983
- * who do not satisfy these requirements.
2984
- **/
2985
- chillOther: AugmentedSubmittable<(stash: PezspCoreCryptoAccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32]>;
2986
- /**
2987
- * Updates a batch of controller accounts to their corresponding stash account if they are
2988
- * not the same. Ignores any controller accounts that do not exist, and does not operate if
2989
- * the stash and controller are already the same.
2990
- *
2991
- * Effects will be felt instantly (as soon as this function is completed successfully).
2992
- *
2993
- * The dispatch origin must be `T::AdminOrigin`.
2994
- **/
2995
- deprecateControllerBatch: AugmentedSubmittable<(controllers: Vec<PezspCoreCryptoAccountId32> | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<PezspCoreCryptoAccountId32>]>;
2996
- /**
2997
- * Force a validator to have at least the minimum commission. This will not affect a
2998
- * validator who already has a commission greater than or equal to the minimum. Any account
2999
- * can call this.
3000
- **/
3001
- forceApplyMinCommission: AugmentedSubmittable<(validatorStash: PezspCoreCryptoAccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32]>;
3002
- /**
3003
- * Force there to be a new era at the end of the next session. After this, it will be
3004
- * reset to normal (non-forced) behaviour.
3005
- *
3006
- * The dispatch origin must be Root.
3007
- *
3008
- * # Warning
3009
- *
3010
- * The election process starts multiple blocks before the end of the era.
3011
- * If this is called just before a new era is triggered, the election process may not
3012
- * have enough blocks to get a result.
3013
- *
3014
- * ## Complexity
3015
- * - No arguments.
3016
- * - Weight: O(1)
3017
- **/
3018
- forceNewEra: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
3019
- /**
3020
- * Force there to be a new era at the end of sessions indefinitely.
3021
- *
3022
- * The dispatch origin must be Root.
3023
- *
3024
- * # Warning
3025
- *
3026
- * The election process starts multiple blocks before the end of the era.
3027
- * If this is called just before a new era is triggered, the election process may not
3028
- * have enough blocks to get a result.
3029
- **/
3030
- forceNewEraAlways: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
3031
- /**
3032
- * Force there to be no new eras indefinitely.
3033
- *
3034
- * The dispatch origin must be Root.
3035
- *
3036
- * # Warning
3037
- *
3038
- * The election process starts multiple blocks before the end of the era.
3039
- * Thus the election process may be ongoing when this is called. In this case the
3040
- * election will continue until the next era is triggered.
3041
- *
3042
- * ## Complexity
3043
- * - No arguments.
3044
- * - Weight: O(1)
3045
- **/
3046
- forceNoEras: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
3047
- /**
3048
- * Force a current staker to become completely unstaked, immediately.
3049
- *
3050
- * The dispatch origin must be Root.
3051
- *
3052
- * ## Parameters
3053
- *
3054
- * - `num_slashing_spans`: Refer to comments on [`Call::withdraw_unbonded`] for more
3055
- * details.
3056
- **/
3057
- forceUnstake: AugmentedSubmittable<(stash: PezspCoreCryptoAccountId32 | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32, u32]>;
3058
- /**
3059
- * Increments the ideal number of validators up to maximum of
3060
- * `ElectionProviderBase::MaxWinners`.
3061
- *
3062
- * The dispatch origin must be Root.
3063
- *
3064
- * ## Complexity
3065
- * Same as [`Self::set_validator_count`].
3066
- **/
3067
- increaseValidatorCount: AugmentedSubmittable<(additional: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
3068
- /**
3069
- * Remove the given nominations from the calling validator.
3070
- *
3071
- * Effects will be felt at the beginning of the next era.
3072
- *
3073
- * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
3074
- *
3075
- * - `who`: A list of nominator stash accounts who are nominating this validator which
3076
- * should no longer be nominating this validator.
3077
- *
3078
- * Note: Making this call only makes sense if you first set the validator preferences to
3079
- * block any further nominations.
3080
- **/
3081
- kick: AugmentedSubmittable<(who: Vec<PezspRuntimeMultiAddress> | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<PezspRuntimeMultiAddress>]>;
3082
- /**
3083
- * This function allows governance to manually slash a validator and is a
3084
- * **fallback mechanism**.
3085
- *
3086
- * The dispatch origin must be `T::AdminOrigin`.
3087
- *
3088
- * ## Parameters
3089
- * - `validator_stash` - The stash account of the validator to slash.
3090
- * - `era` - The era in which the validator was in the active set.
3091
- * - `slash_fraction` - The percentage of the stake to slash, expressed as a Perbill.
3092
- *
3093
- * ## Behavior
3094
- *
3095
- * The slash will be applied using the standard slashing mechanics, respecting the
3096
- * configured `SlashDeferDuration`.
3097
- *
3098
- * This means:
3099
- * - If the validator was already slashed by a higher percentage for the same era, this
3100
- * slash will have no additional effect.
3101
- * - If the validator was previously slashed by a lower percentage, only the difference
3102
- * will be applied.
3103
- * - The slash will be deferred by `SlashDeferDuration` eras before being enacted.
3104
- **/
3105
- manualSlash: AugmentedSubmittable<(validatorStash: PezspCoreCryptoAccountId32 | string | Uint8Array, era: u32 | AnyNumber | Uint8Array, slashFraction: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32, u32, u32]>;
3106
- /**
3107
- * Removes the legacy Staking locks if they exist.
3108
- *
3109
- * This removes the legacy lock on the stake with [`Config::OldCurrency`] and creates a
3110
- * hold on it if needed. If all stake cannot be held, the best effort is made to hold as
3111
- * much as possible. The remaining stake is forced withdrawn from the ledger.
3112
- *
3113
- * The fee is waived if the migration is successful.
3114
- **/
3115
- migrateCurrency: AugmentedSubmittable<(stash: PezspCoreCryptoAccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32]>;
3116
- /**
3117
- * Declare the desire to nominate `targets` for the origin controller.
3118
- *
3119
- * Effects will be felt at the beginning of the next era.
3120
- *
3121
- * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
3122
- *
3123
- * ## Complexity
3124
- * - The transaction's complexity is proportional to the size of `targets` (N)
3125
- * which is capped at CompactAssignments::LIMIT (T::MaxNominations).
3126
- * - Both the reads and writes follow a similar pattern.
3127
- **/
3128
- nominate: AugmentedSubmittable<(targets: Vec<PezspRuntimeMultiAddress> | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<PezspRuntimeMultiAddress>]>;
3129
- /**
3130
- * Pay out next page of the stakers behind a validator for the given era.
3131
- *
3132
- * - `validator_stash` is the stash account of the validator.
3133
- * - `era` may be any era between `[current_era - history_depth; current_era]`.
3134
- *
3135
- * The origin of this call must be _Signed_. Any account can call this function, even if
3136
- * it is not one of the stakers.
3137
- *
3138
- * The reward payout could be paged in case there are too many nominators backing the
3139
- * `validator_stash`. This call will payout unpaid pages in an ascending order. To claim a
3140
- * specific page, use `payout_stakers_by_page`.`
3141
- *
3142
- * If all pages are claimed, it returns an error `InvalidPage`.
3143
- **/
3144
- payoutStakers: AugmentedSubmittable<(validatorStash: PezspCoreCryptoAccountId32 | string | Uint8Array, era: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32, u32]>;
3145
- /**
3146
- * Pay out a page of the stakers behind a validator for the given era and page.
3147
- *
3148
- * - `validator_stash` is the stash account of the validator.
3149
- * - `era` may be any era between `[current_era - history_depth; current_era]`.
3150
- * - `page` is the page index of nominators to pay out with value between 0 and
3151
- * `num_nominators / T::MaxExposurePageSize`.
3152
- *
3153
- * The origin of this call must be _Signed_. Any account can call this function, even if
3154
- * it is not one of the stakers.
3155
- *
3156
- * If a validator has more than [`Config::MaxExposurePageSize`] nominators backing
3157
- * them, then the list of nominators is paged, with each page being capped at
3158
- * [`Config::MaxExposurePageSize`.] If a validator has more than one page of nominators,
3159
- * the call needs to be made for each page separately in order for all the nominators
3160
- * backing a validator to receive the reward. The nominators are not sorted across pages
3161
- * and so it should not be assumed the highest staker would be on the topmost page and vice
3162
- * versa. If rewards are not claimed in [`Config::HistoryDepth`] eras, they are lost.
3163
- **/
3164
- payoutStakersByPage: AugmentedSubmittable<(validatorStash: PezspCoreCryptoAccountId32 | string | Uint8Array, era: u32 | AnyNumber | Uint8Array, page: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32, u32, u32]>;
3165
- /**
3166
- * Remove all data structures concerning a staker/stash once it is at a state where it can
3167
- * be considered `dust` in the staking system. The requirements are:
3168
- *
3169
- * 1. the `total_balance` of the stash is below existential deposit.
3170
- * 2. or, the `ledger.total` of the stash is below existential deposit.
3171
- * 3. or, existential deposit is zero and either `total_balance` or `ledger.total` is zero.
3172
- *
3173
- * The former can happen in cases like a slash; the latter when a fully unbonded account
3174
- * is still receiving staking rewards in `RewardDestination::Staked`.
3175
- *
3176
- * It can be called by anyone, as long as `stash` meets the above requirements.
3177
- *
3178
- * Refunds the transaction fees upon successful execution.
3179
- *
3180
- * ## Parameters
3181
- *
3182
- * - `num_slashing_spans`: Refer to comments on [`Call::withdraw_unbonded`] for more
3183
- * details.
3184
- **/
3185
- reapStash: AugmentedSubmittable<(stash: PezspCoreCryptoAccountId32 | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32, u32]>;
3186
- /**
3187
- * Rebond a portion of the stash scheduled to be unlocked.
3188
- *
3189
- * The dispatch origin must be signed by the controller.
3190
- *
3191
- * ## Complexity
3192
- * - Time complexity: O(L), where L is unlocking chunks
3193
- * - Bounded by `MaxUnlockingChunks`.
3194
- **/
3195
- rebond: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>]>;
3196
- /**
3197
- * Restores the state of a ledger which is in an inconsistent state.
3198
- *
3199
- * The requirements to restore a ledger are the following:
3200
- * * The stash is bonded; or
3201
- * * The stash is not bonded but it has a staking lock left behind; or
3202
- * * If the stash has an associated ledger and its state is inconsistent; or
3203
- * * If the ledger is not corrupted *but* its staking lock is out of sync.
3204
- *
3205
- * The `maybe_*` input parameters will overwrite the corresponding data and metadata of the
3206
- * ledger associated with the stash. If the input parameters are not set, the ledger will
3207
- * be reset values from on-chain state.
3208
- **/
3209
- restoreLedger: AugmentedSubmittable<(stash: PezspCoreCryptoAccountId32 | string | Uint8Array, maybeController: Option<PezspCoreCryptoAccountId32> | string | Uint8Array, maybeTotal: Option<u128> | null | Uint8Array | u128 | AnyNumber, maybeUnlocking: Option<Vec<PezpalletStakingUnlockChunk>> | null | Uint8Array | Vec<PezpalletStakingUnlockChunk> | (PezpalletStakingUnlockChunk)[]) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32, Option<PezspCoreCryptoAccountId32>, Option<u128>, Option<Vec<PezpalletStakingUnlockChunk>>]>;
3210
- /**
3211
- * Scale up the ideal number of validators by a factor up to maximum of
3212
- * `ElectionProviderBase::MaxWinners`.
3213
- *
3214
- * The dispatch origin must be Root.
3215
- *
3216
- * ## Complexity
3217
- * Same as [`Self::set_validator_count`].
3218
- **/
3219
- scaleValidatorCount: AugmentedSubmittable<(factor: u8 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u8]>;
3220
- /**
3221
- * (Re-)sets the controller of a stash to the stash itself. This function previously
3222
- * accepted a `controller` argument to set the controller to an account other than the
3223
- * stash itself. This functionality has now been removed, now only setting the controller
3224
- * to the stash, if it is not already.
3225
- *
3226
- * Effects will be felt instantly (as soon as this function is completed successfully).
3227
- *
3228
- * The dispatch origin for this call must be _Signed_ by the stash, not the controller.
3229
- *
3230
- * ## Complexity
3231
- * O(1)
3232
- * - Independent of the arguments. Insignificant complexity.
3233
- * - Contains a limited number of reads.
3234
- * - Writes are limited to the `origin` account key.
3235
- **/
3236
- setController: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
3237
- /**
3238
- * Set the validators who cannot be slashed (if any).
3239
- *
3240
- * The dispatch origin must be Root.
3241
- **/
3242
- setInvulnerables: AugmentedSubmittable<(invulnerables: Vec<PezspCoreCryptoAccountId32> | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<PezspCoreCryptoAccountId32>]>;
3243
- /**
3244
- * Sets the minimum amount of commission that each validators must maintain.
3245
- *
3246
- * This call has lower privilege requirements than `set_staking_config` and can be called
3247
- * by the `T::AdminOrigin`. Root can always call this.
3248
- **/
3249
- setMinCommission: AugmentedSubmittable<(updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
3250
- /**
3251
- * (Re-)set the payment target for a controller.
3252
- *
3253
- * Effects will be felt instantly (as soon as this function is completed successfully).
3254
- *
3255
- * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
3256
- *
3257
- * ## Complexity
3258
- * - O(1)
3259
- * - Independent of the arguments. Insignificant complexity.
3260
- * - Contains a limited number of reads.
3261
- * - Writes are limited to the `origin` account key.
3262
- * ---------
3263
- **/
3264
- setPayee: AugmentedSubmittable<(payee: PezpalletStakingRewardDestination) => SubmittableExtrinsic<ApiType>, [PezpalletStakingRewardDestination]>;
3265
- /**
3266
- * Update the various staking configurations .
3267
- *
3268
- * * `min_nominator_bond`: The minimum active bond needed to be a nominator.
3269
- * * `min_validator_bond`: The minimum active bond needed to be a validator.
3270
- * * `max_nominator_count`: The max number of users who can be a nominator at once. When
3271
- * set to `None`, no limit is enforced.
3272
- * * `max_validator_count`: The max number of users who can be a validator at once. When
3273
- * set to `None`, no limit is enforced.
3274
- * * `chill_threshold`: The ratio of `max_nominator_count` or `max_validator_count` which
3275
- * should be filled in order for the `chill_other` transaction to work.
3276
- * * `min_commission`: The minimum amount of commission that each validators must maintain.
3277
- * This is checked only upon calling `validate`. Existing validators are not affected.
3278
- *
3279
- * RuntimeOrigin must be Root to call this function.
3280
- *
3281
- * NOTE: Existing nominators and validators will not be affected by this update.
3282
- * to kick people under the new limits, `chill_other` should be called.
3283
- **/
3284
- setStakingConfigs: AugmentedSubmittable<(minNominatorBond: PezpalletStakingPezpalletConfigOpU128, minValidatorBond: PezpalletStakingPezpalletConfigOpU128, maxNominatorCount: PezpalletStakingPezpalletConfigOpU32, maxValidatorCount: PezpalletStakingPezpalletConfigOpU32, chillThreshold: PezpalletStakingPezpalletConfigOpPercent, minCommission: PezpalletStakingPezpalletConfigOpPerbill, maxStakedRewards: PezpalletStakingPezpalletConfigOpPercent) => SubmittableExtrinsic<ApiType>, [PezpalletStakingPezpalletConfigOpU128, PezpalletStakingPezpalletConfigOpU128, PezpalletStakingPezpalletConfigOpU32, PezpalletStakingPezpalletConfigOpU32, PezpalletStakingPezpalletConfigOpPercent, PezpalletStakingPezpalletConfigOpPerbill, PezpalletStakingPezpalletConfigOpPercent]>;
3285
- /**
3286
- * Sets the ideal number of validators.
3287
- *
3288
- * The dispatch origin must be Root.
3289
- *
3290
- * ## Complexity
3291
- * O(1)
3292
- **/
3293
- setValidatorCount: AugmentedSubmittable<(updated: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
3294
- /**
3295
- * Schedule a portion of the stash to be unlocked ready for transfer out after the bond
3296
- * period ends. If this leaves an amount actively bonded less than
3297
- * [`asset::existential_deposit`], then it is increased to the full amount.
3298
- *
3299
- * The stash may be chilled if the ledger total amount falls to 0 after unbonding.
3300
- *
3301
- * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
3302
- *
3303
- * Once the unlock period is done, you can call `withdraw_unbonded` to actually move
3304
- * the funds out of management ready for transfer.
3305
- *
3306
- * No more than a limited number of unlocking chunks (see `MaxUnlockingChunks`)
3307
- * can co-exists at the same time. If there are no unlocking chunks slots available
3308
- * [`Call::withdraw_unbonded`] is called to remove some of the chunks (if possible).
3309
- *
3310
- * If a user encounters the `InsufficientBond` error when calling this extrinsic,
3311
- * they should call `chill` first in order to free up their bonded funds.
3312
- *
3313
- * Emits `Unbonded`.
3314
- *
3315
- * See also [`Call::withdraw_unbonded`].
3316
- **/
3317
- unbond: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>]>;
3318
- /**
3319
- * Migrates an account's `RewardDestination::Controller` to
3320
- * `RewardDestination::Account(controller)`.
3321
- *
3322
- * Effects will be felt instantly (as soon as this function is completed successfully).
3323
- *
3324
- * This will waive the transaction fee if the `payee` is successfully migrated.
3325
- **/
3326
- updatePayee: AugmentedSubmittable<(controller: PezspCoreCryptoAccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspCoreCryptoAccountId32]>;
3327
- /**
3328
- * Declare the desire to validate for the origin controller.
3329
- *
3330
- * Effects will be felt at the beginning of the next era.
3331
- *
3332
- * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
3333
- **/
3334
- validate: AugmentedSubmittable<(prefs: PezpalletStakingValidatorPrefs) => SubmittableExtrinsic<ApiType>, [PezpalletStakingValidatorPrefs]>;
3335
- /**
3336
- * Remove any unlocked chunks from the `unlocking` queue from our management.
3337
- *
3338
- * This essentially frees up that balance to be used by the stash account to do whatever
3339
- * it wants.
3340
- *
3341
- * The dispatch origin for this call must be _Signed_ by the controller.
3342
- *
3343
- * Emits `Withdrawn`.
3344
- *
3345
- * See also [`Call::unbond`].
3346
- *
3347
- * ## Parameters
3348
- *
3349
- * - `num_slashing_spans` indicates the number of metadata slashing spans to clear when
3350
- * this call results in a complete removal of all the data related to the stash account.
3351
- * In this case, the `num_slashing_spans` must be larger or equal to the number of
3352
- * slashing spans associated with the stash account in the [`SlashingSpans`] storage type,
3353
- * otherwise the call will fail. The call weight is directly proportional to
3354
- * `num_slashing_spans`.
3355
- *
3356
- * ## Complexity
3357
- * O(S) where S is the number of slashing spans to remove
3358
- * NOTE: Weight annotation is the kill scenario, we refund otherwise.
3359
- **/
3360
- withdrawUnbonded: AugmentedSubmittable<(numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
3361
- /**
3362
- * Generic tx
3363
- **/
3364
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
3365
- };
3366
- stakingAhClient: {
3367
- /**
3368
- * manually do what this pallet was meant to do at the end of the migration.
3369
- **/
3370
- forceOnMigrationEnd: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
3371
- /**
3372
- * Allows governance to force set the operating mode of the pallet.
3373
- **/
3374
- setMode: AugmentedSubmittable<(mode: PezpalletStakingAsyncAhClientOperatingMode) => SubmittableExtrinsic<ApiType>, [PezpalletStakingAsyncAhClientOperatingMode]>;
3375
- validatorSet: AugmentedSubmittable<(report: PezpalletStakingAsyncRcClientValidatorSetReport) => SubmittableExtrinsic<ApiType>, [PezpalletStakingAsyncRcClientValidatorSetReport]>;
3376
- /**
3377
- * Generic tx
3378
- **/
3379
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
3380
- };
3381
- stateTrieMigration: {
3382
- /**
3383
- * Continue the migration for the given `limits`.
3384
- *
3385
- * The dispatch origin of this call can be any signed account.
3386
- *
3387
- * This transaction has NO MONETARY INCENTIVES. calling it will not reward anyone. Albeit,
3388
- * Upon successful execution, the transaction fee is returned.
3389
- *
3390
- * The (potentially over-estimated) of the byte length of all the data read must be
3391
- * provided for up-front fee-payment and weighing. In essence, the caller is guaranteeing
3392
- * that executing the current `MigrationTask` with the given `limits` will not exceed
3393
- * `real_size_upper` bytes of read data.
3394
- *
3395
- * The `witness_task` is merely a helper to prevent the caller from being slashed or
3396
- * generally trigger a migration that they do not intend. This parameter is just a message
3397
- * from caller, saying that they believed `witness_task` was the last state of the
3398
- * migration, and they only wish for their transaction to do anything, if this assumption
3399
- * holds. In case `witness_task` does not match, the transaction fails.
3400
- *
3401
- * Based on the documentation of [`MigrationTask::migrate_until_exhaustion`], the
3402
- * recommended way of doing this is to pass a `limit` that only bounds `count`, as the
3403
- * `size` limit can always be overwritten.
3404
- **/
3405
- continueMigrate: AugmentedSubmittable<(limits: PezpalletStateTrieMigrationMigrationLimits, realSizeUpper: u32 | AnyNumber | Uint8Array, witnessTask: PezpalletStateTrieMigrationMigrationTask) => SubmittableExtrinsic<ApiType>, [PezpalletStateTrieMigrationMigrationLimits, u32, PezpalletStateTrieMigrationMigrationTask]>;
3406
- /**
3407
- * Control the automatic migration.
3408
- *
3409
- * The dispatch origin of this call must be [`Config::ControlOrigin`].
3410
- **/
3411
- controlAutoMigration: AugmentedSubmittable<(maybeConfig: Option<PezpalletStateTrieMigrationMigrationLimits> | null | Uint8Array | PezpalletStateTrieMigrationMigrationLimits) => SubmittableExtrinsic<ApiType>, [Option<PezpalletStateTrieMigrationMigrationLimits>]>;
3412
- /**
3413
- * Forcefully set the progress the running migration.
3414
- *
3415
- * This is only useful in one case: the next key to migrate is too big to be migrated with
3416
- * a signed account, in a parachain context, and we simply want to skip it. A reasonable
3417
- * example of this would be `:code:`, which is both very expensive to migrate, and commonly
3418
- * used, so probably it is already migrated.
3419
- *
3420
- * In case you mess things up, you can also, in principle, use this to reset the migration
3421
- * process.
3422
- **/
3423
- forceSetProgress: AugmentedSubmittable<(progressTop: PezpalletStateTrieMigrationProgress, progressChild: PezpalletStateTrieMigrationProgress) => SubmittableExtrinsic<ApiType>, [PezpalletStateTrieMigrationProgress, PezpalletStateTrieMigrationProgress]>;
3424
- /**
3425
- * Migrate the list of child keys by iterating each of them one by one.
3426
- *
3427
- * All of the given child keys must be present under one `child_root`.
3428
- *
3429
- * This does not affect the global migration process tracker ([`MigrationProcess`]), and
3430
- * should only be used in case any keys are leftover due to a bug.
3431
- **/
3432
- migrateCustomChild: AugmentedSubmittable<(root: Bytes | string | Uint8Array, childKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[], totalSize: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, Vec<Bytes>, u32]>;
3433
- /**
3434
- * Migrate the list of top keys by iterating each of them one by one.
3435
- *
3436
- * This does not affect the global migration process tracker ([`MigrationProcess`]), and
3437
- * should only be used in case any keys are leftover due to a bug.
3438
- **/
3439
- migrateCustomTop: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[], witnessSize: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>, u32]>;
3440
- /**
3441
- * Set the maximum limit of the signed migration.
3442
- **/
3443
- setSignedMaxLimits: AugmentedSubmittable<(limits: PezpalletStateTrieMigrationMigrationLimits) => SubmittableExtrinsic<ApiType>, [PezpalletStateTrieMigrationMigrationLimits]>;
3444
- /**
3445
- * Generic tx
3446
- **/
3447
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
3448
- };
3449
- system: {
3450
- /**
3451
- * Provide the preimage (runtime binary) `code` for an upgrade that has been authorized.
3452
- *
3453
- * If the authorization required a version check, this call will ensure the spec name
3454
- * remains unchanged and that the spec version has increased.
3455
- *
3456
- * Depending on the runtime's `OnSetCode` configuration, this function may directly apply
3457
- * the new `code` in the same block or attempt to schedule the upgrade.
3458
- *
3459
- * All origins are allowed.
3460
- **/
3461
- applyAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
3462
- /**
3463
- * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied
3464
- * later.
3465
- *
3466
- * This call requires Root origin.
3467
- **/
3468
- authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
3469
- /**
3470
- * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied
3471
- * later.
3472
- *
3473
- * WARNING: This authorizes an upgrade that will take place without any safety checks, for
3474
- * example that the spec name remains the same and that the version number increases. Not
3475
- * recommended for normal use. Use `authorize_upgrade` instead.
3476
- *
3477
- * This call requires Root origin.
3478
- **/
3479
- authorizeUpgradeWithoutChecks: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
3480
- /**
3481
- * Kill all storage items with a key that starts with the given prefix.
3482
- *
3483
- * **NOTE:** We rely on the Root origin to provide us the number of subkeys under
3484
- * the prefix we are removing to accurately calculate the weight of this function.
3485
- **/
3486
- killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32]>;
3487
- /**
3488
- * Kill some items from storage.
3489
- **/
3490
- killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;
3491
- /**
3492
- * Make some on-chain remark.
3493
- *
3494
- * Can be executed by every `origin`.
3495
- **/
3496
- remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
3497
- /**
3498
- * Make some on-chain remark and emit event.
3499
- **/
3500
- remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
3501
- /**
3502
- * Set the new runtime code.
3503
- **/
3504
- setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
3505
- /**
3506
- * Set the new runtime code without doing any checks of the given `code`.
3507
- *
3508
- * Note that runtime upgrades will not run if this is called with a not-increasing spec
3509
- * version!
3510
- **/
3511
- setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
3512
- /**
3513
- * Set the number of pages in the WebAssembly environment's heap.
3514
- **/
3515
- setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
3516
- /**
3517
- * Set some items of storage.
3518
- **/
3519
- setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[Bytes, Bytes]>>]>;
3520
- /**
3521
- * Generic tx
3522
- **/
3523
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
3524
- };
3525
- timestamp: {
3526
- /**
3527
- * Set the current time.
3528
- *
3529
- * This call should be invoked exactly once per block. It will panic at the finalization
3530
- * phase, if this call hasn't been invoked by that time.
3531
- *
3532
- * The timestamp should be greater than the previous one by the amount specified by
3533
- * [`Config::MinimumPeriod`].
3534
- *
3535
- * The dispatch origin for this call must be _None_.
3536
- *
3537
- * This dispatch class is _Mandatory_ to ensure it gets executed in the block. Be aware
3538
- * that changing the complexity of this call could result exhausting the resources in a
3539
- * block to execute any other calls.
3540
- *
3541
- * ## Complexity
3542
- * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)
3543
- * - 1 storage read and 1 storage mutation (codec `O(1)` because of `DidUpdate::take` in
3544
- * `on_finalize`)
3545
- * - 1 event handler `on_timestamp_set`. Must be `O(1)`.
3546
- **/
3547
- set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u64>]>;
3548
- /**
3549
- * Generic tx
3550
- **/
3551
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
3552
- };
3553
- treasury: {
3554
- /**
3555
- * Check the status of the spend and remove it from the storage if processed.
3556
- *
3557
- * ## Dispatch Origin
3558
- *
3559
- * Must be signed.
3560
- *
3561
- * ## Details
3562
- *
3563
- * The status check is a prerequisite for retrying a failed payout.
3564
- * If a spend has either succeeded or expired, it is removed from the storage by this
3565
- * function. In such instances, transaction fees are refunded.
3566
- *
3567
- * ### Parameters
3568
- * - `index`: The spend index.
3569
- *
3570
- * ## Events
3571
- *
3572
- * Emits [`Event::PaymentFailed`] if the spend payout has failed.
3573
- * Emits [`Event::SpendProcessed`] if the spend payout has succeed.
3574
- **/
3575
- checkStatus: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
3576
- /**
3577
- * Claim a spend.
3578
- *
3579
- * ## Dispatch Origin
3580
- *
3581
- * Must be signed
3582
- *
3583
- * ## Details
3584
- *
3585
- * Spends must be claimed within some temporal bounds. A spend may be claimed within one
3586
- * [`Config::PayoutPeriod`] from the `valid_from` block.
3587
- * In case of a payout failure, the spend status must be updated with the `check_status`
3588
- * dispatchable before retrying with the current function.
3589
- *
3590
- * ### Parameters
3591
- * - `index`: The spend index.
3592
- *
3593
- * ## Events
3594
- *
3595
- * Emits [`Event::Paid`] if successful.
3596
- **/
3597
- payout: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
3598
- /**
3599
- * Force a previously approved proposal to be removed from the approval queue.
3600
- *
3601
- * ## Dispatch Origin
3602
- *
3603
- * Must be [`Config::RejectOrigin`].
3604
- *
3605
- * ## Details
3606
- *
3607
- * The original deposit will no longer be returned.
3608
- *
3609
- * ### Parameters
3610
- * - `proposal_id`: The index of a proposal
3611
- *
3612
- * ### Complexity
3613
- * - O(A) where `A` is the number of approvals
3614
- *
3615
- * ### Errors
3616
- * - [`Error::ProposalNotApproved`]: The `proposal_id` supplied was not found in the
3617
- * approval queue, i.e., the proposal has not been approved. This could also mean the
3618
- * proposal does not exist altogether, thus there is no way it would have been approved
3619
- * in the first place.
3620
- **/
3621
- removeApproval: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
3622
- /**
3623
- * Propose and approve a spend of treasury funds.
3624
- *
3625
- * ## Dispatch Origin
3626
- *
3627
- * Must be [`Config::SpendOrigin`] with the `Success` value being at least
3628
- * `amount` of `asset_kind` in the native asset. The amount of `asset_kind` is converted
3629
- * for assertion using the [`Config::BalanceConverter`].
3630
- *
3631
- * ## Details
3632
- *
3633
- * Create an approved spend for transferring a specific `amount` of `asset_kind` to a
3634
- * designated beneficiary. The spend must be claimed using the `payout` dispatchable within
3635
- * the [`Config::PayoutPeriod`].
3636
- *
3637
- * ### Parameters
3638
- * - `asset_kind`: An indicator of the specific asset class to be spent.
3639
- * - `amount`: The amount to be transferred from the treasury to the `beneficiary`.
3640
- * - `beneficiary`: The beneficiary of the spend.
3641
- * - `valid_from`: The block number from which the spend can be claimed. It can refer to
3642
- * the past if the resulting spend has not yet expired according to the
3643
- * [`Config::PayoutPeriod`]. If `None`, the spend can be claimed immediately after
3644
- * approval.
3645
- *
3646
- * ## Events
3647
- *
3648
- * Emits [`Event::AssetSpendApproved`] if successful.
3649
- **/
3650
- spend: AugmentedSubmittable<(assetKind: PezkuwiRuntimeCommonImplsVersionedLocatableAsset, amount: Compact<u128> | AnyNumber | Uint8Array, beneficiary: XcmVersionedLocation | {
3651
- V3: any;
3652
- } | {
3653
- V4: any;
3654
- } | {
3655
- V5: any;
3656
- } | string | Uint8Array, validFrom: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [PezkuwiRuntimeCommonImplsVersionedLocatableAsset, Compact<u128>, XcmVersionedLocation, Option<u32>]>;
3657
- /**
3658
- * Propose and approve a spend of treasury funds.
3659
- *
3660
- * ## Dispatch Origin
3661
- *
3662
- * Must be [`Config::SpendOrigin`] with the `Success` value being at least `amount`.
3663
- *
3664
- * ### Details
3665
- * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the
3666
- * beneficiary.
3667
- *
3668
- * ### Parameters
3669
- * - `amount`: The amount to be transferred from the treasury to the `beneficiary`.
3670
- * - `beneficiary`: The destination account for the transfer.
3671
- *
3672
- * ## Events
3673
- *
3674
- * Emits [`Event::SpendApproved`] if successful.
3675
- **/
3676
- spendLocal: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, beneficiary: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, PezspRuntimeMultiAddress]>;
3677
- /**
3678
- * Void previously approved spend.
3679
- *
3680
- * ## Dispatch Origin
3681
- *
3682
- * Must be [`Config::RejectOrigin`].
3683
- *
3684
- * ## Details
3685
- *
3686
- * A spend void is only possible if the payout has not been attempted yet.
3687
- *
3688
- * ### Parameters
3689
- * - `index`: The spend index.
3690
- *
3691
- * ## Events
3692
- *
3693
- * Emits [`Event::AssetSpendVoided`] if successful.
3694
- **/
3695
- voidSpend: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
3696
- /**
3697
- * Generic tx
3698
- **/
3699
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
3700
- };
3701
- utility: {
3702
- /**
3703
- * Send a call through an indexed pseudonym of the sender.
3704
- *
3705
- * Filter from origin are passed along. The call will be dispatched with an origin which
3706
- * use the same filter as the origin of this call.
3707
- *
3708
- * NOTE: If you need to ensure that any account-based filtering is not honored (i.e.
3709
- * because you expect `proxy` to have been used prior in the call stack and you do not want
3710
- * the call restrictions to apply to any sub-accounts), then use `as_multi_threshold_1`
3711
- * in the Multisig pallet instead.
3712
- *
3713
- * NOTE: Prior to version *12, this was called `as_limited_sub`.
3714
- *
3715
- * The dispatch origin for this call must be _Signed_.
3716
- **/
3717
- asDerivative: AugmentedSubmittable<(index: u16 | AnyNumber | Uint8Array, call: RuntimeCall | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, RuntimeCall]>;
3718
- /**
3719
- * Send a batch of dispatch calls.
3720
- *
3721
- * May be called from any origin except `None`.
3722
- *
3723
- * - `calls`: The calls to be dispatched from the same origin. The number of call must not
3724
- * exceed the constant: `batched_calls_limit` (available in constant metadata).
3725
- *
3726
- * If origin is root then the calls are dispatched without checking origin filter. (This
3727
- * includes bypassing `frame_system::Config::BaseCallFilter`).
3728
- *
3729
- * ## Complexity
3730
- * - O(C) where C is the number of calls to be batched.
3731
- *
3732
- * This will return `Ok` in all circumstances. To determine the success of the batch, an
3733
- * event is deposited. If a call failed and the batch was interrupted, then the
3734
- * `BatchInterrupted` event is deposited, along with the number of successful calls made
3735
- * and the error of the failed call. If all were successful, then the `BatchCompleted`
3736
- * event is deposited.
3737
- **/
3738
- batch: AugmentedSubmittable<(calls: Vec<RuntimeCall> | (RuntimeCall | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<RuntimeCall>]>;
3739
- /**
3740
- * Send a batch of dispatch calls and atomically execute them.
3741
- * The whole transaction will rollback and fail if any of the calls failed.
3742
- *
3743
- * May be called from any origin except `None`.
3744
- *
3745
- * - `calls`: The calls to be dispatched from the same origin. The number of call must not
3746
- * exceed the constant: `batched_calls_limit` (available in constant metadata).
3747
- *
3748
- * If origin is root then the calls are dispatched without checking origin filter. (This
3749
- * includes bypassing `frame_system::Config::BaseCallFilter`).
3750
- *
3751
- * ## Complexity
3752
- * - O(C) where C is the number of calls to be batched.
3753
- **/
3754
- batchAll: AugmentedSubmittable<(calls: Vec<RuntimeCall> | (RuntimeCall | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<RuntimeCall>]>;
3755
- /**
3756
- * Dispatches a function call with a provided origin.
3757
- *
3758
- * The dispatch origin for this call must be _Root_.
3759
- *
3760
- * ## Complexity
3761
- * - O(1).
3762
- **/
3763
- dispatchAs: AugmentedSubmittable<(asOrigin: PezkuwiRuntimeOriginCaller, call: RuntimeCall | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezkuwiRuntimeOriginCaller, RuntimeCall]>;
3764
- /**
3765
- * Dispatches a function call with a provided origin.
3766
- *
3767
- * Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call.
3768
- *
3769
- * The dispatch origin for this call must be _Root_.
3770
- **/
3771
- dispatchAsFallible: AugmentedSubmittable<(asOrigin: PezkuwiRuntimeOriginCaller, call: RuntimeCall | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezkuwiRuntimeOriginCaller, RuntimeCall]>;
3772
- /**
3773
- * Send a batch of dispatch calls.
3774
- * Unlike `batch`, it allows errors and won't interrupt.
3775
- *
3776
- * May be called from any origin except `None`.
3777
- *
3778
- * - `calls`: The calls to be dispatched from the same origin. The number of call must not
3779
- * exceed the constant: `batched_calls_limit` (available in constant metadata).
3780
- *
3781
- * If origin is root then the calls are dispatch without checking origin filter. (This
3782
- * includes bypassing `frame_system::Config::BaseCallFilter`).
3783
- *
3784
- * ## Complexity
3785
- * - O(C) where C is the number of calls to be batched.
3786
- **/
3787
- forceBatch: AugmentedSubmittable<(calls: Vec<RuntimeCall> | (RuntimeCall | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<RuntimeCall>]>;
3788
- /**
3789
- * Dispatch a fallback call in the event the main call fails to execute.
3790
- * May be called from any origin except `None`.
3791
- *
3792
- * This function first attempts to dispatch the `main` call.
3793
- * If the `main` call fails, the `fallback` is attemted.
3794
- * if the fallback is successfully dispatched, the weights of both calls
3795
- * are accumulated and an event containing the main call error is deposited.
3796
- *
3797
- * In the event of a fallback failure the whole call fails
3798
- * with the weights returned.
3799
- *
3800
- * - `main`: The main call to be dispatched. This is the primary action to execute.
3801
- * - `fallback`: The fallback call to be dispatched in case the `main` call fails.
3802
- *
3803
- * ## Dispatch Logic
3804
- * - If the origin is `root`, both the main and fallback calls are executed without
3805
- * applying any origin filters.
3806
- * - If the origin is not `root`, the origin filter is applied to both the `main` and
3807
- * `fallback` calls.
3808
- *
3809
- * ## Use Case
3810
- * - Some use cases might involve submitting a `batch` type call in either main, fallback
3811
- * or both.
3812
- **/
3813
- ifElse: AugmentedSubmittable<(main: RuntimeCall | IMethod | string | Uint8Array, fallback: RuntimeCall | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [RuntimeCall, RuntimeCall]>;
3814
- /**
3815
- * Dispatch a function call with a specified weight.
3816
- *
3817
- * This function does not check the weight of the call, and instead allows the
3818
- * Root origin to specify the weight of the call.
3819
- *
3820
- * The dispatch origin for this call must be _Root_.
3821
- **/
3822
- withWeight: AugmentedSubmittable<(call: RuntimeCall | IMethod | string | Uint8Array, weight: PezspWeightsWeightV2Weight) => SubmittableExtrinsic<ApiType>, [RuntimeCall, PezspWeightsWeightV2Weight]>;
3823
- /**
3824
- * Generic tx
3825
- **/
3826
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
3827
- };
3828
- vesting: {
3829
- /**
3830
- * Force remove a vesting schedule
3831
- *
3832
- * The dispatch origin for this call must be _Root_.
3833
- *
3834
- * - `target`: An account that has a vesting schedule
3835
- * - `schedule_index`: The vesting schedule index that should be removed
3836
- **/
3837
- forceRemoveVestingSchedule: AugmentedSubmittable<(target: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, scheduleIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, u32]>;
3838
- /**
3839
- * Force a vested transfer.
3840
- *
3841
- * The dispatch origin for this call must be _Root_.
3842
- *
3843
- * - `source`: The account whose funds should be transferred.
3844
- * - `target`: The account that should be transferred the vested funds.
3845
- * - `schedule`: The vesting schedule attached to the transfer.
3846
- *
3847
- * Emits `VestingCreated`.
3848
- *
3849
- * NOTE: This will unlock all schedules through the current block.
3850
- *
3851
- * ## Complexity
3852
- * - `O(1)`.
3853
- **/
3854
- forceVestedTransfer: AugmentedSubmittable<(source: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, target: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, schedule: PezpalletVestingVestingInfo) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, PezspRuntimeMultiAddress, PezpalletVestingVestingInfo]>;
3855
- /**
3856
- * Merge two vesting schedules together, creating a new vesting schedule that unlocks over
3857
- * the highest possible start and end blocks. If both schedules have already started the
3858
- * current block will be used as the schedule start; with the caveat that if one schedule
3859
- * is finished by the current block, the other will be treated as the new merged schedule,
3860
- * unmodified.
3861
- *
3862
- * NOTE: If `schedule1_index == schedule2_index` this is a no-op.
3863
- * NOTE: This will unlock all schedules through the current block prior to merging.
3864
- * NOTE: If both schedules have ended by the current block, no new schedule will be created
3865
- * and both will be removed.
3866
- *
3867
- * Merged schedule attributes:
3868
- * - `starting_block`: `MAX(schedule1.starting_block, scheduled2.starting_block,
3869
- * current_block)`.
3870
- * - `ending_block`: `MAX(schedule1.ending_block, schedule2.ending_block)`.
3871
- * - `locked`: `schedule1.locked_at(current_block) + schedule2.locked_at(current_block)`.
3872
- *
3873
- * The dispatch origin for this call must be _Signed_.
3874
- *
3875
- * - `schedule1_index`: index of the first schedule to merge.
3876
- * - `schedule2_index`: index of the second schedule to merge.
3877
- **/
3878
- mergeSchedules: AugmentedSubmittable<(schedule1Index: u32 | AnyNumber | Uint8Array, schedule2Index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
3879
- /**
3880
- * Unlock any vested funds of the sender account.
3881
- *
3882
- * The dispatch origin for this call must be _Signed_ and the sender must have funds still
3883
- * locked under this pallet.
3884
- *
3885
- * Emits either `VestingCompleted` or `VestingUpdated`.
3886
- *
3887
- * ## Complexity
3888
- * - `O(1)`.
3889
- **/
3890
- vest: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
3891
- /**
3892
- * Create a vested transfer.
3893
- *
3894
- * The dispatch origin for this call must be _Signed_.
3895
- *
3896
- * - `target`: The account receiving the vested funds.
3897
- * - `schedule`: The vesting schedule attached to the transfer.
3898
- *
3899
- * Emits `VestingCreated`.
3900
- *
3901
- * NOTE: This will unlock all schedules through the current block.
3902
- *
3903
- * ## Complexity
3904
- * - `O(1)`.
3905
- **/
3906
- vestedTransfer: AugmentedSubmittable<(target: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, schedule: PezpalletVestingVestingInfo) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, PezpalletVestingVestingInfo]>;
3907
- /**
3908
- * Unlock any vested funds of a `target` account.
3909
- *
3910
- * The dispatch origin for this call must be _Signed_.
3911
- *
3912
- * - `target`: The account whose vested funds should be unlocked. Must have funds still
3913
- * locked under this pallet.
3914
- *
3915
- * Emits either `VestingCompleted` or `VestingUpdated`.
3916
- *
3917
- * ## Complexity
3918
- * - `O(1)`.
3919
- **/
3920
- vestOther: AugmentedSubmittable<(target: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress]>;
3921
- /**
3922
- * Generic tx
3923
- **/
3924
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
3925
- };
3926
- voterList: {
3927
- /**
3928
- * Move the caller's Id directly in front of `lighter`.
3929
- *
3930
- * The dispatch origin for this call must be _Signed_ and can only be called by the Id of
3931
- * the account going in front of `lighter`. Fee is payed by the origin under all
3932
- * circumstances.
3933
- *
3934
- * Only works if:
3935
- *
3936
- * - both nodes are within the same bag,
3937
- * - and `origin` has a greater `Score` than `lighter`.
3938
- **/
3939
- putInFrontOf: AugmentedSubmittable<(lighter: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress]>;
3940
- /**
3941
- * Same as [`Pallet::put_in_front_of`], but it can be called by anyone.
3942
- *
3943
- * Fee is paid by the origin under all circumstances.
3944
- **/
3945
- putInFrontOfOther: AugmentedSubmittable<(heavier: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array, lighter: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress, PezspRuntimeMultiAddress]>;
3946
- /**
3947
- * Declare that some `dislocated` account has, through rewards or penalties, sufficiently
3948
- * changed its score that it should properly fall into a different bag than its current
3949
- * one.
3950
- *
3951
- * Anyone can call this function about any potentially dislocated account.
3952
- *
3953
- * Will always update the stored score of `dislocated` to the correct score, based on
3954
- * `ScoreProvider`.
3955
- *
3956
- * If `dislocated` does not exists, it returns an error.
3957
- **/
3958
- rebag: AugmentedSubmittable<(dislocated: PezspRuntimeMultiAddress | AccountId | AccountIndex | Address | LookupSource | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezspRuntimeMultiAddress]>;
3959
- /**
3960
- * Generic tx
3961
- **/
3962
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
3963
- };
3964
- whitelist: {
3965
- dispatchWhitelistedCall: AugmentedSubmittable<(callHash: H256 | string | Uint8Array, callEncodedLen: u32 | AnyNumber | Uint8Array, callWeightWitness: PezspWeightsWeightV2Weight) => SubmittableExtrinsic<ApiType>, [H256, u32, PezspWeightsWeightV2Weight]>;
3966
- dispatchWhitelistedCallWithPreimage: AugmentedSubmittable<(call: RuntimeCall | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [RuntimeCall]>;
3967
- removeWhitelistedCall: AugmentedSubmittable<(callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
3968
- whitelistCall: AugmentedSubmittable<(callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
3969
- /**
3970
- * Generic tx
3971
- **/
3972
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
3973
- };
3974
- xcmPallet: {
3975
- /**
3976
- * Authorize another `aliaser` location to alias into the local `origin` making this call.
3977
- * The `aliaser` is only authorized until the provided `expiry` block number.
3978
- * The call can also be used for a previously authorized alias in order to update its
3979
- * `expiry` block number.
3980
- *
3981
- * Usually useful to allow your local account to be aliased into from a remote location
3982
- * also under your control (like your account on another chain).
3983
- *
3984
- * WARNING: make sure the caller `origin` (you) trusts the `aliaser` location to act in
3985
- * their/your name. Once authorized using this call, the `aliaser` can freely impersonate
3986
- * `origin` in XCM programs executed on the local chain.
3987
- **/
3988
- addAuthorizedAlias: AugmentedSubmittable<(aliaser: XcmVersionedLocation | {
3989
- V3: any;
3990
- } | {
3991
- V4: any;
3992
- } | {
3993
- V5: any;
3994
- } | string | Uint8Array, expires: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, Option<u64>]>;
3995
- /**
3996
- * Claims assets trapped on this pallet because of leftover assets during XCM execution.
3997
- *
3998
- * - `origin`: Anyone can call this extrinsic.
3999
- * - `assets`: The exact assets that were trapped. Use the version to specify what version
4000
- * was the latest when they were trapped.
4001
- * - `beneficiary`: The location/account where the claimed assets will be deposited.
4002
- **/
4003
- claimAssets: AugmentedSubmittable<(assets: XcmVersionedAssets | {
4004
- V3: any;
4005
- } | {
4006
- V4: any;
4007
- } | {
4008
- V5: any;
4009
- } | string | Uint8Array, beneficiary: XcmVersionedLocation | {
4010
- V3: any;
4011
- } | {
4012
- V4: any;
4013
- } | {
4014
- V5: any;
4015
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedAssets, XcmVersionedLocation]>;
4016
- /**
4017
- * Execute an XCM message from a local, signed, origin.
4018
- *
4019
- * An event is deposited indicating whether `msg` could be executed completely or only
4020
- * partially.
4021
- *
4022
- * No more than `max_weight` will be used in its attempted execution. If this is less than
4023
- * the maximum amount of weight that the message could take to be executed, then no
4024
- * execution attempt will be made.
4025
- **/
4026
- execute: AugmentedSubmittable<(message: XcmVersionedXcm | {
4027
- V3: any;
4028
- } | {
4029
- V4: any;
4030
- } | {
4031
- V5: any;
4032
- } | string | Uint8Array, maxWeight: PezspWeightsWeightV2Weight) => SubmittableExtrinsic<ApiType>, [XcmVersionedXcm, PezspWeightsWeightV2Weight]>;
4033
- /**
4034
- * Set a safe XCM version (the version that XCM should be encoded with if the most recent
4035
- * version a destination can accept is unknown).
4036
- *
4037
- * - `origin`: Must be an origin specified by AdminOrigin.
4038
- * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable.
4039
- **/
4040
- forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
4041
- /**
4042
- * Ask a location to notify us regarding their XCM version and any changes to it.
4043
- *
4044
- * - `origin`: Must be an origin specified by AdminOrigin.
4045
- * - `location`: The location to which we should subscribe for XCM version notifications.
4046
- **/
4047
- forceSubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedLocation | {
4048
- V3: any;
4049
- } | {
4050
- V4: any;
4051
- } | {
4052
- V5: any;
4053
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation]>;
4054
- /**
4055
- * Set or unset the global suspension state of the XCM executor.
4056
- *
4057
- * - `origin`: Must be an origin specified by AdminOrigin.
4058
- * - `suspended`: `true` to suspend, `false` to resume.
4059
- **/
4060
- forceSuspension: AugmentedSubmittable<(suspended: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [bool]>;
4061
- /**
4062
- * Require that a particular destination should no longer notify us regarding any XCM
4063
- * version changes.
4064
- *
4065
- * - `origin`: Must be an origin specified by AdminOrigin.
4066
- * - `location`: The location to which we are currently subscribed for XCM version
4067
- * notifications which we no longer desire.
4068
- **/
4069
- forceUnsubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedLocation | {
4070
- V3: any;
4071
- } | {
4072
- V4: any;
4073
- } | {
4074
- V5: any;
4075
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation]>;
4076
- /**
4077
- * Extoll that a particular destination can be communicated with through a particular
4078
- * version of XCM.
4079
- *
4080
- * - `origin`: Must be an origin specified by AdminOrigin.
4081
- * - `location`: The destination that is being described.
4082
- * - `xcm_version`: The latest version of XCM that `location` supports.
4083
- **/
4084
- forceXcmVersion: AugmentedSubmittable<(location: StagingXcmV5Location | {
4085
- parents?: any;
4086
- interior?: any;
4087
- } | string | Uint8Array, version: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingXcmV5Location, u32]>;
4088
- /**
4089
- * Transfer some assets from the local chain to the destination chain through their local,
4090
- * destination or remote reserve.
4091
- *
4092
- * `assets` must have same reserve location and may not be teleportable to `dest`.
4093
- * - `assets` have local reserve: transfer assets to sovereign account of destination
4094
- * chain and forward a notification XCM to `dest` to mint and deposit reserve-based
4095
- * assets to `beneficiary`.
4096
- * - `assets` have destination reserve: burn local assets and forward a notification to
4097
- * `dest` chain to withdraw the reserve assets from this chain's sovereign account and
4098
- * deposit them to `beneficiary`.
4099
- * - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move
4100
- * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest`
4101
- * to mint and deposit reserve-based assets to `beneficiary`.
4102
- *
4103
- * Fee payment on the destination side is made from the asset in the `assets` vector of
4104
- * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight
4105
- * is needed than `weight_limit`, then the operation will fail and the sent assets may be
4106
- * at risk.
4107
- *
4108
- * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
4109
- * - `dest`: Destination context for the assets. Will typically be `[Parent,
4110
- * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from
4111
- * relay to parachain.
4112
- * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will
4113
- * generally be an `AccountId32` value.
4114
- * - `assets`: The assets to be withdrawn. This should include the assets used to pay the
4115
- * fee on the `dest` (and possibly reserve) chains.
4116
- * - `fee_asset_item`: The index into `assets` of the item which should be used to pay
4117
- * fees.
4118
- * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
4119
- **/
4120
- limitedReserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | {
4121
- V3: any;
4122
- } | {
4123
- V4: any;
4124
- } | {
4125
- V5: any;
4126
- } | string | Uint8Array, beneficiary: XcmVersionedLocation | {
4127
- V3: any;
4128
- } | {
4129
- V4: any;
4130
- } | {
4131
- V5: any;
4132
- } | string | Uint8Array, assets: XcmVersionedAssets | {
4133
- V3: any;
4134
- } | {
4135
- V4: any;
4136
- } | {
4137
- V5: any;
4138
- } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | {
4139
- Unlimited: any;
4140
- } | {
4141
- Limited: any;
4142
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit]>;
4143
- /**
4144
- * Teleport some assets from the local chain to some destination chain.
4145
- *
4146
- * Fee payment on the destination side is made from the asset in the `assets` vector of
4147
- * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight
4148
- * is needed than `weight_limit`, then the operation will fail and the sent assets may be
4149
- * at risk.
4150
- *
4151
- * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
4152
- * - `dest`: Destination context for the assets. Will typically be `[Parent,
4153
- * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from
4154
- * relay to parachain.
4155
- * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will
4156
- * generally be an `AccountId32` value.
4157
- * - `assets`: The assets to be withdrawn. This should include the assets used to pay the
4158
- * fee on the `dest` chain.
4159
- * - `fee_asset_item`: The index into `assets` of the item which should be used to pay
4160
- * fees.
4161
- * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
4162
- **/
4163
- limitedTeleportAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | {
4164
- V3: any;
4165
- } | {
4166
- V4: any;
4167
- } | {
4168
- V5: any;
4169
- } | string | Uint8Array, beneficiary: XcmVersionedLocation | {
4170
- V3: any;
4171
- } | {
4172
- V4: any;
4173
- } | {
4174
- V5: any;
4175
- } | string | Uint8Array, assets: XcmVersionedAssets | {
4176
- V3: any;
4177
- } | {
4178
- V4: any;
4179
- } | {
4180
- V5: any;
4181
- } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | {
4182
- Unlimited: any;
4183
- } | {
4184
- Limited: any;
4185
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit]>;
4186
- /**
4187
- * Remove all previously authorized `aliaser`s that can alias into the local `origin`
4188
- * making this call.
4189
- **/
4190
- removeAllAuthorizedAliases: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
4191
- /**
4192
- * Remove a previously authorized `aliaser` from the list of locations that can alias into
4193
- * the local `origin` making this call.
4194
- **/
4195
- removeAuthorizedAlias: AugmentedSubmittable<(aliaser: XcmVersionedLocation | {
4196
- V3: any;
4197
- } | {
4198
- V4: any;
4199
- } | {
4200
- V5: any;
4201
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation]>;
4202
- /**
4203
- * Transfer some assets from the local chain to the destination chain through their local,
4204
- * destination or remote reserve.
4205
- *
4206
- * `assets` must have same reserve location and may not be teleportable to `dest`.
4207
- * - `assets` have local reserve: transfer assets to sovereign account of destination
4208
- * chain and forward a notification XCM to `dest` to mint and deposit reserve-based
4209
- * assets to `beneficiary`.
4210
- * - `assets` have destination reserve: burn local assets and forward a notification to
4211
- * `dest` chain to withdraw the reserve assets from this chain's sovereign account and
4212
- * deposit them to `beneficiary`.
4213
- * - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move
4214
- * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest`
4215
- * to mint and deposit reserve-based assets to `beneficiary`.
4216
- *
4217
- * **This function is deprecated: Use `limited_reserve_transfer_assets` instead.**
4218
- *
4219
- * Fee payment on the destination side is made from the asset in the `assets` vector of
4220
- * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,
4221
- * with all fees taken as needed from the asset.
4222
- *
4223
- * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
4224
- * - `dest`: Destination context for the assets. Will typically be `[Parent,
4225
- * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from
4226
- * relay to parachain.
4227
- * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will
4228
- * generally be an `AccountId32` value.
4229
- * - `assets`: The assets to be withdrawn. This should include the assets used to pay the
4230
- * fee on the `dest` (and possibly reserve) chains.
4231
- * - `fee_asset_item`: The index into `assets` of the item which should be used to pay
4232
- * fees.
4233
- **/
4234
- reserveTransferAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | {
4235
- V3: any;
4236
- } | {
4237
- V4: any;
4238
- } | {
4239
- V5: any;
4240
- } | string | Uint8Array, beneficiary: XcmVersionedLocation | {
4241
- V3: any;
4242
- } | {
4243
- V4: any;
4244
- } | {
4245
- V5: any;
4246
- } | string | Uint8Array, assets: XcmVersionedAssets | {
4247
- V3: any;
4248
- } | {
4249
- V4: any;
4250
- } | {
4251
- V5: any;
4252
- } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32]>;
4253
- send: AugmentedSubmittable<(dest: XcmVersionedLocation | {
4254
- V3: any;
4255
- } | {
4256
- V4: any;
4257
- } | {
4258
- V5: any;
4259
- } | string | Uint8Array, message: XcmVersionedXcm | {
4260
- V3: any;
4261
- } | {
4262
- V4: any;
4263
- } | {
4264
- V5: any;
4265
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedXcm]>;
4266
- /**
4267
- * Teleport some assets from the local chain to some destination chain.
4268
- *
4269
- * **This function is deprecated: Use `limited_teleport_assets` instead.**
4270
- *
4271
- * Fee payment on the destination side is made from the asset in the `assets` vector of
4272
- * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,
4273
- * with all fees taken as needed from the asset.
4274
- *
4275
- * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
4276
- * - `dest`: Destination context for the assets. Will typically be `[Parent,
4277
- * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from
4278
- * relay to parachain.
4279
- * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will
4280
- * generally be an `AccountId32` value.
4281
- * - `assets`: The assets to be withdrawn. This should include the assets used to pay the
4282
- * fee on the `dest` chain.
4283
- * - `fee_asset_item`: The index into `assets` of the item which should be used to pay
4284
- * fees.
4285
- **/
4286
- teleportAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | {
4287
- V3: any;
4288
- } | {
4289
- V4: any;
4290
- } | {
4291
- V5: any;
4292
- } | string | Uint8Array, beneficiary: XcmVersionedLocation | {
4293
- V3: any;
4294
- } | {
4295
- V4: any;
4296
- } | {
4297
- V5: any;
4298
- } | string | Uint8Array, assets: XcmVersionedAssets | {
4299
- V3: any;
4300
- } | {
4301
- V4: any;
4302
- } | {
4303
- V5: any;
4304
- } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32]>;
4305
- /**
4306
- * Transfer some assets from the local chain to the destination chain through their local,
4307
- * destination or remote reserve, or through teleports.
4308
- *
4309
- * Fee payment on the destination side is made from the asset in the `assets` vector of
4310
- * index `fee_asset_item` (hence referred to as `fees`), up to enough to pay for
4311
- * `weight_limit` of weight. If more weight is needed than `weight_limit`, then the
4312
- * operation will fail and the sent assets may be at risk.
4313
- *
4314
- * `assets` (excluding `fees`) must have same reserve location or otherwise be teleportable
4315
- * to `dest`, no limitations imposed on `fees`.
4316
- * - for local reserve: transfer assets to sovereign account of destination chain and
4317
- * forward a notification XCM to `dest` to mint and deposit reserve-based assets to
4318
- * `beneficiary`.
4319
- * - for destination reserve: burn local assets and forward a notification to `dest` chain
4320
- * to withdraw the reserve assets from this chain's sovereign account and deposit them
4321
- * to `beneficiary`.
4322
- * - for remote reserve: burn local assets, forward XCM to reserve chain to move reserves
4323
- * from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to mint
4324
- * and deposit reserve-based assets to `beneficiary`.
4325
- * - for teleports: burn local assets and forward XCM to `dest` chain to mint/teleport
4326
- * assets and deposit them to `beneficiary`.
4327
- *
4328
- * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
4329
- * - `dest`: Destination context for the assets. Will typically be `X2(Parent,
4330
- * Parachain(..))` to send from parachain to parachain, or `X1(Parachain(..))` to send
4331
- * from relay to parachain.
4332
- * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will
4333
- * generally be an `AccountId32` value.
4334
- * - `assets`: The assets to be withdrawn. This should include the assets used to pay the
4335
- * fee on the `dest` (and possibly reserve) chains.
4336
- * - `fee_asset_item`: The index into `assets` of the item which should be used to pay
4337
- * fees.
4338
- * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
4339
- **/
4340
- transferAssets: AugmentedSubmittable<(dest: XcmVersionedLocation | {
4341
- V3: any;
4342
- } | {
4343
- V4: any;
4344
- } | {
4345
- V5: any;
4346
- } | string | Uint8Array, beneficiary: XcmVersionedLocation | {
4347
- V3: any;
4348
- } | {
4349
- V4: any;
4350
- } | {
4351
- V5: any;
4352
- } | string | Uint8Array, assets: XcmVersionedAssets | {
4353
- V3: any;
4354
- } | {
4355
- V4: any;
4356
- } | {
4357
- V5: any;
4358
- } | string | Uint8Array, feeAssetItem: u32 | AnyNumber | Uint8Array, weightLimit: XcmV3WeightLimit | {
4359
- Unlimited: any;
4360
- } | {
4361
- Limited: any;
4362
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit]>;
4363
- /**
4364
- * Transfer assets from the local chain to the destination chain using explicit transfer
4365
- * types for assets and fees.
4366
- *
4367
- * `assets` must have same reserve location or may be teleportable to `dest`. Caller must
4368
- * provide the `assets_transfer_type` to be used for `assets`:
4369
- * - `TransferType::LocalReserve`: transfer assets to sovereign account of destination
4370
- * chain and forward a notification XCM to `dest` to mint and deposit reserve-based
4371
- * assets to `beneficiary`.
4372
- * - `TransferType::DestinationReserve`: burn local assets and forward a notification to
4373
- * `dest` chain to withdraw the reserve assets from this chain's sovereign account and
4374
- * deposit them to `beneficiary`.
4375
- * - `TransferType::RemoteReserve(reserve)`: burn local assets, forward XCM to `reserve`
4376
- * chain to move reserves from this chain's SA to `dest` chain's SA, and forward another
4377
- * XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. Typically
4378
- * the remote `reserve` is Asset Hub.
4379
- * - `TransferType::Teleport`: burn local assets and forward XCM to `dest` chain to
4380
- * mint/teleport assets and deposit them to `beneficiary`.
4381
- *
4382
- * On the destination chain, as well as any intermediary hops, `BuyExecution` is used to
4383
- * buy execution using transferred `assets` identified by `remote_fees_id`.
4384
- * Make sure enough of the specified `remote_fees_id` asset is included in the given list
4385
- * of `assets`. `remote_fees_id` should be enough to pay for `weight_limit`. If more weight
4386
- * is needed than `weight_limit`, then the operation will fail and the sent assets may be
4387
- * at risk.
4388
- *
4389
- * `remote_fees_id` may use different transfer type than rest of `assets` and can be
4390
- * specified through `fees_transfer_type`.
4391
- *
4392
- * The caller needs to specify what should happen to the transferred assets once they reach
4393
- * the `dest` chain. This is done through the `custom_xcm_on_dest` parameter, which
4394
- * contains the instructions to execute on `dest` as a final step.
4395
- * This is usually as simple as:
4396
- * `Xcm(vec![DepositAsset { assets: Wild(AllCounted(assets.len())), beneficiary }])`,
4397
- * but could be something more exotic like sending the `assets` even further.
4398
- *
4399
- * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
4400
- * - `dest`: Destination context for the assets. Will typically be `[Parent,
4401
- * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from
4402
- * relay to parachain, or `(parents: 2, (GlobalConsensus(..), ..))` to send from
4403
- * parachain across a bridge to another ecosystem destination.
4404
- * - `assets`: The assets to be withdrawn. This should include the assets used to pay the
4405
- * fee on the `dest` (and possibly reserve) chains.
4406
- * - `assets_transfer_type`: The XCM `TransferType` used to transfer the `assets`.
4407
- * - `remote_fees_id`: One of the included `assets` to be used to pay fees.
4408
- * - `fees_transfer_type`: The XCM `TransferType` used to transfer the `fees` assets.
4409
- * - `custom_xcm_on_dest`: The XCM to be executed on `dest` chain as the last step of the
4410
- * transfer, which also determines what happens to the assets on the destination chain.
4411
- * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
4412
- **/
4413
- transferAssetsUsingTypeAndThen: AugmentedSubmittable<(dest: XcmVersionedLocation | {
4414
- V3: any;
4415
- } | {
4416
- V4: any;
4417
- } | {
4418
- V5: any;
4419
- } | string | Uint8Array, assets: XcmVersionedAssets | {
4420
- V3: any;
4421
- } | {
4422
- V4: any;
4423
- } | {
4424
- V5: any;
4425
- } | string | Uint8Array, assetsTransferType: StagingXcmExecutorAssetTransferTransferType | {
4426
- Teleport: any;
4427
- } | {
4428
- LocalReserve: any;
4429
- } | {
4430
- DestinationReserve: any;
4431
- } | {
4432
- RemoteReserve: any;
4433
- } | string | Uint8Array, remoteFeesId: XcmVersionedAssetId | {
4434
- V3: any;
4435
- } | {
4436
- V4: any;
4437
- } | {
4438
- V5: any;
4439
- } | string | Uint8Array, feesTransferType: StagingXcmExecutorAssetTransferTransferType | {
4440
- Teleport: any;
4441
- } | {
4442
- LocalReserve: any;
4443
- } | {
4444
- DestinationReserve: any;
4445
- } | {
4446
- RemoteReserve: any;
4447
- } | string | Uint8Array, customXcmOnDest: XcmVersionedXcm | {
4448
- V3: any;
4449
- } | {
4450
- V4: any;
4451
- } | {
4452
- V5: any;
4453
- } | string | Uint8Array, weightLimit: XcmV3WeightLimit | {
4454
- Unlimited: any;
4455
- } | {
4456
- Limited: any;
4457
- } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, XcmVersionedAssets, StagingXcmExecutorAssetTransferTransferType, XcmVersionedAssetId, StagingXcmExecutorAssetTransferTransferType, XcmVersionedXcm, XcmV3WeightLimit]>;
4458
- /**
4459
- * Generic tx
4460
- **/
4461
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
4462
- };
4463
- }
4464
- }