@pezkuwi/api-augment 16.5.20 → 16.5.22

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