@polymeshassociation/polymesh-sdk 27.7.0 → 27.8.0-beta.1

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 (302) hide show
  1. package/CHANGELOG.md +9 -9
  2. package/api/client/AccountManagement.d.ts.map +1 -1
  3. package/api/client/AccountManagement.js +7 -1
  4. package/api/client/AccountManagement.js.map +1 -1
  5. package/api/client/Claims.d.ts.map +1 -1
  6. package/api/client/Claims.js +1 -1
  7. package/api/client/Claims.js.map +1 -1
  8. package/api/client/Polymesh.d.ts.map +1 -1
  9. package/api/client/Polymesh.js +1 -1
  10. package/api/client/Polymesh.js.map +1 -1
  11. package/api/entities/Asset/Base/Settlements/index.d.ts.map +1 -1
  12. package/api/entities/Asset/Base/Settlements/index.js.map +1 -1
  13. package/api/entities/Identity/index.d.ts.map +1 -1
  14. package/api/entities/Identity/index.js.map +1 -1
  15. package/api/entities/Instruction/index.d.ts +4 -0
  16. package/api/entities/Instruction/index.d.ts.map +1 -1
  17. package/api/entities/Instruction/index.js +23 -1
  18. package/api/entities/Instruction/index.js.map +1 -1
  19. package/api/entities/Instruction/types.d.ts +6 -2
  20. package/api/entities/Instruction/types.d.ts.map +1 -1
  21. package/api/entities/Instruction/types.js +2 -0
  22. package/api/entities/Instruction/types.js.map +1 -1
  23. package/api/entities/NumberedPortfolio.d.ts +12 -1
  24. package/api/entities/NumberedPortfolio.d.ts.map +1 -1
  25. package/api/entities/NumberedPortfolio.js +1 -0
  26. package/api/entities/NumberedPortfolio.js.map +1 -1
  27. package/api/entities/Offering/index.js +1 -1
  28. package/api/entities/Offering/index.js.map +1 -1
  29. package/api/entities/Portfolio/index.d.ts +2 -13
  30. package/api/entities/Portfolio/index.d.ts.map +1 -1
  31. package/api/entities/Portfolio/index.js +0 -1
  32. package/api/entities/Portfolio/index.js.map +1 -1
  33. package/api/entities/common/namespaces/Authorizations.d.ts +1 -1
  34. package/api/entities/common/namespaces/Authorizations.d.ts.map +1 -1
  35. package/api/procedures/addInstruction.d.ts.map +1 -1
  36. package/api/procedures/addInstruction.js +3 -0
  37. package/api/procedures/addInstruction.js.map +1 -1
  38. package/api/procedures/executeManualInstruction.d.ts.map +1 -1
  39. package/api/procedures/executeManualInstruction.js +2 -2
  40. package/api/procedures/executeManualInstruction.js.map +1 -1
  41. package/api/procedures/investInOffering.d.ts.map +1 -1
  42. package/api/procedures/investInOffering.js +6 -3
  43. package/api/procedures/investInOffering.js.map +1 -1
  44. package/api/procedures/launchOffering.js +1 -1
  45. package/api/procedures/modifyInstructionAffirmation.d.ts +1 -1
  46. package/api/procedures/modifyInstructionAffirmation.d.ts.map +1 -1
  47. package/api/procedures/modifyInstructionAffirmation.js +2 -2
  48. package/api/procedures/modifyInstructionAffirmation.js.map +1 -1
  49. package/api/procedures/nominateValidators.d.ts.map +1 -1
  50. package/api/procedures/nominateValidators.js +1 -5
  51. package/api/procedures/nominateValidators.js.map +1 -1
  52. package/api/procedures/removeMultiSigPayer.d.ts.map +1 -1
  53. package/api/procedures/removeMultiSigPayer.js +1 -4
  54. package/api/procedures/removeMultiSigPayer.js.map +1 -1
  55. package/api/procedures/setCustodian.d.ts +1 -1
  56. package/api/procedures/setCustodian.d.ts.map +1 -1
  57. package/api/procedures/setTransferRestrictions.d.ts +1 -1
  58. package/api/procedures/setTransferRestrictions.d.ts.map +1 -1
  59. package/api/procedures/subsidizeAccount.d.ts.map +1 -1
  60. package/api/procedures/subsidizeAccount.js +1 -5
  61. package/api/procedures/subsidizeAccount.js.map +1 -1
  62. package/api/procedures/transferPolyx.d.ts +1 -1
  63. package/api/procedures/transferPolyx.d.ts.map +1 -1
  64. package/api/procedures/transferPolyx.js +3 -35
  65. package/api/procedures/transferPolyx.js.map +1 -1
  66. package/api/procedures/types.d.ts +9 -0
  67. package/api/procedures/types.d.ts.map +1 -1
  68. package/api/procedures/types.js.map +1 -1
  69. package/api/procedures/withdrawUnbondedPolyx.d.ts +1 -1
  70. package/api/procedures/withdrawUnbondedPolyx.d.ts.map +1 -1
  71. package/base/Context.d.ts.map +1 -1
  72. package/base/Context.js +1 -2
  73. package/base/Context.js.map +1 -1
  74. package/base/utils.d.ts +1 -1
  75. package/base/utils.d.ts.map +1 -1
  76. package/base/utils.js +1 -1
  77. package/base/utils.js.map +1 -1
  78. package/generated/utils.d.ts +2 -2
  79. package/generated/utils.d.ts.map +1 -1
  80. package/generated/utils.js +1 -1
  81. package/generated/utils.js.map +1 -1
  82. package/index.d.ts +1 -1
  83. package/index.d.ts.map +1 -1
  84. package/index.js +1 -1
  85. package/index.js.map +1 -1
  86. package/middleware/queries/stos.d.ts +1 -1
  87. package/middleware/queries/stos.d.ts.map +1 -1
  88. package/middleware/queries/stos.js +5 -2
  89. package/middleware/queries/stos.js.map +1 -1
  90. package/middleware/types.d.ts +42 -1
  91. package/middleware/types.d.ts.map +1 -1
  92. package/middleware/types.js +24 -1
  93. package/middleware/types.js.map +1 -1
  94. package/npm-package/polymeshassociation-polymesh-sdk-27.8.0-beta.1.tgz +0 -0
  95. package/package.json +3 -3
  96. package/types/index.d.ts +2 -2
  97. package/types/index.d.ts.map +1 -1
  98. package/types/index.js +2 -2
  99. package/types/index.js.map +1 -1
  100. package/types/internal.d.ts +3 -2
  101. package/types/internal.d.ts.map +1 -1
  102. package/types/internal.js +1 -0
  103. package/types/internal.js.map +1 -1
  104. package/utils/constants.d.ts +2 -2
  105. package/utils/constants.d.ts.map +1 -1
  106. package/utils/constants.js +2 -2
  107. package/utils/constants.js.map +1 -1
  108. package/utils/conversion.d.ts +10 -2
  109. package/utils/conversion.d.ts.map +1 -1
  110. package/utils/conversion.js +51 -26
  111. package/utils/conversion.js.map +1 -1
  112. package/utils/internal.d.ts +1 -1
  113. package/utils/internal.d.ts.map +1 -1
  114. package/generated/types.d.ts +0 -895
  115. package/generated/types.d.ts.map +0 -1
  116. package/generated/types.js +0 -948
  117. package/generated/types.js.map +0 -1
  118. package/npm-package/polymeshassociation-polymesh-sdk-27.7.0.tgz +0 -0
  119. package/polkadot/asset/definitions.d.ts +0 -16
  120. package/polkadot/asset/definitions.d.ts.map +0 -1
  121. package/polkadot/asset/definitions.js +0 -45
  122. package/polkadot/asset/definitions.js.map +0 -1
  123. package/polkadot/asset/index.d.ts +0 -2
  124. package/polkadot/asset/index.d.ts.map +0 -1
  125. package/polkadot/asset/index.js +0 -20
  126. package/polkadot/asset/index.js.map +0 -1
  127. package/polkadot/asset/types.d.ts +0 -2
  128. package/polkadot/asset/types.d.ts.map +0 -1
  129. package/polkadot/asset/types.js +0 -5
  130. package/polkadot/asset/types.js.map +0 -1
  131. package/polkadot/augment-api-consts.d.ts +0 -505
  132. package/polkadot/augment-api-consts.d.ts.map +0 -1
  133. package/polkadot/augment-api-consts.js +0 -8
  134. package/polkadot/augment-api-consts.js.map +0 -1
  135. package/polkadot/augment-api-errors.d.ts +0 -2191
  136. package/polkadot/augment-api-errors.d.ts.map +0 -1
  137. package/polkadot/augment-api-errors.js +0 -8
  138. package/polkadot/augment-api-errors.js.map +0 -1
  139. package/polkadot/augment-api-events.d.ts +0 -2991
  140. package/polkadot/augment-api-events.d.ts.map +0 -1
  141. package/polkadot/augment-api-events.js +0 -8
  142. package/polkadot/augment-api-events.js.map +0 -1
  143. package/polkadot/augment-api-query.d.ts +0 -2580
  144. package/polkadot/augment-api-query.d.ts.map +0 -1
  145. package/polkadot/augment-api-query.js +0 -8
  146. package/polkadot/augment-api-query.js.map +0 -1
  147. package/polkadot/augment-api-rpc.d.ts +0 -808
  148. package/polkadot/augment-api-rpc.d.ts.map +0 -1
  149. package/polkadot/augment-api-rpc.js +0 -6
  150. package/polkadot/augment-api-rpc.js.map +0 -1
  151. package/polkadot/augment-api-runtime.d.ts +0 -380
  152. package/polkadot/augment-api-runtime.d.ts.map +0 -1
  153. package/polkadot/augment-api-runtime.js +0 -8
  154. package/polkadot/augment-api-runtime.js.map +0 -1
  155. package/polkadot/augment-api-tx.d.ts +0 -6408
  156. package/polkadot/augment-api-tx.d.ts.map +0 -1
  157. package/polkadot/augment-api-tx.js +0 -8
  158. package/polkadot/augment-api-tx.js.map +0 -1
  159. package/polkadot/augment-api.d.ts +0 -8
  160. package/polkadot/augment-api.d.ts.map +0 -1
  161. package/polkadot/augment-api.js +0 -12
  162. package/polkadot/augment-api.js.map +0 -1
  163. package/polkadot/augment-types.d.ts +0 -1238
  164. package/polkadot/augment-types.d.ts.map +0 -1
  165. package/polkadot/augment-types.js +0 -8
  166. package/polkadot/augment-types.js.map +0 -1
  167. package/polkadot/compliance/definitions.d.ts +0 -15
  168. package/polkadot/compliance/definitions.d.ts.map +0 -1
  169. package/polkadot/compliance/definitions.js +0 -27
  170. package/polkadot/compliance/definitions.js.map +0 -1
  171. package/polkadot/compliance/index.d.ts +0 -2
  172. package/polkadot/compliance/index.d.ts.map +0 -1
  173. package/polkadot/compliance/index.js +0 -20
  174. package/polkadot/compliance/index.js.map +0 -1
  175. package/polkadot/compliance/types.d.ts +0 -2
  176. package/polkadot/compliance/types.d.ts.map +0 -1
  177. package/polkadot/compliance/types.js +0 -5
  178. package/polkadot/compliance/types.js.map +0 -1
  179. package/polkadot/definitions.d.ts +0 -11
  180. package/polkadot/definitions.d.ts.map +0 -1
  181. package/polkadot/definitions.js +0 -28
  182. package/polkadot/definitions.js.map +0 -1
  183. package/polkadot/group/definitions.d.ts +0 -25
  184. package/polkadot/group/definitions.d.ts.map +0 -1
  185. package/polkadot/group/definitions.js +0 -31
  186. package/polkadot/group/definitions.js.map +0 -1
  187. package/polkadot/group/index.d.ts +0 -2
  188. package/polkadot/group/index.d.ts.map +0 -1
  189. package/polkadot/group/index.js +0 -20
  190. package/polkadot/group/index.js.map +0 -1
  191. package/polkadot/group/types.d.ts +0 -2
  192. package/polkadot/group/types.d.ts.map +0 -1
  193. package/polkadot/group/types.js +0 -5
  194. package/polkadot/group/types.js.map +0 -1
  195. package/polkadot/identity/definitions.d.ts +0 -61
  196. package/polkadot/identity/definitions.d.ts.map +0 -1
  197. package/polkadot/identity/definitions.js +0 -125
  198. package/polkadot/identity/definitions.js.map +0 -1
  199. package/polkadot/identity/index.d.ts +0 -2
  200. package/polkadot/identity/index.d.ts.map +0 -1
  201. package/polkadot/identity/index.js +0 -20
  202. package/polkadot/identity/index.js.map +0 -1
  203. package/polkadot/identity/types.d.ts +0 -2
  204. package/polkadot/identity/types.d.ts.map +0 -1
  205. package/polkadot/identity/types.js +0 -5
  206. package/polkadot/identity/types.js.map +0 -1
  207. package/polkadot/index.d.ts +0 -2
  208. package/polkadot/index.d.ts.map +0 -1
  209. package/polkadot/index.js +0 -20
  210. package/polkadot/index.js.map +0 -1
  211. package/polkadot/lookup.d.ts +0 -4733
  212. package/polkadot/lookup.d.ts.map +0 -1
  213. package/polkadot/lookup.js +0 -5493
  214. package/polkadot/lookup.js.map +0 -1
  215. package/polkadot/nft/definitions.d.ts +0 -16
  216. package/polkadot/nft/definitions.d.ts.map +0 -1
  217. package/polkadot/nft/definitions.js +0 -40
  218. package/polkadot/nft/definitions.js.map +0 -1
  219. package/polkadot/nft/index.d.ts +0 -2
  220. package/polkadot/nft/index.d.ts.map +0 -1
  221. package/polkadot/nft/index.js +0 -20
  222. package/polkadot/nft/index.js.map +0 -1
  223. package/polkadot/nft/types.d.ts +0 -2
  224. package/polkadot/nft/types.d.ts.map +0 -1
  225. package/polkadot/nft/types.js +0 -5
  226. package/polkadot/nft/types.js.map +0 -1
  227. package/polkadot/pips/definitions.d.ts +0 -34
  228. package/polkadot/pips/definitions.d.ts.map +0 -1
  229. package/polkadot/pips/definitions.js +0 -57
  230. package/polkadot/pips/definitions.js.map +0 -1
  231. package/polkadot/pips/index.d.ts +0 -2
  232. package/polkadot/pips/index.d.ts.map +0 -1
  233. package/polkadot/pips/index.js +0 -20
  234. package/polkadot/pips/index.js.map +0 -1
  235. package/polkadot/pips/types.d.ts +0 -2
  236. package/polkadot/pips/types.d.ts.map +0 -1
  237. package/polkadot/pips/types.js +0 -5
  238. package/polkadot/pips/types.js.map +0 -1
  239. package/polkadot/polymesh/definitions.d.ts +0 -674
  240. package/polkadot/polymesh/definitions.d.ts.map +0 -1
  241. package/polkadot/polymesh/definitions.js +0 -1208
  242. package/polkadot/polymesh/definitions.js.map +0 -1
  243. package/polkadot/polymesh/index.d.ts +0 -2
  244. package/polkadot/polymesh/index.d.ts.map +0 -1
  245. package/polkadot/polymesh/index.js +0 -20
  246. package/polkadot/polymesh/index.js.map +0 -1
  247. package/polkadot/polymesh/types.d.ts +0 -755
  248. package/polkadot/polymesh/types.d.ts.map +0 -1
  249. package/polkadot/polymesh/types.js +0 -5
  250. package/polkadot/polymesh/types.js.map +0 -1
  251. package/polkadot/protocolFee/definitions.d.ts +0 -16
  252. package/polkadot/protocolFee/definitions.d.ts.map +0 -1
  253. package/polkadot/protocolFee/definitions.js +0 -25
  254. package/polkadot/protocolFee/definitions.js.map +0 -1
  255. package/polkadot/protocolFee/index.d.ts +0 -2
  256. package/polkadot/protocolFee/index.d.ts.map +0 -1
  257. package/polkadot/protocolFee/index.js +0 -20
  258. package/polkadot/protocolFee/index.js.map +0 -1
  259. package/polkadot/protocolFee/types.d.ts +0 -2
  260. package/polkadot/protocolFee/types.d.ts.map +0 -1
  261. package/polkadot/protocolFee/types.js +0 -5
  262. package/polkadot/protocolFee/types.js.map +0 -1
  263. package/polkadot/registry.d.ts +0 -365
  264. package/polkadot/registry.d.ts.map +0 -1
  265. package/polkadot/registry.js +0 -8
  266. package/polkadot/registry.js.map +0 -1
  267. package/polkadot/schema.d.ts +0 -870
  268. package/polkadot/schema.d.ts.map +0 -1
  269. package/polkadot/schema.js +0 -1586
  270. package/polkadot/schema.js.map +0 -1
  271. package/polkadot/settlement/definitions.d.ts +0 -41
  272. package/polkadot/settlement/definitions.d.ts.map +0 -1
  273. package/polkadot/settlement/definitions.js +0 -70
  274. package/polkadot/settlement/definitions.js.map +0 -1
  275. package/polkadot/settlement/index.d.ts +0 -2
  276. package/polkadot/settlement/index.d.ts.map +0 -1
  277. package/polkadot/settlement/index.js +0 -20
  278. package/polkadot/settlement/index.js.map +0 -1
  279. package/polkadot/settlement/types.d.ts +0 -2
  280. package/polkadot/settlement/types.d.ts.map +0 -1
  281. package/polkadot/settlement/types.js +0 -5
  282. package/polkadot/settlement/types.js.map +0 -1
  283. package/polkadot/staking/definitions.d.ts +0 -16
  284. package/polkadot/staking/definitions.d.ts.map +0 -1
  285. package/polkadot/staking/definitions.js +0 -20
  286. package/polkadot/staking/definitions.js.map +0 -1
  287. package/polkadot/staking/index.d.ts +0 -2
  288. package/polkadot/staking/index.d.ts.map +0 -1
  289. package/polkadot/staking/index.js +0 -20
  290. package/polkadot/staking/index.js.map +0 -1
  291. package/polkadot/staking/types.d.ts +0 -2
  292. package/polkadot/staking/types.d.ts.map +0 -1
  293. package/polkadot/staking/types.js +0 -5
  294. package/polkadot/staking/types.js.map +0 -1
  295. package/polkadot/types-lookup.d.ts +0 -5881
  296. package/polkadot/types-lookup.d.ts.map +0 -1
  297. package/polkadot/types-lookup.js +0 -8
  298. package/polkadot/types-lookup.js.map +0 -1
  299. package/polkadot/types.d.ts +0 -11
  300. package/polkadot/types.d.ts.map +0 -1
  301. package/polkadot/types.js +0 -29
  302. package/polkadot/types.js.map +0 -1
@@ -1,1586 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- /* eslint-disable @typescript-eslint/naming-convention */
4
- exports.default = {
5
- types: {
6
- AssetId: '[u8; 16]',
7
- IdentityId: '[u8; 32]',
8
- Ticker: '[u8; 12]',
9
- CddId: '[u8; 32]',
10
- PalletName: 'Text',
11
- ExtrinsicName: 'Text',
12
- AssetPermissions: {
13
- _enum: {
14
- Whole: '',
15
- These: 'Vec<AssetId>',
16
- Except: 'Vec<AssetId>',
17
- },
18
- },
19
- PortfolioPermissions: {
20
- _enum: {
21
- Whole: '',
22
- These: 'Vec<PortfolioId>',
23
- Except: 'Vec<PortfolioId>',
24
- },
25
- },
26
- ExtrinsicNames: {
27
- _enum: {
28
- Whole: '',
29
- These: 'Vec<ExtrinsicName>',
30
- Except: 'Vec<ExtrinsicName>',
31
- },
32
- },
33
- PalletPermissions: {
34
- extrinsics: 'ExtrinsicNames',
35
- },
36
- ExtrinsicPermissions: {
37
- _enum: {
38
- Whole: '',
39
- These: 'Vec<(PalletName, PalletPermissions)>',
40
- Except: 'Vec<(PalletName, PalletPermissions)>',
41
- },
42
- },
43
- Permissions: {
44
- asset: 'AssetPermissions',
45
- extrinsic: 'ExtrinsicPermissions',
46
- portfolio: 'PortfolioPermissions',
47
- },
48
- Signatory: {
49
- _enum: {
50
- Identity: 'IdentityId',
51
- Account: 'AccountId',
52
- },
53
- },
54
- SecondaryKey: {
55
- key: 'AccountId',
56
- permissions: 'Permissions',
57
- },
58
- KeyIdentityData: {
59
- identity: 'IdentityId',
60
- permissions: 'Option<Permissions>',
61
- },
62
- CountryCode: {
63
- _enum: [
64
- 'AF',
65
- 'AX',
66
- 'AL',
67
- 'DZ',
68
- 'AS',
69
- 'AD',
70
- 'AO',
71
- 'AI',
72
- 'AQ',
73
- 'AG',
74
- 'AR',
75
- 'AM',
76
- 'AW',
77
- 'AU',
78
- 'AT',
79
- 'AZ',
80
- 'BS',
81
- 'BH',
82
- 'BD',
83
- 'BB',
84
- 'BY',
85
- 'BE',
86
- 'BZ',
87
- 'BJ',
88
- 'BM',
89
- 'BT',
90
- 'BO',
91
- 'BA',
92
- 'BW',
93
- 'BV',
94
- 'BR',
95
- 'VG',
96
- 'IO',
97
- 'BN',
98
- 'BG',
99
- 'BF',
100
- 'BI',
101
- 'KH',
102
- 'CM',
103
- 'CA',
104
- 'CV',
105
- 'KY',
106
- 'CF',
107
- 'TD',
108
- 'CL',
109
- 'CN',
110
- 'HK',
111
- 'MO',
112
- 'CX',
113
- 'CC',
114
- 'CO',
115
- 'KM',
116
- 'CG',
117
- 'CD',
118
- 'CK',
119
- 'CR',
120
- 'CI',
121
- 'HR',
122
- 'CU',
123
- 'CY',
124
- 'CZ',
125
- 'DK',
126
- 'DJ',
127
- 'DM',
128
- 'DO',
129
- 'EC',
130
- 'EG',
131
- 'SV',
132
- 'GQ',
133
- 'ER',
134
- 'EE',
135
- 'ET',
136
- 'FK',
137
- 'FO',
138
- 'FJ',
139
- 'FI',
140
- 'FR',
141
- 'GF',
142
- 'PF',
143
- 'TF',
144
- 'GA',
145
- 'GM',
146
- 'GE',
147
- 'DE',
148
- 'GH',
149
- 'GI',
150
- 'GR',
151
- 'GL',
152
- 'GD',
153
- 'GP',
154
- 'GU',
155
- 'GT',
156
- 'GG',
157
- 'GN',
158
- 'GW',
159
- 'GY',
160
- 'HT',
161
- 'HM',
162
- 'VA',
163
- 'HN',
164
- 'HU',
165
- 'IS',
166
- 'IN',
167
- 'ID',
168
- 'IR',
169
- 'IQ',
170
- 'IE',
171
- 'IM',
172
- 'IL',
173
- 'IT',
174
- 'JM',
175
- 'JP',
176
- 'JE',
177
- 'JO',
178
- 'KZ',
179
- 'KE',
180
- 'KI',
181
- 'KP',
182
- 'KR',
183
- 'KW',
184
- 'KG',
185
- 'LA',
186
- 'LV',
187
- 'LB',
188
- 'LS',
189
- 'LR',
190
- 'LY',
191
- 'LI',
192
- 'LT',
193
- 'LU',
194
- 'MK',
195
- 'MG',
196
- 'MW',
197
- 'MY',
198
- 'MV',
199
- 'ML',
200
- 'MT',
201
- 'MH',
202
- 'MQ',
203
- 'MR',
204
- 'MU',
205
- 'YT',
206
- 'MX',
207
- 'FM',
208
- 'MD',
209
- 'MC',
210
- 'MN',
211
- 'ME',
212
- 'MS',
213
- 'MA',
214
- 'MZ',
215
- 'MM',
216
- 'NA',
217
- 'NR',
218
- 'NP',
219
- 'NL',
220
- 'AN',
221
- 'NC',
222
- 'NZ',
223
- 'NI',
224
- 'NE',
225
- 'NG',
226
- 'NU',
227
- 'NF',
228
- 'MP',
229
- 'NO',
230
- 'OM',
231
- 'PK',
232
- 'PW',
233
- 'PS',
234
- 'PA',
235
- 'PG',
236
- 'PY',
237
- 'PE',
238
- 'PH',
239
- 'PN',
240
- 'PL',
241
- 'PT',
242
- 'PR',
243
- 'QA',
244
- 'RE',
245
- 'RO',
246
- 'RU',
247
- 'RW',
248
- 'BL',
249
- 'SH',
250
- 'KN',
251
- 'LC',
252
- 'MF',
253
- 'PM',
254
- 'VC',
255
- 'WS',
256
- 'SM',
257
- 'ST',
258
- 'SA',
259
- 'SN',
260
- 'RS',
261
- 'SC',
262
- 'SL',
263
- 'SG',
264
- 'SK',
265
- 'SI',
266
- 'SB',
267
- 'SO',
268
- 'ZA',
269
- 'GS',
270
- 'SS',
271
- 'ES',
272
- 'LK',
273
- 'SD',
274
- 'SR',
275
- 'SJ',
276
- 'SZ',
277
- 'SE',
278
- 'CH',
279
- 'SY',
280
- 'TW',
281
- 'TJ',
282
- 'TZ',
283
- 'TH',
284
- 'TL',
285
- 'TG',
286
- 'TK',
287
- 'TO',
288
- 'TT',
289
- 'TN',
290
- 'TR',
291
- 'TM',
292
- 'TC',
293
- 'TV',
294
- 'UG',
295
- 'UA',
296
- 'AE',
297
- 'GB',
298
- 'US',
299
- 'UM',
300
- 'UY',
301
- 'UZ',
302
- 'VU',
303
- 'VE',
304
- 'VN',
305
- 'VI',
306
- 'WF',
307
- 'EH',
308
- 'YE',
309
- 'ZM',
310
- 'ZW',
311
- 'BQ',
312
- 'CW',
313
- 'SX',
314
- ],
315
- },
316
- Scope: {
317
- _enum: {
318
- Identity: 'IdentityId',
319
- Asset: 'AssetId',
320
- Custom: 'Vec<u8>',
321
- },
322
- },
323
- CustomClaimTypeId: 'u32',
324
- Claim: {
325
- _enum: {
326
- Accredited: 'Scope',
327
- Affiliate: 'Scope',
328
- BuyLockup: 'Scope',
329
- SellLockup: 'Scope',
330
- CustomerDueDiligence: 'CddId',
331
- KnowYourCustomer: 'Scope',
332
- Jurisdiction: '(CountryCode, Scope)',
333
- Exempted: 'Scope',
334
- Blocked: 'Scope',
335
- Custom: '(CustomClaimTypeId, Option<Scope>)',
336
- },
337
- },
338
- ClaimType: {
339
- _enum: {
340
- Accredited: '',
341
- Affiliate: '',
342
- BuyLockup: '',
343
- SellLockup: '',
344
- CustomerDueDiligence: '',
345
- KnowYourCustomer: '',
346
- Jurisdiction: '',
347
- Exempted: '',
348
- Blocked: '',
349
- Custom: 'CustomClaimTypeId',
350
- },
351
- },
352
- IdentityClaim: {
353
- claim_issuer: 'IdentityId',
354
- issuance_date: 'Moment',
355
- last_update_date: 'Moment',
356
- expiry: 'Option<Moment>',
357
- claim: 'Claim',
358
- },
359
- ComplianceRequirementResult: {
360
- senderConditions: 'Vec<ConditionResult>',
361
- receiverConditions: 'Vec<ConditionResult>',
362
- id: 'u32',
363
- result: 'bool',
364
- },
365
- ConditionType: {
366
- _enum: {
367
- IsPresent: 'Claim',
368
- IsAbsent: 'Claim',
369
- IsAnyOf: 'Vec<Claim>',
370
- IsNoneOf: 'Vec<Claim>',
371
- IsIdentity: 'TargetIdentity',
372
- },
373
- },
374
- TrustedFor: {
375
- _enum: {
376
- Any: '',
377
- Specific: 'Vec<ClaimType>',
378
- },
379
- },
380
- TrustedIssuer: {
381
- issuer: 'IdentityId',
382
- trustedFor: 'TrustedFor',
383
- },
384
- Condition: {
385
- conditionType: 'PolymeshPrimitivesConditionConditionType',
386
- issuers: 'Vec<PolymeshPrimitivesConditionTrustedIssuer>',
387
- },
388
- ConditionResult: {
389
- condition: 'Condition',
390
- result: 'bool',
391
- },
392
- PipId: 'u32',
393
- Authorization: {
394
- authorization_data: 'AuthorizationData',
395
- authorized_by: 'IdentityId',
396
- expiry: 'Option<Moment>',
397
- auth_id: 'u64',
398
- },
399
- AuthorizationData: {
400
- _enum: {
401
- AttestPrimaryKeyRotation: 'IdentityId',
402
- RotatePrimaryKey: '',
403
- TransferTicker: 'Ticker',
404
- AddMultiSigSigner: 'AccountId',
405
- TransferAssetOwnership: 'AssetId',
406
- JoinIdentity: 'Permissions',
407
- PortfolioCustody: 'PortfolioId',
408
- BecomeAgent: '(AssetId, AgentGroup)',
409
- AddRelayerPayingKey: '(AccountId, AccountId, Balance)',
410
- RotatePrimaryKeyToSecondary: 'Permissions',
411
- },
412
- },
413
- Percentage: 'Permill',
414
- StatClaim: {
415
- _enum: {
416
- Accredited: 'bool',
417
- Affiliate: 'bool',
418
- Jurisdiction: 'Option<CountryCode>',
419
- },
420
- },
421
- TransferCondition: {
422
- _enum: {
423
- MaxInvestorCount: 'u64',
424
- MaxInvestorOwnership: 'Percentage',
425
- ClaimCount: '(StatClaim, IdentityId, u64, Option<u64>)',
426
- ClaimOwnership: '(StatClaim, IdentityId, Percentage, Percentage)',
427
- },
428
- },
429
- AssetComplianceResult: {
430
- paused: 'bool',
431
- requirements: 'Vec<ComplianceRequirementResult>',
432
- result: 'bool',
433
- },
434
- ProtocolOp: {
435
- _enum: [
436
- 'AssetRegisterTicker',
437
- 'AssetIssue',
438
- 'AssetAddDocuments',
439
- 'AssetCreateAsset',
440
- 'CheckpointCreateSchedule',
441
- 'ComplianceManagerAddComplianceRequirement',
442
- 'IdentityCddRegisterDid',
443
- 'IdentityAddClaim',
444
- 'IdentityAddSecondaryKeysWithAuthorization',
445
- 'PipsPropose',
446
- 'ContractsPutCode',
447
- 'CorporateBallotAttachBallot',
448
- 'CapitalDistributionDistribute',
449
- 'NFTCreateCollection',
450
- 'NFTMint',
451
- 'IdentityCreateChildIdentity',
452
- ],
453
- },
454
- CddStatus: {
455
- _enum: {
456
- Ok: 'IdentityId',
457
- Err: 'Vec<u8>',
458
- },
459
- },
460
- AssetDidResult: {
461
- _enum: {
462
- Ok: 'IdentityId',
463
- Err: 'Vec<u8>',
464
- },
465
- },
466
- RpcDidRecordsSuccess: {
467
- primary_key: 'AccountId',
468
- secondary_keys: 'Vec<SecondaryKey>',
469
- },
470
- RpcDidRecords: {
471
- _enum: {
472
- Success: 'RpcDidRecordsSuccess',
473
- IdNotFound: 'Vec<u8>',
474
- },
475
- },
476
- VoteCountProposalFound: {
477
- ayes: 'u64',
478
- nays: 'u64',
479
- },
480
- VoteCount: {
481
- _enum: {
482
- ProposalFound: 'VoteCountProposalFound',
483
- ProposalNotFound: '',
484
- },
485
- },
486
- CappedFee: 'u64',
487
- AuthorizationType: {
488
- _enum: {
489
- AttestPrimaryKeyRotation: '',
490
- RotatePrimaryKey: '',
491
- TransferTicker: '',
492
- AddMultiSigSigner: '',
493
- TransferAssetOwnership: '',
494
- JoinIdentity: '',
495
- PortfolioCustody: '',
496
- BecomeAgent: '',
497
- AddRelayerPayingKey: '',
498
- RotatePrimaryKeyToSecondary: '',
499
- },
500
- },
501
- DidStatus: {
502
- _enum: {
503
- Unknown: '',
504
- Exists: '',
505
- CddVerified: '',
506
- },
507
- },
508
- PortfolioNumber: 'u64',
509
- PortfolioKind: {
510
- _enum: {
511
- Default: '',
512
- User: 'PortfolioNumber',
513
- },
514
- },
515
- PortfolioId: {
516
- did: 'IdentityId',
517
- kind: 'PortfolioKind',
518
- },
519
- Moment: 'u64',
520
- InstructionId: 'u64',
521
- TargetIdentity: {
522
- _enum: {
523
- ExternalAgent: '',
524
- Specific: 'IdentityId',
525
- },
526
- },
527
- CanTransferGranularReturn: {
528
- _enum: {
529
- Ok: 'GranularCanTransferResult',
530
- Err: 'DispatchError',
531
- },
532
- },
533
- GranularCanTransferResult: {
534
- invalid_granularity: 'bool',
535
- self_transfer: 'bool',
536
- invalid_receiver_cdd: 'bool',
537
- invalid_sender_cdd: 'bool',
538
- receiver_custodian_error: 'bool',
539
- sender_custodian_error: 'bool',
540
- sender_insufficient_balance: 'bool',
541
- portfolio_validity_result: 'PortfolioValidityResult',
542
- asset_frozen: 'bool',
543
- transfer_condition_result: 'Vec<TransferConditionResult>',
544
- compliance_result: 'AssetComplianceResult',
545
- result: 'bool',
546
- consumed_weight: 'Option<Weight>',
547
- },
548
- PortfolioValidityResult: {
549
- receiver_is_same_portfolio: 'bool',
550
- sender_portfolio_does_not_exist: 'bool',
551
- receiver_portfolio_does_not_exist: 'bool',
552
- sender_insufficient_balance: 'bool',
553
- result: 'bool',
554
- },
555
- TransferConditionResult: {
556
- condition: 'TransferCondition',
557
- result: 'bool',
558
- },
559
- AGId: 'u32',
560
- AgentGroup: {
561
- _enum: {
562
- Full: '',
563
- Custom: 'AGId',
564
- ExceptMeta: '',
565
- PolymeshV1CAA: '',
566
- PolymeshV1PIA: '',
567
- },
568
- },
569
- Member: {
570
- id: 'IdentityId',
571
- expiry_at: 'Option<Moment>',
572
- inactive_from: 'Option<Moment>',
573
- },
574
- NFTId: 'u64',
575
- NFTs: {
576
- asset_id: 'AssetId',
577
- ids: 'Vec<NFTId>',
578
- },
579
- FungibleLeg: {
580
- sender: 'PortfolioId',
581
- receiver: 'PortfolioId',
582
- asset_id: 'AssetId',
583
- amount: 'Balance',
584
- },
585
- NonFungibleLeg: {
586
- sender: 'PortfolioId',
587
- receiver: 'PortfolioId',
588
- nfts: 'NFTs',
589
- },
590
- OffChainLeg: {
591
- sender_identity: 'IdentityId',
592
- receiver_identity: 'IdentityId',
593
- asset_id: 'AssetId',
594
- amount: 'Balance',
595
- },
596
- Leg: {
597
- _enum: {
598
- Fungible: 'FungibleLeg',
599
- NonFungible: 'NonFungibleLeg',
600
- OffChain: 'OffChainLeg',
601
- },
602
- },
603
- ExecuteInstructionInfo: {
604
- fungibleTokens: 'u32',
605
- nonFungibleTokens: 'u32',
606
- offChainAssets: 'u32',
607
- consumedWeight: 'Weight',
608
- error: 'Option<String>',
609
- },
610
- AssetCount: {
611
- fungible_tokens: 'u32',
612
- non_fungible_tokens: 'u32',
613
- off_chain_assets: 'u32',
614
- },
615
- AffirmationCount: {
616
- sender_asset_count: 'AssetCount',
617
- receiver_asset_count: 'AssetCount',
618
- offchain_count: 'u32',
619
- },
620
- ComplianceReport: {
621
- anyRequirementSatisfied: 'bool',
622
- pausedCompliance: 'bool',
623
- requirements: 'Vec<RequirementReport>',
624
- },
625
- RequirementReport: {
626
- requirementSatisfied: 'bool',
627
- id: 'u32',
628
- senderConditions: 'Vec<ConditionReport>',
629
- receiverConditions: 'Vec<ConditionReport>',
630
- },
631
- ConditionReport: {
632
- satisfied: 'bool',
633
- condition: 'Condition',
634
- },
635
- },
636
- rpc: {
637
- identity: {
638
- isIdentityHasValidCdd: {
639
- description: 'use to tell whether the given did has valid cdd claim or not',
640
- params: [
641
- {
642
- name: 'did',
643
- type: 'IdentityId',
644
- isOptional: false,
645
- },
646
- {
647
- name: 'buffer_time',
648
- type: 'u64',
649
- isOptional: true,
650
- },
651
- {
652
- name: 'blockHash',
653
- type: 'Hash',
654
- isOptional: true,
655
- },
656
- ],
657
- type: 'CddStatus',
658
- },
659
- getDidRecords: {
660
- description: 'Used to get the did record values for a given DID',
661
- params: [
662
- {
663
- name: 'did',
664
- type: 'IdentityId',
665
- isOptional: false,
666
- },
667
- {
668
- name: 'blockHash',
669
- type: 'Hash',
670
- isOptional: true,
671
- },
672
- ],
673
- type: 'RpcDidRecords',
674
- },
675
- getDidStatus: {
676
- description: 'Retrieve status of the DID',
677
- params: [
678
- {
679
- name: 'did',
680
- type: 'Vec<IdentityId>',
681
- isOptional: false,
682
- },
683
- {
684
- name: 'blockHash',
685
- type: 'Hash',
686
- isOptional: true,
687
- },
688
- ],
689
- type: 'Vec<DidStatus>',
690
- },
691
- getFilteredAuthorizations: {
692
- description: 'Retrieve authorizations data for a given signatory and filtered using the given authorization type',
693
- params: [
694
- {
695
- name: 'signatory',
696
- type: 'Signatory',
697
- isOptional: false,
698
- },
699
- {
700
- name: 'allowExpired',
701
- type: 'bool',
702
- isOptional: false,
703
- },
704
- {
705
- name: 'authType',
706
- type: 'AuthorizationType',
707
- isOptional: true,
708
- },
709
- {
710
- name: 'blockHash',
711
- type: 'Hash',
712
- isOptional: true,
713
- },
714
- ],
715
- type: 'Vec<PolymeshPrimitivesAuthorization>',
716
- },
717
- getKeyIdentityData: {
718
- description: 'Query relation between a signing key and a DID',
719
- params: [
720
- {
721
- name: 'acc',
722
- type: 'AccountId',
723
- isOptional: false,
724
- },
725
- {
726
- name: 'blockHash',
727
- type: 'Hash',
728
- isOptional: true,
729
- },
730
- ],
731
- type: 'Option<KeyIdentityData>',
732
- },
733
- validCDDClaims: {
734
- description: 'Returns all valid IdentityClaim of type CustomerDueDiligence for the given target_identity',
735
- params: [
736
- {
737
- name: 'target_identity',
738
- type: 'IdentityId',
739
- isOptional: false,
740
- },
741
- {
742
- name: 'cdd_checker_leeway',
743
- type: 'u64',
744
- isOptional: true,
745
- },
746
- {
747
- name: 'blockHash',
748
- type: 'Hash',
749
- isOptional: true,
750
- },
751
- ],
752
- type: 'Vec<IdentityClaim>',
753
- },
754
- },
755
- pips: {
756
- getVotes: {
757
- description: 'Summary of votes of a proposal given by index',
758
- params: [
759
- {
760
- name: 'index',
761
- type: 'PipId',
762
- isOptional: false,
763
- },
764
- {
765
- name: 'blockHash',
766
- type: 'Hash',
767
- isOptional: true,
768
- },
769
- ],
770
- type: 'VoteCount',
771
- },
772
- proposedBy: {
773
- description: 'Retrieves proposal indices started by address',
774
- params: [
775
- {
776
- name: 'address',
777
- type: 'AccountId',
778
- isOptional: false,
779
- },
780
- {
781
- name: 'blockHash',
782
- type: 'Hash',
783
- isOptional: true,
784
- },
785
- ],
786
- type: 'Vec<PipId>',
787
- },
788
- votedOn: {
789
- description: 'Retrieves proposal address indices voted on',
790
- params: [
791
- {
792
- name: 'address',
793
- type: 'AccountId',
794
- isOptional: false,
795
- },
796
- {
797
- name: 'blockHash',
798
- type: 'Hash',
799
- isOptional: true,
800
- },
801
- ],
802
- type: 'Vec<PipId>',
803
- },
804
- },
805
- protocolFee: {
806
- computeFee: {
807
- description: 'Gets the fee of a chargeable extrinsic operation',
808
- params: [
809
- {
810
- name: 'op',
811
- type: 'ProtocolOp',
812
- isOptional: false,
813
- },
814
- {
815
- name: 'blockHash',
816
- type: 'Hash',
817
- isOptional: true,
818
- },
819
- ],
820
- type: 'CappedFee',
821
- },
822
- },
823
- staking: {
824
- getCurve: {
825
- description: 'Retrieves curves parameters',
826
- params: [
827
- {
828
- name: 'blockHash',
829
- type: 'Hash',
830
- isOptional: true,
831
- },
832
- ],
833
- type: 'Vec<(Perbill, Perbill)>',
834
- },
835
- },
836
- asset: {
837
- transferReport: {
838
- description: "Returns a vector containing all errors for the transfer. An empty vec means there's no error.",
839
- params: [
840
- {
841
- name: 'senderPortfolio',
842
- type: 'PortfolioId',
843
- isOptional: false,
844
- },
845
- {
846
- name: 'receiverPortfolio',
847
- type: 'PortfolioId',
848
- isOptional: false,
849
- },
850
- {
851
- name: 'assetId',
852
- type: 'AssetId',
853
- isOptional: false,
854
- },
855
- {
856
- name: 'transferValue',
857
- type: 'Balance',
858
- isOptional: false,
859
- },
860
- {
861
- name: 'skipLockedCheck',
862
- type: 'bool',
863
- isOptional: false,
864
- },
865
- {
866
- name: 'blockHash',
867
- type: 'Hash',
868
- isOptional: true,
869
- },
870
- ],
871
- type: 'Vec<DispatchError>',
872
- },
873
- },
874
- group: {
875
- getCDDValidMembers: {
876
- description: 'Get the CDD members',
877
- params: [
878
- {
879
- name: 'blockHash',
880
- type: 'Hash',
881
- isOptional: true,
882
- },
883
- ],
884
- type: 'Vec<Member>',
885
- },
886
- getGCValidMembers: {
887
- description: 'Get the GC members',
888
- params: [
889
- {
890
- name: 'blockHash',
891
- type: 'Hash',
892
- isOptional: true,
893
- },
894
- ],
895
- type: 'Vec<Member>',
896
- },
897
- },
898
- nft: {
899
- transferReport: {
900
- description: "Returns a vector containing all errors for the transfer. An empty vec means there's no error.",
901
- params: [
902
- {
903
- name: 'sender_portfolio',
904
- type: 'PortfolioId',
905
- isOptional: false,
906
- },
907
- {
908
- name: 'receiver_portfolio',
909
- type: 'PortfolioId',
910
- isOptional: false,
911
- },
912
- {
913
- name: 'nfts',
914
- type: 'NFTs',
915
- isOptional: false,
916
- },
917
- {
918
- name: 'skip_locked_check',
919
- type: 'bool',
920
- isOptional: false,
921
- },
922
- {
923
- name: 'blockHash',
924
- type: 'Hash',
925
- isOptional: true,
926
- },
927
- ],
928
- type: 'Vec<DispatchError>',
929
- },
930
- },
931
- settlement: {
932
- getExecuteInstructionInfo: {
933
- description: 'Returns an ExecuteInstructionInfo instance, containing the consumed weight and the number of tokens in the instruction.',
934
- params: [
935
- {
936
- name: 'instructionId',
937
- type: 'InstructionId',
938
- isOptional: false,
939
- },
940
- {
941
- name: 'blockHash',
942
- type: 'Hash',
943
- isOptional: true,
944
- },
945
- ],
946
- type: 'Option<ExecuteInstructionInfo>',
947
- },
948
- getAffirmationCount: {
949
- description: 'Returns an instance of AffirmationCount, which holds the asset count for both the sender and receiver and the number of offchain assets in the instruction',
950
- params: [
951
- {
952
- name: 'instruction_id',
953
- type: 'InstructionId',
954
- isOptional: false,
955
- },
956
- {
957
- name: 'portfolios',
958
- type: 'Vec<PortfolioId>',
959
- isOptional: false,
960
- },
961
- {
962
- name: 'blockHash',
963
- type: 'Hash',
964
- isOptional: true,
965
- },
966
- ],
967
- type: 'AffirmationCount',
968
- },
969
- getExecuteInstructionReport: {
970
- description: "Returns a vector containing all errors for the execution. An empty vec means there's no error.",
971
- params: [
972
- {
973
- name: 'instruction_id',
974
- type: 'InstructionId',
975
- },
976
- ],
977
- type: 'Vec<DispatchError>',
978
- },
979
- getTransferReport: {
980
- description: "Returns a vector containing all errors for the transfer. An empty vec means there's no error.",
981
- params: [
982
- {
983
- name: 'leg',
984
- type: 'Leg',
985
- },
986
- {
987
- name: 'skip_locked_check',
988
- type: 'bool',
989
- },
990
- ],
991
- type: 'Vec<DispatchError>',
992
- },
993
- },
994
- compliance: {
995
- complianceReport: {
996
- description: 'Checks all compliance requirements for the given asset.',
997
- params: [
998
- {
999
- name: 'asset_id',
1000
- type: 'AssetId',
1001
- },
1002
- {
1003
- name: 'sender_identity',
1004
- type: 'IdentityId',
1005
- },
1006
- {
1007
- name: 'receiver_identity',
1008
- type: 'IdentityId',
1009
- },
1010
- ],
1011
- type: 'Result<ComplianceReport, DispatchError>',
1012
- },
1013
- },
1014
- },
1015
- runtime: {
1016
- AssetApi: [
1017
- {
1018
- methods: {
1019
- transfer_report: {
1020
- description: "Returns a vector containing all errors for the transfer. An empty vec means there's no error.",
1021
- params: [
1022
- {
1023
- name: 'sender_portfolio',
1024
- type: 'PortfolioId',
1025
- },
1026
- {
1027
- name: 'receiver_portfolio',
1028
- type: 'PortfolioId',
1029
- },
1030
- {
1031
- name: 'asset_id',
1032
- type: 'AssetId',
1033
- },
1034
- {
1035
- name: 'transfer_value',
1036
- type: 'Balance',
1037
- },
1038
- {
1039
- name: 'skip_locked_check',
1040
- type: 'bool',
1041
- },
1042
- ],
1043
- type: 'Vec<DispatchError>',
1044
- },
1045
- },
1046
- version: 4,
1047
- },
1048
- {
1049
- methods: {
1050
- can_transfer_granular: {
1051
- description: 'Checks whether a transaction with given parameters can take place or not. The result is granular meaning each check is run and returned regardless of outcome.',
1052
- params: [
1053
- {
1054
- name: 'from_custodian',
1055
- type: 'Option<IdentityId>',
1056
- },
1057
- {
1058
- name: 'from_portfolio',
1059
- type: 'PortfolioId',
1060
- },
1061
- {
1062
- name: 'to_custodian',
1063
- type: 'Option<IdentityId>',
1064
- },
1065
- {
1066
- name: 'to_portfolio',
1067
- type: 'PortfolioId',
1068
- },
1069
- {
1070
- name: 'ticker',
1071
- type: 'Ticker',
1072
- },
1073
- {
1074
- name: 'value',
1075
- type: 'Balance',
1076
- },
1077
- ],
1078
- type: 'CanTransferGranularReturn',
1079
- },
1080
- },
1081
- version: 3,
1082
- },
1083
- ],
1084
- ComplianceApi: [
1085
- {
1086
- methods: {
1087
- compliance_report: {
1088
- description: 'Checks all compliance requirements for the given asset_id.',
1089
- params: [
1090
- {
1091
- name: 'asset_id',
1092
- type: 'AssetId',
1093
- },
1094
- {
1095
- name: 'sender_identity',
1096
- type: 'IdentityId',
1097
- },
1098
- {
1099
- name: 'receiver_identity',
1100
- type: 'IdentityId',
1101
- },
1102
- ],
1103
- type: 'Result<ComplianceReport, DispatchError>',
1104
- },
1105
- },
1106
- version: 2,
1107
- },
1108
- {
1109
- methods: {
1110
- compliance_report: {
1111
- description: 'Checks all compliance requirements for the given ticker.',
1112
- params: [
1113
- {
1114
- name: 'ticker',
1115
- type: 'Ticker',
1116
- },
1117
- {
1118
- name: 'sender_identity',
1119
- type: 'IdentityId',
1120
- },
1121
- {
1122
- name: 'receiver_identity',
1123
- type: 'IdentityId',
1124
- },
1125
- ],
1126
- type: 'Result<ComplianceReport, DispatchError>',
1127
- },
1128
- },
1129
- version: 1,
1130
- },
1131
- ],
1132
- GroupApi: [
1133
- {
1134
- methods: {
1135
- get_cdd_valid_members: {
1136
- description: 'Get the CDD members',
1137
- params: [],
1138
- type: 'Vec<Member>',
1139
- },
1140
- get_gc_valid_members: {
1141
- description: 'Get the GC members',
1142
- params: [],
1143
- type: 'Vec<Member>',
1144
- },
1145
- },
1146
- version: 1,
1147
- },
1148
- ],
1149
- IdentityApi: [
1150
- {
1151
- methods: {
1152
- is_identity_has_valid_cdd: {
1153
- description: 'use to tell whether the given did has valid cdd claim or not',
1154
- params: [
1155
- {
1156
- name: 'did',
1157
- type: 'IdentityId',
1158
- },
1159
- {
1160
- name: 'buffer_time',
1161
- type: 'Option<u64>',
1162
- },
1163
- ],
1164
- type: 'CddStatus',
1165
- },
1166
- get_did_records: {
1167
- description: 'Used to get the did record values for a given DID',
1168
- params: [
1169
- {
1170
- name: 'did',
1171
- type: 'IdentityId',
1172
- },
1173
- ],
1174
- type: 'RpcDidRecords',
1175
- },
1176
- get_did_status: {
1177
- description: 'Retrieve status of the DID',
1178
- params: [
1179
- {
1180
- name: 'did',
1181
- type: 'Vec<IdentityId>',
1182
- },
1183
- ],
1184
- type: 'Vec<DidStatus>',
1185
- },
1186
- get_filtered_authorizations: {
1187
- description: 'Retrieve authorizations data for a given signatory and filtered using the given authorization type',
1188
- params: [
1189
- {
1190
- name: 'signatory',
1191
- type: 'PolymeshPrimitivesSecondaryKeySignatory',
1192
- },
1193
- {
1194
- name: 'allow_expired',
1195
- type: 'bool',
1196
- },
1197
- {
1198
- name: 'auth_type',
1199
- type: 'Option<AuthorizationType>',
1200
- },
1201
- ],
1202
- type: 'Vec<PolymeshPrimitivesAuthorization>',
1203
- },
1204
- get_key_identity_data: {
1205
- description: 'Query relation between a signing key and a DID',
1206
- params: [
1207
- {
1208
- name: 'acc',
1209
- type: 'AccountId',
1210
- },
1211
- ],
1212
- type: 'Option<KeyIdentityData>',
1213
- },
1214
- valid_cdd_claims: {
1215
- description: 'Returns all valid IdentityClaim of type CustomerDueDiligence for the given target_identity',
1216
- params: [
1217
- {
1218
- name: 'target_identity',
1219
- type: 'IdentityId',
1220
- },
1221
- {
1222
- name: 'cdd_checker_leeway',
1223
- type: 'Option<u64>',
1224
- },
1225
- ],
1226
- type: 'Vec<IdentityClaim>',
1227
- },
1228
- },
1229
- version: 4,
1230
- },
1231
- {
1232
- methods: {
1233
- is_identity_has_valid_cdd: {
1234
- description: 'use to tell whether the given did has valid cdd claim or not',
1235
- params: [
1236
- {
1237
- name: 'did',
1238
- type: 'IdentityId',
1239
- },
1240
- {
1241
- name: 'buffer_time',
1242
- type: 'Option<u64>',
1243
- },
1244
- ],
1245
- type: 'CddStatus',
1246
- },
1247
- get_asset_did: {
1248
- description: 'function is used to query the given ticker DID',
1249
- params: [
1250
- {
1251
- name: 'ticker',
1252
- type: 'Ticker',
1253
- },
1254
- ],
1255
- type: 'AssetDidResult',
1256
- },
1257
- get_did_records: {
1258
- description: 'Used to get the did record values for a given DID',
1259
- params: [
1260
- {
1261
- name: 'did',
1262
- type: 'IdentityId',
1263
- },
1264
- ],
1265
- type: 'RpcDidRecords',
1266
- },
1267
- get_did_status: {
1268
- description: 'Retrieve status of the DID',
1269
- params: [
1270
- {
1271
- name: 'did',
1272
- type: 'Vec<IdentityId>',
1273
- },
1274
- ],
1275
- type: 'Vec<DidStatus>',
1276
- },
1277
- get_filtered_authorizations: {
1278
- description: 'Retrieve authorizations data for a given signatory and filtered using the given authorization type',
1279
- params: [
1280
- {
1281
- name: 'signatory',
1282
- type: 'Signatory',
1283
- },
1284
- {
1285
- name: 'allow_expired',
1286
- type: 'bool',
1287
- },
1288
- {
1289
- name: 'auth_type',
1290
- type: 'Option<AuthorizationType>',
1291
- },
1292
- ],
1293
- type: 'Vec<Authorization>',
1294
- },
1295
- get_key_identity_data: {
1296
- description: 'Query relation between a signing key and a DID',
1297
- params: [
1298
- {
1299
- name: 'acc',
1300
- type: 'AccountId',
1301
- },
1302
- ],
1303
- type: 'Option<KeyIdentityData>',
1304
- },
1305
- valid_cdd_claims: {
1306
- description: 'Returns all valid IdentityClaim of type CustomerDueDiligence for the given target_identity',
1307
- params: [
1308
- {
1309
- name: 'target_identity',
1310
- type: 'IdentityId',
1311
- },
1312
- {
1313
- name: 'cdd_checker_leeway',
1314
- type: 'Option<u64>',
1315
- },
1316
- ],
1317
- type: 'Vec<IdentityClaim>',
1318
- },
1319
- },
1320
- version: 3,
1321
- },
1322
- ],
1323
- NFTApi: [
1324
- {
1325
- methods: {
1326
- transfer_report: {
1327
- description: "Returns a vector containing all errors for the transfer. An empty vec means there's no error.",
1328
- params: [
1329
- {
1330
- name: 'sender_portfolio',
1331
- type: 'PortfolioId',
1332
- },
1333
- {
1334
- name: 'receiver_portfolio',
1335
- type: 'PortfolioId',
1336
- },
1337
- {
1338
- name: 'nfts',
1339
- type: 'NFTs',
1340
- },
1341
- {
1342
- name: 'skip_locked_check',
1343
- type: 'bool',
1344
- },
1345
- ],
1346
- type: 'Vec<DispatchError>',
1347
- },
1348
- },
1349
- version: 2,
1350
- },
1351
- {
1352
- methods: {
1353
- validate_nft_transfer: {
1354
- description: 'Verifies if and the sender and receiver are not the same, if both have valid balances, if the sender owns the nft, and if all compliance rules are being respected.',
1355
- params: [
1356
- {
1357
- name: 'sender_portfolio',
1358
- type: 'PortfolioId',
1359
- },
1360
- {
1361
- name: 'receiver_portfolio',
1362
- type: 'PortfolioId',
1363
- },
1364
- {
1365
- name: 'nfts',
1366
- type: 'NFTs',
1367
- },
1368
- ],
1369
- type: 'DispatchResult',
1370
- },
1371
- },
1372
- version: 1,
1373
- },
1374
- ],
1375
- PipsApi: [
1376
- {
1377
- methods: {
1378
- get_votes: {
1379
- description: 'Summary of votes of a proposal given by index',
1380
- params: [
1381
- {
1382
- name: 'index',
1383
- type: 'PipId',
1384
- },
1385
- ],
1386
- type: 'VoteCount',
1387
- },
1388
- proposed_by: {
1389
- description: 'Retrieves proposal indices started by address',
1390
- params: [
1391
- {
1392
- name: 'address',
1393
- type: 'AccountId',
1394
- },
1395
- ],
1396
- type: 'Vec<PipId>',
1397
- },
1398
- voted_on: {
1399
- description: 'Retrieves proposal address indices voted on',
1400
- params: [
1401
- {
1402
- name: 'address',
1403
- type: 'AccountId',
1404
- },
1405
- ],
1406
- type: 'Vec<PipId>',
1407
- },
1408
- },
1409
- version: 1,
1410
- },
1411
- ],
1412
- ProtocolFeeApi: [
1413
- {
1414
- methods: {
1415
- compute_fee: {
1416
- description: 'Gets the fee of a chargeable extrinsic operation',
1417
- params: [
1418
- {
1419
- name: 'op',
1420
- type: 'ProtocolOp',
1421
- },
1422
- ],
1423
- type: 'CappedFee',
1424
- },
1425
- },
1426
- version: 1,
1427
- },
1428
- ],
1429
- SettlementApi: [
1430
- {
1431
- methods: {
1432
- get_execute_instruction_info: {
1433
- description: 'Returns an ExecuteInstructionInfo instance containing the consumed weight and the number of tokens in the instruction.',
1434
- params: [
1435
- {
1436
- name: 'instruction_id',
1437
- type: 'InstructionId',
1438
- },
1439
- ],
1440
- type: 'Option<ExecuteInstructionInfo>',
1441
- },
1442
- get_affirmation_count: {
1443
- description: 'Returns an AffirmationCount instance containing the number of assets being sent/received from portfolios, and the number of off-chain assets in the instruction.',
1444
- params: [
1445
- {
1446
- name: 'instruction_id',
1447
- type: 'InstructionId',
1448
- },
1449
- {
1450
- name: 'portfolios',
1451
- type: 'Vec<PortfolioId>',
1452
- },
1453
- ],
1454
- type: 'AffirmationCount',
1455
- },
1456
- get_transfer_report: {
1457
- description: "Returns a vector containing all errors for the transfer. An empty vec means there's no error.",
1458
- params: [
1459
- {
1460
- name: 'leg',
1461
- type: 'Leg',
1462
- },
1463
- {
1464
- name: 'skip_locked_check',
1465
- type: 'bool',
1466
- },
1467
- ],
1468
- type: 'Vec<DispatchError>',
1469
- },
1470
- get_execute_instruction_report: {
1471
- description: "Returns a vector containing all errors for the execution. An empty vec means there's no error.",
1472
- params: [
1473
- {
1474
- name: 'instruction_id',
1475
- type: 'InstructionId',
1476
- },
1477
- ],
1478
- type: 'Vec<DispatchError>',
1479
- },
1480
- },
1481
- version: 2,
1482
- },
1483
- {
1484
- methods: {
1485
- get_execute_instruction_info: {
1486
- description: 'Returns an ExecuteInstructionInfo instance containing the consumed weight and the number of tokens in the instruction.',
1487
- params: [
1488
- {
1489
- name: 'instruction_id',
1490
- type: 'InstructionId',
1491
- },
1492
- ],
1493
- type: 'ExecuteInstructionInfo',
1494
- },
1495
- get_affirmation_count: {
1496
- description: 'Returns an AffirmationCount instance containing the number of assets being sent/received from portfolios, and the number of off-chain assets in the instruction.',
1497
- params: [
1498
- {
1499
- name: 'instruction_id',
1500
- type: 'InstructionId',
1501
- },
1502
- {
1503
- name: 'portfolios',
1504
- type: 'Vec<PortfolioId>',
1505
- },
1506
- ],
1507
- type: 'AffirmationCount',
1508
- },
1509
- get_transfer_report: {
1510
- description: "Returns a vector containing all errors for the transfer. An empty vec means there's no error.",
1511
- params: [
1512
- {
1513
- name: 'leg',
1514
- type: 'Leg',
1515
- },
1516
- {
1517
- name: 'skip_locked_check',
1518
- type: 'bool',
1519
- },
1520
- ],
1521
- type: 'Vec<DispatchError>',
1522
- },
1523
- get_execute_instruction_report: {
1524
- description: "Returns a vector containing all errors for the execution. An empty vec means there's no error.",
1525
- params: [
1526
- {
1527
- name: 'instruction_id',
1528
- type: 'InstructionId',
1529
- },
1530
- ],
1531
- type: 'Vec<DispatchError>',
1532
- },
1533
- },
1534
- version: 1,
1535
- },
1536
- ],
1537
- StakingApi: [
1538
- {
1539
- methods: {
1540
- get_curve: {
1541
- description: 'Retrieves curves parameters',
1542
- params: [],
1543
- type: 'Vec<(Perbill, Perbill)>',
1544
- },
1545
- },
1546
- version: 1,
1547
- },
1548
- ],
1549
- StatisticsApi: [
1550
- {
1551
- methods: {
1552
- transfer_restrictions_report: {
1553
- description: "Returns a vector containing all TransferCondition that are not being respected for the transfer. An empty vec means there's no error.",
1554
- params: [
1555
- {
1556
- name: 'asset_id',
1557
- type: 'AssetId',
1558
- },
1559
- {
1560
- name: 'sender_did',
1561
- type: 'IdentityId',
1562
- },
1563
- {
1564
- name: 'receiver_did',
1565
- type: 'IdentityId',
1566
- },
1567
- {
1568
- name: 'transfer_amount',
1569
- type: 'Balance',
1570
- },
1571
- ],
1572
- type: 'Result<Vec<TransferCondition>, DispatchError>',
1573
- },
1574
- },
1575
- version: 0,
1576
- },
1577
- ],
1578
- },
1579
- signedExtensions: {
1580
- StoreCallMetadata: {
1581
- extrinsic: {},
1582
- payload: {},
1583
- },
1584
- },
1585
- };
1586
- //# sourceMappingURL=schema.js.map