@pezkuwi/api-augment 16.5.20 → 16.5.21

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,4238 +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 { PezframeSupportPreimagesBounded, PezframeSupportScheduleDispatchTime, PezkuwiPrimitivesV8ApprovalVotingParams, PezkuwiPrimitivesV8AsyncBackingAsyncBackingParams, PezkuwiPrimitivesV8ExecutorParams, PezkuwiPrimitivesV8PvfCheckStatement, PezkuwiPrimitivesV8SchedulerParams, PezkuwiPrimitivesV8ValidatorAppSignature, PezkuwiPrimitivesVstagingDisputeProof, PezkuwiPrimitivesVstagingInherentData, PezkuwiRuntimeCommonClaimsEcdsaSignature, PezkuwiRuntimeCommonClaimsEthereumAddress, PezkuwiRuntimeCommonClaimsStatementKind, PezkuwiRuntimeCommonImplsVersionedLocatableAsset, PezkuwiRuntimeConstantsProxyProxyType, PezkuwiRuntimeOriginCaller, PezkuwiRuntimeSessionKeys, PezkuwiRuntimeTeyrchainsInclusionAggregateMessageOrigin, PezkuwiTeyrchainPrimitivesPrimitivesHrmpChannelId, PezpalletBalancesAdjustmentDirection, PezpalletBrokerCoretimeInterfaceCoreAssignment, PezpalletConvictionVotingConviction, PezpalletConvictionVotingVoteAccountVote, PezpalletElectionProviderMultiPhaseRawSolution, PezpalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PezpalletMultisigTimepoint, PezpalletNominationPoolsBondExtra, PezpalletNominationPoolsClaimPermission, PezpalletNominationPoolsCommissionChangeRate, PezpalletNominationPoolsCommissionClaimPermission, PezpalletNominationPoolsConfigOpAccountId32, PezpalletNominationPoolsConfigOpPerbill, PezpalletNominationPoolsConfigOpU128, PezpalletNominationPoolsConfigOpU32, PezpalletNominationPoolsPoolState, PezpalletRcMigratorManagerMultisigVote, PezpalletRcMigratorMigrationSettings, PezpalletRcMigratorMigrationStage, PezpalletRcMigratorQueuePriority, PezpalletStakingAsyncAhClientOperatingMode, PezpalletStakingAsyncRcClientValidatorSetReport, PezpalletStakingPezpalletConfigOpPerbill, PezpalletStakingPezpalletConfigOpPercent, PezpalletStakingPezpalletConfigOpU128, PezpalletStakingPezpalletConfigOpU32, PezpalletStakingRewardDestination, PezpalletStakingUnlockChunk, PezpalletStakingValidatorPrefs, PezpalletStateTrieMigrationMigrationLimits, PezpalletStateTrieMigrationMigrationTask, PezpalletStateTrieMigrationProgress, PezpalletVestingVestingInfo, PezspConsensusBabeDigestsNextConfigDescriptor, PezspConsensusBeefyDoubleVotingProof, PezspConsensusBeefyForkVotingProofAncestryProof, PezspConsensusBeefyFutureBlockVotingProof, PezspConsensusGrandpaEquivocationProof, PezspConsensusSlotsEquivocationProof, PezspNposElectionsElectionScore, PezspNposElectionsSupport, PezspRuntimeMultiSignature, PezspRuntimeMultiSigner, PezspSessionMembershipProof, PezspWeightsWeightV2Weight, 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
- grandpa: {
1262
- /**
1263
- * Note that the current authority set of the GRANDPA finality gadget has stalled.
1264
- *
1265
- * This will trigger a forced authority set change at the beginning of the next session, to
1266
- * be enacted `delay` blocks after that. The `delay` should be high enough to safely assume
1267
- * that the block signalling the forced change will not be re-orged e.g. 1000 blocks.
1268
- * The block production rate (which may be slowed down because of finality lagging) should
1269
- * be taken into account when choosing the `delay`. The GRANDPA voters based on the new
1270
- * authority will start voting on top of `best_finalized_block_number` for new finalized
1271
- * blocks. `best_finalized_block_number` should be the highest of the latest finalized
1272
- * block of all validators of the new authority set.
1273
- *
1274
- * Only callable by root.
1275
- **/
1276
- noteStalled: AugmentedSubmittable<(delay: u32 | AnyNumber | Uint8Array, bestFinalizedBlockNumber: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
1277
- /**
1278
- * Report voter equivocation/misbehavior. This method will verify the
1279
- * equivocation proof and validate the given key ownership proof
1280
- * against the extracted offender. If both are valid, the offence
1281
- * will be reported.
1282
- **/
1283
- reportEquivocation: AugmentedSubmittable<(equivocationProof: PezspConsensusGrandpaEquivocationProof, keyOwnerProof: PezspSessionMembershipProof) => SubmittableExtrinsic<ApiType>, [PezspConsensusGrandpaEquivocationProof, PezspSessionMembershipProof]>;
1284
- /**
1285
- * Report voter equivocation/misbehavior. This method will verify the
1286
- * equivocation proof and validate the given key ownership proof
1287
- * against the extracted offender. If both are valid, the offence
1288
- * will be reported.
1289
- *
1290
- * This extrinsic must be called unsigned and it is expected that only
1291
- * block authors will call it (validated in `ValidateUnsigned`), as such
1292
- * if the block author is defined it will be defined as the equivocation
1293
- * reporter.
1294
- **/
1295
- reportEquivocationUnsigned: AugmentedSubmittable<(equivocationProof: PezspConsensusGrandpaEquivocationProof, keyOwnerProof: PezspSessionMembershipProof) => SubmittableExtrinsic<ApiType>, [PezspConsensusGrandpaEquivocationProof, PezspSessionMembershipProof]>;
1296
- /**
1297
- * Generic tx
1298
- **/
1299
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
1300
- };
1301
- hrmp: {
1302
- /**
1303
- * Establish a bidirectional HRMP channel between a parachain and a system chain.
1304
- *
1305
- * Arguments:
1306
- *
1307
- * - `target_system_chain`: A system chain, `ParaId`.
1308
- *
1309
- * The origin needs to be the parachain origin.
1310
- **/
1311
- establishChannelWithSystem: AugmentedSubmittable<(targetSystemChain: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1312
- /**
1313
- * Establish an HRMP channel between two system chains. If the channel does not already
1314
- * exist, the transaction fees will be refunded to the caller. The system does not take
1315
- * deposits for channels between system chains, and automatically sets the message number
1316
- * and size limits to the maximum allowed by the network's configuration.
1317
- *
1318
- * Arguments:
1319
- *
1320
- * - `sender`: A system chain, `ParaId`.
1321
- * - `recipient`: A system chain, `ParaId`.
1322
- *
1323
- * Any signed origin can call this function, but _both_ inputs MUST be system chains. If
1324
- * the channel does not exist yet, there is no fee.
1325
- **/
1326
- establishSystemChannel: AugmentedSubmittable<(sender: u32 | AnyNumber | Uint8Array, recipient: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
1327
- /**
1328
- * This extrinsic triggers the cleanup of all the HRMP storage items that a para may have.
1329
- * Normally this happens once per session, but this allows you to trigger the cleanup
1330
- * immediately for a specific parachain.
1331
- *
1332
- * Number of inbound and outbound channels for `para` must be provided as witness data.
1333
- *
1334
- * Origin must be the `ChannelManager`.
1335
- **/
1336
- forceCleanHrmp: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, numInbound: u32 | AnyNumber | Uint8Array, numOutbound: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;
1337
- /**
1338
- * Open a channel from a `sender` to a `recipient` `ParaId`. Although opened by governance,
1339
- * the `max_capacity` and `max_message_size` are still subject to the Relay Chain's
1340
- * configured limits.
1341
- *
1342
- * Expected use is when one (and only one) of the `ParaId`s involved in the channel is
1343
- * governed by the system, e.g. a system parachain.
1344
- *
1345
- * Origin must be the `ChannelManager`.
1346
- **/
1347
- forceOpenHrmpChannel: AugmentedSubmittable<(sender: u32 | AnyNumber | Uint8Array, recipient: u32 | AnyNumber | Uint8Array, maxCapacity: u32 | AnyNumber | Uint8Array, maxMessageSize: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32, u32]>;
1348
- /**
1349
- * Force process HRMP close channel requests.
1350
- *
1351
- * If there are pending HRMP close channel requests, you can use this function to process
1352
- * all of those requests immediately.
1353
- *
1354
- * Total number of closing channels must be provided as witness data.
1355
- *
1356
- * Origin must be the `ChannelManager`.
1357
- **/
1358
- forceProcessHrmpClose: AugmentedSubmittable<(channels: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1359
- /**
1360
- * Force process HRMP open channel requests.
1361
- *
1362
- * If there are pending HRMP open channel requests, you can use this function to process
1363
- * all of those requests immediately.
1364
- *
1365
- * Total number of opening channels must be provided as witness data.
1366
- *
1367
- * Origin must be the `ChannelManager`.
1368
- **/
1369
- forceProcessHrmpOpen: AugmentedSubmittable<(channels: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1370
- /**
1371
- * Accept a pending open channel request from the given sender.
1372
- *
1373
- * The channel will be opened only on the next session boundary.
1374
- **/
1375
- hrmpAcceptOpenChannel: AugmentedSubmittable<(sender: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1376
- /**
1377
- * This cancels a pending open channel request. It can be canceled by either of the sender
1378
- * or the recipient for that request. The origin must be either of those.
1379
- *
1380
- * The cancellation happens immediately. It is not possible to cancel the request if it is
1381
- * already accepted.
1382
- *
1383
- * Total number of open requests (i.e. `HrmpOpenChannelRequestsList`) must be provided as
1384
- * witness data.
1385
- **/
1386
- hrmpCancelOpenRequest: AugmentedSubmittable<(channelId: PezkuwiTeyrchainPrimitivesPrimitivesHrmpChannelId, openRequests: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezkuwiTeyrchainPrimitivesPrimitivesHrmpChannelId, u32]>;
1387
- /**
1388
- * Initiate unilateral closing of a channel. The origin must be either the sender or the
1389
- * recipient in the channel being closed.
1390
- *
1391
- * The closure can only happen on a session change.
1392
- **/
1393
- hrmpCloseChannel: AugmentedSubmittable<(channelId: PezkuwiTeyrchainPrimitivesPrimitivesHrmpChannelId) => SubmittableExtrinsic<ApiType>, [PezkuwiTeyrchainPrimitivesPrimitivesHrmpChannelId]>;
1394
- /**
1395
- * Initiate opening a channel from a parachain to a given recipient with given channel
1396
- * parameters.
1397
- *
1398
- * - `proposed_max_capacity` - specifies how many messages can be in the channel at once.
1399
- * - `proposed_max_message_size` - specifies the maximum size of the messages.
1400
- *
1401
- * These numbers are a subject to the relay-chain configuration limits.
1402
- *
1403
- * The channel can be opened only after the recipient confirms it and only on a session
1404
- * change.
1405
- **/
1406
- hrmpInitOpenChannel: AugmentedSubmittable<(recipient: u32 | AnyNumber | Uint8Array, proposedMaxCapacity: u32 | AnyNumber | Uint8Array, proposedMaxMessageSize: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32, u32]>;
1407
- /**
1408
- * Update the deposits held for an HRMP channel to the latest `Configuration`. Channels
1409
- * with system chains do not require a deposit.
1410
- *
1411
- * Arguments:
1412
- *
1413
- * - `sender`: A chain, `ParaId`.
1414
- * - `recipient`: A chain, `ParaId`.
1415
- *
1416
- * Any signed origin can call this function.
1417
- **/
1418
- pokeChannelDeposits: AugmentedSubmittable<(sender: u32 | AnyNumber | Uint8Array, recipient: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
1419
- /**
1420
- * Generic tx
1421
- **/
1422
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
1423
- };
1424
- indices: {
1425
- /**
1426
- * Assign an previously unassigned index.
1427
- *
1428
- * Payment: `Deposit` is reserved from the sender account.
1429
- *
1430
- * The dispatch origin for this call must be _Signed_.
1431
- *
1432
- * - `index`: the index to be claimed. This must not be in use.
1433
- *
1434
- * Emits `IndexAssigned` if successful.
1435
- *
1436
- * ## Complexity
1437
- * - `O(1)`.
1438
- **/
1439
- claim: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1440
- /**
1441
- * Force an index to an account. This doesn't require a deposit. If the index is already
1442
- * held, then any deposit is reimbursed to its current owner.
1443
- *
1444
- * The dispatch origin for this call must be _Root_.
1445
- *
1446
- * - `index`: the index to be (re-)assigned.
1447
- * - `new`: the new owner of the index. This function is a no-op if it is equal to sender.
1448
- * - `freeze`: if set to `true`, will freeze the index so it cannot be transferred.
1449
- *
1450
- * Emits `IndexAssigned` if successful.
1451
- *
1452
- * ## Complexity
1453
- * - `O(1)`.
1454
- **/
1455
- 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]>;
1456
- /**
1457
- * Free up an index owned by the sender.
1458
- *
1459
- * Payment: Any previous deposit placed for the index is unreserved in the sender account.
1460
- *
1461
- * The dispatch origin for this call must be _Signed_ and the sender must own the index.
1462
- *
1463
- * - `index`: the index to be freed. This must be owned by the sender.
1464
- *
1465
- * Emits `IndexFreed` if successful.
1466
- *
1467
- * ## Complexity
1468
- * - `O(1)`.
1469
- **/
1470
- free: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1471
- /**
1472
- * Freeze an index so it will always point to the sender account. This consumes the
1473
- * deposit.
1474
- *
1475
- * The dispatch origin for this call must be _Signed_ and the signing account must have a
1476
- * non-frozen account `index`.
1477
- *
1478
- * - `index`: the index to be frozen in place.
1479
- *
1480
- * Emits `IndexFrozen` if successful.
1481
- *
1482
- * ## Complexity
1483
- * - `O(1)`.
1484
- **/
1485
- freeze: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1486
- /**
1487
- * Poke the deposit reserved for an index.
1488
- *
1489
- * The dispatch origin for this call must be _Signed_ and the signing account must have a
1490
- * non-frozen account `index`.
1491
- *
1492
- * The transaction fees is waived if the deposit is changed after poking/reconsideration.
1493
- *
1494
- * - `index`: the index whose deposit is to be poked/reconsidered.
1495
- *
1496
- * Emits `DepositPoked` if successful.
1497
- **/
1498
- pokeDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1499
- /**
1500
- * Assign an index already owned by the sender to another account. The balance reservation
1501
- * is effectively transferred to the new account.
1502
- *
1503
- * The dispatch origin for this call must be _Signed_.
1504
- *
1505
- * - `index`: the index to be re-assigned. This must be owned by the sender.
1506
- * - `new`: the new owner of the index. This function is a no-op if it is equal to sender.
1507
- *
1508
- * Emits `IndexAssigned` if successful.
1509
- *
1510
- * ## Complexity
1511
- * - `O(1)`.
1512
- **/
1513
- transfer: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32]>;
1514
- /**
1515
- * Generic tx
1516
- **/
1517
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
1518
- };
1519
- initializer: {
1520
- /**
1521
- * Issue a signal to the consensus engine to forcibly act as though all parachain
1522
- * blocks in all relay chain blocks up to and including the given number in the current
1523
- * chain are valid and should be finalized.
1524
- **/
1525
- forceApprove: AugmentedSubmittable<(upTo: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1526
- /**
1527
- * Generic tx
1528
- **/
1529
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
1530
- };
1531
- messageQueue: {
1532
- /**
1533
- * Execute an overweight message.
1534
- *
1535
- * Temporary processing errors will be propagated whereas permanent errors are treated
1536
- * as success condition.
1537
- *
1538
- * - `origin`: Must be `Signed`.
1539
- * - `message_origin`: The origin from which the message to be executed arrived.
1540
- * - `page`: The page in the queue in which the message to be executed is sitting.
1541
- * - `index`: The index into the queue of the message to be executed.
1542
- * - `weight_limit`: The maximum amount of weight allowed to be consumed in the execution
1543
- * of the message.
1544
- *
1545
- * Benchmark complexity considerations: O(index + weight_limit).
1546
- **/
1547
- executeOverweight: AugmentedSubmittable<(messageOrigin: PezkuwiRuntimeTeyrchainsInclusionAggregateMessageOrigin, page: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array, weightLimit: PezspWeightsWeightV2Weight) => SubmittableExtrinsic<ApiType>, [PezkuwiRuntimeTeyrchainsInclusionAggregateMessageOrigin, u32, u32, PezspWeightsWeightV2Weight]>;
1548
- /**
1549
- * Remove a page which has no more messages remaining to be processed or is stale.
1550
- **/
1551
- reapPage: AugmentedSubmittable<(messageOrigin: PezkuwiRuntimeTeyrchainsInclusionAggregateMessageOrigin, pageIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezkuwiRuntimeTeyrchainsInclusionAggregateMessageOrigin, u32]>;
1552
- /**
1553
- * Generic tx
1554
- **/
1555
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
1556
- };
1557
- multisig: {
1558
- /**
1559
- * Register approval for a dispatch to be made from a deterministic composite account if
1560
- * approved by a total of `threshold - 1` of `other_signatories`.
1561
- *
1562
- * Payment: `DepositBase` will be reserved if this is the first approval, plus
1563
- * `threshold` times `DepositFactor`. It is returned once this dispatch happens or
1564
- * is cancelled.
1565
- *
1566
- * The dispatch origin for this call must be _Signed_.
1567
- *
1568
- * - `threshold`: The total number of approvals for this dispatch before it is executed.
1569
- * - `other_signatories`: The accounts (other than the sender) who can approve this
1570
- * dispatch. May not be empty.
1571
- * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is
1572
- * not the first approval, then it must be `Some`, with the timepoint (block number and
1573
- * transaction index) of the first approval transaction.
1574
- * - `call_hash`: The hash of the call to be executed.
1575
- *
1576
- * NOTE: If this is the final approval, you will want to use `as_multi` instead.
1577
- *
1578
- * ## Complexity
1579
- * - `O(S)`.
1580
- * - Up to one balance-reserve or unreserve operation.
1581
- * - One passthrough operation, one insert, both `O(S)` where `S` is the number of
1582
- * signatories. `S` is capped by `MaxSignatories`, with weight being proportional.
1583
- * - One encode & hash, both of complexity `O(S)`.
1584
- * - Up to one binary search and insert (`O(logS + S)`).
1585
- * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove.
1586
- * - One event.
1587
- * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit
1588
- * taken for its lifetime of `DepositBase + threshold * DepositFactor`.
1589
- **/
1590
- 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]>;
1591
- /**
1592
- * Register approval for a dispatch to be made from a deterministic composite account if
1593
- * approved by a total of `threshold - 1` of `other_signatories`.
1594
- *
1595
- * If there are enough, then dispatch the call.
1596
- *
1597
- * Payment: `DepositBase` will be reserved if this is the first approval, plus
1598
- * `threshold` times `DepositFactor`. It is returned once this dispatch happens or
1599
- * is cancelled.
1600
- *
1601
- * The dispatch origin for this call must be _Signed_.
1602
- *
1603
- * - `threshold`: The total number of approvals for this dispatch before it is executed.
1604
- * - `other_signatories`: The accounts (other than the sender) who can approve this
1605
- * dispatch. May not be empty.
1606
- * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is
1607
- * not the first approval, then it must be `Some`, with the timepoint (block number and
1608
- * transaction index) of the first approval transaction.
1609
- * - `call`: The call to be executed.
1610
- *
1611
- * NOTE: Unless this is the final approval, you will generally want to use
1612
- * `approve_as_multi` instead, since it only requires a hash of the call.
1613
- *
1614
- * Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise
1615
- * on success, result is `Ok` and the result from the interior call, if it was executed,
1616
- * may be found in the deposited `MultisigExecuted` event.
1617
- *
1618
- * ## Complexity
1619
- * - `O(S + Z + Call)`.
1620
- * - Up to one balance-reserve or unreserve operation.
1621
- * - One passthrough operation, one insert, both `O(S)` where `S` is the number of
1622
- * signatories. `S` is capped by `MaxSignatories`, with weight being proportional.
1623
- * - One call encode & hash, both of complexity `O(Z)` where `Z` is tx-len.
1624
- * - One encode & hash, both of complexity `O(S)`.
1625
- * - Up to one binary search and insert (`O(logS + S)`).
1626
- * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove.
1627
- * - One event.
1628
- * - The weight of the `call`.
1629
- * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit
1630
- * taken for its lifetime of `DepositBase + threshold * DepositFactor`.
1631
- **/
1632
- 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]>;
1633
- /**
1634
- * Immediately dispatch a multi-signature call using a single approval from the caller.
1635
- *
1636
- * The dispatch origin for this call must be _Signed_.
1637
- *
1638
- * - `other_signatories`: The accounts (other than the sender) who are part of the
1639
- * multi-signature, but do not participate in the approval process.
1640
- * - `call`: The call to be executed.
1641
- *
1642
- * Result is equivalent to the dispatched result.
1643
- *
1644
- * ## Complexity
1645
- * O(Z + C) where Z is the length of the call and C its execution weight.
1646
- **/
1647
- asMultiThreshold1: AugmentedSubmittable<(otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], call: RuntimeCall | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>, RuntimeCall]>;
1648
- /**
1649
- * Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously
1650
- * for this operation will be unreserved on success.
1651
- *
1652
- * The dispatch origin for this call must be _Signed_.
1653
- *
1654
- * - `threshold`: The total number of approvals for this dispatch before it is executed.
1655
- * - `other_signatories`: The accounts (other than the sender) who can approve this
1656
- * dispatch. May not be empty.
1657
- * - `timepoint`: The timepoint (block number and transaction index) of the first approval
1658
- * transaction for this dispatch.
1659
- * - `call_hash`: The hash of the call to be executed.
1660
- *
1661
- * ## Complexity
1662
- * - `O(S)`.
1663
- * - Up to one balance-reserve or unreserve operation.
1664
- * - One passthrough operation, one insert, both `O(S)` where `S` is the number of
1665
- * signatories. `S` is capped by `MaxSignatories`, with weight being proportional.
1666
- * - One encode & hash, both of complexity `O(S)`.
1667
- * - One event.
1668
- * - I/O: 1 read `O(S)`, one remove.
1669
- * - Storage: removes one item.
1670
- **/
1671
- 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]>;
1672
- /**
1673
- * Poke the deposit reserved for an existing multisig operation.
1674
- *
1675
- * The dispatch origin for this call must be _Signed_ and must be the original depositor of
1676
- * the multisig operation.
1677
- *
1678
- * The transaction fee is waived if the deposit amount has changed.
1679
- *
1680
- * - `threshold`: The total number of approvals needed for this multisig.
1681
- * - `other_signatories`: The accounts (other than the sender) who are part of the
1682
- * multisig.
1683
- * - `call_hash`: The hash of the call this deposit is reserved for.
1684
- *
1685
- * Emits `DepositPoked` if successful.
1686
- **/
1687
- pokeDeposit: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, U8aFixed]>;
1688
- /**
1689
- * Generic tx
1690
- **/
1691
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
1692
- };
1693
- nominationPools: {
1694
- /**
1695
- * Top up the deficit or withdraw the excess ED from the pool.
1696
- *
1697
- * When a pool is created, the pool depositor transfers ED to the reward account of the
1698
- * pool. ED is subject to change and over time, the deposit in the reward account may be
1699
- * insufficient to cover the ED deficit of the pool or vice-versa where there is excess
1700
- * deposit to the pool. This call allows anyone to adjust the ED deposit of the
1701
- * pool by either topping up the deficit or claiming the excess.
1702
- **/
1703
- adjustPoolDeposit: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1704
- /**
1705
- * Apply a pending slash on a member.
1706
- *
1707
- * Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
1708
- * [`adapter::StakeStrategyType::Delegate`].
1709
- *
1710
- * The pending slash amount of the member must be equal or more than `ExistentialDeposit`.
1711
- * This call can be dispatched permissionlessly (i.e. by any account). If the execution
1712
- * is successful, fee is refunded and caller may be rewarded with a part of the slash
1713
- * based on the [`crate::pallet::Config::StakeAdapter`] configuration.
1714
- **/
1715
- applySlash: AugmentedSubmittable<(memberAccount: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
1716
- /**
1717
- * Bond `extra` more funds from `origin` into the pool to which they already belong.
1718
- *
1719
- * Additional funds can come from either the free balance of the account, of from the
1720
- * accumulated rewards, see [`BondExtra`].
1721
- *
1722
- * Bonding extra funds implies an automatic payout of all pending rewards as well.
1723
- * See `bond_extra_other` to bond pending rewards of `other` members.
1724
- **/
1725
- bondExtra: AugmentedSubmittable<(extra: PezpalletNominationPoolsBondExtra) => SubmittableExtrinsic<ApiType>, [PezpalletNominationPoolsBondExtra]>;
1726
- /**
1727
- * `origin` bonds funds from `extra` for some pool member `member` into their respective
1728
- * pools.
1729
- *
1730
- * `origin` can bond extra funds from free balance or pending rewards when `origin ==
1731
- * other`.
1732
- *
1733
- * In the case of `origin != other`, `origin` can only bond extra pending rewards of
1734
- * `other` members assuming set_claim_permission for the given member is
1735
- * `PermissionlessCompound` or `PermissionlessAll`.
1736
- **/
1737
- bondExtraOther: AugmentedSubmittable<(member: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, extra: PezpalletNominationPoolsBondExtra) => SubmittableExtrinsic<ApiType>, [MultiAddress, PezpalletNominationPoolsBondExtra]>;
1738
- /**
1739
- * Chill on behalf of the pool.
1740
- *
1741
- * The dispatch origin of this call can be signed by the pool nominator or the pool
1742
- * root role, same as [`Pallet::nominate`].
1743
- *
1744
- * This directly forwards the call to an implementation of `StakingInterface` (e.g.,
1745
- * `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
1746
- *
1747
- * Under certain conditions, this call can be dispatched permissionlessly (i.e. by any
1748
- * account).
1749
- *
1750
- * # Conditions for a permissionless dispatch:
1751
- * * When pool depositor has less than `MinNominatorBond` staked, otherwise pool members
1752
- * are unable to unbond.
1753
- *
1754
- * # Conditions for permissioned dispatch:
1755
- * * The caller is the pool's nominator or root.
1756
- **/
1757
- chill: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1758
- /**
1759
- * Claim pending commission.
1760
- *
1761
- * The `root` role of the pool is _always_ allowed to claim the pool's commission.
1762
- *
1763
- * If the pool has set `CommissionClaimPermission::Permissionless`, then any account can
1764
- * trigger the process of claiming the pool's commission.
1765
- *
1766
- * If the pool has set its `CommissionClaimPermission` to `Account(acc)`, then only
1767
- * accounts
1768
- * * `acc`, and
1769
- * * the pool's root account
1770
- *
1771
- * may call this extrinsic on behalf of the pool.
1772
- *
1773
- * Pending commissions are paid out and added to the total claimed commission.
1774
- * The total pending commission is reset to zero.
1775
- **/
1776
- claimCommission: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1777
- /**
1778
- * A bonded member can use this to claim their payout based on the rewards that the pool
1779
- * has accumulated since their last claimed payout (OR since joining if this is their first
1780
- * time claiming rewards). The payout will be transferred to the member's account.
1781
- *
1782
- * The member will earn rewards pro rata based on the members stake vs the sum of the
1783
- * members in the pools stake. Rewards do not "expire".
1784
- *
1785
- * See `claim_payout_other` to claim rewards on behalf of some `other` pool member.
1786
- **/
1787
- claimPayout: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
1788
- /**
1789
- * `origin` can claim payouts on some pool member `other`'s behalf.
1790
- *
1791
- * Pool member `other` must have a `PermissionlessWithdraw` or `PermissionlessAll` claim
1792
- * permission for this call to be successful.
1793
- **/
1794
- claimPayoutOther: AugmentedSubmittable<(other: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
1795
- /**
1796
- * Create a new delegation pool.
1797
- *
1798
- * # Arguments
1799
- *
1800
- * * `amount` - The amount of funds to delegate to the pool. This also acts of a sort of
1801
- * deposit since the pools creator cannot fully unbond funds until the pool is being
1802
- * destroyed.
1803
- * * `index` - A disambiguation index for creating the account. Likely only useful when
1804
- * creating multiple pools in the same extrinsic.
1805
- * * `root` - The account to set as [`PoolRoles::root`].
1806
- * * `nominator` - The account to set as the [`PoolRoles::nominator`].
1807
- * * `bouncer` - The account to set as the [`PoolRoles::bouncer`].
1808
- *
1809
- * # Note
1810
- *
1811
- * In addition to `amount`, the caller will transfer the existential deposit; so the caller
1812
- * needs at have at least `amount + existential_deposit` transferable.
1813
- **/
1814
- 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]>;
1815
- /**
1816
- * Create a new delegation pool with a previously used pool id
1817
- *
1818
- * # Arguments
1819
- *
1820
- * same as `create` with the inclusion of
1821
- * * `pool_id` - `A valid PoolId.
1822
- **/
1823
- 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]>;
1824
- /**
1825
- * Stake funds with a pool. The amount to bond is delegated (or transferred based on
1826
- * [`adapter::StakeStrategyType`]) from the member to the pool account and immediately
1827
- * increases the pool's bond.
1828
- *
1829
- * The method of transferring the amount to the pool account is determined by
1830
- * [`adapter::StakeStrategyType`]. If the pool is configured to use
1831
- * [`adapter::StakeStrategyType::Delegate`], the funds remain in the account of
1832
- * the `origin`, while the pool gains the right to use these funds for staking.
1833
- *
1834
- * # Note
1835
- *
1836
- * * An account can only be a member of a single pool.
1837
- * * An account cannot join the same pool multiple times.
1838
- * * This call will *not* dust the member account, so the member must have at least
1839
- * `existential deposit + amount` in their account.
1840
- * * Only a pool with [`PoolState::Open`] can be joined
1841
- **/
1842
- join: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, u32]>;
1843
- /**
1844
- * Migrates delegated funds from the pool account to the `member_account`.
1845
- *
1846
- * Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
1847
- * [`adapter::StakeStrategyType::Delegate`].
1848
- *
1849
- * This is a permission-less call and refunds any fee if claim is successful.
1850
- *
1851
- * If the pool has migrated to delegation based staking, the staked tokens of pool members
1852
- * can be moved and held in their own account. See [`adapter::DelegateStake`]
1853
- **/
1854
- migrateDelegation: AugmentedSubmittable<(memberAccount: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
1855
- /**
1856
- * Migrate pool from [`adapter::StakeStrategyType::Transfer`] to
1857
- * [`adapter::StakeStrategyType::Delegate`].
1858
- *
1859
- * Fails unless [`crate::pallet::Config::StakeAdapter`] is of strategy type:
1860
- * [`adapter::StakeStrategyType::Delegate`].
1861
- *
1862
- * This call can be dispatched permissionlessly, and refunds any fee if successful.
1863
- *
1864
- * If the pool has already migrated to delegation based staking, this call will fail.
1865
- **/
1866
- migratePoolToDelegateStake: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
1867
- /**
1868
- * Nominate on behalf of the pool.
1869
- *
1870
- * The dispatch origin of this call must be signed by the pool nominator or the pool
1871
- * root role.
1872
- *
1873
- * This directly forwards the call to an implementation of `StakingInterface` (e.g.,
1874
- * `pallet-staking`) through [`Config::StakeAdapter`], on behalf of the bonded pool.
1875
- *
1876
- * # Note
1877
- *
1878
- * In addition to a `root` or `nominator` role of `origin`, the pool's depositor needs to
1879
- * have at least `depositor_min_bond` in the pool to start nominating.
1880
- **/
1881
- nominate: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, validators: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<AccountId32>]>;
1882
- /**
1883
- * Call `withdraw_unbonded` for the pools account. This call can be made by any account.
1884
- *
1885
- * This is useful if there are too many unlocking chunks to call `unbond`, and some
1886
- * can be cleared by withdrawing. In the case there are too many unlocking chunks, the user
1887
- * would probably see an error like `NoMoreChunks` emitted from the staking system when
1888
- * they attempt to unbond.
1889
- **/
1890
- poolWithdrawUnbonded: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
1891
- /**
1892
- * Allows a pool member to set a claim permission to allow or disallow permissionless
1893
- * bonding and withdrawing.
1894
- *
1895
- * # Arguments
1896
- *
1897
- * * `origin` - Member of a pool.
1898
- * * `permission` - The permission to be applied.
1899
- **/
1900
- setClaimPermission: AugmentedSubmittable<(permission: PezpalletNominationPoolsClaimPermission) => SubmittableExtrinsic<ApiType>, [PezpalletNominationPoolsClaimPermission]>;
1901
- /**
1902
- * Set the commission of a pool.
1903
- * Both a commission percentage and a commission payee must be provided in the `current`
1904
- * tuple. Where a `current` of `None` is provided, any current commission will be removed.
1905
- *
1906
- * - If a `None` is supplied to `new_commission`, existing commission will be removed.
1907
- **/
1908
- 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]>>]>;
1909
- /**
1910
- * Set the commission change rate for a pool.
1911
- *
1912
- * Initial change rate is not bounded, whereas subsequent updates can only be more
1913
- * restrictive than the current.
1914
- **/
1915
- setCommissionChangeRate: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, changeRate: PezpalletNominationPoolsCommissionChangeRate) => SubmittableExtrinsic<ApiType>, [u32, PezpalletNominationPoolsCommissionChangeRate]>;
1916
- /**
1917
- * Set or remove a pool's commission claim permission.
1918
- *
1919
- * Determines who can claim the pool's pending commission. Only the `Root` role of the pool
1920
- * is able to configure commission claim permissions.
1921
- **/
1922
- setCommissionClaimPermission: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, permission: Option<PezpalletNominationPoolsCommissionClaimPermission> | null | Uint8Array | PezpalletNominationPoolsCommissionClaimPermission) => SubmittableExtrinsic<ApiType>, [u32, Option<PezpalletNominationPoolsCommissionClaimPermission>]>;
1923
- /**
1924
- * Set the maximum commission of a pool.
1925
- *
1926
- * - Initial max can be set to any `Perbill`, and only smaller values thereafter.
1927
- * - Current commission will be lowered in the event it is higher than a new max
1928
- * commission.
1929
- **/
1930
- setCommissionMax: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, maxCommission: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Perbill]>;
1931
- /**
1932
- * Update configurations for the nomination pools. The origin for this call must be
1933
- * [`Config::AdminOrigin`].
1934
- *
1935
- * # Arguments
1936
- *
1937
- * * `min_join_bond` - Set [`MinJoinBond`].
1938
- * * `min_create_bond` - Set [`MinCreateBond`].
1939
- * * `max_pools` - Set [`MaxPools`].
1940
- * * `max_members` - Set [`MaxPoolMembers`].
1941
- * * `max_members_per_pool` - Set [`MaxPoolMembersPerPool`].
1942
- * * `global_max_commission` - Set [`GlobalMaxCommission`].
1943
- **/
1944
- setConfigs: AugmentedSubmittable<(minJoinBond: PezpalletNominationPoolsConfigOpU128, minCreateBond: PezpalletNominationPoolsConfigOpU128, maxPools: PezpalletNominationPoolsConfigOpU32, maxMembers: PezpalletNominationPoolsConfigOpU32, maxMembersPerPool: PezpalletNominationPoolsConfigOpU32, globalMaxCommission: PezpalletNominationPoolsConfigOpPerbill) => SubmittableExtrinsic<ApiType>, [PezpalletNominationPoolsConfigOpU128, PezpalletNominationPoolsConfigOpU128, PezpalletNominationPoolsConfigOpU32, PezpalletNominationPoolsConfigOpU32, PezpalletNominationPoolsConfigOpU32, PezpalletNominationPoolsConfigOpPerbill]>;
1945
- /**
1946
- * Set a new metadata for the pool.
1947
- *
1948
- * The dispatch origin of this call must be signed by the bouncer, or the root role of the
1949
- * pool.
1950
- **/
1951
- setMetadata: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, metadata: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
1952
- /**
1953
- * Set a new state for the pool.
1954
- *
1955
- * If a pool is already in the `Destroying` state, then under no condition can its state
1956
- * change again.
1957
- *
1958
- * The dispatch origin of this call must be either:
1959
- *
1960
- * 1. signed by the bouncer, or the root role of the pool,
1961
- * 2. if the pool conditions to be open are NOT met (as described by `ok_to_be_open`), and
1962
- * then the state of the pool can be permissionlessly changed to `Destroying`.
1963
- **/
1964
- setState: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, state: PezpalletNominationPoolsPoolState) => SubmittableExtrinsic<ApiType>, [u32, PezpalletNominationPoolsPoolState]>;
1965
- /**
1966
- * Unbond up to `unbonding_points` of the `member_account`'s funds from the pool. It
1967
- * implicitly collects the rewards one last time, since not doing so would mean some
1968
- * rewards would be forfeited.
1969
- *
1970
- * Under certain conditions, this call can be dispatched permissionlessly (i.e. by any
1971
- * account).
1972
- *
1973
- * # Conditions for a permissionless dispatch.
1974
- *
1975
- * * The pool is blocked and the caller is either the root or bouncer. This is refereed to
1976
- * as a kick.
1977
- * * The pool is destroying and the member is not the depositor.
1978
- * * The pool is destroying, the member is the depositor and no other members are in the
1979
- * pool.
1980
- *
1981
- * ## Conditions for permissioned dispatch (i.e. the caller is also the
1982
- * `member_account`):
1983
- *
1984
- * * The caller is not the depositor.
1985
- * * The caller is the depositor, the pool is destroying and no other members are in the
1986
- * pool.
1987
- *
1988
- * # Note
1989
- *
1990
- * If there are too many unlocking chunks to unbond with the pool account,
1991
- * [`Call::pool_withdraw_unbonded`] can be called to try and minimize unlocking chunks.
1992
- * The [`StakingInterface::unbond`] will implicitly call [`Call::pool_withdraw_unbonded`]
1993
- * to try to free chunks if necessary (ie. if unbound was called and no unlocking chunks
1994
- * are available). However, it may not be possible to release the current unlocking chunks,
1995
- * in which case, the result of this call will likely be the `NoMoreChunks` error from the
1996
- * staking system.
1997
- **/
1998
- 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>]>;
1999
- /**
2000
- * Update the roles of the pool.
2001
- *
2002
- * The root is the only entity that can change any of the roles, including itself,
2003
- * excluding the depositor, who can never change.
2004
- *
2005
- * It emits an event, notifying UIs of the role change. This event is quite relevant to
2006
- * most pool members and they should be informed of changes to pool roles.
2007
- **/
2008
- updateRoles: AugmentedSubmittable<(poolId: u32 | AnyNumber | Uint8Array, newRoot: PezpalletNominationPoolsConfigOpAccountId32, newNominator: PezpalletNominationPoolsConfigOpAccountId32, newBouncer: PezpalletNominationPoolsConfigOpAccountId32) => SubmittableExtrinsic<ApiType>, [u32, PezpalletNominationPoolsConfigOpAccountId32, PezpalletNominationPoolsConfigOpAccountId32, PezpalletNominationPoolsConfigOpAccountId32]>;
2009
- /**
2010
- * Withdraw unbonded funds from `member_account`. If no bonded funds can be unbonded, an
2011
- * error is returned.
2012
- *
2013
- * Under certain conditions, this call can be dispatched permissionlessly (i.e. by any
2014
- * account).
2015
- *
2016
- * # Conditions for a permissionless dispatch
2017
- *
2018
- * * The pool is in destroy mode and the target is not the depositor.
2019
- * * The target is the depositor and they are the only member in the sub pools.
2020
- * * The pool is blocked and the caller is either the root or bouncer.
2021
- *
2022
- * # Conditions for permissioned dispatch
2023
- *
2024
- * * The caller is the target and they are not the depositor.
2025
- *
2026
- * # Note
2027
- *
2028
- * - If the target is the depositor, the pool will be destroyed.
2029
- * - If the pool has any pending slash, we also try to slash the member before letting them
2030
- * withdraw. This calculation adds some weight overhead and is only defensive. In reality,
2031
- * pool slashes must have been already applied via permissionless [`Call::apply_slash`].
2032
- **/
2033
- withdrawUnbonded: AugmentedSubmittable<(memberAccount: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32]>;
2034
- /**
2035
- * Generic tx
2036
- **/
2037
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
2038
- };
2039
- onDemand: {
2040
- /**
2041
- * Create a single on demand core order.
2042
- * Will use the spot price for the current block and will reap the account if needed.
2043
- *
2044
- * Parameters:
2045
- * - `origin`: The sender of the call, funds will be withdrawn from this account.
2046
- * - `max_amount`: The maximum balance to withdraw from the origin to place an order.
2047
- * - `para_id`: A `ParaId` the origin wants to provide blockspace for.
2048
- *
2049
- * Errors:
2050
- * - `InsufficientBalance`: from the Currency implementation
2051
- * - `QueueFull`
2052
- * - `SpotPriceHigherThanMaxAmount`
2053
- *
2054
- * Events:
2055
- * - `OnDemandOrderPlaced`
2056
- **/
2057
- placeOrderAllowDeath: AugmentedSubmittable<(maxAmount: u128 | AnyNumber | Uint8Array, paraId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u32]>;
2058
- /**
2059
- * Same as the [`place_order_allow_death`](Self::place_order_allow_death) call , but with a
2060
- * check that placing the order will not reap the account.
2061
- *
2062
- * Parameters:
2063
- * - `origin`: The sender of the call, funds will be withdrawn from this account.
2064
- * - `max_amount`: The maximum balance to withdraw from the origin to place an order.
2065
- * - `para_id`: A `ParaId` the origin wants to provide blockspace for.
2066
- *
2067
- * Errors:
2068
- * - `InsufficientBalance`: from the Currency implementation
2069
- * - `QueueFull`
2070
- * - `SpotPriceHigherThanMaxAmount`
2071
- *
2072
- * Events:
2073
- * - `OnDemandOrderPlaced`
2074
- **/
2075
- placeOrderKeepAlive: AugmentedSubmittable<(maxAmount: u128 | AnyNumber | Uint8Array, paraId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u32]>;
2076
- /**
2077
- * Create a single on demand core order with credits.
2078
- * Will charge the owner's on-demand credit account the spot price for the current block.
2079
- *
2080
- * Parameters:
2081
- * - `origin`: The sender of the call, on-demand credits will be withdrawn from this
2082
- * account.
2083
- * - `max_amount`: The maximum number of credits to spend from the origin to place an
2084
- * order.
2085
- * - `para_id`: A `ParaId` the origin wants to provide blockspace for.
2086
- *
2087
- * Errors:
2088
- * - `InsufficientCredits`
2089
- * - `QueueFull`
2090
- * - `SpotPriceHigherThanMaxAmount`
2091
- *
2092
- * Events:
2093
- * - `OnDemandOrderPlaced`
2094
- **/
2095
- placeOrderWithCredits: AugmentedSubmittable<(maxAmount: u128 | AnyNumber | Uint8Array, paraId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u32]>;
2096
- /**
2097
- * Generic tx
2098
- **/
2099
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
2100
- };
2101
- paraInclusion: {
2102
- /**
2103
- * Generic tx
2104
- **/
2105
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
2106
- };
2107
- paraInherent: {
2108
- /**
2109
- * Enter the paras inherent. This will process bitfields and backed candidates.
2110
- **/
2111
- enter: AugmentedSubmittable<(data: PezkuwiPrimitivesVstagingInherentData) => SubmittableExtrinsic<ApiType>, [PezkuwiPrimitivesVstagingInherentData]>;
2112
- /**
2113
- * Generic tx
2114
- **/
2115
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
2116
- };
2117
- paras: {
2118
- /**
2119
- * Adds the validation code to the storage.
2120
- *
2121
- * The code will not be added if it is already present. Additionally, if PVF pre-checking
2122
- * is running for that code, it will be instantly accepted.
2123
- *
2124
- * Otherwise, the code will be added into the storage. Note that the code will be added
2125
- * into storage with reference count 0. This is to account the fact that there are no users
2126
- * for this code yet. The caller will have to make sure that this code eventually gets
2127
- * used by some parachain or removed from the storage to avoid storage leaks. For the
2128
- * latter prefer to use the `poke_unused_validation_code` dispatchable to raw storage
2129
- * manipulation.
2130
- *
2131
- * This function is mainly meant to be used for upgrading parachains that do not follow
2132
- * the go-ahead signal while the PVF pre-checking feature is enabled.
2133
- **/
2134
- addTrustedValidationCode: AugmentedSubmittable<(validationCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
2135
- /**
2136
- * Applies the already authorized current code for the parachain,
2137
- * triggering the same functionality as `force_set_current_code`.
2138
- **/
2139
- applyAuthorizedForceSetCurrentCode: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
2140
- /**
2141
- * Sets the storage for the authorized current code hash of the parachain.
2142
- * If not applied, it will be removed at the `System::block_number() + valid_period` block.
2143
- *
2144
- * This can be useful, when triggering `Paras::force_set_current_code(para, code)`
2145
- * from a different chain than the one where the `Paras` pallet is deployed.
2146
- *
2147
- * The main purpose is to avoid transferring the entire `code` Wasm blob between chains.
2148
- * Instead, we authorize `code_hash` with `root`, which can later be applied by
2149
- * `Paras::apply_authorized_force_set_current_code(para, code)` by anyone.
2150
- *
2151
- * Authorizations are stored in an **overwriting manner**.
2152
- **/
2153
- authorizeForceSetCurrentCodeHash: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newCodeHash: H256 | string | Uint8Array, validPeriod: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, H256, u32]>;
2154
- /**
2155
- * Note a new block head for para within the context of the current block.
2156
- **/
2157
- forceNoteNewHead: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newHead: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
2158
- /**
2159
- * Put a parachain directly into the next session's action queue.
2160
- * We can't queue it any sooner than this without going into the
2161
- * initializer...
2162
- **/
2163
- forceQueueAction: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2164
- /**
2165
- * Schedule an upgrade as if it was scheduled in the given relay parent block.
2166
- **/
2167
- forceScheduleCodeUpgrade: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newCode: Bytes | string | Uint8Array, relayParentNumber: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes, u32]>;
2168
- /**
2169
- * Set the storage for the parachain validation code immediately.
2170
- **/
2171
- forceSetCurrentCode: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
2172
- /**
2173
- * Set the storage for the current parachain head data immediately.
2174
- **/
2175
- forceSetCurrentHead: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newHead: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
2176
- /**
2177
- * Set the storage for the current parachain head data immediately.
2178
- **/
2179
- forceSetMostRecentContext: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, context: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
2180
- /**
2181
- * Includes a statement for a PVF pre-checking vote. Potentially, finalizes the vote and
2182
- * enacts the results if that was the last vote before achieving the supermajority.
2183
- **/
2184
- includePvfCheckStatement: AugmentedSubmittable<(stmt: PezkuwiPrimitivesV8PvfCheckStatement, signature: PezkuwiPrimitivesV8ValidatorAppSignature) => SubmittableExtrinsic<ApiType>, [PezkuwiPrimitivesV8PvfCheckStatement, PezkuwiPrimitivesV8ValidatorAppSignature]>;
2185
- /**
2186
- * Remove the validation code from the storage iff the reference count is 0.
2187
- *
2188
- * This is better than removing the storage directly, because it will not remove the code
2189
- * that was suddenly got used by some parachain while this dispatchable was pending
2190
- * dispatching.
2191
- **/
2192
- pokeUnusedValidationCode: AugmentedSubmittable<(validationCodeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
2193
- /**
2194
- * Remove an upgrade cooldown for a parachain.
2195
- *
2196
- * The cost for removing the cooldown earlier depends on the time left for the cooldown
2197
- * multiplied by [`Config::CooldownRemovalMultiplier`]. The paid tokens are burned.
2198
- **/
2199
- removeUpgradeCooldown: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2200
- /**
2201
- * Generic tx
2202
- **/
2203
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
2204
- };
2205
- parasDisputes: {
2206
- forceUnfreeze: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
2207
- /**
2208
- * Generic tx
2209
- **/
2210
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
2211
- };
2212
- parasShared: {
2213
- /**
2214
- * Generic tx
2215
- **/
2216
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
2217
- };
2218
- parasSlashing: {
2219
- reportDisputeLostUnsigned: AugmentedSubmittable<(disputeProof: PezkuwiPrimitivesVstagingDisputeProof, keyOwnerProof: PezspSessionMembershipProof) => SubmittableExtrinsic<ApiType>, [PezkuwiPrimitivesVstagingDisputeProof, PezspSessionMembershipProof]>;
2220
- /**
2221
- * Generic tx
2222
- **/
2223
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
2224
- };
2225
- preimage: {
2226
- /**
2227
- * Ensure that the bulk of pre-images is upgraded.
2228
- *
2229
- * The caller pays no fee if at least 90% of pre-images were successfully updated.
2230
- **/
2231
- ensureUpdated: AugmentedSubmittable<(hashes: Vec<H256> | (H256 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<H256>]>;
2232
- /**
2233
- * Register a preimage on-chain.
2234
- *
2235
- * If the preimage was previously requested, no fees or deposits are taken for providing
2236
- * the preimage. Otherwise, a deposit is taken proportional to the size of the preimage.
2237
- **/
2238
- notePreimage: AugmentedSubmittable<(bytes: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
2239
- /**
2240
- * Request a preimage be uploaded to the chain without paying any fees or deposits.
2241
- *
2242
- * If the preimage requests has already been provided on-chain, we unreserve any deposit
2243
- * a user may have paid, and take the control of the preimage out of their hands.
2244
- **/
2245
- requestPreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
2246
- /**
2247
- * Clear an unrequested preimage from the runtime storage.
2248
- *
2249
- * If `len` is provided, then it will be a much cheaper operation.
2250
- *
2251
- * - `hash`: The hash of the preimage to be removed from the store.
2252
- * - `len`: The length of the preimage of `hash`.
2253
- **/
2254
- unnotePreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
2255
- /**
2256
- * Clear a previously made request for a preimage.
2257
- *
2258
- * NOTE: THIS MUST NOT BE CALLED ON `hash` MORE TIMES THAN `request_preimage`.
2259
- **/
2260
- unrequestPreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
2261
- /**
2262
- * Generic tx
2263
- **/
2264
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
2265
- };
2266
- proxy: {
2267
- /**
2268
- * Register a proxy account for the sender that is able to make calls on its behalf.
2269
- *
2270
- * The dispatch origin for this call must be _Signed_.
2271
- *
2272
- * Parameters:
2273
- * - `proxy`: The account that the `caller` would like to make a proxy.
2274
- * - `proxy_type`: The permissions allowed for this proxy account.
2275
- * - `delay`: The announcement period required of the initial proxy. Will generally be
2276
- * zero.
2277
- **/
2278
- addProxy: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: PezkuwiRuntimeConstantsProxyProxyType, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PezkuwiRuntimeConstantsProxyProxyType, u32]>;
2279
- /**
2280
- * Publish the hash of a proxy-call that will be made in the future.
2281
- *
2282
- * This must be called some number of blocks before the corresponding `proxy` is attempted
2283
- * if the delay associated with the proxy relationship is greater than zero.
2284
- *
2285
- * No more than `MaxPending` announcements may be made at any one time.
2286
- *
2287
- * This will take a deposit of `AnnouncementDepositFactor` as well as
2288
- * `AnnouncementDepositBase` if there are no other pending announcements.
2289
- *
2290
- * The dispatch origin for this call must be _Signed_ and a proxy of `real`.
2291
- *
2292
- * Parameters:
2293
- * - `real`: The account that the proxy will make a call on behalf of.
2294
- * - `call_hash`: The hash of the call to be made by the `real` account.
2295
- **/
2296
- announce: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
2297
- /**
2298
- * Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and
2299
- * initialize it with a proxy of `proxy_type` for `origin` sender.
2300
- *
2301
- * Requires a `Signed` origin.
2302
- *
2303
- * - `proxy_type`: The type of the proxy that the sender will be registered as over the
2304
- * new account. This will almost always be the most permissive `ProxyType` possible to
2305
- * allow for maximum flexibility.
2306
- * - `index`: A disambiguation index, in case this is called multiple times in the same
2307
- * transaction (e.g. with `utility::batch`). Unless you're using `batch` you probably just
2308
- * want to use `0`.
2309
- * - `delay`: The announcement period required of the initial proxy. Will generally be
2310
- * zero.
2311
- *
2312
- * Fails with `Duplicate` if this has already been called in this transaction, from the
2313
- * same sender, with the same parameters.
2314
- *
2315
- * Fails if there are insufficient funds to pay for deposit.
2316
- **/
2317
- createPure: AugmentedSubmittable<(proxyType: PezkuwiRuntimeConstantsProxyProxyType, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezkuwiRuntimeConstantsProxyProxyType, u32, u16]>;
2318
- /**
2319
- * Removes a previously spawned pure proxy.
2320
- *
2321
- * WARNING: **All access to this account will be lost.** Any funds held in it will be
2322
- * inaccessible.
2323
- *
2324
- * Requires a `Signed` origin, and the sender account must have been created by a call to
2325
- * `create_pure` with corresponding parameters.
2326
- *
2327
- * - `spawner`: The account that originally called `create_pure` to create this account.
2328
- * - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
2329
- * - `proxy_type`: The proxy type originally passed to `create_pure`.
2330
- * - `height`: The height of the chain when the call to `create_pure` was processed.
2331
- * - `ext_index`: The extrinsic index in which the call to `create_pure` was processed.
2332
- *
2333
- * Fails with `NoPermission` in case the caller is not a previously created pure
2334
- * account whose `create_pure` call has corresponding parameters.
2335
- **/
2336
- killPure: AugmentedSubmittable<(spawner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: PezkuwiRuntimeConstantsProxyProxyType, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PezkuwiRuntimeConstantsProxyProxyType, u16, Compact<u32>, Compact<u32>]>;
2337
- /**
2338
- * Poke / Adjust deposits made for proxies and announcements based on current values.
2339
- * This can be used by accounts to possibly lower their locked amount.
2340
- *
2341
- * The dispatch origin for this call must be _Signed_.
2342
- *
2343
- * The transaction fee is waived if the deposit amount has changed.
2344
- *
2345
- * Emits `DepositPoked` if successful.
2346
- **/
2347
- pokeDeposit: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
2348
- /**
2349
- * Dispatch the given `call` from an account that the sender is authorised for through
2350
- * `add_proxy`.
2351
- *
2352
- * The dispatch origin for this call must be _Signed_.
2353
- *
2354
- * Parameters:
2355
- * - `real`: The account that the proxy will make a call on behalf of.
2356
- * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
2357
- * - `call`: The call to be made by the `real` account.
2358
- **/
2359
- proxy: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, forceProxyType: Option<PezkuwiRuntimeConstantsProxyProxyType> | null | Uint8Array | PezkuwiRuntimeConstantsProxyProxyType, call: RuntimeCall | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<PezkuwiRuntimeConstantsProxyProxyType>, RuntimeCall]>;
2360
- /**
2361
- * Dispatch the given `call` from an account that the sender is authorized for through
2362
- * `add_proxy`.
2363
- *
2364
- * Removes any corresponding announcement(s).
2365
- *
2366
- * The dispatch origin for this call must be _Signed_.
2367
- *
2368
- * Parameters:
2369
- * - `real`: The account that the proxy will make a call on behalf of.
2370
- * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
2371
- * - `call`: The call to be made by the `real` account.
2372
- **/
2373
- 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<PezkuwiRuntimeConstantsProxyProxyType> | null | Uint8Array | PezkuwiRuntimeConstantsProxyProxyType, call: RuntimeCall | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<PezkuwiRuntimeConstantsProxyProxyType>, RuntimeCall]>;
2374
- /**
2375
- * Remove the given announcement of a delegate.
2376
- *
2377
- * May be called by a target (proxied) account to remove a call that one of their delegates
2378
- * (`delegate`) has announced they want to execute. The deposit is returned.
2379
- *
2380
- * The dispatch origin for this call must be _Signed_.
2381
- *
2382
- * Parameters:
2383
- * - `delegate`: The account that previously announced the call.
2384
- * - `call_hash`: The hash of the call to be made.
2385
- **/
2386
- rejectAnnouncement: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
2387
- /**
2388
- * Remove a given announcement.
2389
- *
2390
- * May be called by a proxy account to remove a call they previously announced and return
2391
- * the deposit.
2392
- *
2393
- * The dispatch origin for this call must be _Signed_.
2394
- *
2395
- * Parameters:
2396
- * - `real`: The account that the proxy will make a call on behalf of.
2397
- * - `call_hash`: The hash of the call to be made by the `real` account.
2398
- **/
2399
- removeAnnouncement: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
2400
- /**
2401
- * Unregister all proxy accounts for the sender.
2402
- *
2403
- * The dispatch origin for this call must be _Signed_.
2404
- *
2405
- * WARNING: This may be called on accounts created by `create_pure`, however if done, then
2406
- * the unreserved fees will be inaccessible. **All access to this account will be lost.**
2407
- **/
2408
- removeProxies: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
2409
- /**
2410
- * Unregister a proxy account for the sender.
2411
- *
2412
- * The dispatch origin for this call must be _Signed_.
2413
- *
2414
- * Parameters:
2415
- * - `proxy`: The account that the `caller` would like to remove as a proxy.
2416
- * - `proxy_type`: The permissions currently enabled for the removed proxy account.
2417
- **/
2418
- removeProxy: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: PezkuwiRuntimeConstantsProxyProxyType, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, PezkuwiRuntimeConstantsProxyProxyType, u32]>;
2419
- /**
2420
- * Generic tx
2421
- **/
2422
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
2423
- };
2424
- rcMigrator: {
2425
- /**
2426
- * Cancel the migration.
2427
- *
2428
- * Migration can only be cancelled if it is in the [`MigrationStage::Scheduled`] state.
2429
- **/
2430
- cancelMigration: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
2431
- /**
2432
- * Set the migration stage.
2433
- *
2434
- * This call is intended for emergency use only and is guarded by the
2435
- * [`Config::AdminOrigin`].
2436
- **/
2437
- forceSetStage: AugmentedSubmittable<(stage: PezpalletRcMigratorMigrationStage) => SubmittableExtrinsic<ApiType>, [PezpalletRcMigratorMigrationStage]>;
2438
- /**
2439
- * Pause the migration.
2440
- **/
2441
- pauseMigration: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
2442
- /**
2443
- * Set the accounts to be preserved on Relay Chain during the migration.
2444
- *
2445
- * The accounts must have no consumers references.
2446
- **/
2447
- preserveAccounts: AugmentedSubmittable<(accounts: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
2448
- /**
2449
- * Receive a query response from the Asset Hub for a previously sent xcm message.
2450
- **/
2451
- 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]>;
2452
- /**
2453
- * Resend a previously sent and unconfirmed XCM message.
2454
- **/
2455
- resendXcm: AugmentedSubmittable<(queryId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
2456
- /**
2457
- * Schedule the migration to start at a given moment.
2458
- *
2459
- * ### Parameters:
2460
- * - `start`: The block number at which the migration will start. `DispatchTime` calculated
2461
- * at the moment of the extrinsic execution.
2462
- * - `warm_up`: Duration or timepoint that will be used to prepare for the migration. Calls
2463
- * are filtered during this period. It is intended to give enough time for UMP and DMP
2464
- * queues to empty. `DispatchTime` calculated at the moment of the transition to the
2465
- * warm-up stage.
2466
- * - `cool_off`: The block number at which the post migration cool-off period will end. The
2467
- * `DispatchTime` calculated at the moment of the transition to the cool-off stage.
2468
- * - `unsafe_ignore_staking_lock_check`: ONLY FOR TESTING. Ignore the check whether the
2469
- * scheduled time point is far enough in the future.
2470
- *
2471
- * Note: If the staking election for next era is already complete, and the next
2472
- * validator set is queued in `pallet-session`, we want to avoid starting the data
2473
- * migration at this point as it can lead to some missed validator rewards. To address
2474
- * this, we stop staking election at the start of migration and must wait atleast 1
2475
- * session (set via warm_up) before starting the data migration.
2476
- *
2477
- * Read [`MigrationStage::Scheduled`] documentation for more details.
2478
- **/
2479
- scheduleMigration: AugmentedSubmittable<(start: PezframeSupportScheduleDispatchTime, warmUp: PezframeSupportScheduleDispatchTime, coolOff: PezframeSupportScheduleDispatchTime, unsafeIgnoreStakingLockCheck: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezframeSupportScheduleDispatchTime, PezframeSupportScheduleDispatchTime, PezframeSupportScheduleDispatchTime, bool]>;
2480
- /**
2481
- * XCM send call identical to the [`pallet_xcm::Pallet::send`] call but with the
2482
- * [Config::SendXcm] router which will be able to send messages to the Asset Hub during
2483
- * the migration.
2484
- **/
2485
- 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]>;
2486
- /**
2487
- * Set the AH UMP queue priority configuration.
2488
- *
2489
- * Can only be called by the `AdminOrigin`.
2490
- **/
2491
- setAhUmpQueuePriority: AugmentedSubmittable<(updated: PezpalletRcMigratorQueuePriority) => SubmittableExtrinsic<ApiType>, [PezpalletRcMigratorQueuePriority]>;
2492
- /**
2493
- * Set the canceller account id.
2494
- *
2495
- * The canceller can only stop scheduled migration.
2496
- **/
2497
- setCanceller: AugmentedSubmittable<(updated: Option<AccountId32> | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic<ApiType>, [Option<AccountId32>]>;
2498
- /**
2499
- * Set the manager account id.
2500
- *
2501
- * The manager has the similar to [`Config::AdminOrigin`] privileges except that it
2502
- * can not set the manager account id via `set_manager` call.
2503
- **/
2504
- setManager: AugmentedSubmittable<(updated: Option<AccountId32> | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic<ApiType>, [Option<AccountId32>]>;
2505
- /**
2506
- * Set the migration settings. Can only be done by admin or manager.
2507
- **/
2508
- setSettings: AugmentedSubmittable<(settings: Option<PezpalletRcMigratorMigrationSettings> | null | Uint8Array | PezpalletRcMigratorMigrationSettings) => SubmittableExtrinsic<ApiType>, [Option<PezpalletRcMigratorMigrationSettings>]>;
2509
- /**
2510
- * Set the unprocessed message buffer size.
2511
- *
2512
- * `None` means to use the configuration value.
2513
- **/
2514
- setUnprocessedMsgBuffer: AugmentedSubmittable<(updated: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
2515
- /**
2516
- * Start the data migration.
2517
- *
2518
- * This is typically called by the Asset Hub to indicate it's readiness to receive the
2519
- * migration data.
2520
- **/
2521
- startDataMigration: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
2522
- /**
2523
- * Vote on behalf of any of the members in `MultisigMembers`.
2524
- *
2525
- * Unsigned extrinsic, requiring the `payload` to be signed.
2526
- *
2527
- * Upon each call, a new entry is created in `ManagerMultisigs` map the `payload.call` to
2528
- * be dispatched. Once `MultisigThreshold` is reached, the entire map is deleted, and we
2529
- * move on to the next round.
2530
- *
2531
- * The round system ensures that signatures from older round cannot be reused.
2532
- **/
2533
- voteManagerMultisig: AugmentedSubmittable<(payload: PezpalletRcMigratorManagerMultisigVote, sig: PezspRuntimeMultiSignature) => SubmittableExtrinsic<ApiType>, [PezpalletRcMigratorManagerMultisigVote, PezspRuntimeMultiSignature]>;
2534
- /**
2535
- * Generic tx
2536
- **/
2537
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
2538
- };
2539
- referenda: {
2540
- /**
2541
- * Cancel an ongoing referendum.
2542
- *
2543
- * - `origin`: must be the `CancelOrigin`.
2544
- * - `index`: The index of the referendum to be cancelled.
2545
- *
2546
- * Emits `Cancelled`.
2547
- **/
2548
- cancel: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2549
- /**
2550
- * Cancel an ongoing referendum and slash the deposits.
2551
- *
2552
- * - `origin`: must be the `KillOrigin`.
2553
- * - `index`: The index of the referendum to be cancelled.
2554
- *
2555
- * Emits `Killed` and `DepositSlashed`.
2556
- **/
2557
- kill: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2558
- /**
2559
- * Advance a referendum onto its next logical state. Only used internally.
2560
- *
2561
- * - `origin`: must be `Root`.
2562
- * - `index`: the referendum to be advanced.
2563
- **/
2564
- nudgeReferendum: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2565
- /**
2566
- * Advance a track onto its next logical state. Only used internally.
2567
- *
2568
- * - `origin`: must be `Root`.
2569
- * - `track`: the track to be advanced.
2570
- *
2571
- * Action item for when there is now one fewer referendum in the deciding phase and the
2572
- * `DecidingCount` is not yet updated. This means that we should either:
2573
- * - begin deciding another referendum (and leave `DecidingCount` alone); or
2574
- * - decrement `DecidingCount`.
2575
- **/
2576
- oneFewerDeciding: AugmentedSubmittable<(track: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16]>;
2577
- /**
2578
- * Post the Decision Deposit for a referendum.
2579
- *
2580
- * - `origin`: must be `Signed` and the account must have funds available for the
2581
- * referendum's track's Decision Deposit.
2582
- * - `index`: The index of the submitted referendum whose Decision Deposit is yet to be
2583
- * posted.
2584
- *
2585
- * Emits `DecisionDepositPlaced`.
2586
- **/
2587
- placeDecisionDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2588
- /**
2589
- * Refund the Decision Deposit for a closed referendum back to the depositor.
2590
- *
2591
- * - `origin`: must be `Signed` or `Root`.
2592
- * - `index`: The index of a closed referendum whose Decision Deposit has not yet been
2593
- * refunded.
2594
- *
2595
- * Emits `DecisionDepositRefunded`.
2596
- **/
2597
- refundDecisionDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2598
- /**
2599
- * Refund the Submission Deposit for a closed referendum back to the depositor.
2600
- *
2601
- * - `origin`: must be `Signed` or `Root`.
2602
- * - `index`: The index of a closed referendum whose Submission Deposit has not yet been
2603
- * refunded.
2604
- *
2605
- * Emits `SubmissionDepositRefunded`.
2606
- **/
2607
- refundSubmissionDeposit: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2608
- /**
2609
- * Set or clear metadata of a referendum.
2610
- *
2611
- * Parameters:
2612
- * - `origin`: Must be `Signed` by a creator of a referendum or by anyone to clear a
2613
- * metadata of a finished referendum.
2614
- * - `index`: The index of a referendum to set or clear metadata for.
2615
- * - `maybe_hash`: The hash of an on-chain stored preimage. `None` to clear a metadata.
2616
- **/
2617
- setMetadata: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array, maybeHash: Option<H256> | null | Uint8Array | H256 | string) => SubmittableExtrinsic<ApiType>, [u32, Option<H256>]>;
2618
- /**
2619
- * Propose a referendum on a privileged action.
2620
- *
2621
- * - `origin`: must be `SubmitOrigin` and the account must have `SubmissionDeposit` funds
2622
- * available.
2623
- * - `proposal_origin`: The origin from which the proposal should be executed.
2624
- * - `proposal`: The proposal.
2625
- * - `enactment_moment`: The moment that the proposal should be enacted.
2626
- *
2627
- * Emits `Submitted`.
2628
- **/
2629
- submit: AugmentedSubmittable<(proposalOrigin: PezkuwiRuntimeOriginCaller, proposal: PezframeSupportPreimagesBounded, enactmentMoment: PezframeSupportScheduleDispatchTime) => SubmittableExtrinsic<ApiType>, [PezkuwiRuntimeOriginCaller, PezframeSupportPreimagesBounded, PezframeSupportScheduleDispatchTime]>;
2630
- /**
2631
- * Generic tx
2632
- **/
2633
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
2634
- };
2635
- registrar: {
2636
- /**
2637
- * Add a manager lock from a para. This will prevent the manager of a
2638
- * para to deregister or swap a para.
2639
- *
2640
- * Can be called by Root, the parachain, or the parachain manager if the parachain is
2641
- * unlocked.
2642
- **/
2643
- addLock: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2644
- /**
2645
- * Deregister a Para Id, freeing all data and returning any deposit.
2646
- *
2647
- * The caller must be Root, the `para` owner, or the `para` itself. The para must be an
2648
- * on-demand parachain.
2649
- **/
2650
- deregister: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2651
- /**
2652
- * Force the registration of a Para Id on the relay chain.
2653
- *
2654
- * This function must be called by a Root origin.
2655
- *
2656
- * The deposit taken can be specified for this registration. Any `ParaId`
2657
- * can be registered, including sub-1000 IDs which are System Parachains.
2658
- **/
2659
- 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]>;
2660
- /**
2661
- * Register head data and validation code for a reserved Para Id.
2662
- *
2663
- * ## Arguments
2664
- * - `origin`: Must be called by a `Signed` origin.
2665
- * - `id`: The para ID. Must be owned/managed by the `origin` signing account.
2666
- * - `genesis_head`: The genesis head data of the parachain/thread.
2667
- * - `validation_code`: The initial validation code of the parachain/thread.
2668
- *
2669
- * ## Deposits/Fees
2670
- * The account with the originating signature must reserve a deposit.
2671
- *
2672
- * The deposit is required to cover the costs associated with storing the genesis head
2673
- * data and the validation code.
2674
- * This accounts for the potential to store validation code of a size up to the
2675
- * `max_code_size`, as defined in the configuration pallet
2676
- *
2677
- * Anything already reserved previously for this para ID is accounted for.
2678
- *
2679
- * ## Events
2680
- * The `Registered` event is emitted in case of success.
2681
- **/
2682
- register: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array, genesisHead: Bytes | string | Uint8Array, validationCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes, Bytes]>;
2683
- /**
2684
- * Remove a manager lock from a para. This will allow the manager of a
2685
- * previously locked para to deregister or swap a para without using governance.
2686
- *
2687
- * Can only be called by the Root origin or the parachain.
2688
- **/
2689
- removeLock: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2690
- /**
2691
- * Reserve a Para Id on the relay chain.
2692
- *
2693
- * This function will reserve a new Para Id to be owned/managed by the origin account.
2694
- * The origin account is able to register head data and validation code using `register` to
2695
- * create an on-demand parachain. Using the Slots pallet, an on-demand parachain can then
2696
- * be upgraded to a lease holding parachain.
2697
- *
2698
- * ## Arguments
2699
- * - `origin`: Must be called by a `Signed` origin. Becomes the manager/owner of the new
2700
- * para ID.
2701
- *
2702
- * ## Deposits/Fees
2703
- * The origin must reserve a deposit of `ParaDeposit` for the registration.
2704
- *
2705
- * ## Events
2706
- * The `Reserved` event is emitted in case of success, which provides the ID reserved for
2707
- * use.
2708
- **/
2709
- reserve: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
2710
- /**
2711
- * Schedule a parachain upgrade.
2712
- *
2713
- * This will kick off a check of `new_code` by all validators. After the majority of the
2714
- * validators have reported on the validity of the code, the code will either be enacted
2715
- * or the upgrade will be rejected. If the code will be enacted, the current code of the
2716
- * parachain will be overwritten directly. This means that any PoV will be checked by this
2717
- * new code. The parachain itself will not be informed explicitly that the validation code
2718
- * has changed.
2719
- *
2720
- * Can be called by Root, the parachain, or the parachain manager if the parachain is
2721
- * unlocked.
2722
- **/
2723
- scheduleCodeUpgrade: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newCode: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
2724
- /**
2725
- * Set the parachain's current head.
2726
- *
2727
- * Can be called by Root, the parachain, or the parachain manager if the parachain is
2728
- * unlocked.
2729
- **/
2730
- setCurrentHead: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array, newHead: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, Bytes]>;
2731
- /**
2732
- * Swap a lease holding parachain with another parachain, either on-demand or lease
2733
- * holding.
2734
- *
2735
- * The origin must be Root, the `para` owner, or the `para` itself.
2736
- *
2737
- * The swap will happen only if there is already an opposite swap pending. If there is not,
2738
- * the swap will be stored in the pending swaps map, ready for a later confirmatory swap.
2739
- *
2740
- * The `ParaId`s remain mapped to the same head data and code so external code can rely on
2741
- * `ParaId` to be a long-term identifier of a notional "parachain". However, their
2742
- * scheduling info (i.e. whether they're an on-demand parachain or lease holding
2743
- * parachain), auction information and the auction deposit are switched.
2744
- **/
2745
- swap: AugmentedSubmittable<(id: u32 | AnyNumber | Uint8Array, other: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
2746
- /**
2747
- * Generic tx
2748
- **/
2749
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
2750
- };
2751
- scheduler: {
2752
- /**
2753
- * Cancel an anonymously scheduled task.
2754
- **/
2755
- cancel: AugmentedSubmittable<(when: u32 | AnyNumber | Uint8Array, index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
2756
- /**
2757
- * Cancel a named scheduled task.
2758
- **/
2759
- cancelNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed]>;
2760
- /**
2761
- * Removes the retry configuration of a task.
2762
- **/
2763
- cancelRetry: AugmentedSubmittable<(task: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array]) => SubmittableExtrinsic<ApiType>, [ITuple<[u32, u32]>]>;
2764
- /**
2765
- * Cancel the retry configuration of a named task.
2766
- **/
2767
- cancelRetryNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed]>;
2768
- /**
2769
- * Anonymously schedule a task.
2770
- **/
2771
- 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]>;
2772
- /**
2773
- * Anonymously schedule a task after a delay.
2774
- **/
2775
- 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]>;
2776
- /**
2777
- * Schedule a named task.
2778
- **/
2779
- 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]>;
2780
- /**
2781
- * Schedule a named task after a delay.
2782
- **/
2783
- 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]>;
2784
- /**
2785
- * Set a retry configuration for a task so that, in case its scheduled run fails, it will
2786
- * be retried after `period` blocks, for a total amount of `retries` retries or until it
2787
- * succeeds.
2788
- *
2789
- * Tasks which need to be scheduled for a retry are still subject to weight metering and
2790
- * agenda space, same as a regular task. If a periodic task fails, it will be scheduled
2791
- * normally while the task is retrying.
2792
- *
2793
- * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic
2794
- * clones of the original task. Their retry configuration will be derived from the
2795
- * original task's configuration, but will have a lower value for `remaining` than the
2796
- * original `total_retries`.
2797
- **/
2798
- 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]>;
2799
- /**
2800
- * Set a retry configuration for a named task so that, in case its scheduled run fails, it
2801
- * will be retried after `period` blocks, for a total amount of `retries` retries or until
2802
- * it succeeds.
2803
- *
2804
- * Tasks which need to be scheduled for a retry are still subject to weight metering and
2805
- * agenda space, same as a regular task. If a periodic task fails, it will be scheduled
2806
- * normally while the task is retrying.
2807
- *
2808
- * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic
2809
- * clones of the original task. Their retry configuration will be derived from the
2810
- * original task's configuration, but will have a lower value for `remaining` than the
2811
- * original `total_retries`.
2812
- **/
2813
- setRetryNamed: AugmentedSubmittable<(id: U8aFixed | string | Uint8Array, retries: u8 | AnyNumber | Uint8Array, period: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [U8aFixed, u8, u32]>;
2814
- /**
2815
- * Generic tx
2816
- **/
2817
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
2818
- };
2819
- session: {
2820
- /**
2821
- * Removes any session key(s) of the function caller.
2822
- *
2823
- * This doesn't take effect until the next session.
2824
- *
2825
- * The dispatch origin of this function must be Signed and the account must be either be
2826
- * convertible to a validator ID using the chain's typical addressing system (this usually
2827
- * means being a controller account) or directly convertible into a validator ID (which
2828
- * usually means being a stash account).
2829
- *
2830
- * ## Complexity
2831
- * - `O(1)` in number of key types. Actual cost depends on the number of length of
2832
- * `T::Keys::key_ids()` which is fixed.
2833
- **/
2834
- purgeKeys: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
2835
- /**
2836
- * Sets the session key(s) of the function caller to `keys`.
2837
- * Allows an account to set its session key prior to becoming a validator.
2838
- * This doesn't take effect until the next session.
2839
- *
2840
- * The dispatch origin of this function must be signed.
2841
- *
2842
- * ## Complexity
2843
- * - `O(1)`. Actual cost depends on the number of length of `T::Keys::key_ids()` which is
2844
- * fixed.
2845
- **/
2846
- setKeys: AugmentedSubmittable<(keys: PezkuwiRuntimeSessionKeys, proof: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezkuwiRuntimeSessionKeys, Bytes]>;
2847
- /**
2848
- * Generic tx
2849
- **/
2850
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
2851
- };
2852
- slots: {
2853
- /**
2854
- * Clear all leases for a Para Id, refunding any deposits back to the original owners.
2855
- *
2856
- * The dispatch origin for this call must match `T::ForceOrigin`.
2857
- **/
2858
- clearAllLeases: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2859
- /**
2860
- * Just a connect into the `lease_out` call, in case Root wants to force some lease to
2861
- * happen independently of any other on-chain mechanism to use it.
2862
- *
2863
- * The dispatch origin for this call must match `T::ForceOrigin`.
2864
- **/
2865
- 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]>;
2866
- /**
2867
- * Try to onboard a parachain that has a lease for the current lease period.
2868
- *
2869
- * This function can be useful if there was some state issue with a para that should
2870
- * have onboarded, but was unable to. As long as they have a lease period, we can
2871
- * let them onboard from here.
2872
- *
2873
- * Origin must be signed, but can be called by anyone.
2874
- **/
2875
- triggerOnboard: AugmentedSubmittable<(para: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
2876
- /**
2877
- * Generic tx
2878
- **/
2879
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
2880
- };
2881
- staking: {
2882
- /**
2883
- * Take the origin account as a stash and lock up `value` of its balance. `controller` will
2884
- * be the account that controls it.
2885
- *
2886
- * `value` must be more than the `minimum_balance` specified by `T::Currency`.
2887
- *
2888
- * The dispatch origin for this call must be _Signed_ by the stash account.
2889
- *
2890
- * Emits `Bonded`.
2891
- * ## Complexity
2892
- * - Independent of the arguments. Moderate complexity.
2893
- * - O(1).
2894
- * - Three extra DB entries.
2895
- *
2896
- * NOTE: Two of the storage writes (`Self::bonded`, `Self::payee`) are _never_ cleaned
2897
- * unless the `origin` falls below _existential deposit_ (or equal to 0) and gets removed
2898
- * as dust.
2899
- **/
2900
- bond: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, payee: PezpalletStakingRewardDestination) => SubmittableExtrinsic<ApiType>, [Compact<u128>, PezpalletStakingRewardDestination]>;
2901
- /**
2902
- * Add some extra amount that have appeared in the stash `free_balance` into the balance up
2903
- * for staking.
2904
- *
2905
- * The dispatch origin for this call must be _Signed_ by the stash, not the controller.
2906
- *
2907
- * Use this if there are additional funds in your stash account that you wish to bond.
2908
- * Unlike [`bond`](Self::bond) or [`unbond`](Self::unbond) this function does not impose
2909
- * any limitation on the amount that can be added.
2910
- *
2911
- * Emits `Bonded`.
2912
- *
2913
- * ## Complexity
2914
- * - Independent of the arguments. Insignificant complexity.
2915
- * - O(1).
2916
- **/
2917
- bondExtra: AugmentedSubmittable<(maxAdditional: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>]>;
2918
- /**
2919
- * Cancel enactment of a deferred slash.
2920
- *
2921
- * Can be called by the `T::AdminOrigin`.
2922
- *
2923
- * Parameters: era and indices of the slashes for that era to kill.
2924
- * They **must** be sorted in ascending order, *and* unique.
2925
- **/
2926
- cancelDeferredSlash: AugmentedSubmittable<(era: u32 | AnyNumber | Uint8Array, slashIndices: Vec<u32> | (u32 | AnyNumber | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u32, Vec<u32>]>;
2927
- /**
2928
- * Declare no desire to either validate or nominate.
2929
- *
2930
- * Effects will be felt at the beginning of the next era.
2931
- *
2932
- * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
2933
- *
2934
- * ## Complexity
2935
- * - Independent of the arguments. Insignificant complexity.
2936
- * - Contains one read.
2937
- * - Writes are limited to the `origin` account key.
2938
- **/
2939
- chill: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
2940
- /**
2941
- * Declare a `controller` to stop participating as either a validator or nominator.
2942
- *
2943
- * Effects will be felt at the beginning of the next era.
2944
- *
2945
- * The dispatch origin for this call must be _Signed_, but can be called by anyone.
2946
- *
2947
- * If the caller is the same as the controller being targeted, then no further checks are
2948
- * enforced, and this function behaves just like `chill`.
2949
- *
2950
- * If the caller is different than the controller being targeted, the following conditions
2951
- * must be met:
2952
- *
2953
- * * `controller` must belong to a nominator who has become non-decodable,
2954
- *
2955
- * Or:
2956
- *
2957
- * * A `ChillThreshold` must be set and checked which defines how close to the max
2958
- * nominators or validators we must reach before users can start chilling one-another.
2959
- * * A `MaxNominatorCount` and `MaxValidatorCount` must be set which is used to determine
2960
- * how close we are to the threshold.
2961
- * * A `MinNominatorBond` and `MinValidatorBond` must be set and checked, which determines
2962
- * if this is a person that should be chilled because they have not met the threshold
2963
- * bond required.
2964
- *
2965
- * This can be helpful if bond requirements are updated, and we need to remove old users
2966
- * who do not satisfy these requirements.
2967
- **/
2968
- chillOther: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
2969
- /**
2970
- * Updates a batch of controller accounts to their corresponding stash account if they are
2971
- * not the same. Ignores any controller accounts that do not exist, and does not operate if
2972
- * the stash and controller are already the same.
2973
- *
2974
- * Effects will be felt instantly (as soon as this function is completed successfully).
2975
- *
2976
- * The dispatch origin must be `T::AdminOrigin`.
2977
- **/
2978
- deprecateControllerBatch: AugmentedSubmittable<(controllers: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
2979
- /**
2980
- * Force a validator to have at least the minimum commission. This will not affect a
2981
- * validator who already has a commission greater than or equal to the minimum. Any account
2982
- * can call this.
2983
- **/
2984
- forceApplyMinCommission: AugmentedSubmittable<(validatorStash: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
2985
- /**
2986
- * Force there to be a new era at the end of the next session. After this, it will be
2987
- * reset to normal (non-forced) behaviour.
2988
- *
2989
- * The dispatch origin must be Root.
2990
- *
2991
- * # Warning
2992
- *
2993
- * The election process starts multiple blocks before the end of the era.
2994
- * If this is called just before a new era is triggered, the election process may not
2995
- * have enough blocks to get a result.
2996
- *
2997
- * ## Complexity
2998
- * - No arguments.
2999
- * - Weight: O(1)
3000
- **/
3001
- forceNewEra: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
3002
- /**
3003
- * Force there to be a new era at the end of sessions indefinitely.
3004
- *
3005
- * The dispatch origin must be Root.
3006
- *
3007
- * # Warning
3008
- *
3009
- * The election process starts multiple blocks before the end of the era.
3010
- * If this is called just before a new era is triggered, the election process may not
3011
- * have enough blocks to get a result.
3012
- **/
3013
- forceNewEraAlways: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
3014
- /**
3015
- * Force there to be no new eras indefinitely.
3016
- *
3017
- * The dispatch origin must be Root.
3018
- *
3019
- * # Warning
3020
- *
3021
- * The election process starts multiple blocks before the end of the era.
3022
- * Thus the election process may be ongoing when this is called. In this case the
3023
- * election will continue until the next era is triggered.
3024
- *
3025
- * ## Complexity
3026
- * - No arguments.
3027
- * - Weight: O(1)
3028
- **/
3029
- forceNoEras: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
3030
- /**
3031
- * Force a current staker to become completely unstaked, immediately.
3032
- *
3033
- * The dispatch origin must be Root.
3034
- *
3035
- * ## Parameters
3036
- *
3037
- * - `num_slashing_spans`: Refer to comments on [`Call::withdraw_unbonded`] for more
3038
- * details.
3039
- **/
3040
- forceUnstake: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
3041
- /**
3042
- * Increments the ideal number of validators up to maximum of
3043
- * `ElectionProviderBase::MaxWinners`.
3044
- *
3045
- * The dispatch origin must be Root.
3046
- *
3047
- * ## Complexity
3048
- * Same as [`Self::set_validator_count`].
3049
- **/
3050
- increaseValidatorCount: AugmentedSubmittable<(additional: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
3051
- /**
3052
- * Remove the given nominations from the calling validator.
3053
- *
3054
- * Effects will be felt at the beginning of the next era.
3055
- *
3056
- * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
3057
- *
3058
- * - `who`: A list of nominator stash accounts who are nominating this validator which
3059
- * should no longer be nominating this validator.
3060
- *
3061
- * Note: Making this call only makes sense if you first set the validator preferences to
3062
- * block any further nominations.
3063
- **/
3064
- kick: AugmentedSubmittable<(who: Vec<MultiAddress> | (MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<MultiAddress>]>;
3065
- /**
3066
- * This function allows governance to manually slash a validator and is a
3067
- * **fallback mechanism**.
3068
- *
3069
- * The dispatch origin must be `T::AdminOrigin`.
3070
- *
3071
- * ## Parameters
3072
- * - `validator_stash` - The stash account of the validator to slash.
3073
- * - `era` - The era in which the validator was in the active set.
3074
- * - `slash_fraction` - The percentage of the stake to slash, expressed as a Perbill.
3075
- *
3076
- * ## Behavior
3077
- *
3078
- * The slash will be applied using the standard slashing mechanics, respecting the
3079
- * configured `SlashDeferDuration`.
3080
- *
3081
- * This means:
3082
- * - If the validator was already slashed by a higher percentage for the same era, this
3083
- * slash will have no additional effect.
3084
- * - If the validator was previously slashed by a lower percentage, only the difference
3085
- * will be applied.
3086
- * - The slash will be deferred by `SlashDeferDuration` eras before being enacted.
3087
- **/
3088
- manualSlash: AugmentedSubmittable<(validatorStash: AccountId32 | string | Uint8Array, era: u32 | AnyNumber | Uint8Array, slashFraction: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32, Perbill]>;
3089
- /**
3090
- * Removes the legacy Staking locks if they exist.
3091
- *
3092
- * This removes the legacy lock on the stake with [`Config::OldCurrency`] and creates a
3093
- * hold on it if needed. If all stake cannot be held, the best effort is made to hold as
3094
- * much as possible. The remaining stake is forced withdrawn from the ledger.
3095
- *
3096
- * The fee is waived if the migration is successful.
3097
- **/
3098
- migrateCurrency: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
3099
- /**
3100
- * Declare the desire to nominate `targets` for the origin controller.
3101
- *
3102
- * Effects will be felt at the beginning of the next era.
3103
- *
3104
- * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
3105
- *
3106
- * ## Complexity
3107
- * - The transaction's complexity is proportional to the size of `targets` (N)
3108
- * which is capped at CompactAssignments::LIMIT (T::MaxNominations).
3109
- * - Both the reads and writes follow a similar pattern.
3110
- **/
3111
- nominate: AugmentedSubmittable<(targets: Vec<MultiAddress> | (MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<MultiAddress>]>;
3112
- /**
3113
- * Pay out next page of the stakers behind a validator for the given era.
3114
- *
3115
- * - `validator_stash` is the stash account of the validator.
3116
- * - `era` may be any era between `[current_era - history_depth; current_era]`.
3117
- *
3118
- * The origin of this call must be _Signed_. Any account can call this function, even if
3119
- * it is not one of the stakers.
3120
- *
3121
- * The reward payout could be paged in case there are too many nominators backing the
3122
- * `validator_stash`. This call will payout unpaid pages in an ascending order. To claim a
3123
- * specific page, use `payout_stakers_by_page`.`
3124
- *
3125
- * If all pages are claimed, it returns an error `InvalidPage`.
3126
- **/
3127
- payoutStakers: AugmentedSubmittable<(validatorStash: AccountId32 | string | Uint8Array, era: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
3128
- /**
3129
- * Pay out a page of the stakers behind a validator for the given era and page.
3130
- *
3131
- * - `validator_stash` is the stash account of the validator.
3132
- * - `era` may be any era between `[current_era - history_depth; current_era]`.
3133
- * - `page` is the page index of nominators to pay out with value between 0 and
3134
- * `num_nominators / T::MaxExposurePageSize`.
3135
- *
3136
- * The origin of this call must be _Signed_. Any account can call this function, even if
3137
- * it is not one of the stakers.
3138
- *
3139
- * If a validator has more than [`Config::MaxExposurePageSize`] nominators backing
3140
- * them, then the list of nominators is paged, with each page being capped at
3141
- * [`Config::MaxExposurePageSize`.] If a validator has more than one page of nominators,
3142
- * the call needs to be made for each page separately in order for all the nominators
3143
- * backing a validator to receive the reward. The nominators are not sorted across pages
3144
- * and so it should not be assumed the highest staker would be on the topmost page and vice
3145
- * versa. If rewards are not claimed in [`Config::HistoryDepth`] eras, they are lost.
3146
- **/
3147
- payoutStakersByPage: AugmentedSubmittable<(validatorStash: AccountId32 | string | Uint8Array, era: u32 | AnyNumber | Uint8Array, page: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32, u32]>;
3148
- /**
3149
- * Remove all data structures concerning a staker/stash once it is at a state where it can
3150
- * be considered `dust` in the staking system. The requirements are:
3151
- *
3152
- * 1. the `total_balance` of the stash is below existential deposit.
3153
- * 2. or, the `ledger.total` of the stash is below existential deposit.
3154
- * 3. or, existential deposit is zero and either `total_balance` or `ledger.total` is zero.
3155
- *
3156
- * The former can happen in cases like a slash; the latter when a fully unbonded account
3157
- * is still receiving staking rewards in `RewardDestination::Staked`.
3158
- *
3159
- * It can be called by anyone, as long as `stash` meets the above requirements.
3160
- *
3161
- * Refunds the transaction fees upon successful execution.
3162
- *
3163
- * ## Parameters
3164
- *
3165
- * - `num_slashing_spans`: Refer to comments on [`Call::withdraw_unbonded`] for more
3166
- * details.
3167
- **/
3168
- reapStash: AugmentedSubmittable<(stash: AccountId32 | string | Uint8Array, numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u32]>;
3169
- /**
3170
- * Rebond a portion of the stash scheduled to be unlocked.
3171
- *
3172
- * The dispatch origin must be signed by the controller.
3173
- *
3174
- * ## Complexity
3175
- * - Time complexity: O(L), where L is unlocking chunks
3176
- * - Bounded by `MaxUnlockingChunks`.
3177
- **/
3178
- rebond: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>]>;
3179
- /**
3180
- * Restores the state of a ledger which is in an inconsistent state.
3181
- *
3182
- * The requirements to restore a ledger are the following:
3183
- * * The stash is bonded; or
3184
- * * The stash is not bonded but it has a staking lock left behind; or
3185
- * * If the stash has an associated ledger and its state is inconsistent; or
3186
- * * If the ledger is not corrupted *but* its staking lock is out of sync.
3187
- *
3188
- * The `maybe_*` input parameters will overwrite the corresponding data and metadata of the
3189
- * ledger associated with the stash. If the input parameters are not set, the ledger will
3190
- * be reset values from on-chain state.
3191
- **/
3192
- 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>>]>;
3193
- /**
3194
- * Scale up the ideal number of validators by a factor up to maximum of
3195
- * `ElectionProviderBase::MaxWinners`.
3196
- *
3197
- * The dispatch origin must be Root.
3198
- *
3199
- * ## Complexity
3200
- * Same as [`Self::set_validator_count`].
3201
- **/
3202
- scaleValidatorCount: AugmentedSubmittable<(factor: Percent | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Percent]>;
3203
- /**
3204
- * (Re-)sets the controller of a stash to the stash itself. This function previously
3205
- * accepted a `controller` argument to set the controller to an account other than the
3206
- * stash itself. This functionality has now been removed, now only setting the controller
3207
- * to the stash, if it is not already.
3208
- *
3209
- * Effects will be felt instantly (as soon as this function is completed successfully).
3210
- *
3211
- * The dispatch origin for this call must be _Signed_ by the stash, not the controller.
3212
- *
3213
- * ## Complexity
3214
- * O(1)
3215
- * - Independent of the arguments. Insignificant complexity.
3216
- * - Contains a limited number of reads.
3217
- * - Writes are limited to the `origin` account key.
3218
- **/
3219
- setController: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
3220
- /**
3221
- * Set the validators who cannot be slashed (if any).
3222
- *
3223
- * The dispatch origin must be Root.
3224
- **/
3225
- setInvulnerables: AugmentedSubmittable<(invulnerables: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
3226
- /**
3227
- * Sets the minimum amount of commission that each validators must maintain.
3228
- *
3229
- * This call has lower privilege requirements than `set_staking_config` and can be called
3230
- * by the `T::AdminOrigin`. Root can always call this.
3231
- **/
3232
- setMinCommission: AugmentedSubmittable<(updated: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Perbill]>;
3233
- /**
3234
- * (Re-)set the payment target for a controller.
3235
- *
3236
- * Effects will be felt instantly (as soon as this function is completed successfully).
3237
- *
3238
- * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
3239
- *
3240
- * ## Complexity
3241
- * - O(1)
3242
- * - Independent of the arguments. Insignificant complexity.
3243
- * - Contains a limited number of reads.
3244
- * - Writes are limited to the `origin` account key.
3245
- * ---------
3246
- **/
3247
- setPayee: AugmentedSubmittable<(payee: PezpalletStakingRewardDestination) => SubmittableExtrinsic<ApiType>, [PezpalletStakingRewardDestination]>;
3248
- /**
3249
- * Update the various staking configurations .
3250
- *
3251
- * * `min_nominator_bond`: The minimum active bond needed to be a nominator.
3252
- * * `min_validator_bond`: The minimum active bond needed to be a validator.
3253
- * * `max_nominator_count`: The max number of users who can be a nominator at once. When
3254
- * set to `None`, no limit is enforced.
3255
- * * `max_validator_count`: The max number of users who can be a validator at once. When
3256
- * set to `None`, no limit is enforced.
3257
- * * `chill_threshold`: The ratio of `max_nominator_count` or `max_validator_count` which
3258
- * should be filled in order for the `chill_other` transaction to work.
3259
- * * `min_commission`: The minimum amount of commission that each validators must maintain.
3260
- * This is checked only upon calling `validate`. Existing validators are not affected.
3261
- *
3262
- * RuntimeOrigin must be Root to call this function.
3263
- *
3264
- * NOTE: Existing nominators and validators will not be affected by this update.
3265
- * to kick people under the new limits, `chill_other` should be called.
3266
- **/
3267
- 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]>;
3268
- /**
3269
- * Sets the ideal number of validators.
3270
- *
3271
- * The dispatch origin must be Root.
3272
- *
3273
- * ## Complexity
3274
- * O(1)
3275
- **/
3276
- setValidatorCount: AugmentedSubmittable<(updated: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
3277
- /**
3278
- * Schedule a portion of the stash to be unlocked ready for transfer out after the bond
3279
- * period ends. If this leaves an amount actively bonded less than
3280
- * [`asset::existential_deposit`], then it is increased to the full amount.
3281
- *
3282
- * The stash may be chilled if the ledger total amount falls to 0 after unbonding.
3283
- *
3284
- * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
3285
- *
3286
- * Once the unlock period is done, you can call `withdraw_unbonded` to actually move
3287
- * the funds out of management ready for transfer.
3288
- *
3289
- * No more than a limited number of unlocking chunks (see `MaxUnlockingChunks`)
3290
- * can co-exists at the same time. If there are no unlocking chunks slots available
3291
- * [`Call::withdraw_unbonded`] is called to remove some of the chunks (if possible).
3292
- *
3293
- * If a user encounters the `InsufficientBond` error when calling this extrinsic,
3294
- * they should call `chill` first in order to free up their bonded funds.
3295
- *
3296
- * Emits `Unbonded`.
3297
- *
3298
- * See also [`Call::withdraw_unbonded`].
3299
- **/
3300
- unbond: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>]>;
3301
- /**
3302
- * Migrates an account's `RewardDestination::Controller` to
3303
- * `RewardDestination::Account(controller)`.
3304
- *
3305
- * Effects will be felt instantly (as soon as this function is completed successfully).
3306
- *
3307
- * This will waive the transaction fee if the `payee` is successfully migrated.
3308
- **/
3309
- updatePayee: AugmentedSubmittable<(controller: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
3310
- /**
3311
- * Declare the desire to validate for the origin controller.
3312
- *
3313
- * Effects will be felt at the beginning of the next era.
3314
- *
3315
- * The dispatch origin for this call must be _Signed_ by the controller, not the stash.
3316
- **/
3317
- validate: AugmentedSubmittable<(prefs: PezpalletStakingValidatorPrefs) => SubmittableExtrinsic<ApiType>, [PezpalletStakingValidatorPrefs]>;
3318
- /**
3319
- * Remove any unlocked chunks from the `unlocking` queue from our management.
3320
- *
3321
- * This essentially frees up that balance to be used by the stash account to do whatever
3322
- * it wants.
3323
- *
3324
- * The dispatch origin for this call must be _Signed_ by the controller.
3325
- *
3326
- * Emits `Withdrawn`.
3327
- *
3328
- * See also [`Call::unbond`].
3329
- *
3330
- * ## Parameters
3331
- *
3332
- * - `num_slashing_spans` indicates the number of metadata slashing spans to clear when
3333
- * this call results in a complete removal of all the data related to the stash account.
3334
- * In this case, the `num_slashing_spans` must be larger or equal to the number of
3335
- * slashing spans associated with the stash account in the [`SlashingSpans`] storage type,
3336
- * otherwise the call will fail. The call weight is directly proportional to
3337
- * `num_slashing_spans`.
3338
- *
3339
- * ## Complexity
3340
- * O(S) where S is the number of slashing spans to remove
3341
- * NOTE: Weight annotation is the kill scenario, we refund otherwise.
3342
- **/
3343
- withdrawUnbonded: AugmentedSubmittable<(numSlashingSpans: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
3344
- /**
3345
- * Generic tx
3346
- **/
3347
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
3348
- };
3349
- stakingAhClient: {
3350
- /**
3351
- * manually do what this pallet was meant to do at the end of the migration.
3352
- **/
3353
- forceOnMigrationEnd: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
3354
- /**
3355
- * Allows governance to force set the operating mode of the pallet.
3356
- **/
3357
- setMode: AugmentedSubmittable<(mode: PezpalletStakingAsyncAhClientOperatingMode) => SubmittableExtrinsic<ApiType>, [PezpalletStakingAsyncAhClientOperatingMode]>;
3358
- validatorSet: AugmentedSubmittable<(report: PezpalletStakingAsyncRcClientValidatorSetReport) => SubmittableExtrinsic<ApiType>, [PezpalletStakingAsyncRcClientValidatorSetReport]>;
3359
- /**
3360
- * Generic tx
3361
- **/
3362
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
3363
- };
3364
- stateTrieMigration: {
3365
- /**
3366
- * Continue the migration for the given `limits`.
3367
- *
3368
- * The dispatch origin of this call can be any signed account.
3369
- *
3370
- * This transaction has NO MONETARY INCENTIVES. calling it will not reward anyone. Albeit,
3371
- * Upon successful execution, the transaction fee is returned.
3372
- *
3373
- * The (potentially over-estimated) of the byte length of all the data read must be
3374
- * provided for up-front fee-payment and weighing. In essence, the caller is guaranteeing
3375
- * that executing the current `MigrationTask` with the given `limits` will not exceed
3376
- * `real_size_upper` bytes of read data.
3377
- *
3378
- * The `witness_task` is merely a helper to prevent the caller from being slashed or
3379
- * generally trigger a migration that they do not intend. This parameter is just a message
3380
- * from caller, saying that they believed `witness_task` was the last state of the
3381
- * migration, and they only wish for their transaction to do anything, if this assumption
3382
- * holds. In case `witness_task` does not match, the transaction fails.
3383
- *
3384
- * Based on the documentation of [`MigrationTask::migrate_until_exhaustion`], the
3385
- * recommended way of doing this is to pass a `limit` that only bounds `count`, as the
3386
- * `size` limit can always be overwritten.
3387
- **/
3388
- continueMigrate: AugmentedSubmittable<(limits: PezpalletStateTrieMigrationMigrationLimits, realSizeUpper: u32 | AnyNumber | Uint8Array, witnessTask: PezpalletStateTrieMigrationMigrationTask) => SubmittableExtrinsic<ApiType>, [PezpalletStateTrieMigrationMigrationLimits, u32, PezpalletStateTrieMigrationMigrationTask]>;
3389
- /**
3390
- * Control the automatic migration.
3391
- *
3392
- * The dispatch origin of this call must be [`Config::ControlOrigin`].
3393
- **/
3394
- controlAutoMigration: AugmentedSubmittable<(maybeConfig: Option<PezpalletStateTrieMigrationMigrationLimits> | null | Uint8Array | PezpalletStateTrieMigrationMigrationLimits) => SubmittableExtrinsic<ApiType>, [Option<PezpalletStateTrieMigrationMigrationLimits>]>;
3395
- /**
3396
- * Forcefully set the progress the running migration.
3397
- *
3398
- * This is only useful in one case: the next key to migrate is too big to be migrated with
3399
- * a signed account, in a parachain context, and we simply want to skip it. A reasonable
3400
- * example of this would be `:code:`, which is both very expensive to migrate, and commonly
3401
- * used, so probably it is already migrated.
3402
- *
3403
- * In case you mess things up, you can also, in principle, use this to reset the migration
3404
- * process.
3405
- **/
3406
- forceSetProgress: AugmentedSubmittable<(progressTop: PezpalletStateTrieMigrationProgress, progressChild: PezpalletStateTrieMigrationProgress) => SubmittableExtrinsic<ApiType>, [PezpalletStateTrieMigrationProgress, PezpalletStateTrieMigrationProgress]>;
3407
- /**
3408
- * Migrate the list of child keys by iterating each of them one by one.
3409
- *
3410
- * All of the given child keys must be present under one `child_root`.
3411
- *
3412
- * This does not affect the global migration process tracker ([`MigrationProcess`]), and
3413
- * should only be used in case any keys are leftover due to a bug.
3414
- **/
3415
- migrateCustomChild: AugmentedSubmittable<(root: Bytes | string | Uint8Array, childKeys: Vec<Bytes> | (Bytes | string | Uint8Array)[], totalSize: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, Vec<Bytes>, u32]>;
3416
- /**
3417
- * Migrate the list of top keys by iterating each of them one by one.
3418
- *
3419
- * This does not affect the global migration process tracker ([`MigrationProcess`]), and
3420
- * should only be used in case any keys are leftover due to a bug.
3421
- **/
3422
- migrateCustomTop: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[], witnessSize: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>, u32]>;
3423
- /**
3424
- * Set the maximum limit of the signed migration.
3425
- **/
3426
- setSignedMaxLimits: AugmentedSubmittable<(limits: PezpalletStateTrieMigrationMigrationLimits) => SubmittableExtrinsic<ApiType>, [PezpalletStateTrieMigrationMigrationLimits]>;
3427
- /**
3428
- * Generic tx
3429
- **/
3430
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
3431
- };
3432
- system: {
3433
- /**
3434
- * Provide the preimage (runtime binary) `code` for an upgrade that has been authorized.
3435
- *
3436
- * If the authorization required a version check, this call will ensure the spec name
3437
- * remains unchanged and that the spec version has increased.
3438
- *
3439
- * Depending on the runtime's `OnSetCode` configuration, this function may directly apply
3440
- * the new `code` in the same block or attempt to schedule the upgrade.
3441
- *
3442
- * All origins are allowed.
3443
- **/
3444
- applyAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
3445
- /**
3446
- * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied
3447
- * later.
3448
- *
3449
- * This call requires Root origin.
3450
- **/
3451
- authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
3452
- /**
3453
- * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied
3454
- * later.
3455
- *
3456
- * WARNING: This authorizes an upgrade that will take place without any safety checks, for
3457
- * example that the spec name remains the same and that the version number increases. Not
3458
- * recommended for normal use. Use `authorize_upgrade` instead.
3459
- *
3460
- * This call requires Root origin.
3461
- **/
3462
- authorizeUpgradeWithoutChecks: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
3463
- /**
3464
- * Kill all storage items with a key that starts with the given prefix.
3465
- *
3466
- * **NOTE:** We rely on the Root origin to provide us the number of subkeys under
3467
- * the prefix we are removing to accurately calculate the weight of this function.
3468
- **/
3469
- killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32]>;
3470
- /**
3471
- * Kill some items from storage.
3472
- **/
3473
- killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;
3474
- /**
3475
- * Make some on-chain remark.
3476
- *
3477
- * Can be executed by every `origin`.
3478
- **/
3479
- remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
3480
- /**
3481
- * Make some on-chain remark and emit event.
3482
- **/
3483
- remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
3484
- /**
3485
- * Set the new runtime code.
3486
- **/
3487
- setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
3488
- /**
3489
- * Set the new runtime code without doing any checks of the given `code`.
3490
- *
3491
- * Note that runtime upgrades will not run if this is called with a not-increasing spec
3492
- * version!
3493
- **/
3494
- setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
3495
- /**
3496
- * Set the number of pages in the WebAssembly environment's heap.
3497
- **/
3498
- setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
3499
- /**
3500
- * Set some items of storage.
3501
- **/
3502
- setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[Bytes, Bytes]>>]>;
3503
- /**
3504
- * Generic tx
3505
- **/
3506
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
3507
- };
3508
- timestamp: {
3509
- /**
3510
- * Set the current time.
3511
- *
3512
- * This call should be invoked exactly once per block. It will panic at the finalization
3513
- * phase, if this call hasn't been invoked by that time.
3514
- *
3515
- * The timestamp should be greater than the previous one by the amount specified by
3516
- * [`Config::MinimumPeriod`].
3517
- *
3518
- * The dispatch origin for this call must be _None_.
3519
- *
3520
- * This dispatch class is _Mandatory_ to ensure it gets executed in the block. Be aware
3521
- * that changing the complexity of this call could result exhausting the resources in a
3522
- * block to execute any other calls.
3523
- *
3524
- * ## Complexity
3525
- * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)
3526
- * - 1 storage read and 1 storage mutation (codec `O(1)` because of `DidUpdate::take` in
3527
- * `on_finalize`)
3528
- * - 1 event handler `on_timestamp_set`. Must be `O(1)`.
3529
- **/
3530
- set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u64>]>;
3531
- /**
3532
- * Generic tx
3533
- **/
3534
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
3535
- };
3536
- treasury: {
3537
- /**
3538
- * Check the status of the spend and remove it from the storage if processed.
3539
- *
3540
- * ## Dispatch Origin
3541
- *
3542
- * Must be signed.
3543
- *
3544
- * ## Details
3545
- *
3546
- * The status check is a prerequisite for retrying a failed payout.
3547
- * If a spend has either succeeded or expired, it is removed from the storage by this
3548
- * function. In such instances, transaction fees are refunded.
3549
- *
3550
- * ### Parameters
3551
- * - `index`: The spend index.
3552
- *
3553
- * ## Events
3554
- *
3555
- * Emits [`Event::PaymentFailed`] if the spend payout has failed.
3556
- * Emits [`Event::SpendProcessed`] if the spend payout has succeed.
3557
- **/
3558
- checkStatus: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
3559
- /**
3560
- * Claim a spend.
3561
- *
3562
- * ## Dispatch Origin
3563
- *
3564
- * Must be signed
3565
- *
3566
- * ## Details
3567
- *
3568
- * Spends must be claimed within some temporal bounds. A spend may be claimed within one
3569
- * [`Config::PayoutPeriod`] from the `valid_from` block.
3570
- * In case of a payout failure, the spend status must be updated with the `check_status`
3571
- * dispatchable before retrying with the current function.
3572
- *
3573
- * ### Parameters
3574
- * - `index`: The spend index.
3575
- *
3576
- * ## Events
3577
- *
3578
- * Emits [`Event::Paid`] if successful.
3579
- **/
3580
- payout: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
3581
- /**
3582
- * Force a previously approved proposal to be removed from the approval queue.
3583
- *
3584
- * ## Dispatch Origin
3585
- *
3586
- * Must be [`Config::RejectOrigin`].
3587
- *
3588
- * ## Details
3589
- *
3590
- * The original deposit will no longer be returned.
3591
- *
3592
- * ### Parameters
3593
- * - `proposal_id`: The index of a proposal
3594
- *
3595
- * ### Complexity
3596
- * - O(A) where `A` is the number of approvals
3597
- *
3598
- * ### Errors
3599
- * - [`Error::ProposalNotApproved`]: The `proposal_id` supplied was not found in the
3600
- * approval queue, i.e., the proposal has not been approved. This could also mean the
3601
- * proposal does not exist altogether, thus there is no way it would have been approved
3602
- * in the first place.
3603
- **/
3604
- removeApproval: AugmentedSubmittable<(proposalId: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>]>;
3605
- /**
3606
- * Propose and approve a spend of treasury funds.
3607
- *
3608
- * ## Dispatch Origin
3609
- *
3610
- * Must be [`Config::SpendOrigin`] with the `Success` value being at least
3611
- * `amount` of `asset_kind` in the native asset. The amount of `asset_kind` is converted
3612
- * for assertion using the [`Config::BalanceConverter`].
3613
- *
3614
- * ## Details
3615
- *
3616
- * Create an approved spend for transferring a specific `amount` of `asset_kind` to a
3617
- * designated beneficiary. The spend must be claimed using the `payout` dispatchable within
3618
- * the [`Config::PayoutPeriod`].
3619
- *
3620
- * ### Parameters
3621
- * - `asset_kind`: An indicator of the specific asset class to be spent.
3622
- * - `amount`: The amount to be transferred from the treasury to the `beneficiary`.
3623
- * - `beneficiary`: The beneficiary of the spend.
3624
- * - `valid_from`: The block number from which the spend can be claimed. It can refer to
3625
- * the past if the resulting spend has not yet expired according to the
3626
- * [`Config::PayoutPeriod`]. If `None`, the spend can be claimed immediately after
3627
- * approval.
3628
- *
3629
- * ## Events
3630
- *
3631
- * Emits [`Event::AssetSpendApproved`] if successful.
3632
- **/
3633
- 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>]>;
3634
- /**
3635
- * Propose and approve a spend of treasury funds.
3636
- *
3637
- * ## Dispatch Origin
3638
- *
3639
- * Must be [`Config::SpendOrigin`] with the `Success` value being at least `amount`.
3640
- *
3641
- * ### Details
3642
- * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the
3643
- * beneficiary.
3644
- *
3645
- * ### Parameters
3646
- * - `amount`: The amount to be transferred from the treasury to the `beneficiary`.
3647
- * - `beneficiary`: The destination account for the transfer.
3648
- *
3649
- * ## Events
3650
- *
3651
- * Emits [`Event::SpendApproved`] if successful.
3652
- **/
3653
- 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]>;
3654
- /**
3655
- * Void previously approved spend.
3656
- *
3657
- * ## Dispatch Origin
3658
- *
3659
- * Must be [`Config::RejectOrigin`].
3660
- *
3661
- * ## Details
3662
- *
3663
- * A spend void is only possible if the payout has not been attempted yet.
3664
- *
3665
- * ### Parameters
3666
- * - `index`: The spend index.
3667
- *
3668
- * ## Events
3669
- *
3670
- * Emits [`Event::AssetSpendVoided`] if successful.
3671
- **/
3672
- voidSpend: AugmentedSubmittable<(index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
3673
- /**
3674
- * Generic tx
3675
- **/
3676
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
3677
- };
3678
- utility: {
3679
- /**
3680
- * Send a call through an indexed pseudonym of the sender.
3681
- *
3682
- * Filter from origin are passed along. The call will be dispatched with an origin which
3683
- * use the same filter as the origin of this call.
3684
- *
3685
- * NOTE: If you need to ensure that any account-based filtering is not honored (i.e.
3686
- * because you expect `proxy` to have been used prior in the call stack and you do not want
3687
- * the call restrictions to apply to any sub-accounts), then use `as_multi_threshold_1`
3688
- * in the Multisig pallet instead.
3689
- *
3690
- * NOTE: Prior to version *12, this was called `as_limited_sub`.
3691
- *
3692
- * The dispatch origin for this call must be _Signed_.
3693
- **/
3694
- asDerivative: AugmentedSubmittable<(index: u16 | AnyNumber | Uint8Array, call: RuntimeCall | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, RuntimeCall]>;
3695
- /**
3696
- * Send a batch of dispatch calls.
3697
- *
3698
- * May be called from any origin except `None`.
3699
- *
3700
- * - `calls`: The calls to be dispatched from the same origin. The number of call must not
3701
- * exceed the constant: `batched_calls_limit` (available in constant metadata).
3702
- *
3703
- * If origin is root then the calls are dispatched without checking origin filter. (This
3704
- * includes bypassing `frame_system::Config::BaseCallFilter`).
3705
- *
3706
- * ## Complexity
3707
- * - O(C) where C is the number of calls to be batched.
3708
- *
3709
- * This will return `Ok` in all circumstances. To determine the success of the batch, an
3710
- * event is deposited. If a call failed and the batch was interrupted, then the
3711
- * `BatchInterrupted` event is deposited, along with the number of successful calls made
3712
- * and the error of the failed call. If all were successful, then the `BatchCompleted`
3713
- * event is deposited.
3714
- **/
3715
- batch: AugmentedSubmittable<(calls: Vec<RuntimeCall> | (RuntimeCall | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<RuntimeCall>]>;
3716
- /**
3717
- * Send a batch of dispatch calls and atomically execute them.
3718
- * The whole transaction will rollback and fail if any of the calls failed.
3719
- *
3720
- * May be called from any origin except `None`.
3721
- *
3722
- * - `calls`: The calls to be dispatched from the same origin. The number of call must not
3723
- * exceed the constant: `batched_calls_limit` (available in constant metadata).
3724
- *
3725
- * If origin is root then the calls are dispatched without checking origin filter. (This
3726
- * includes bypassing `frame_system::Config::BaseCallFilter`).
3727
- *
3728
- * ## Complexity
3729
- * - O(C) where C is the number of calls to be batched.
3730
- **/
3731
- batchAll: AugmentedSubmittable<(calls: Vec<RuntimeCall> | (RuntimeCall | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<RuntimeCall>]>;
3732
- /**
3733
- * Dispatches a function call with a provided origin.
3734
- *
3735
- * The dispatch origin for this call must be _Root_.
3736
- *
3737
- * ## Complexity
3738
- * - O(1).
3739
- **/
3740
- dispatchAs: AugmentedSubmittable<(asOrigin: PezkuwiRuntimeOriginCaller, call: RuntimeCall | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezkuwiRuntimeOriginCaller, RuntimeCall]>;
3741
- /**
3742
- * Dispatches a function call with a provided origin.
3743
- *
3744
- * Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call.
3745
- *
3746
- * The dispatch origin for this call must be _Root_.
3747
- **/
3748
- dispatchAsFallible: AugmentedSubmittable<(asOrigin: PezkuwiRuntimeOriginCaller, call: RuntimeCall | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PezkuwiRuntimeOriginCaller, RuntimeCall]>;
3749
- /**
3750
- * Send a batch of dispatch calls.
3751
- * Unlike `batch`, it allows errors and won't interrupt.
3752
- *
3753
- * May be called from any origin except `None`.
3754
- *
3755
- * - `calls`: The calls to be dispatched from the same origin. The number of call must not
3756
- * exceed the constant: `batched_calls_limit` (available in constant metadata).
3757
- *
3758
- * If origin is root then the calls are dispatch without checking origin filter. (This
3759
- * includes bypassing `frame_system::Config::BaseCallFilter`).
3760
- *
3761
- * ## Complexity
3762
- * - O(C) where C is the number of calls to be batched.
3763
- **/
3764
- forceBatch: AugmentedSubmittable<(calls: Vec<RuntimeCall> | (RuntimeCall | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<RuntimeCall>]>;
3765
- /**
3766
- * Dispatch a fallback call in the event the main call fails to execute.
3767
- * May be called from any origin except `None`.
3768
- *
3769
- * This function first attempts to dispatch the `main` call.
3770
- * If the `main` call fails, the `fallback` is attemted.
3771
- * if the fallback is successfully dispatched, the weights of both calls
3772
- * are accumulated and an event containing the main call error is deposited.
3773
- *
3774
- * In the event of a fallback failure the whole call fails
3775
- * with the weights returned.
3776
- *
3777
- * - `main`: The main call to be dispatched. This is the primary action to execute.
3778
- * - `fallback`: The fallback call to be dispatched in case the `main` call fails.
3779
- *
3780
- * ## Dispatch Logic
3781
- * - If the origin is `root`, both the main and fallback calls are executed without
3782
- * applying any origin filters.
3783
- * - If the origin is not `root`, the origin filter is applied to both the `main` and
3784
- * `fallback` calls.
3785
- *
3786
- * ## Use Case
3787
- * - Some use cases might involve submitting a `batch` type call in either main, fallback
3788
- * or both.
3789
- **/
3790
- ifElse: AugmentedSubmittable<(main: RuntimeCall | IMethod | string | Uint8Array, fallback: RuntimeCall | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [RuntimeCall, RuntimeCall]>;
3791
- /**
3792
- * Dispatch a function call with a specified weight.
3793
- *
3794
- * This function does not check the weight of the call, and instead allows the
3795
- * Root origin to specify the weight of the call.
3796
- *
3797
- * The dispatch origin for this call must be _Root_.
3798
- **/
3799
- withWeight: AugmentedSubmittable<(call: RuntimeCall | IMethod | string | Uint8Array, weight: PezspWeightsWeightV2Weight) => SubmittableExtrinsic<ApiType>, [RuntimeCall, PezspWeightsWeightV2Weight]>;
3800
- /**
3801
- * Generic tx
3802
- **/
3803
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
3804
- };
3805
- vesting: {
3806
- /**
3807
- * Force remove a vesting schedule
3808
- *
3809
- * The dispatch origin for this call must be _Root_.
3810
- *
3811
- * - `target`: An account that has a vesting schedule
3812
- * - `schedule_index`: The vesting schedule index that should be removed
3813
- **/
3814
- forceRemoveVestingSchedule: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, scheduleIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u32]>;
3815
- /**
3816
- * Force a vested transfer.
3817
- *
3818
- * The dispatch origin for this call must be _Root_.
3819
- *
3820
- * - `source`: The account whose funds should be transferred.
3821
- * - `target`: The account that should be transferred the vested funds.
3822
- * - `schedule`: The vesting schedule attached to the transfer.
3823
- *
3824
- * Emits `VestingCreated`.
3825
- *
3826
- * NOTE: This will unlock all schedules through the current block.
3827
- *
3828
- * ## Complexity
3829
- * - `O(1)`.
3830
- **/
3831
- 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]>;
3832
- /**
3833
- * Merge two vesting schedules together, creating a new vesting schedule that unlocks over
3834
- * the highest possible start and end blocks. If both schedules have already started the
3835
- * current block will be used as the schedule start; with the caveat that if one schedule
3836
- * is finished by the current block, the other will be treated as the new merged schedule,
3837
- * unmodified.
3838
- *
3839
- * NOTE: If `schedule1_index == schedule2_index` this is a no-op.
3840
- * NOTE: This will unlock all schedules through the current block prior to merging.
3841
- * NOTE: If both schedules have ended by the current block, no new schedule will be created
3842
- * and both will be removed.
3843
- *
3844
- * Merged schedule attributes:
3845
- * - `starting_block`: `MAX(schedule1.starting_block, scheduled2.starting_block,
3846
- * current_block)`.
3847
- * - `ending_block`: `MAX(schedule1.ending_block, schedule2.ending_block)`.
3848
- * - `locked`: `schedule1.locked_at(current_block) + schedule2.locked_at(current_block)`.
3849
- *
3850
- * The dispatch origin for this call must be _Signed_.
3851
- *
3852
- * - `schedule1_index`: index of the first schedule to merge.
3853
- * - `schedule2_index`: index of the second schedule to merge.
3854
- **/
3855
- mergeSchedules: AugmentedSubmittable<(schedule1Index: u32 | AnyNumber | Uint8Array, schedule2Index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
3856
- /**
3857
- * Unlock any vested funds of the sender account.
3858
- *
3859
- * The dispatch origin for this call must be _Signed_ and the sender must have funds still
3860
- * locked under this pallet.
3861
- *
3862
- * Emits either `VestingCompleted` or `VestingUpdated`.
3863
- *
3864
- * ## Complexity
3865
- * - `O(1)`.
3866
- **/
3867
- vest: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
3868
- /**
3869
- * Create a vested transfer.
3870
- *
3871
- * The dispatch origin for this call must be _Signed_.
3872
- *
3873
- * - `target`: The account receiving the vested funds.
3874
- * - `schedule`: The vesting schedule attached to the transfer.
3875
- *
3876
- * Emits `VestingCreated`.
3877
- *
3878
- * NOTE: This will unlock all schedules through the current block.
3879
- *
3880
- * ## Complexity
3881
- * - `O(1)`.
3882
- **/
3883
- vestedTransfer: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, schedule: PezpalletVestingVestingInfo) => SubmittableExtrinsic<ApiType>, [MultiAddress, PezpalletVestingVestingInfo]>;
3884
- /**
3885
- * Unlock any vested funds of a `target` account.
3886
- *
3887
- * The dispatch origin for this call must be _Signed_.
3888
- *
3889
- * - `target`: The account whose vested funds should be unlocked. Must have funds still
3890
- * locked under this pallet.
3891
- *
3892
- * Emits either `VestingCompleted` or `VestingUpdated`.
3893
- *
3894
- * ## Complexity
3895
- * - `O(1)`.
3896
- **/
3897
- vestOther: AugmentedSubmittable<(target: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
3898
- /**
3899
- * Generic tx
3900
- **/
3901
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
3902
- };
3903
- voterList: {
3904
- /**
3905
- * Move the caller's Id directly in front of `lighter`.
3906
- *
3907
- * The dispatch origin for this call must be _Signed_ and can only be called by the Id of
3908
- * the account going in front of `lighter`. Fee is payed by the origin under all
3909
- * circumstances.
3910
- *
3911
- * Only works if:
3912
- *
3913
- * - both nodes are within the same bag,
3914
- * - and `origin` has a greater `Score` than `lighter`.
3915
- **/
3916
- putInFrontOf: AugmentedSubmittable<(lighter: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
3917
- /**
3918
- * Same as [`Pallet::put_in_front_of`], but it can be called by anyone.
3919
- *
3920
- * Fee is paid by the origin under all circumstances.
3921
- **/
3922
- 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]>;
3923
- /**
3924
- * Declare that some `dislocated` account has, through rewards or penalties, sufficiently
3925
- * changed its score that it should properly fall into a different bag than its current
3926
- * one.
3927
- *
3928
- * Anyone can call this function about any potentially dislocated account.
3929
- *
3930
- * Will always update the stored score of `dislocated` to the correct score, based on
3931
- * `ScoreProvider`.
3932
- *
3933
- * If `dislocated` does not exists, it returns an error.
3934
- **/
3935
- rebag: AugmentedSubmittable<(dislocated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
3936
- /**
3937
- * Generic tx
3938
- **/
3939
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
3940
- };
3941
- whitelist: {
3942
- dispatchWhitelistedCall: AugmentedSubmittable<(callHash: H256 | string | Uint8Array, callEncodedLen: u32 | AnyNumber | Uint8Array, callWeightWitness: PezspWeightsWeightV2Weight) => SubmittableExtrinsic<ApiType>, [H256, u32, PezspWeightsWeightV2Weight]>;
3943
- dispatchWhitelistedCallWithPreimage: AugmentedSubmittable<(call: RuntimeCall | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [RuntimeCall]>;
3944
- removeWhitelistedCall: AugmentedSubmittable<(callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
3945
- whitelistCall: AugmentedSubmittable<(callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
3946
- /**
3947
- * Generic tx
3948
- **/
3949
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
3950
- };
3951
- xcmPallet: {
3952
- /**
3953
- * Authorize another `aliaser` location to alias into the local `origin` making this call.
3954
- * The `aliaser` is only authorized until the provided `expiry` block number.
3955
- * The call can also be used for a previously authorized alias in order to update its
3956
- * `expiry` block number.
3957
- *
3958
- * Usually useful to allow your local account to be aliased into from a remote location
3959
- * also under your control (like your account on another chain).
3960
- *
3961
- * WARNING: make sure the caller `origin` (you) trusts the `aliaser` location to act in
3962
- * their/your name. Once authorized using this call, the `aliaser` can freely impersonate
3963
- * `origin` in XCM programs executed on the local chain.
3964
- **/
3965
- addAuthorizedAlias: AugmentedSubmittable<(aliaser: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, expires: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation, Option<u64>]>;
3966
- /**
3967
- * Claims assets trapped on this pallet because of leftover assets during XCM execution.
3968
- *
3969
- * - `origin`: Anyone can call this extrinsic.
3970
- * - `assets`: The exact assets that were trapped. Use the version to specify what version
3971
- * was the latest when they were trapped.
3972
- * - `beneficiary`: The location/account where the claimed assets will be deposited.
3973
- **/
3974
- 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]>;
3975
- /**
3976
- * Execute an XCM message from a local, signed, origin.
3977
- *
3978
- * An event is deposited indicating whether `msg` could be executed completely or only
3979
- * partially.
3980
- *
3981
- * No more than `max_weight` will be used in its attempted execution. If this is less than
3982
- * the maximum amount of weight that the message could take to be executed, then no
3983
- * execution attempt will be made.
3984
- **/
3985
- execute: AugmentedSubmittable<(message: XcmVersionedXcm | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array, maxWeight: PezspWeightsWeightV2Weight) => SubmittableExtrinsic<ApiType>, [XcmVersionedXcm, PezspWeightsWeightV2Weight]>;
3986
- /**
3987
- * Set a safe XCM version (the version that XCM should be encoded with if the most recent
3988
- * version a destination can accept is unknown).
3989
- *
3990
- * - `origin`: Must be an origin specified by AdminOrigin.
3991
- * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable.
3992
- **/
3993
- forceDefaultXcmVersion: AugmentedSubmittable<(maybeXcmVersion: Option<u32> | null | Uint8Array | u32 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u32>]>;
3994
- /**
3995
- * Ask a location to notify us regarding their XCM version and any changes to it.
3996
- *
3997
- * - `origin`: Must be an origin specified by AdminOrigin.
3998
- * - `location`: The location to which we should subscribe for XCM version notifications.
3999
- **/
4000
- forceSubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation]>;
4001
- /**
4002
- * Set or unset the global suspension state of the XCM executor.
4003
- *
4004
- * - `origin`: Must be an origin specified by AdminOrigin.
4005
- * - `suspended`: `true` to suspend, `false` to resume.
4006
- **/
4007
- forceSuspension: AugmentedSubmittable<(suspended: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [bool]>;
4008
- /**
4009
- * Require that a particular destination should no longer notify us regarding any XCM
4010
- * version changes.
4011
- *
4012
- * - `origin`: Must be an origin specified by AdminOrigin.
4013
- * - `location`: The location to which we are currently subscribed for XCM version
4014
- * notifications which we no longer desire.
4015
- **/
4016
- forceUnsubscribeVersionNotify: AugmentedSubmittable<(location: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation]>;
4017
- /**
4018
- * Extoll that a particular destination can be communicated with through a particular
4019
- * version of XCM.
4020
- *
4021
- * - `origin`: Must be an origin specified by AdminOrigin.
4022
- * - `location`: The destination that is being described.
4023
- * - `xcm_version`: The latest version of XCM that `location` supports.
4024
- **/
4025
- forceXcmVersion: AugmentedSubmittable<(location: StagingXcmV5Location | { parents?: any; interior?: any } | string | Uint8Array, version: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [StagingXcmV5Location, u32]>;
4026
- /**
4027
- * Transfer some assets from the local chain to the destination chain through their local,
4028
- * destination or remote reserve.
4029
- *
4030
- * `assets` must have same reserve location and may not be teleportable to `dest`.
4031
- * - `assets` have local reserve: transfer assets to sovereign account of destination
4032
- * chain and forward a notification XCM to `dest` to mint and deposit reserve-based
4033
- * assets to `beneficiary`.
4034
- * - `assets` have destination reserve: burn local assets and forward a notification to
4035
- * `dest` chain to withdraw the reserve assets from this chain's sovereign account and
4036
- * deposit them to `beneficiary`.
4037
- * - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move
4038
- * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest`
4039
- * to mint and deposit reserve-based assets to `beneficiary`.
4040
- *
4041
- * Fee payment on the destination side is made from the asset in the `assets` vector of
4042
- * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight
4043
- * is needed than `weight_limit`, then the operation will fail and the sent assets may be
4044
- * at risk.
4045
- *
4046
- * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
4047
- * - `dest`: Destination context for the assets. Will typically be `[Parent,
4048
- * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from
4049
- * relay to parachain.
4050
- * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will
4051
- * generally be an `AccountId32` value.
4052
- * - `assets`: The assets to be withdrawn. This should include the assets used to pay the
4053
- * fee on the `dest` (and possibly reserve) chains.
4054
- * - `fee_asset_item`: The index into `assets` of the item which should be used to pay
4055
- * fees.
4056
- * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
4057
- **/
4058
- 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]>;
4059
- /**
4060
- * Teleport some assets from the local chain to some destination chain.
4061
- *
4062
- * Fee payment on the destination side is made from the asset in the `assets` vector of
4063
- * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight
4064
- * is needed than `weight_limit`, then the operation will fail and the sent assets may be
4065
- * at risk.
4066
- *
4067
- * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
4068
- * - `dest`: Destination context for the assets. Will typically be `[Parent,
4069
- * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from
4070
- * relay to parachain.
4071
- * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will
4072
- * generally be an `AccountId32` value.
4073
- * - `assets`: The assets to be withdrawn. This should include the assets used to pay the
4074
- * fee on the `dest` chain.
4075
- * - `fee_asset_item`: The index into `assets` of the item which should be used to pay
4076
- * fees.
4077
- * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
4078
- **/
4079
- 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]>;
4080
- /**
4081
- * Remove all previously authorized `aliaser`s that can alias into the local `origin`
4082
- * making this call.
4083
- **/
4084
- removeAllAuthorizedAliases: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
4085
- /**
4086
- * Remove a previously authorized `aliaser` from the list of locations that can alias into
4087
- * the local `origin` making this call.
4088
- **/
4089
- removeAuthorizedAlias: AugmentedSubmittable<(aliaser: XcmVersionedLocation | { V3: any } | { V4: any } | { V5: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [XcmVersionedLocation]>;
4090
- /**
4091
- * Transfer some assets from the local chain to the destination chain through their local,
4092
- * destination or remote reserve.
4093
- *
4094
- * `assets` must have same reserve location and may not be teleportable to `dest`.
4095
- * - `assets` have local reserve: transfer assets to sovereign account of destination
4096
- * chain and forward a notification XCM to `dest` to mint and deposit reserve-based
4097
- * assets to `beneficiary`.
4098
- * - `assets` have destination reserve: burn local assets and forward a notification to
4099
- * `dest` chain to withdraw the reserve assets from this chain's sovereign account and
4100
- * deposit them to `beneficiary`.
4101
- * - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move
4102
- * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest`
4103
- * to mint and deposit reserve-based assets to `beneficiary`.
4104
- *
4105
- * **This function is deprecated: Use `limited_reserve_transfer_assets` instead.**
4106
- *
4107
- * Fee payment on the destination side is made from the asset in the `assets` vector of
4108
- * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,
4109
- * with all fees taken as needed from the asset.
4110
- *
4111
- * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
4112
- * - `dest`: Destination context for the assets. Will typically be `[Parent,
4113
- * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from
4114
- * relay to parachain.
4115
- * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will
4116
- * generally be an `AccountId32` value.
4117
- * - `assets`: The assets to be withdrawn. This should include the assets used to pay the
4118
- * fee on the `dest` (and possibly reserve) chains.
4119
- * - `fee_asset_item`: The index into `assets` of the item which should be used to pay
4120
- * fees.
4121
- **/
4122
- 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]>;
4123
- 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]>;
4124
- /**
4125
- * Teleport some assets from the local chain to some destination chain.
4126
- *
4127
- * **This function is deprecated: Use `limited_teleport_assets` instead.**
4128
- *
4129
- * Fee payment on the destination side is made from the asset in the `assets` vector of
4130
- * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited,
4131
- * with all fees taken as needed from the asset.
4132
- *
4133
- * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
4134
- * - `dest`: Destination context for the assets. Will typically be `[Parent,
4135
- * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from
4136
- * relay to parachain.
4137
- * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will
4138
- * generally be an `AccountId32` value.
4139
- * - `assets`: The assets to be withdrawn. This should include the assets used to pay the
4140
- * fee on the `dest` chain.
4141
- * - `fee_asset_item`: The index into `assets` of the item which should be used to pay
4142
- * fees.
4143
- **/
4144
- 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]>;
4145
- /**
4146
- * Transfer some assets from the local chain to the destination chain through their local,
4147
- * destination or remote reserve, or through teleports.
4148
- *
4149
- * Fee payment on the destination side is made from the asset in the `assets` vector of
4150
- * index `fee_asset_item` (hence referred to as `fees`), up to enough to pay for
4151
- * `weight_limit` of weight. If more weight is needed than `weight_limit`, then the
4152
- * operation will fail and the sent assets may be at risk.
4153
- *
4154
- * `assets` (excluding `fees`) must have same reserve location or otherwise be teleportable
4155
- * to `dest`, no limitations imposed on `fees`.
4156
- * - for local reserve: transfer assets to sovereign account of destination chain and
4157
- * forward a notification XCM to `dest` to mint and deposit reserve-based assets to
4158
- * `beneficiary`.
4159
- * - for destination reserve: burn local assets and forward a notification to `dest` chain
4160
- * to withdraw the reserve assets from this chain's sovereign account and deposit them
4161
- * to `beneficiary`.
4162
- * - for remote reserve: burn local assets, forward XCM to reserve chain to move reserves
4163
- * from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to mint
4164
- * and deposit reserve-based assets to `beneficiary`.
4165
- * - for teleports: burn local assets and forward XCM to `dest` chain to mint/teleport
4166
- * assets and deposit them to `beneficiary`.
4167
- *
4168
- * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
4169
- * - `dest`: Destination context for the assets. Will typically be `X2(Parent,
4170
- * Parachain(..))` to send from parachain to parachain, or `X1(Parachain(..))` to send
4171
- * from relay to parachain.
4172
- * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will
4173
- * generally be an `AccountId32` value.
4174
- * - `assets`: The assets to be withdrawn. This should include the assets used to pay the
4175
- * fee on the `dest` (and possibly reserve) chains.
4176
- * - `fee_asset_item`: The index into `assets` of the item which should be used to pay
4177
- * fees.
4178
- * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
4179
- **/
4180
- 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]>;
4181
- /**
4182
- * Transfer assets from the local chain to the destination chain using explicit transfer
4183
- * types for assets and fees.
4184
- *
4185
- * `assets` must have same reserve location or may be teleportable to `dest`. Caller must
4186
- * provide the `assets_transfer_type` to be used for `assets`:
4187
- * - `TransferType::LocalReserve`: transfer assets to sovereign account of destination
4188
- * chain and forward a notification XCM to `dest` to mint and deposit reserve-based
4189
- * assets to `beneficiary`.
4190
- * - `TransferType::DestinationReserve`: burn local assets and forward a notification to
4191
- * `dest` chain to withdraw the reserve assets from this chain's sovereign account and
4192
- * deposit them to `beneficiary`.
4193
- * - `TransferType::RemoteReserve(reserve)`: burn local assets, forward XCM to `reserve`
4194
- * chain to move reserves from this chain's SA to `dest` chain's SA, and forward another
4195
- * XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. Typically
4196
- * the remote `reserve` is Asset Hub.
4197
- * - `TransferType::Teleport`: burn local assets and forward XCM to `dest` chain to
4198
- * mint/teleport assets and deposit them to `beneficiary`.
4199
- *
4200
- * On the destination chain, as well as any intermediary hops, `BuyExecution` is used to
4201
- * buy execution using transferred `assets` identified by `remote_fees_id`.
4202
- * Make sure enough of the specified `remote_fees_id` asset is included in the given list
4203
- * of `assets`. `remote_fees_id` should be enough to pay for `weight_limit`. If more weight
4204
- * is needed than `weight_limit`, then the operation will fail and the sent assets may be
4205
- * at risk.
4206
- *
4207
- * `remote_fees_id` may use different transfer type than rest of `assets` and can be
4208
- * specified through `fees_transfer_type`.
4209
- *
4210
- * The caller needs to specify what should happen to the transferred assets once they reach
4211
- * the `dest` chain. This is done through the `custom_xcm_on_dest` parameter, which
4212
- * contains the instructions to execute on `dest` as a final step.
4213
- * This is usually as simple as:
4214
- * `Xcm(vec![DepositAsset { assets: Wild(AllCounted(assets.len())), beneficiary }])`,
4215
- * but could be something more exotic like sending the `assets` even further.
4216
- *
4217
- * - `origin`: Must be capable of withdrawing the `assets` and executing XCM.
4218
- * - `dest`: Destination context for the assets. Will typically be `[Parent,
4219
- * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from
4220
- * relay to parachain, or `(parents: 2, (GlobalConsensus(..), ..))` to send from
4221
- * parachain across a bridge to another ecosystem destination.
4222
- * - `assets`: The assets to be withdrawn. This should include the assets used to pay the
4223
- * fee on the `dest` (and possibly reserve) chains.
4224
- * - `assets_transfer_type`: The XCM `TransferType` used to transfer the `assets`.
4225
- * - `remote_fees_id`: One of the included `assets` to be used to pay fees.
4226
- * - `fees_transfer_type`: The XCM `TransferType` used to transfer the `fees` assets.
4227
- * - `custom_xcm_on_dest`: The XCM to be executed on `dest` chain as the last step of the
4228
- * transfer, which also determines what happens to the assets on the destination chain.
4229
- * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase.
4230
- **/
4231
- 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]>;
4232
- /**
4233
- * Generic tx
4234
- **/
4235
- [key: string]: SubmittableExtrinsicFunction<ApiType>;
4236
- };
4237
- } // AugmentedSubmittables
4238
- } // declare module