@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,2991 +0,0 @@
1
- import '@polkadot/api-base/types/events';
2
- import type { ApiTypes, AugmentedEvent } from '@polkadot/api-base/types';
3
- import type { BTreeSet, Bytes, Null, Option, Result, U8aFixed, Vec, bool, u128, u32, u64, u8 } from '@polkadot/types-codec';
4
- import type { ITuple } from '@polkadot/types-codec/types';
5
- import type { AccountId32, H256, Perbill, Permill } from '@polkadot/types/interfaces/runtime';
6
- import type { FrameSupportDispatchDispatchInfo, FrameSupportTokensMiscBalanceStatus, PalletCorporateActionsBallotBallotMeta, PalletCorporateActionsBallotBallotTimeRange, PalletCorporateActionsBallotBallotVote, PalletCorporateActionsCaId, PalletCorporateActionsCorporateAction, PalletCorporateActionsDistribution, PalletCorporateActionsTargetIdentities, PalletElectionProviderMultiPhaseElectionCompute, PalletElectionProviderMultiPhasePhase, PalletImOnlineSr25519AppSr25519Public, PalletPipsProposalData, PalletPipsProposalState, PalletPipsProposer, PalletPipsSnapshottedPip, PalletStakingExposure, PalletStakingForcing, PalletStakingSlashingSwitch, PalletStakingValidatorPrefs, PalletStoFundraiser, PolymeshCommonUtilitiesCheckpointScheduleCheckpoints, PolymeshContractsApi, PolymeshContractsChainExtensionExtrinsicId, PolymeshContractsChainVersion, PolymeshPrimitivesAgentAgentGroup, PolymeshPrimitivesAssetAssetId, PolymeshPrimitivesAssetAssetType, PolymeshPrimitivesAssetIdentifier, PolymeshPrimitivesAssetMetadataAssetMetadataKey, PolymeshPrimitivesAssetMetadataAssetMetadataSpec, PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail, PolymeshPrimitivesAuthorizationAuthorizationData, PolymeshPrimitivesComplianceManagerComplianceRequirement, PolymeshPrimitivesConditionTrustedIssuer, PolymeshPrimitivesDocument, PolymeshPrimitivesEventOnly, PolymeshPrimitivesIdentityClaim, PolymeshPrimitivesIdentityId, PolymeshPrimitivesIdentityIdPortfolioId, PolymeshPrimitivesMaybeBlock, PolymeshPrimitivesMemo, PolymeshPrimitivesNftNfTs, PolymeshPrimitivesPortfolioFundDescription, PolymeshPrimitivesPortfolioPortfolioUpdateReason, PolymeshPrimitivesPosRatio, PolymeshPrimitivesSecondaryKey, PolymeshPrimitivesSecondaryKeyExtrinsicPermissions, PolymeshPrimitivesSecondaryKeyPermissions, PolymeshPrimitivesSettlementLeg, PolymeshPrimitivesSettlementReceiptMetadata, PolymeshPrimitivesSettlementSettlementType, PolymeshPrimitivesSettlementVenueType, PolymeshPrimitivesStatisticsStatType, PolymeshPrimitivesStatisticsStatUpdate, PolymeshPrimitivesTicker, PolymeshPrimitivesTransferComplianceTransferCondition, PolymeshPrimitivesTransferComplianceTransferConditionExemptKey, SpConsensusGrandpaAppPublic, SpNposElectionsElectionScore, SpRuntimeDispatchError } from "./types-lookup.ts";
7
- export declare type __AugmentedEvent<ApiType extends ApiTypes> = AugmentedEvent<ApiType>;
8
- declare module '@polkadot/api-base/types/events' {
9
- interface AugmentedEvents<ApiType extends ApiTypes> {
10
- asset: {
11
- /**
12
- * An asset has been added to the list of pre aprroved receivement (valid for all identities).
13
- * Parameters: [`AssetId`] of the pre approved asset.
14
- **/
15
- AssetAffirmationExemption: AugmentedEvent<ApiType, [PolymeshPrimitivesAssetAssetId]>;
16
- /**
17
- * Emitted when Tokens were issued, redeemed or transferred.
18
- * Contains the [`IdentityId`] of the receiver/issuer/redeemer, the [`AssetId`] for the token, the balance that was issued/transferred/redeemed,
19
- * the [`PortfolioId`] of the source, the [`PortfolioId`] of the destination and the [`PortfolioUpdateReason`].
20
- **/
21
- AssetBalanceUpdated: AugmentedEvent<ApiType, [
22
- PolymeshPrimitivesIdentityId,
23
- PolymeshPrimitivesAssetAssetId,
24
- u128,
25
- Option<PolymeshPrimitivesIdentityIdPortfolioId>,
26
- Option<PolymeshPrimitivesIdentityIdPortfolioId>,
27
- PolymeshPrimitivesPortfolioPortfolioUpdateReason
28
- ]>;
29
- /**
30
- * Event for creation of the asset.
31
- * caller DID/ owner DID, AssetId, divisibility, asset type, beneficiary DID, asset name, identifiers, funding round
32
- **/
33
- AssetCreated: AugmentedEvent<ApiType, [
34
- PolymeshPrimitivesIdentityId,
35
- PolymeshPrimitivesAssetAssetId,
36
- bool,
37
- PolymeshPrimitivesAssetAssetType,
38
- PolymeshPrimitivesIdentityId,
39
- Bytes,
40
- Vec<PolymeshPrimitivesAssetIdentifier>,
41
- Option<Bytes>
42
- ]>;
43
- /**
44
- * An event emitted when an asset is frozen.
45
- * Parameter: caller DID, AssetId.
46
- **/
47
- AssetFrozen: AugmentedEvent<ApiType, [
48
- PolymeshPrimitivesIdentityId,
49
- PolymeshPrimitivesAssetAssetId
50
- ]>;
51
- /**
52
- * An identity has added mandatory mediators to an asset.
53
- * Parameters: [`IdentityId`] of caller, [`AssetId`] of the asset, the identity of all mediators added.
54
- **/
55
- AssetMediatorsAdded: AugmentedEvent<ApiType, [
56
- PolymeshPrimitivesIdentityId,
57
- PolymeshPrimitivesAssetAssetId,
58
- BTreeSet<PolymeshPrimitivesIdentityId>
59
- ]>;
60
- /**
61
- * An identity has removed mediators from an asset.
62
- * Parameters: [`IdentityId`] of caller, [`AssetId`] of the asset, the identity of all mediators removed.
63
- **/
64
- AssetMediatorsRemoved: AugmentedEvent<ApiType, [
65
- PolymeshPrimitivesIdentityId,
66
- PolymeshPrimitivesAssetAssetId,
67
- BTreeSet<PolymeshPrimitivesIdentityId>
68
- ]>;
69
- /**
70
- * Emit when token ownership is transferred.
71
- * caller DID / token ownership transferred to DID, AssetId, from
72
- **/
73
- AssetOwnershipTransferred: AugmentedEvent<ApiType, [
74
- PolymeshPrimitivesIdentityId,
75
- PolymeshPrimitivesAssetAssetId,
76
- PolymeshPrimitivesIdentityId
77
- ]>;
78
- /**
79
- * An event emitted when a token is renamed.
80
- * Parameters: caller DID, AssetId, new token name.
81
- **/
82
- AssetRenamed: AugmentedEvent<ApiType, [
83
- PolymeshPrimitivesIdentityId,
84
- PolymeshPrimitivesAssetAssetId,
85
- Bytes
86
- ]>;
87
- /**
88
- * An event emitted when the type of an asset changed.
89
- * Parameters: caller DID, AssetId, new token type.
90
- **/
91
- AssetTypeChanged: AugmentedEvent<ApiType, [
92
- PolymeshPrimitivesIdentityId,
93
- PolymeshPrimitivesAssetAssetId,
94
- PolymeshPrimitivesAssetAssetType
95
- ]>;
96
- /**
97
- * An event emitted when an asset is unfrozen.
98
- * Parameter: caller DID, AssetId.
99
- **/
100
- AssetUnfrozen: AugmentedEvent<ApiType, [
101
- PolymeshPrimitivesIdentityId,
102
- PolymeshPrimitivesAssetAssetId
103
- ]>;
104
- /**
105
- * Event for when a forced transfer takes place.
106
- * caller DID/ controller DID, ExtensionRemoved, Portfolio of token holder, value.
107
- **/
108
- ControllerTransfer: AugmentedEvent<ApiType, [
109
- PolymeshPrimitivesIdentityId,
110
- PolymeshPrimitivesAssetAssetId,
111
- PolymeshPrimitivesIdentityIdPortfolioId,
112
- u128
113
- ]>;
114
- /**
115
- * A custom asset type already exists on-chain.
116
- * caller DID, the ID of the custom asset type, the string contents registered.
117
- **/
118
- CustomAssetTypeExists: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, Bytes]>;
119
- /**
120
- * A custom asset type was registered on-chain.
121
- * caller DID, the ID of the custom asset type, the string contents registered.
122
- **/
123
- CustomAssetTypeRegistered: AugmentedEvent<ApiType, [
124
- PolymeshPrimitivesIdentityId,
125
- u32,
126
- Bytes
127
- ]>;
128
- /**
129
- * Event for change in divisibility.
130
- * caller DID, AssetId, divisibility
131
- **/
132
- DivisibilityChanged: AugmentedEvent<ApiType, [
133
- PolymeshPrimitivesIdentityId,
134
- PolymeshPrimitivesAssetAssetId,
135
- bool
136
- ]>;
137
- /**
138
- * A new document attached to an asset
139
- **/
140
- DocumentAdded: AugmentedEvent<ApiType, [
141
- PolymeshPrimitivesIdentityId,
142
- PolymeshPrimitivesAssetAssetId,
143
- u32,
144
- PolymeshPrimitivesDocument
145
- ]>;
146
- /**
147
- * A document removed from an asset
148
- **/
149
- DocumentRemoved: AugmentedEvent<ApiType, [
150
- PolymeshPrimitivesIdentityId,
151
- PolymeshPrimitivesAssetAssetId,
152
- u32
153
- ]>;
154
- /**
155
- * An event carrying the name of the current funding round of an asset.
156
- * Parameters: caller DID, AssetId, funding round name.
157
- **/
158
- FundingRoundSet: AugmentedEvent<ApiType, [
159
- PolymeshPrimitivesIdentityId,
160
- PolymeshPrimitivesAssetAssetId,
161
- Bytes
162
- ]>;
163
- /**
164
- * Asset Global Metadata Spec has been Updated.
165
- * Parameters: [`AssetMetadataName`] of the metadata, [`AssetMetadataSpec`] of the metadata.
166
- **/
167
- GlobalMetadataSpecUpdated: AugmentedEvent<ApiType, [
168
- Bytes,
169
- PolymeshPrimitivesAssetMetadataAssetMetadataSpec
170
- ]>;
171
- /**
172
- * Event emitted when any token identifiers are updated.
173
- * caller DID, AssetId, a vector of (identifier type, identifier value)
174
- **/
175
- IdentifiersUpdated: AugmentedEvent<ApiType, [
176
- PolymeshPrimitivesIdentityId,
177
- PolymeshPrimitivesAssetAssetId,
178
- Vec<PolymeshPrimitivesAssetIdentifier>
179
- ]>;
180
- /**
181
- * An event emitted when a local metadata key has been removed.
182
- * Parameters: caller AssetId, Local type name
183
- **/
184
- LocalMetadataKeyDeleted: AugmentedEvent<ApiType, [
185
- PolymeshPrimitivesIdentityId,
186
- PolymeshPrimitivesAssetAssetId,
187
- u64
188
- ]>;
189
- /**
190
- * An event emitted when a local metadata value has been removed.
191
- * Parameters: caller AssetId, Local type name
192
- **/
193
- MetadataValueDeleted: AugmentedEvent<ApiType, [
194
- PolymeshPrimitivesIdentityId,
195
- PolymeshPrimitivesAssetAssetId,
196
- PolymeshPrimitivesAssetMetadataAssetMetadataKey
197
- ]>;
198
- /**
199
- * An identity has added an asset to the list of pre aprroved receivement.
200
- * Parameters: [`IdentityId`] of caller, [`AssetId`] of the pre approved asset.
201
- **/
202
- PreApprovedAsset: AugmentedEvent<ApiType, [
203
- PolymeshPrimitivesIdentityId,
204
- PolymeshPrimitivesAssetAssetId
205
- ]>;
206
- /**
207
- * Register asset metadata global type.
208
- * (Global type name, Global type key, type specs)
209
- **/
210
- RegisterAssetMetadataGlobalType: AugmentedEvent<ApiType, [
211
- Bytes,
212
- u64,
213
- PolymeshPrimitivesAssetMetadataAssetMetadataSpec
214
- ]>;
215
- /**
216
- * Register asset metadata local type.
217
- * (Caller DID, AssetId, Local type name, Local type key, type specs)
218
- **/
219
- RegisterAssetMetadataLocalType: AugmentedEvent<ApiType, [
220
- PolymeshPrimitivesIdentityId,
221
- PolymeshPrimitivesAssetAssetId,
222
- Bytes,
223
- u64,
224
- PolymeshPrimitivesAssetMetadataAssetMetadataSpec
225
- ]>;
226
- /**
227
- * An asset has been removed from the list of pre aprroved receivement (valid for all identities).
228
- * Parameters: [`AssetId`] of the asset.
229
- **/
230
- RemoveAssetAffirmationExemption: AugmentedEvent<ApiType, [PolymeshPrimitivesAssetAssetId]>;
231
- /**
232
- * An identity has removed an asset to the list of pre aprroved receivement.
233
- * Parameters: [`IdentityId`] of caller, [`AssetId`] of the asset.
234
- **/
235
- RemovePreApprovedAsset: AugmentedEvent<ApiType, [
236
- PolymeshPrimitivesIdentityId,
237
- PolymeshPrimitivesAssetAssetId
238
- ]>;
239
- /**
240
- * Set asset metadata value.
241
- * (Caller DID, AssetId, metadata value, optional value details)
242
- **/
243
- SetAssetMetadataValue: AugmentedEvent<ApiType, [
244
- PolymeshPrimitivesIdentityId,
245
- PolymeshPrimitivesAssetAssetId,
246
- Bytes,
247
- Option<PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail>
248
- ]>;
249
- /**
250
- * Set asset metadata value details (expire, lock status).
251
- * (Caller DID, AssetId, value details)
252
- **/
253
- SetAssetMetadataValueDetails: AugmentedEvent<ApiType, [
254
- PolymeshPrimitivesIdentityId,
255
- PolymeshPrimitivesAssetAssetId,
256
- PolymeshPrimitivesAssetMetadataAssetMetadataValueDetail
257
- ]>;
258
- /**
259
- * An identity has linked a ticker to an asset.
260
- * Parameters: [`IdentityId`] of caller, [`Ticker`] of the asset, the asset identifier [`AssetId`].
261
- **/
262
- TickerLinkedToAsset: AugmentedEvent<ApiType, [
263
- PolymeshPrimitivesIdentityId,
264
- PolymeshPrimitivesTicker,
265
- PolymeshPrimitivesAssetAssetId
266
- ]>;
267
- /**
268
- * Emit when ticker is registered.
269
- * caller DID / ticker owner did, ticker, ticker owner, expiry
270
- **/
271
- TickerRegistered: AugmentedEvent<ApiType, [
272
- PolymeshPrimitivesIdentityId,
273
- PolymeshPrimitivesTicker,
274
- Option<u64>
275
- ]>;
276
- /**
277
- * Emit when ticker is transferred.
278
- * caller DID / ticker transferred to DID, ticker, from
279
- **/
280
- TickerTransferred: AugmentedEvent<ApiType, [
281
- PolymeshPrimitivesIdentityId,
282
- PolymeshPrimitivesTicker,
283
- PolymeshPrimitivesIdentityId
284
- ]>;
285
- /**
286
- * An identity has unlinked a ticker from an asset.
287
- * Parameters: [`IdentityId`] of caller, unlinked [`Ticker`], the asset identifier [`AssetId`].
288
- **/
289
- TickerUnlinkedFromAsset: AugmentedEvent<ApiType, [
290
- PolymeshPrimitivesIdentityId,
291
- PolymeshPrimitivesTicker,
292
- PolymeshPrimitivesAssetAssetId
293
- ]>;
294
- };
295
- balances: {
296
- /**
297
- * The account and the amount of unlocked balance of that account that was burned.
298
- * (caller Id, caller account, amount)
299
- **/
300
- AccountBalanceBurned: AugmentedEvent<ApiType, [
301
- PolymeshPrimitivesIdentityId,
302
- AccountId32,
303
- u128
304
- ]>;
305
- /**
306
- * A balance was set by root (did, who, free, reserved).
307
- **/
308
- BalanceSet: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, AccountId32, u128, u128]>;
309
- /**
310
- * An account was created with some free balance. \[did, account, free_balance]
311
- **/
312
- Endowed: AugmentedEvent<ApiType, [Option<PolymeshPrimitivesIdentityId>, AccountId32, u128]>;
313
- /**
314
- * Some balance was reserved (moved from free to reserved). \[who, value]
315
- **/
316
- Reserved: AugmentedEvent<ApiType, [AccountId32, u128]>;
317
- /**
318
- * Some balance was moved from the reserve of the first account to the second account.
319
- * Final argument indicates the destination balance type.
320
- * \[from, to, balance, destination_status]
321
- **/
322
- ReserveRepatriated: AugmentedEvent<ApiType, [
323
- AccountId32,
324
- AccountId32,
325
- u128,
326
- FrameSupportTokensMiscBalanceStatus
327
- ]>;
328
- /**
329
- * Transfer succeeded (from_did, from, to_did, to, value, memo).
330
- **/
331
- Transfer: AugmentedEvent<ApiType, [
332
- Option<PolymeshPrimitivesIdentityId>,
333
- AccountId32,
334
- Option<PolymeshPrimitivesIdentityId>,
335
- AccountId32,
336
- u128,
337
- Option<PolymeshPrimitivesMemo>
338
- ]>;
339
- /**
340
- * Some balance was unreserved (moved from reserved to free). \[who, value]
341
- **/
342
- Unreserved: AugmentedEvent<ApiType, [AccountId32, u128]>;
343
- };
344
- base: {
345
- /**
346
- * An unexpected error happened that should be investigated.
347
- * TODO: Unused, remove it.
348
- **/
349
- UnexpectedError: AugmentedEvent<ApiType, [Option<SpRuntimeDispatchError>]>;
350
- };
351
- capitalDistribution: {
352
- /**
353
- * A token holder's benefit of a capital distribution for the given `CAId` was claimed.
354
- *
355
- * (Caller DID, Holder/Claimant DID, CA's ID, updated distribution details, DID's benefit, DID's tax %)
356
- **/
357
- BenefitClaimed: AugmentedEvent<ApiType, [
358
- PolymeshPrimitivesEventOnly,
359
- PolymeshPrimitivesEventOnly,
360
- PalletCorporateActionsCaId,
361
- PalletCorporateActionsDistribution,
362
- u128,
363
- Permill
364
- ]>;
365
- /**
366
- * A capital distribution, with details included,
367
- * was created by the DID (permissioned agent) for the CA identified by `CAId`.
368
- *
369
- * (Agent DID, CA's ID, distribution details)
370
- **/
371
- Created: AugmentedEvent<ApiType, [
372
- PolymeshPrimitivesEventOnly,
373
- PalletCorporateActionsCaId,
374
- PalletCorporateActionsDistribution
375
- ]>;
376
- /**
377
- * Stats from `push_benefit` was emitted.
378
- *
379
- * (Agent DID, CA's ID, max requested DIDs, processed DIDs, failed DIDs)
380
- **/
381
- Reclaimed: AugmentedEvent<ApiType, [
382
- PolymeshPrimitivesEventOnly,
383
- PalletCorporateActionsCaId,
384
- u128
385
- ]>;
386
- /**
387
- * A capital distribution was removed.
388
- *
389
- * (Agent DID, CA's ID)
390
- **/
391
- Removed: AugmentedEvent<ApiType, [PolymeshPrimitivesEventOnly, PalletCorporateActionsCaId]>;
392
- };
393
- cddServiceProviders: {
394
- /**
395
- * The limit of how many active members there can be concurrently was changed.
396
- **/
397
- ActiveLimitChanged: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, u32]>;
398
- /**
399
- * Phantom member, never used. This can be removed now. FRAME v2 doesn't require this.
400
- * TODO: remove.
401
- **/
402
- Dummy: AugmentedEvent<ApiType, []>;
403
- /**
404
- * The given member was added; see the transaction for who.
405
- * caller DID, New member DID.
406
- **/
407
- MemberAdded: AugmentedEvent<ApiType, [
408
- PolymeshPrimitivesIdentityId,
409
- PolymeshPrimitivesIdentityId
410
- ]>;
411
- /**
412
- * The given member was removed; see the transaction for who.
413
- * caller DID, member DID that get removed.
414
- **/
415
- MemberRemoved: AugmentedEvent<ApiType, [
416
- PolymeshPrimitivesIdentityId,
417
- PolymeshPrimitivesIdentityId
418
- ]>;
419
- /**
420
- * The given member has been revoked at specific time-stamp.
421
- * caller DID, member DID that get revoked.
422
- **/
423
- MemberRevoked: AugmentedEvent<ApiType, [
424
- PolymeshPrimitivesIdentityId,
425
- PolymeshPrimitivesIdentityId
426
- ]>;
427
- /**
428
- * The membership was reset; see the transaction for who the new set is.
429
- * caller DID, List of new members.
430
- **/
431
- MembersReset: AugmentedEvent<ApiType, [
432
- PolymeshPrimitivesIdentityId,
433
- Vec<PolymeshPrimitivesIdentityId>
434
- ]>;
435
- /**
436
- * Two members were swapped; see the transaction for who.
437
- * caller DID, Removed DID, New add DID.
438
- **/
439
- MembersSwapped: AugmentedEvent<ApiType, [
440
- PolymeshPrimitivesIdentityId,
441
- PolymeshPrimitivesIdentityId,
442
- PolymeshPrimitivesIdentityId
443
- ]>;
444
- };
445
- checkpoint: {
446
- /**
447
- * A checkpoint was created.
448
- *
449
- * (caller DID, AssetId, checkpoint ID, total supply, checkpoint timestamp)
450
- **/
451
- CheckpointCreated: AugmentedEvent<ApiType, [
452
- Option<PolymeshPrimitivesIdentityId>,
453
- PolymeshPrimitivesAssetAssetId,
454
- u64,
455
- u128,
456
- u64
457
- ]>;
458
- /**
459
- * The maximum complexity for an arbitrary asset's schedule set was changed.
460
- *
461
- * (GC DID, the new maximum)
462
- **/
463
- MaximumSchedulesComplexityChanged: AugmentedEvent<ApiType, [
464
- PolymeshPrimitivesIdentityId,
465
- u64
466
- ]>;
467
- /**
468
- * A checkpoint schedule was created.
469
- *
470
- * (caller DID, AssetId, schedule id, schedule)
471
- **/
472
- ScheduleCreated: AugmentedEvent<ApiType, [
473
- PolymeshPrimitivesIdentityId,
474
- PolymeshPrimitivesAssetAssetId,
475
- u64,
476
- PolymeshCommonUtilitiesCheckpointScheduleCheckpoints
477
- ]>;
478
- /**
479
- * A checkpoint schedule was removed.
480
- *
481
- * (caller DID, AssetId, schedule id, schedule)
482
- **/
483
- ScheduleRemoved: AugmentedEvent<ApiType, [
484
- PolymeshPrimitivesIdentityId,
485
- PolymeshPrimitivesAssetAssetId,
486
- u64,
487
- PolymeshCommonUtilitiesCheckpointScheduleCheckpoints
488
- ]>;
489
- };
490
- committeeMembership: {
491
- /**
492
- * The limit of how many active members there can be concurrently was changed.
493
- **/
494
- ActiveLimitChanged: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, u32]>;
495
- /**
496
- * Phantom member, never used. This can be removed now. FRAME v2 doesn't require this.
497
- * TODO: remove.
498
- **/
499
- Dummy: AugmentedEvent<ApiType, []>;
500
- /**
501
- * The given member was added; see the transaction for who.
502
- * caller DID, New member DID.
503
- **/
504
- MemberAdded: AugmentedEvent<ApiType, [
505
- PolymeshPrimitivesIdentityId,
506
- PolymeshPrimitivesIdentityId
507
- ]>;
508
- /**
509
- * The given member was removed; see the transaction for who.
510
- * caller DID, member DID that get removed.
511
- **/
512
- MemberRemoved: AugmentedEvent<ApiType, [
513
- PolymeshPrimitivesIdentityId,
514
- PolymeshPrimitivesIdentityId
515
- ]>;
516
- /**
517
- * The given member has been revoked at specific time-stamp.
518
- * caller DID, member DID that get revoked.
519
- **/
520
- MemberRevoked: AugmentedEvent<ApiType, [
521
- PolymeshPrimitivesIdentityId,
522
- PolymeshPrimitivesIdentityId
523
- ]>;
524
- /**
525
- * The membership was reset; see the transaction for who the new set is.
526
- * caller DID, List of new members.
527
- **/
528
- MembersReset: AugmentedEvent<ApiType, [
529
- PolymeshPrimitivesIdentityId,
530
- Vec<PolymeshPrimitivesIdentityId>
531
- ]>;
532
- /**
533
- * Two members were swapped; see the transaction for who.
534
- * caller DID, Removed DID, New add DID.
535
- **/
536
- MembersSwapped: AugmentedEvent<ApiType, [
537
- PolymeshPrimitivesIdentityId,
538
- PolymeshPrimitivesIdentityId,
539
- PolymeshPrimitivesIdentityId
540
- ]>;
541
- };
542
- complianceManager: {
543
- /**
544
- * Emitted when an asset compliance for a given asset_id gets paused.
545
- * (caller DID, AssetId).
546
- **/
547
- AssetCompliancePaused: AugmentedEvent<ApiType, [
548
- PolymeshPrimitivesIdentityId,
549
- PolymeshPrimitivesAssetAssetId
550
- ]>;
551
- /**
552
- * Emitted when an asset compliance is replaced.
553
- * Parameters: caller DID, AssetId, new asset compliance.
554
- **/
555
- AssetComplianceReplaced: AugmentedEvent<ApiType, [
556
- PolymeshPrimitivesIdentityId,
557
- PolymeshPrimitivesAssetAssetId,
558
- Vec<PolymeshPrimitivesComplianceManagerComplianceRequirement>
559
- ]>;
560
- /**
561
- * Emitted when an asset compliance of a asset_id is reset.
562
- * (caller DID, AssetId).
563
- **/
564
- AssetComplianceReset: AugmentedEvent<ApiType, [
565
- PolymeshPrimitivesIdentityId,
566
- PolymeshPrimitivesAssetAssetId
567
- ]>;
568
- /**
569
- * Emitted when an asset compliance for a given asset_id gets resume.
570
- * (caller DID, AssetId).
571
- **/
572
- AssetComplianceResumed: AugmentedEvent<ApiType, [
573
- PolymeshPrimitivesIdentityId,
574
- PolymeshPrimitivesAssetAssetId
575
- ]>;
576
- /**
577
- * Emitted when compliance requirement get modified/change.
578
- * (caller DID, AssetId, ComplianceRequirement).
579
- **/
580
- ComplianceRequirementChanged: AugmentedEvent<ApiType, [
581
- PolymeshPrimitivesIdentityId,
582
- PolymeshPrimitivesAssetAssetId,
583
- PolymeshPrimitivesComplianceManagerComplianceRequirement
584
- ]>;
585
- /**
586
- * Emitted when new compliance requirement is created.
587
- * (caller DID, AssetId, ComplianceRequirement).
588
- **/
589
- ComplianceRequirementCreated: AugmentedEvent<ApiType, [
590
- PolymeshPrimitivesIdentityId,
591
- PolymeshPrimitivesAssetAssetId,
592
- PolymeshPrimitivesComplianceManagerComplianceRequirement
593
- ]>;
594
- /**
595
- * Emitted when a compliance requirement is removed.
596
- * (caller DID, AssetId, requirement_id).
597
- **/
598
- ComplianceRequirementRemoved: AugmentedEvent<ApiType, [
599
- PolymeshPrimitivesIdentityId,
600
- PolymeshPrimitivesAssetAssetId,
601
- u32
602
- ]>;
603
- /**
604
- * Emitted when default claim issuer list for a given asset_id gets added.
605
- * (caller DID, AssetId, Added TrustedIssuer).
606
- **/
607
- TrustedDefaultClaimIssuerAdded: AugmentedEvent<ApiType, [
608
- PolymeshPrimitivesIdentityId,
609
- PolymeshPrimitivesAssetAssetId,
610
- PolymeshPrimitivesConditionTrustedIssuer
611
- ]>;
612
- /**
613
- * Emitted when default claim issuer list for a given asset_id get removed.
614
- * (caller DID, AssetId, Removed TrustedIssuer).
615
- **/
616
- TrustedDefaultClaimIssuerRemoved: AugmentedEvent<ApiType, [
617
- PolymeshPrimitivesIdentityId,
618
- PolymeshPrimitivesAssetAssetId,
619
- PolymeshPrimitivesIdentityId
620
- ]>;
621
- };
622
- contracts: {
623
- /**
624
- * A contract was called either by a plain account or another contract.
625
- *
626
- * # Note
627
- *
628
- * Please keep in mind that like all events this is only emitted for successful
629
- * calls. This is because on failure all storage changes including events are
630
- * rolled back.
631
- **/
632
- Called: AugmentedEvent<ApiType, [
633
- caller: AccountId32,
634
- contract: AccountId32
635
- ], {
636
- caller: AccountId32;
637
- contract: AccountId32;
638
- }>;
639
- /**
640
- * A code with the specified hash was removed.
641
- **/
642
- CodeRemoved: AugmentedEvent<ApiType, [codeHash: H256], {
643
- codeHash: H256;
644
- }>;
645
- /**
646
- * Code with the specified hash has been stored.
647
- **/
648
- CodeStored: AugmentedEvent<ApiType, [codeHash: H256], {
649
- codeHash: H256;
650
- }>;
651
- /**
652
- * A contract's code was updated.
653
- **/
654
- ContractCodeUpdated: AugmentedEvent<ApiType, [
655
- contract: AccountId32,
656
- newCodeHash: H256,
657
- oldCodeHash: H256
658
- ], {
659
- contract: AccountId32;
660
- newCodeHash: H256;
661
- oldCodeHash: H256;
662
- }>;
663
- /**
664
- * A custom event emitted by the contract.
665
- **/
666
- ContractEmitted: AugmentedEvent<ApiType, [
667
- contract: AccountId32,
668
- data: Bytes
669
- ], {
670
- contract: AccountId32;
671
- data: Bytes;
672
- }>;
673
- /**
674
- * A contract delegate called a code hash.
675
- *
676
- * # Note
677
- *
678
- * Please keep in mind that like all events this is only emitted for successful
679
- * calls. This is because on failure all storage changes including events are
680
- * rolled back.
681
- **/
682
- DelegateCalled: AugmentedEvent<ApiType, [
683
- contract: AccountId32,
684
- codeHash: H256
685
- ], {
686
- contract: AccountId32;
687
- codeHash: H256;
688
- }>;
689
- /**
690
- * Contract deployed by address at the specified address.
691
- **/
692
- Instantiated: AugmentedEvent<ApiType, [
693
- deployer: AccountId32,
694
- contract: AccountId32
695
- ], {
696
- deployer: AccountId32;
697
- contract: AccountId32;
698
- }>;
699
- /**
700
- * Contract has been removed.
701
- *
702
- * # Note
703
- *
704
- * The only way for a contract to be removed and emitting this event is by calling
705
- * `seal_terminate`.
706
- **/
707
- Terminated: AugmentedEvent<ApiType, [
708
- contract: AccountId32,
709
- beneficiary: AccountId32
710
- ], {
711
- contract: AccountId32;
712
- beneficiary: AccountId32;
713
- }>;
714
- };
715
- corporateAction: {
716
- /**
717
- * A CA was initiated.
718
- * (Agent DID, CA id, the CA, the CA details)
719
- **/
720
- CAInitiated: AugmentedEvent<ApiType, [
721
- PolymeshPrimitivesEventOnly,
722
- PalletCorporateActionsCaId,
723
- PalletCorporateActionsCorporateAction,
724
- Bytes
725
- ]>;
726
- /**
727
- * A CA was linked to a set of docs.
728
- * (Agent DID, CA Id, List of doc identifiers)
729
- **/
730
- CALinkedToDoc: AugmentedEvent<ApiType, [
731
- PolymeshPrimitivesIdentityId,
732
- PalletCorporateActionsCaId,
733
- Vec<u32>
734
- ]>;
735
- /**
736
- * A CA was removed.
737
- * (Agent DID, CA Id)
738
- **/
739
- CARemoved: AugmentedEvent<ApiType, [PolymeshPrimitivesEventOnly, PalletCorporateActionsCaId]>;
740
- /**
741
- * The set of default `TargetIdentities` for the asset changed.
742
- * (Agent DID, AssetId, New TargetIdentities)
743
- **/
744
- DefaultTargetIdentitiesChanged: AugmentedEvent<ApiType, [
745
- PolymeshPrimitivesIdentityId,
746
- PolymeshPrimitivesAssetAssetId,
747
- PalletCorporateActionsTargetIdentities
748
- ]>;
749
- /**
750
- * The default withholding tax for the asset changed.
751
- * (Agent DID, AssetId, New Tax).
752
- **/
753
- DefaultWithholdingTaxChanged: AugmentedEvent<ApiType, [
754
- PolymeshPrimitivesIdentityId,
755
- PolymeshPrimitivesAssetAssetId,
756
- Permill
757
- ]>;
758
- /**
759
- * The withholding tax specific to a DID for the asset changed.
760
- * (Agent DID, AssetId, Taxed DID, New Tax).
761
- **/
762
- DidWithholdingTaxChanged: AugmentedEvent<ApiType, [
763
- PolymeshPrimitivesIdentityId,
764
- PolymeshPrimitivesAssetAssetId,
765
- PolymeshPrimitivesIdentityId,
766
- Option<Permill>
767
- ]>;
768
- /**
769
- * The maximum length of `details` in bytes was changed.
770
- * (GC DID, new length)
771
- **/
772
- MaxDetailsLengthChanged: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32]>;
773
- /**
774
- * A CA's record date changed.
775
- **/
776
- RecordDateChanged: AugmentedEvent<ApiType, [
777
- PolymeshPrimitivesEventOnly,
778
- PalletCorporateActionsCaId,
779
- PalletCorporateActionsCorporateAction
780
- ]>;
781
- };
782
- corporateBallot: {
783
- /**
784
- * A corporate ballot was created.
785
- *
786
- * (Agent DID, CA's ID, Voting start/end, Ballot metadata, RCV enabled?)
787
- **/
788
- Created: AugmentedEvent<ApiType, [
789
- PolymeshPrimitivesIdentityId,
790
- PalletCorporateActionsCaId,
791
- PalletCorporateActionsBallotBallotTimeRange,
792
- PalletCorporateActionsBallotBallotMeta,
793
- bool
794
- ]>;
795
- /**
796
- * A corporate ballot changed its metadata.
797
- *
798
- * (Agent DID, CA's ID, New metadata)
799
- **/
800
- MetaChanged: AugmentedEvent<ApiType, [
801
- PolymeshPrimitivesIdentityId,
802
- PalletCorporateActionsCaId,
803
- PalletCorporateActionsBallotBallotMeta
804
- ]>;
805
- /**
806
- * A corporate ballot changed its start/end date range.
807
- *
808
- * (Agent DID, CA's ID, Voting start/end)
809
- **/
810
- RangeChanged: AugmentedEvent<ApiType, [
811
- PolymeshPrimitivesIdentityId,
812
- PalletCorporateActionsCaId,
813
- PalletCorporateActionsBallotBallotTimeRange
814
- ]>;
815
- /**
816
- * A corporate ballot changed its RCV support.
817
- *
818
- * (Agent DID, CA's ID, New support)
819
- **/
820
- RCVChanged: AugmentedEvent<ApiType, [
821
- PolymeshPrimitivesIdentityId,
822
- PalletCorporateActionsCaId,
823
- bool
824
- ]>;
825
- /**
826
- * A corporate ballot was removed.
827
- *
828
- * (Agent DID, CA's ID)
829
- **/
830
- Removed: AugmentedEvent<ApiType, [PolymeshPrimitivesEventOnly, PalletCorporateActionsCaId]>;
831
- /**
832
- * A vote was cast in a corporate ballot.
833
- *
834
- * (voter DID, CAId, Votes)
835
- **/
836
- VoteCast: AugmentedEvent<ApiType, [
837
- PolymeshPrimitivesIdentityId,
838
- PalletCorporateActionsCaId,
839
- Vec<PalletCorporateActionsBallotBallotVote>
840
- ]>;
841
- };
842
- electionProviderMultiPhase: {
843
- /**
844
- * An election failed.
845
- *
846
- * Not much can be said about which computes failed in the process.
847
- **/
848
- ElectionFailed: AugmentedEvent<ApiType, []>;
849
- /**
850
- * The election has been finalized, with the given computation and score.
851
- **/
852
- ElectionFinalized: AugmentedEvent<ApiType, [
853
- compute: PalletElectionProviderMultiPhaseElectionCompute,
854
- score: SpNposElectionsElectionScore
855
- ], {
856
- compute: PalletElectionProviderMultiPhaseElectionCompute;
857
- score: SpNposElectionsElectionScore;
858
- }>;
859
- /**
860
- * There was a phase transition in a given round.
861
- **/
862
- PhaseTransitioned: AugmentedEvent<ApiType, [
863
- from: PalletElectionProviderMultiPhasePhase,
864
- to: PalletElectionProviderMultiPhasePhase,
865
- round: u32
866
- ], {
867
- from: PalletElectionProviderMultiPhasePhase;
868
- to: PalletElectionProviderMultiPhasePhase;
869
- round: u32;
870
- }>;
871
- /**
872
- * An account has been rewarded for their signed submission being finalized.
873
- **/
874
- Rewarded: AugmentedEvent<ApiType, [
875
- account: AccountId32,
876
- value: u128
877
- ], {
878
- account: AccountId32;
879
- value: u128;
880
- }>;
881
- /**
882
- * An account has been slashed for submitting an invalid signed submission.
883
- **/
884
- Slashed: AugmentedEvent<ApiType, [
885
- account: AccountId32,
886
- value: u128
887
- ], {
888
- account: AccountId32;
889
- value: u128;
890
- }>;
891
- /**
892
- * A solution was stored with the given compute.
893
- *
894
- * The `origin` indicates the origin of the solution. If `origin` is `Some(AccountId)`,
895
- * the stored solution was submited in the signed phase by a miner with the `AccountId`.
896
- * Otherwise, the solution was stored either during the unsigned phase or by
897
- * `T::ForceOrigin`. The `bool` is `true` when a previous solution was ejected to make
898
- * room for this one.
899
- **/
900
- SolutionStored: AugmentedEvent<ApiType, [
901
- compute: PalletElectionProviderMultiPhaseElectionCompute,
902
- origin: Option<AccountId32>,
903
- prevEjected: bool
904
- ], {
905
- compute: PalletElectionProviderMultiPhaseElectionCompute;
906
- origin: Option<AccountId32>;
907
- prevEjected: bool;
908
- }>;
909
- };
910
- externalAgents: {
911
- /**
912
- * An agent was added.
913
- *
914
- * (Caller/Agent DID, Agent's AssetId, Agent's group)
915
- **/
916
- AgentAdded: AugmentedEvent<ApiType, [
917
- PolymeshPrimitivesEventOnly,
918
- PolymeshPrimitivesAssetAssetId,
919
- PolymeshPrimitivesAgentAgentGroup
920
- ]>;
921
- /**
922
- * An agent was removed.
923
- *
924
- * (Caller DID, Agent's AssetId, Agent's DID)
925
- **/
926
- AgentRemoved: AugmentedEvent<ApiType, [
927
- PolymeshPrimitivesEventOnly,
928
- PolymeshPrimitivesAssetAssetId,
929
- PolymeshPrimitivesIdentityId
930
- ]>;
931
- /**
932
- * An agent's group was changed.
933
- *
934
- * (Caller DID, Agent's AssetId, Agent's DID, The new group of the agent)
935
- **/
936
- GroupChanged: AugmentedEvent<ApiType, [
937
- PolymeshPrimitivesEventOnly,
938
- PolymeshPrimitivesAssetAssetId,
939
- PolymeshPrimitivesIdentityId,
940
- PolymeshPrimitivesAgentAgentGroup
941
- ]>;
942
- /**
943
- * An Agent Group was created.
944
- *
945
- * (Caller DID, AG's AssetId, AG's ID, AG's permissions)
946
- **/
947
- GroupCreated: AugmentedEvent<ApiType, [
948
- PolymeshPrimitivesEventOnly,
949
- PolymeshPrimitivesAssetAssetId,
950
- u32,
951
- PolymeshPrimitivesSecondaryKeyExtrinsicPermissions
952
- ]>;
953
- /**
954
- * An Agent Group's permissions was updated.
955
- *
956
- * (Caller DID, AG's AssetId, AG's ID, AG's new permissions)
957
- **/
958
- GroupPermissionsUpdated: AugmentedEvent<ApiType, [
959
- PolymeshPrimitivesEventOnly,
960
- PolymeshPrimitivesAssetAssetId,
961
- u32,
962
- PolymeshPrimitivesSecondaryKeyExtrinsicPermissions
963
- ]>;
964
- };
965
- grandpa: {
966
- /**
967
- * New authority set has been applied.
968
- **/
969
- NewAuthorities: AugmentedEvent<ApiType, [
970
- authoritySet: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>
971
- ], {
972
- authoritySet: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>;
973
- }>;
974
- /**
975
- * Current authority set has been paused.
976
- **/
977
- Paused: AugmentedEvent<ApiType, []>;
978
- /**
979
- * Current authority set has been resumed.
980
- **/
981
- Resumed: AugmentedEvent<ApiType, []>;
982
- };
983
- identity: {
984
- /**
985
- * Asset's identity registered.
986
- *
987
- * (Asset DID, ticker)
988
- **/
989
- AssetDidRegistered: AugmentedEvent<ApiType, [
990
- PolymeshPrimitivesIdentityId,
991
- PolymeshPrimitivesTicker
992
- ]>;
993
- /**
994
- * New authorization added.
995
- *
996
- * (authorised_by, target_did, target_key, auth_id, authorization_data, expiry)
997
- **/
998
- AuthorizationAdded: AugmentedEvent<ApiType, [
999
- PolymeshPrimitivesIdentityId,
1000
- Option<PolymeshPrimitivesIdentityId>,
1001
- Option<AccountId32>,
1002
- u64,
1003
- PolymeshPrimitivesAuthorizationAuthorizationData,
1004
- Option<u64>
1005
- ]>;
1006
- /**
1007
- * Authorization consumed.
1008
- *
1009
- * (authorized_identity, authorized_key, auth_id)
1010
- **/
1011
- AuthorizationConsumed: AugmentedEvent<ApiType, [
1012
- Option<PolymeshPrimitivesIdentityId>,
1013
- Option<AccountId32>,
1014
- u64
1015
- ]>;
1016
- /**
1017
- * Authorization rejected by the user who was authorized.
1018
- *
1019
- * (authorized_identity, authorized_key, auth_id)
1020
- **/
1021
- AuthorizationRejected: AugmentedEvent<ApiType, [
1022
- Option<PolymeshPrimitivesIdentityId>,
1023
- Option<AccountId32>,
1024
- u64
1025
- ]>;
1026
- /**
1027
- * Accepting Authorization retry limit reached.
1028
- *
1029
- * (authorized_identity, authorized_key, auth_id)
1030
- **/
1031
- AuthorizationRetryLimitReached: AugmentedEvent<ApiType, [
1032
- Option<PolymeshPrimitivesIdentityId>,
1033
- Option<AccountId32>,
1034
- u64
1035
- ]>;
1036
- /**
1037
- * Authorization revoked by the authorizer.
1038
- *
1039
- * (authorized_identity, authorized_key, auth_id)
1040
- **/
1041
- AuthorizationRevoked: AugmentedEvent<ApiType, [
1042
- Option<PolymeshPrimitivesIdentityId>,
1043
- Option<AccountId32>,
1044
- u64
1045
- ]>;
1046
- /**
1047
- * CDD claims generated by `IdentityId` (a CDD Provider) have been invalidated from
1048
- * `Moment`.
1049
- *
1050
- * (CDD provider DID, disable from date)
1051
- **/
1052
- CddClaimsInvalidated: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64]>;
1053
- /**
1054
- * CDD requirement for updating primary key changed.
1055
- *
1056
- * (new_requirement)
1057
- **/
1058
- CddRequirementForPrimaryKeyUpdated: AugmentedEvent<ApiType, [bool]>;
1059
- /**
1060
- * Child identity created.
1061
- *
1062
- * (Parent DID, Child DID, primary key)
1063
- **/
1064
- ChildDidCreated: AugmentedEvent<ApiType, [
1065
- PolymeshPrimitivesIdentityId,
1066
- PolymeshPrimitivesIdentityId,
1067
- AccountId32
1068
- ]>;
1069
- /**
1070
- * Child identity unlinked from parent identity.
1071
- *
1072
- * (Caller DID, Parent DID, Child DID)
1073
- **/
1074
- ChildDidUnlinked: AugmentedEvent<ApiType, [
1075
- PolymeshPrimitivesIdentityId,
1076
- PolymeshPrimitivesIdentityId,
1077
- PolymeshPrimitivesIdentityId
1078
- ]>;
1079
- /**
1080
- * Claim added to identity.
1081
- *
1082
- * (DID, claim)
1083
- **/
1084
- ClaimAdded: AugmentedEvent<ApiType, [
1085
- PolymeshPrimitivesIdentityId,
1086
- PolymeshPrimitivesIdentityClaim
1087
- ]>;
1088
- /**
1089
- * Claim revoked from identity.
1090
- *
1091
- * (DID, claim)
1092
- **/
1093
- ClaimRevoked: AugmentedEvent<ApiType, [
1094
- PolymeshPrimitivesIdentityId,
1095
- PolymeshPrimitivesIdentityClaim
1096
- ]>;
1097
- /**
1098
- * A new CustomClaimType was added.
1099
- *
1100
- * (DID, id, Type)
1101
- **/
1102
- CustomClaimTypeAdded: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, Bytes]>;
1103
- /**
1104
- * Identity created.
1105
- *
1106
- * (DID, primary key, secondary keys)
1107
- **/
1108
- DidCreated: AugmentedEvent<ApiType, [
1109
- PolymeshPrimitivesIdentityId,
1110
- AccountId32,
1111
- Vec<PolymeshPrimitivesSecondaryKey>
1112
- ]>;
1113
- /**
1114
- * Primary key of identity changed.
1115
- *
1116
- * (DID, old primary key account ID, new ID)
1117
- **/
1118
- PrimaryKeyUpdated: AugmentedEvent<ApiType, [
1119
- PolymeshPrimitivesIdentityId,
1120
- AccountId32,
1121
- AccountId32
1122
- ]>;
1123
- /**
1124
- * A secondary key left their identity.
1125
- *
1126
- * (DID, secondary key)
1127
- **/
1128
- SecondaryKeyLeftIdentity: AugmentedEvent<ApiType, [
1129
- PolymeshPrimitivesIdentityId,
1130
- AccountId32
1131
- ]>;
1132
- /**
1133
- * Secondary key permissions updated.
1134
- *
1135
- * (DID, updated secondary key, previous permissions, new permissions)
1136
- **/
1137
- SecondaryKeyPermissionsUpdated: AugmentedEvent<ApiType, [
1138
- PolymeshPrimitivesIdentityId,
1139
- AccountId32,
1140
- PolymeshPrimitivesSecondaryKeyPermissions,
1141
- PolymeshPrimitivesSecondaryKeyPermissions
1142
- ]>;
1143
- /**
1144
- * Secondary keys added to identity.
1145
- *
1146
- * (DID, new keys)
1147
- **/
1148
- SecondaryKeysAdded: AugmentedEvent<ApiType, [
1149
- PolymeshPrimitivesIdentityId,
1150
- Vec<PolymeshPrimitivesSecondaryKey>
1151
- ]>;
1152
- /**
1153
- * All Secondary keys of the identity ID are frozen.
1154
- *
1155
- * (DID)
1156
- **/
1157
- SecondaryKeysFrozen: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId]>;
1158
- /**
1159
- * Secondary keys removed from identity.
1160
- *
1161
- * (DID, the keys that got removed)
1162
- **/
1163
- SecondaryKeysRemoved: AugmentedEvent<ApiType, [
1164
- PolymeshPrimitivesIdentityId,
1165
- Vec<AccountId32>
1166
- ]>;
1167
- /**
1168
- * All Secondary keys of the identity ID are unfrozen.
1169
- *
1170
- * (DID)
1171
- **/
1172
- SecondaryKeysUnfrozen: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId]>;
1173
- };
1174
- imOnline: {
1175
- /**
1176
- * At the end of the session, no offence was committed.
1177
- **/
1178
- AllGood: AugmentedEvent<ApiType, []>;
1179
- /**
1180
- * A new heartbeat was received from `AuthorityId`.
1181
- **/
1182
- HeartbeatReceived: AugmentedEvent<ApiType, [
1183
- authorityId: PalletImOnlineSr25519AppSr25519Public
1184
- ], {
1185
- authorityId: PalletImOnlineSr25519AppSr25519Public;
1186
- }>;
1187
- /**
1188
- * At the end of the session, at least one validator was found to be offline.
1189
- **/
1190
- SomeOffline: AugmentedEvent<ApiType, [
1191
- offline: Vec<ITuple<[AccountId32, PalletStakingExposure]>>
1192
- ], {
1193
- offline: Vec<ITuple<[AccountId32, PalletStakingExposure]>>;
1194
- }>;
1195
- };
1196
- indices: {
1197
- /**
1198
- * A account index was assigned.
1199
- **/
1200
- IndexAssigned: AugmentedEvent<ApiType, [
1201
- who: AccountId32,
1202
- index: u32
1203
- ], {
1204
- who: AccountId32;
1205
- index: u32;
1206
- }>;
1207
- /**
1208
- * A account index has been freed up (unassigned).
1209
- **/
1210
- IndexFreed: AugmentedEvent<ApiType, [index: u32], {
1211
- index: u32;
1212
- }>;
1213
- /**
1214
- * A account index has been frozen to its current account ID.
1215
- **/
1216
- IndexFrozen: AugmentedEvent<ApiType, [
1217
- index: u32,
1218
- who: AccountId32
1219
- ], {
1220
- index: u32;
1221
- who: AccountId32;
1222
- }>;
1223
- };
1224
- multiSig: {
1225
- /**
1226
- * A Multisig has added an admin DID.
1227
- **/
1228
- MultiSigAddedAdmin: AugmentedEvent<ApiType, [
1229
- callerDid: PolymeshPrimitivesIdentityId,
1230
- multisig: AccountId32,
1231
- adminDid: PolymeshPrimitivesIdentityId
1232
- ], {
1233
- callerDid: PolymeshPrimitivesIdentityId;
1234
- multisig: AccountId32;
1235
- adminDid: PolymeshPrimitivesIdentityId;
1236
- }>;
1237
- /**
1238
- * A Multisig has been created.
1239
- **/
1240
- MultiSigCreated: AugmentedEvent<ApiType, [
1241
- callerDid: PolymeshPrimitivesIdentityId,
1242
- multisig: AccountId32,
1243
- caller: AccountId32,
1244
- signers: Vec<AccountId32>,
1245
- sigsRequired: u64
1246
- ], {
1247
- callerDid: PolymeshPrimitivesIdentityId;
1248
- multisig: AccountId32;
1249
- caller: AccountId32;
1250
- signers: Vec<AccountId32>;
1251
- sigsRequired: u64;
1252
- }>;
1253
- /**
1254
- * A Multisig has removed it's admin DID.
1255
- **/
1256
- MultiSigRemovedAdmin: AugmentedEvent<ApiType, [
1257
- callerDid: PolymeshPrimitivesIdentityId,
1258
- multisig: AccountId32,
1259
- adminDid: PolymeshPrimitivesIdentityId
1260
- ], {
1261
- callerDid: PolymeshPrimitivesIdentityId;
1262
- multisig: AccountId32;
1263
- adminDid: PolymeshPrimitivesIdentityId;
1264
- }>;
1265
- /**
1266
- * A Multisig has removed it's paying DID.
1267
- **/
1268
- MultiSigRemovedPayingDid: AugmentedEvent<ApiType, [
1269
- callerDid: PolymeshPrimitivesIdentityId,
1270
- multisig: AccountId32,
1271
- payingDid: PolymeshPrimitivesIdentityId
1272
- ], {
1273
- callerDid: PolymeshPrimitivesIdentityId;
1274
- multisig: AccountId32;
1275
- payingDid: PolymeshPrimitivesIdentityId;
1276
- }>;
1277
- /**
1278
- * A new signer has been added to a Multisig.
1279
- **/
1280
- MultiSigSignerAdded: AugmentedEvent<ApiType, [
1281
- callerDid: PolymeshPrimitivesIdentityId,
1282
- multisig: AccountId32,
1283
- signer: AccountId32
1284
- ], {
1285
- callerDid: PolymeshPrimitivesIdentityId;
1286
- multisig: AccountId32;
1287
- signer: AccountId32;
1288
- }>;
1289
- /**
1290
- * New keys have been authorized to be signers on a Multisig.
1291
- **/
1292
- MultiSigSignersAuthorized: AugmentedEvent<ApiType, [
1293
- callerDid: PolymeshPrimitivesIdentityId,
1294
- multisig: AccountId32,
1295
- signers: Vec<AccountId32>
1296
- ], {
1297
- callerDid: PolymeshPrimitivesIdentityId;
1298
- multisig: AccountId32;
1299
- signers: Vec<AccountId32>;
1300
- }>;
1301
- /**
1302
- * Signers have been removed from a Multisig.
1303
- **/
1304
- MultiSigSignersRemoved: AugmentedEvent<ApiType, [
1305
- callerDid: PolymeshPrimitivesIdentityId,
1306
- multisig: AccountId32,
1307
- signers: Vec<AccountId32>
1308
- ], {
1309
- callerDid: PolymeshPrimitivesIdentityId;
1310
- multisig: AccountId32;
1311
- signers: Vec<AccountId32>;
1312
- }>;
1313
- /**
1314
- * A Multisig has changed its required number of approvals.
1315
- **/
1316
- MultiSigSignersRequiredChanged: AugmentedEvent<ApiType, [
1317
- callerDid: Option<PolymeshPrimitivesIdentityId>,
1318
- multisig: AccountId32,
1319
- sigsRequired: u64
1320
- ], {
1321
- callerDid: Option<PolymeshPrimitivesIdentityId>;
1322
- multisig: AccountId32;
1323
- sigsRequired: u64;
1324
- }>;
1325
- /**
1326
- * A Multisig proposal has been created.
1327
- **/
1328
- ProposalAdded: AugmentedEvent<ApiType, [
1329
- callerDid: Option<PolymeshPrimitivesIdentityId>,
1330
- multisig: AccountId32,
1331
- proposalId: u64
1332
- ], {
1333
- callerDid: Option<PolymeshPrimitivesIdentityId>;
1334
- multisig: AccountId32;
1335
- proposalId: u64;
1336
- }>;
1337
- /**
1338
- * A signer has voted to approve a Multisig proposal.
1339
- **/
1340
- ProposalApprovalVote: AugmentedEvent<ApiType, [
1341
- callerDid: Option<PolymeshPrimitivesIdentityId>,
1342
- multisig: AccountId32,
1343
- signer: AccountId32,
1344
- proposalId: u64
1345
- ], {
1346
- callerDid: Option<PolymeshPrimitivesIdentityId>;
1347
- multisig: AccountId32;
1348
- signer: AccountId32;
1349
- proposalId: u64;
1350
- }>;
1351
- /**
1352
- * A Multisig proposal has been approved.
1353
- **/
1354
- ProposalApproved: AugmentedEvent<ApiType, [
1355
- callerDid: Option<PolymeshPrimitivesIdentityId>,
1356
- multisig: AccountId32,
1357
- proposalId: u64
1358
- ], {
1359
- callerDid: Option<PolymeshPrimitivesIdentityId>;
1360
- multisig: AccountId32;
1361
- proposalId: u64;
1362
- }>;
1363
- /**
1364
- * A Multisig proposal has been executed.
1365
- **/
1366
- ProposalExecuted: AugmentedEvent<ApiType, [
1367
- callerDid: Option<PolymeshPrimitivesIdentityId>,
1368
- multisig: AccountId32,
1369
- proposalId: u64,
1370
- result: Result<Null, SpRuntimeDispatchError>
1371
- ], {
1372
- callerDid: Option<PolymeshPrimitivesIdentityId>;
1373
- multisig: AccountId32;
1374
- proposalId: u64;
1375
- result: Result<Null, SpRuntimeDispatchError>;
1376
- }>;
1377
- /**
1378
- * A Multisig proposal has been rejected.
1379
- **/
1380
- ProposalRejected: AugmentedEvent<ApiType, [
1381
- callerDid: Option<PolymeshPrimitivesIdentityId>,
1382
- multisig: AccountId32,
1383
- proposalId: u64
1384
- ], {
1385
- callerDid: Option<PolymeshPrimitivesIdentityId>;
1386
- multisig: AccountId32;
1387
- proposalId: u64;
1388
- }>;
1389
- /**
1390
- * A signer has voted to reject a Multisig proposal.
1391
- **/
1392
- ProposalRejectionVote: AugmentedEvent<ApiType, [
1393
- callerDid: Option<PolymeshPrimitivesIdentityId>,
1394
- multisig: AccountId32,
1395
- signer: AccountId32,
1396
- proposalId: u64
1397
- ], {
1398
- callerDid: Option<PolymeshPrimitivesIdentityId>;
1399
- multisig: AccountId32;
1400
- signer: AccountId32;
1401
- proposalId: u64;
1402
- }>;
1403
- };
1404
- nft: {
1405
- /**
1406
- * Emitted when a new nft collection is created.
1407
- **/
1408
- NftCollectionCreated: AugmentedEvent<ApiType, [
1409
- PolymeshPrimitivesIdentityId,
1410
- PolymeshPrimitivesAssetAssetId,
1411
- u64
1412
- ]>;
1413
- /**
1414
- * Emitted when NFTs were issued, redeemed or transferred.
1415
- * Contains the [`IdentityId`] of the receiver/issuer/redeemer, the [`NFTs`], the [`PortfolioId`] of the source, the [`PortfolioId`]
1416
- * of the destination and the [`PortfolioUpdateReason`].
1417
- **/
1418
- NFTPortfolioUpdated: AugmentedEvent<ApiType, [
1419
- PolymeshPrimitivesIdentityId,
1420
- PolymeshPrimitivesNftNfTs,
1421
- Option<PolymeshPrimitivesIdentityIdPortfolioId>,
1422
- Option<PolymeshPrimitivesIdentityIdPortfolioId>,
1423
- PolymeshPrimitivesPortfolioPortfolioUpdateReason
1424
- ]>;
1425
- };
1426
- offences: {
1427
- /**
1428
- * There is an offence reported of the given `kind` happened at the `session_index` and
1429
- * (kind-specific) time slot. This event is not deposited for duplicate slashes.
1430
- * \[kind, timeslot\].
1431
- **/
1432
- Offence: AugmentedEvent<ApiType, [
1433
- kind: U8aFixed,
1434
- timeslot: Bytes
1435
- ], {
1436
- kind: U8aFixed;
1437
- timeslot: Bytes;
1438
- }>;
1439
- };
1440
- pips: {
1441
- /**
1442
- * The maximum number of active PIPs was changed.
1443
- *
1444
- * Parameters:
1445
- * - `IdentityId`: The DID of the caller.
1446
- * - `u32`: The old active PIP limit.
1447
- * - `u32`: The new active PIP limit.
1448
- **/
1449
- ActivePipLimitChanged: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, u32]>;
1450
- /**
1451
- * The default enactment period was changed.
1452
- *
1453
- * Parameters:
1454
- * - `IdentityId`: The DID of the caller.
1455
- * - `T::BlockNumber`: The old enactment period.
1456
- * - `T::BlockNumber`: The new enactment period.
1457
- **/
1458
- DefaultEnactmentPeriodChanged: AugmentedEvent<ApiType, [
1459
- PolymeshPrimitivesIdentityId,
1460
- u32,
1461
- u32
1462
- ]>;
1463
- /**
1464
- * Cancelling the PIP execution failed in the scheduler pallet.
1465
- *
1466
- * Parameters:
1467
- * - `PipId`: The ID of the PIP.
1468
- **/
1469
- ExecutionCancellingFailed: AugmentedEvent<ApiType, [u32]>;
1470
- /**
1471
- * The execution of a PIP was scheduled.
1472
- *
1473
- * Parameters:
1474
- * - `IdentityId`: The DID of the caller.
1475
- * - `PipId`: The ID of the PIP.
1476
- * - `T::BlockNumber`: The block number at which the PIP is scheduled for execution.
1477
- **/
1478
- ExecutionScheduled: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, u32]>;
1479
- /**
1480
- * Scheduling of the PIP for execution failed in the scheduler pallet.
1481
- *
1482
- * Parameters:
1483
- * - `IdentityId`: The DID of the caller.
1484
- * - `PipId`: The ID of the PIP.
1485
- * - `T::BlockNumber`: The block number at which the PIP was scheduled for execution.
1486
- **/
1487
- ExecutionSchedulingFailed: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, u32]>;
1488
- /**
1489
- * The PIP has been scheduled for expiry.
1490
- *
1491
- * Parameters:
1492
- * - `IdentityId`: The DID of the caller.
1493
- * - `PipId`: The ID of the PIP.
1494
- * - `T::BlockNumber`: The block number at which the PIP is scheduled for expiry.
1495
- **/
1496
- ExpiryScheduled: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, u32]>;
1497
- /**
1498
- * Scheduling of the PIP for expiry failed in the scheduler pallet.
1499
- *
1500
- * Parameters:
1501
- * - `IdentityId`: The DID of the caller.
1502
- * - `PipId`: The ID of the PIP.
1503
- * - `T::BlockNumber`: The block number at which the PIP was scheduled for expiry.
1504
- **/
1505
- ExpirySchedulingFailed: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, u32]>;
1506
- /**
1507
- * Historical PIPs Pruning has been set.
1508
- *
1509
- * Parameters:
1510
- * - `IdentityId`: The DID of the caller.
1511
- * - `bool`: The old value of the pruning setting.
1512
- * - `bool`: The new value of the pruning setting.
1513
- **/
1514
- HistoricalPipsPruned: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, bool, bool]>;
1515
- /**
1516
- * The maximum number of times a PIP can be skipped was changed.
1517
- *
1518
- * Parameters:
1519
- * - `IdentityId`: The DID of the caller.
1520
- * - `SkippedCount`: The old skip count.
1521
- * - `SkippedCount`: The new skip count.
1522
- **/
1523
- MaxPipSkipCountChanged: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u8, u8]>;
1524
- /**
1525
- * The minimum deposit amount for proposals was changed.
1526
- *
1527
- * Parameters:
1528
- * - `IdentityId`: The DID of the caller.
1529
- * - `Balance`: The old deposit amount.
1530
- * - `Balance`: The new deposit amount.
1531
- **/
1532
- MinimumProposalDepositChanged: AugmentedEvent<ApiType, [
1533
- PolymeshPrimitivesIdentityId,
1534
- u128,
1535
- u128
1536
- ]>;
1537
- /**
1538
- * The expiry time for pending PIPs was changed.
1539
- *
1540
- * Parameters:
1541
- * - `IdentityId`: The DID of the caller.
1542
- * - `MaybeBlock<T::BlockNumber>`: The old expiry time.
1543
- * - `MaybeBlock<T::BlockNumber>`: The new expiry time.
1544
- **/
1545
- PendingPipExpiryChanged: AugmentedEvent<ApiType, [
1546
- PolymeshPrimitivesIdentityId,
1547
- PolymeshPrimitivesMaybeBlock,
1548
- PolymeshPrimitivesMaybeBlock
1549
- ]>;
1550
- /**
1551
- * A PIP was closed.
1552
- *
1553
- * Parameters:
1554
- * - `IdentityId`: The DID of the caller.
1555
- * - `PipId`: The ID of the PIP.
1556
- * - `bool`: Indicates whether the data was pruned.
1557
- **/
1558
- PipClosed: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, bool]>;
1559
- /**
1560
- * A PIP in the snapshot queue was skipped.
1561
- *
1562
- * Parameters:
1563
- * - `IdentityId`: The DID of the caller.
1564
- * - `PipId`: The ID of the PIP.
1565
- * - `SkippedCount`: The new skip count.
1566
- **/
1567
- PipSkipped: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, u8]>;
1568
- /**
1569
- * A PIP was created with a specified `Balance` stake.
1570
- *
1571
- * Parameters:
1572
- * - `IdentityId`: The DID of the caller.
1573
- * - `Proposer<T::AccountId>`: The proposer of the PIP.
1574
- * - `PipId`: The ID of the PIP.
1575
- * - `Balance`: The deposit amount.
1576
- * - `Option<Url>`: The URL for proposal discussion.
1577
- * - `Option<PipDescription>`: The description of the proposal.
1578
- * - `MaybeBlock<T::BlockNumber>`: The expiry time of the proposal.
1579
- * - `ProposalData`: The data of the proposal.
1580
- **/
1581
- ProposalCreated: AugmentedEvent<ApiType, [
1582
- PolymeshPrimitivesIdentityId,
1583
- PalletPipsProposer,
1584
- u32,
1585
- u128,
1586
- Option<Bytes>,
1587
- Option<Bytes>,
1588
- PolymeshPrimitivesMaybeBlock,
1589
- PalletPipsProposalData
1590
- ]>;
1591
- /**
1592
- * A proposal was refunded.
1593
- *
1594
- * Parameters:
1595
- * - `IdentityId`: The DID of the caller.
1596
- * - `PipId`: The ID of the PIP.
1597
- * - `Balance`: The total amount refunded.
1598
- **/
1599
- ProposalRefund: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, u128]>;
1600
- /**
1601
- * The state of a proposal was updated.
1602
- *
1603
- * Parameters:
1604
- * - `IdentityId`: The DID of the caller.
1605
- * - `PipId`: The ID of the PIP.
1606
- * - `ProposalState`: The new state of the proposal.
1607
- **/
1608
- ProposalStateUpdated: AugmentedEvent<ApiType, [
1609
- PolymeshPrimitivesIdentityId,
1610
- u32,
1611
- PalletPipsProposalState
1612
- ]>;
1613
- /**
1614
- * The snapshot was cleared.
1615
- *
1616
- * Parameters:
1617
- * - `IdentityId`: The DID of the caller.
1618
- * - `SnapshotId`: The ID of the snapshot.
1619
- **/
1620
- SnapshotCleared: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32]>;
1621
- /**
1622
- * Results were enacted for some PIPs in the snapshot queue.
1623
- *
1624
- * Parameters:
1625
- * - `IdentityId`: The DID of the caller.
1626
- * - `Option<SnapshotId>`: The ID of the snapshot, if any.
1627
- * - `Vec<(PipId, SkippedCount)>`: The list of skipped PIPs with their new skip counts.
1628
- * - `Vec<PipId>`: The list of rejected PIPs.
1629
- * - `Vec<PipId>`: The list of approved PIPs.
1630
- **/
1631
- SnapshotResultsEnacted: AugmentedEvent<ApiType, [
1632
- PolymeshPrimitivesIdentityId,
1633
- Option<u32>,
1634
- Vec<ITuple<[u32, u8]>>,
1635
- Vec<u32>,
1636
- Vec<u32>
1637
- ]>;
1638
- /**
1639
- * A new snapshot was taken.
1640
- *
1641
- * Parameters:
1642
- * - `IdentityId`: The DID of the caller.
1643
- * - `SnapshotId`: The ID of the snapshot.
1644
- * - `Vec<SnapshottedPip>`: The list of PIPs in the snapshot.
1645
- **/
1646
- SnapshotTaken: AugmentedEvent<ApiType, [
1647
- PolymeshPrimitivesIdentityId,
1648
- u32,
1649
- Vec<PalletPipsSnapshottedPip>
1650
- ]>;
1651
- /**
1652
- * An account voted on a proposal.
1653
- *
1654
- * Parameters:
1655
- * - `IdentityId`: The DID of the caller.
1656
- * - `T::AccountId`: The account that voted.
1657
- * - `PipId`: The ID of the PIP.
1658
- * - `bool`: The vote (true for aye, false for nay).
1659
- * - `Balance`: The deposit amount of the vote.
1660
- **/
1661
- Voted: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, AccountId32, u32, bool, u128]>;
1662
- };
1663
- polymeshCommittee: {
1664
- /**
1665
- * A motion was approved by the required threshold with the following
1666
- * tally (yes votes, no votes and total seats given respectively as `MemberCount`).
1667
- * Parameters: caller DID, proposal hash, yay vote count, nay vote count, total seats.
1668
- **/
1669
- Approved: AugmentedEvent<ApiType, [
1670
- Option<PolymeshPrimitivesIdentityId>,
1671
- H256,
1672
- u32,
1673
- u32,
1674
- u32
1675
- ]>;
1676
- /**
1677
- * A motion was executed; `DispatchResult` is `Ok(())` if returned without error.
1678
- * Parameters: caller DID, proposal hash, result of proposal dispatch.
1679
- **/
1680
- Executed: AugmentedEvent<ApiType, [
1681
- Option<PolymeshPrimitivesIdentityId>,
1682
- H256,
1683
- Result<Null, SpRuntimeDispatchError>
1684
- ]>;
1685
- /**
1686
- * Proposal expiry time has been updated.
1687
- * Parameters: caller DID, new expiry time (if any).
1688
- **/
1689
- ExpiresAfterUpdated: AugmentedEvent<ApiType, [
1690
- PolymeshPrimitivesIdentityId,
1691
- PolymeshPrimitivesMaybeBlock
1692
- ]>;
1693
- /**
1694
- * Final votes on a motion (given hash)
1695
- * caller DID, ProposalIndex, Proposal hash, yes voters, no voter
1696
- **/
1697
- FinalVotes: AugmentedEvent<ApiType, [
1698
- Option<PolymeshPrimitivesIdentityId>,
1699
- u32,
1700
- H256,
1701
- Vec<PolymeshPrimitivesIdentityId>,
1702
- Vec<PolymeshPrimitivesIdentityId>
1703
- ]>;
1704
- /**
1705
- * A motion (given hash) has been proposed (by given account) with a threshold (given `MemberCount`).
1706
- * Parameters: caller DID, proposal index, proposal hash.
1707
- **/
1708
- Proposed: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, H256]>;
1709
- /**
1710
- * A motion was rejected by the required threshold with the following
1711
- * tally (yes votes, no votes and total seats given respectively as `MemberCount`).
1712
- * Parameters: caller DID, proposal hash, yay vote count, nay vote count, total seats.
1713
- **/
1714
- Rejected: AugmentedEvent<ApiType, [
1715
- Option<PolymeshPrimitivesIdentityId>,
1716
- H256,
1717
- u32,
1718
- u32,
1719
- u32
1720
- ]>;
1721
- /**
1722
- * Release coordinator has been updated.
1723
- * Parameters: DID of the release coordinator.
1724
- **/
1725
- ReleaseCoordinatorUpdated: AugmentedEvent<ApiType, [Option<PolymeshPrimitivesIdentityId>]>;
1726
- /**
1727
- * A motion (given hash) has been voted on by given account, leaving
1728
- * a tally (yes votes, no votes and total seats given respectively as `MemberCount`).
1729
- * caller DID, Proposal index, Proposal hash, current vote, yay vote count, nay vote count, total seats.
1730
- **/
1731
- Voted: AugmentedEvent<ApiType, [
1732
- PolymeshPrimitivesIdentityId,
1733
- u32,
1734
- H256,
1735
- bool,
1736
- u32,
1737
- u32,
1738
- u32
1739
- ]>;
1740
- /**
1741
- * A vote on a motion (given hash) has been retracted.
1742
- * caller DID, ProposalIndex, Proposal hash, vote that was retracted
1743
- **/
1744
- VoteRetracted: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, H256, bool]>;
1745
- /**
1746
- * Voting threshold has been updated
1747
- * Parameters: caller DID, numerator, denominator
1748
- **/
1749
- VoteThresholdUpdated: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, u32]>;
1750
- };
1751
- polymeshContracts: {
1752
- /**
1753
- * Emitted when a contract starts supporting a new API upgrade.
1754
- * Contains the [`Api`], [`ChainVersion`], and the bytes for the code hash.
1755
- **/
1756
- ApiHashUpdated: AugmentedEvent<ApiType, [
1757
- PolymeshContractsApi,
1758
- PolymeshContractsChainVersion,
1759
- H256
1760
- ]>;
1761
- /**
1762
- * Emitted when a contract calls into the runtime.
1763
- * Contains the account id set by the contract owner and the [`ExtrinsicId`].
1764
- **/
1765
- SCRuntimeCall: AugmentedEvent<ApiType, [
1766
- AccountId32,
1767
- PolymeshContractsChainExtensionExtrinsicId
1768
- ]>;
1769
- };
1770
- portfolio: {
1771
- /**
1772
- * Allow another identity to create portfolios.
1773
- *
1774
- * # Parameters
1775
- * * [`IdentityId`] of the caller.
1776
- * * [`IdentityId`] allowed to create portfolios.
1777
- **/
1778
- AllowIdentityToCreatePortfolios: AugmentedEvent<ApiType, [
1779
- PolymeshPrimitivesIdentityId,
1780
- PolymeshPrimitivesIdentityId
1781
- ]>;
1782
- /**
1783
- * Funds have moved between portfolios
1784
- *
1785
- * # Parameters
1786
- * * Origin DID.
1787
- * * Source portfolio.
1788
- * * Destination portfolio.
1789
- * * The type of fund that was moved.
1790
- * * Optional memo for the move.
1791
- **/
1792
- FundsMovedBetweenPortfolios: AugmentedEvent<ApiType, [
1793
- PolymeshPrimitivesIdentityId,
1794
- PolymeshPrimitivesIdentityIdPortfolioId,
1795
- PolymeshPrimitivesIdentityIdPortfolioId,
1796
- PolymeshPrimitivesPortfolioFundDescription,
1797
- Option<PolymeshPrimitivesMemo>
1798
- ]>;
1799
- /**
1800
- * The portfolio has been successfully created.
1801
- *
1802
- * # Parameters
1803
- * * origin DID
1804
- * * portfolio number
1805
- * * portfolio name
1806
- **/
1807
- PortfolioCreated: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64, Bytes]>;
1808
- /**
1809
- * Custody of a portfolio has been given to a different identity
1810
- *
1811
- * # Parameters
1812
- * * origin DID
1813
- * * portfolio id
1814
- * * portfolio custodian did
1815
- **/
1816
- PortfolioCustodianChanged: AugmentedEvent<ApiType, [
1817
- PolymeshPrimitivesIdentityId,
1818
- PolymeshPrimitivesIdentityIdPortfolioId,
1819
- PolymeshPrimitivesIdentityId
1820
- ]>;
1821
- /**
1822
- * The portfolio has been successfully removed.
1823
- *
1824
- * # Parameters
1825
- * * origin DID
1826
- * * portfolio number
1827
- **/
1828
- PortfolioDeleted: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64]>;
1829
- /**
1830
- * The portfolio identified with `num` has been renamed to `name`.
1831
- *
1832
- * # Parameters
1833
- * * origin DID
1834
- * * portfolio number
1835
- * * portfolio name
1836
- **/
1837
- PortfolioRenamed: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64, Bytes]>;
1838
- /**
1839
- * A portfolio has pre approved the receivement of an asset.
1840
- *
1841
- * # Parameters
1842
- * * [`IdentityId`] of the caller.
1843
- * * [`PortfolioId`] that will receive assets without explicit affirmation.
1844
- * * [`AssetId`] of the asset that has been exempt from explicit affirmation.
1845
- **/
1846
- PreApprovedPortfolio: AugmentedEvent<ApiType, [
1847
- PolymeshPrimitivesIdentityId,
1848
- PolymeshPrimitivesIdentityIdPortfolioId,
1849
- PolymeshPrimitivesAssetAssetId
1850
- ]>;
1851
- /**
1852
- * Revoke another identities permission to create portfolios.
1853
- *
1854
- * # Parameters
1855
- * * [`IdentityId`] of the caller.
1856
- * * [`IdentityId`] permissions to create portfolios is revoked.
1857
- **/
1858
- RevokeCreatePortfoliosPermission: AugmentedEvent<ApiType, [
1859
- PolymeshPrimitivesIdentityId,
1860
- PolymeshPrimitivesIdentityId
1861
- ]>;
1862
- /**
1863
- * A portfolio has removed the approval of an asset.
1864
- *
1865
- * # Parameters
1866
- * * [`IdentityId`] of the caller.
1867
- * * [`PortfolioId`] that had its pre approval revoked.
1868
- * * [`AssetId`] of the asset that had its pre approval revoked.
1869
- **/
1870
- RevokePreApprovedPortfolio: AugmentedEvent<ApiType, [
1871
- PolymeshPrimitivesIdentityId,
1872
- PolymeshPrimitivesIdentityIdPortfolioId,
1873
- PolymeshPrimitivesAssetAssetId
1874
- ]>;
1875
- /**
1876
- * All non-default portfolio numbers and names of a DID.
1877
- *
1878
- * # Parameters
1879
- * * origin DID
1880
- * * vector of number-name pairs
1881
- **/
1882
- UserPortfolios: AugmentedEvent<ApiType, [
1883
- PolymeshPrimitivesIdentityId,
1884
- Vec<ITuple<[u64, Bytes]>>
1885
- ]>;
1886
- };
1887
- preimage: {
1888
- /**
1889
- * A preimage has ben cleared.
1890
- **/
1891
- Cleared: AugmentedEvent<ApiType, [hash_: H256], {
1892
- hash_: H256;
1893
- }>;
1894
- /**
1895
- * A preimage has been noted.
1896
- **/
1897
- Noted: AugmentedEvent<ApiType, [hash_: H256], {
1898
- hash_: H256;
1899
- }>;
1900
- /**
1901
- * A preimage has been requested.
1902
- **/
1903
- Requested: AugmentedEvent<ApiType, [hash_: H256], {
1904
- hash_: H256;
1905
- }>;
1906
- };
1907
- protocolFee: {
1908
- /**
1909
- * The fee coefficient.
1910
- **/
1911
- CoefficientSet: AugmentedEvent<ApiType, [
1912
- PolymeshPrimitivesIdentityId,
1913
- PolymeshPrimitivesPosRatio
1914
- ]>;
1915
- /**
1916
- * Fee charged.
1917
- **/
1918
- FeeCharged: AugmentedEvent<ApiType, [AccountId32, u128]>;
1919
- /**
1920
- * The protocol fee of an operation.
1921
- **/
1922
- FeeSet: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u128]>;
1923
- };
1924
- relayer: {
1925
- /**
1926
- * Accepted paying key.
1927
- *
1928
- * (Caller DID, User Key, Paying Key)
1929
- **/
1930
- AcceptedPayingKey: AugmentedEvent<ApiType, [
1931
- PolymeshPrimitivesEventOnly,
1932
- AccountId32,
1933
- AccountId32
1934
- ]>;
1935
- /**
1936
- * Authorization given for `paying_key` to `user_key`.
1937
- *
1938
- * (Caller DID, User Key, Paying Key, Initial POLYX limit, Auth ID)
1939
- **/
1940
- AuthorizedPayingKey: AugmentedEvent<ApiType, [
1941
- PolymeshPrimitivesEventOnly,
1942
- AccountId32,
1943
- AccountId32,
1944
- u128,
1945
- u64
1946
- ]>;
1947
- /**
1948
- * Removed paying key.
1949
- *
1950
- * (Caller DID, User Key, Paying Key)
1951
- **/
1952
- RemovedPayingKey: AugmentedEvent<ApiType, [
1953
- PolymeshPrimitivesEventOnly,
1954
- AccountId32,
1955
- AccountId32
1956
- ]>;
1957
- /**
1958
- * Updated polyx limit.
1959
- *
1960
- * (Caller DID, User Key, Paying Key, POLYX limit, old remaining POLYX)
1961
- **/
1962
- UpdatedPolyxLimit: AugmentedEvent<ApiType, [
1963
- PolymeshPrimitivesEventOnly,
1964
- AccountId32,
1965
- AccountId32,
1966
- u128,
1967
- u128
1968
- ]>;
1969
- };
1970
- scheduler: {
1971
- /**
1972
- * The call for the provided hash was not found so the task has been aborted.
1973
- **/
1974
- CallUnavailable: AugmentedEvent<ApiType, [
1975
- task: ITuple<[u32, u32]>,
1976
- id: Option<U8aFixed>
1977
- ], {
1978
- task: ITuple<[u32, u32]>;
1979
- id: Option<U8aFixed>;
1980
- }>;
1981
- /**
1982
- * Canceled some task.
1983
- **/
1984
- Canceled: AugmentedEvent<ApiType, [when: u32, index: u32], {
1985
- when: u32;
1986
- index: u32;
1987
- }>;
1988
- /**
1989
- * Dispatched some task.
1990
- **/
1991
- Dispatched: AugmentedEvent<ApiType, [
1992
- task: ITuple<[u32, u32]>,
1993
- id: Option<U8aFixed>,
1994
- result: Result<Null, SpRuntimeDispatchError>
1995
- ], {
1996
- task: ITuple<[u32, u32]>;
1997
- id: Option<U8aFixed>;
1998
- result: Result<Null, SpRuntimeDispatchError>;
1999
- }>;
2000
- /**
2001
- * The given task was unable to be renewed since the agenda is full at that block.
2002
- **/
2003
- PeriodicFailed: AugmentedEvent<ApiType, [
2004
- task: ITuple<[u32, u32]>,
2005
- id: Option<U8aFixed>
2006
- ], {
2007
- task: ITuple<[u32, u32]>;
2008
- id: Option<U8aFixed>;
2009
- }>;
2010
- /**
2011
- * The given task can never be executed since it is overweight.
2012
- **/
2013
- PermanentlyOverweight: AugmentedEvent<ApiType, [
2014
- task: ITuple<[u32, u32]>,
2015
- id: Option<U8aFixed>
2016
- ], {
2017
- task: ITuple<[u32, u32]>;
2018
- id: Option<U8aFixed>;
2019
- }>;
2020
- /**
2021
- * Scheduled some task.
2022
- **/
2023
- Scheduled: AugmentedEvent<ApiType, [when: u32, index: u32], {
2024
- when: u32;
2025
- index: u32;
2026
- }>;
2027
- };
2028
- session: {
2029
- /**
2030
- * New session has happened. Note that the argument is the session index, not the
2031
- * block number as the type might suggest.
2032
- **/
2033
- NewSession: AugmentedEvent<ApiType, [sessionIndex: u32], {
2034
- sessionIndex: u32;
2035
- }>;
2036
- };
2037
- settlement: {
2038
- /**
2039
- * An affirmation has been withdrawn (did, portfolio, instruction_id)
2040
- **/
2041
- AffirmationWithdrawn: AugmentedEvent<ApiType, [
2042
- PolymeshPrimitivesIdentityId,
2043
- PolymeshPrimitivesIdentityIdPortfolioId,
2044
- u64
2045
- ]>;
2046
- /**
2047
- * Failed to execute instruction.
2048
- **/
2049
- FailedToExecuteInstruction: AugmentedEvent<ApiType, [u64, SpRuntimeDispatchError]>;
2050
- /**
2051
- * An instruction has been affirmed (did, portfolio, instruction_id)
2052
- **/
2053
- InstructionAffirmed: AugmentedEvent<ApiType, [
2054
- PolymeshPrimitivesIdentityId,
2055
- PolymeshPrimitivesIdentityIdPortfolioId,
2056
- u64
2057
- ]>;
2058
- /**
2059
- * An instruction has been automatically affirmed.
2060
- * Parameters: [`IdentityId`] of the caller, [`PortfolioId`] of the receiver, and [`InstructionId`] of the instruction.
2061
- **/
2062
- InstructionAutomaticallyAffirmed: AugmentedEvent<ApiType, [
2063
- PolymeshPrimitivesIdentityId,
2064
- PolymeshPrimitivesIdentityIdPortfolioId,
2065
- u64
2066
- ]>;
2067
- /**
2068
- * A new instruction has been created
2069
- * (did, venue_id, instruction_id, settlement_type, trade_date, value_date, legs, memo)
2070
- **/
2071
- InstructionCreated: AugmentedEvent<ApiType, [
2072
- PolymeshPrimitivesIdentityId,
2073
- Option<u64>,
2074
- u64,
2075
- PolymeshPrimitivesSettlementSettlementType,
2076
- Option<u64>,
2077
- Option<u64>,
2078
- Vec<PolymeshPrimitivesSettlementLeg>,
2079
- Option<PolymeshPrimitivesMemo>
2080
- ]>;
2081
- /**
2082
- * Instruction executed successfully(did, instruction_id)
2083
- **/
2084
- InstructionExecuted: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64]>;
2085
- /**
2086
- * An instruction with mediators has been created.
2087
- * Parameters: [`InstructionId`] of the instruction and the [`IdentityId`] of all mediators.
2088
- **/
2089
- InstructionMediators: AugmentedEvent<ApiType, [u64, BTreeSet<PolymeshPrimitivesIdentityId>]>;
2090
- /**
2091
- * An instruction has been rejected (did, instruction_id)
2092
- **/
2093
- InstructionRejected: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64]>;
2094
- /**
2095
- * Instruction is rescheduled.
2096
- * (caller DID, instruction_id)
2097
- **/
2098
- InstructionRescheduled: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64]>;
2099
- /**
2100
- * Execution of a leg failed (did, instruction_id, leg_id)
2101
- **/
2102
- LegFailedExecution: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64, u64]>;
2103
- /**
2104
- * An instruction has affirmed by a mediator.
2105
- * Parameters: [`IdentityId`] of the mediator and [`InstructionId`] of the instruction.
2106
- **/
2107
- MediatorAffirmationReceived: AugmentedEvent<ApiType, [
2108
- PolymeshPrimitivesIdentityId,
2109
- u64,
2110
- Option<u64>
2111
- ]>;
2112
- /**
2113
- * An instruction affirmation has been withdrawn by a mediator.
2114
- * Parameters: [`IdentityId`] of the mediator and [`InstructionId`] of the instruction.
2115
- **/
2116
- MediatorAffirmationWithdrawn: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64]>;
2117
- /**
2118
- * A receipt has been claimed (did, instruction_id, leg_id, receipt_uid, signer, receipt metadata)
2119
- **/
2120
- ReceiptClaimed: AugmentedEvent<ApiType, [
2121
- PolymeshPrimitivesIdentityId,
2122
- u64,
2123
- u64,
2124
- u64,
2125
- AccountId32,
2126
- Option<PolymeshPrimitivesSettlementReceiptMetadata>
2127
- ]>;
2128
- /**
2129
- * Scheduling of instruction fails.
2130
- **/
2131
- SchedulingFailed: AugmentedEvent<ApiType, [u64, SpRuntimeDispatchError]>;
2132
- /**
2133
- * Settlement manually executed (did, id)
2134
- **/
2135
- SettlementManuallyExecuted: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64]>;
2136
- /**
2137
- * A new venue has been created (did, venue_id, details, type)
2138
- **/
2139
- VenueCreated: AugmentedEvent<ApiType, [
2140
- PolymeshPrimitivesIdentityId,
2141
- u64,
2142
- Bytes,
2143
- PolymeshPrimitivesSettlementVenueType
2144
- ]>;
2145
- /**
2146
- * An existing venue's details has been updated (did, venue_id, details)
2147
- **/
2148
- VenueDetailsUpdated: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64, Bytes]>;
2149
- /**
2150
- * Venue filtering has been enabled or disabled for an asset (did, AssetId, filtering_enabled)
2151
- **/
2152
- VenueFiltering: AugmentedEvent<ApiType, [
2153
- PolymeshPrimitivesIdentityId,
2154
- PolymeshPrimitivesAssetAssetId,
2155
- bool
2156
- ]>;
2157
- /**
2158
- * Venues added to allow list (did, AssetId, vec<venue_id>)
2159
- **/
2160
- VenuesAllowed: AugmentedEvent<ApiType, [
2161
- PolymeshPrimitivesIdentityId,
2162
- PolymeshPrimitivesAssetAssetId,
2163
- Vec<u64>
2164
- ]>;
2165
- /**
2166
- * Venues added to block list (did, AssetId, vec<venue_id>)
2167
- **/
2168
- VenuesBlocked: AugmentedEvent<ApiType, [
2169
- PolymeshPrimitivesIdentityId,
2170
- PolymeshPrimitivesAssetAssetId,
2171
- Vec<u64>
2172
- ]>;
2173
- /**
2174
- * An existing venue's signers has been updated (did, venue_id, signers, update_type)
2175
- **/
2176
- VenueSignersUpdated: AugmentedEvent<ApiType, [
2177
- PolymeshPrimitivesIdentityId,
2178
- u64,
2179
- Vec<AccountId32>,
2180
- bool
2181
- ]>;
2182
- /**
2183
- * An existing venue's type has been updated (did, venue_id, type)
2184
- **/
2185
- VenueTypeUpdated: AugmentedEvent<ApiType, [
2186
- PolymeshPrimitivesIdentityId,
2187
- u64,
2188
- PolymeshPrimitivesSettlementVenueType
2189
- ]>;
2190
- /**
2191
- * Venue not part of the token's allow list (did, AssetId, venue_id)
2192
- **/
2193
- VenueUnauthorized: AugmentedEvent<ApiType, [
2194
- PolymeshPrimitivesIdentityId,
2195
- PolymeshPrimitivesAssetAssetId,
2196
- u64
2197
- ]>;
2198
- };
2199
- staking: {
2200
- /**
2201
- * An account has bonded this amount. \[stash, amount\]
2202
- *
2203
- * NOTE: This event is only emitted when funds are bonded via a dispatchable. Notably,
2204
- * it will not be emitted for staking rewards when they are added to stake.
2205
- **/
2206
- Bonded: AugmentedEvent<ApiType, [
2207
- identity: PolymeshPrimitivesIdentityId,
2208
- stash: AccountId32,
2209
- amount: u128
2210
- ], {
2211
- identity: PolymeshPrimitivesIdentityId;
2212
- stash: AccountId32;
2213
- amount: u128;
2214
- }>;
2215
- /**
2216
- * An account has stopped participating as either a validator or nominator.
2217
- **/
2218
- Chilled: AugmentedEvent<ApiType, [stash: AccountId32], {
2219
- stash: AccountId32;
2220
- }>;
2221
- /**
2222
- * Commission cap has been updated.
2223
- **/
2224
- CommissionCapUpdated: AugmentedEvent<ApiType, [
2225
- governanceCouncillDid: PolymeshPrimitivesIdentityId,
2226
- oldCommissionCap: Perbill,
2227
- newCommissionCap: Perbill
2228
- ], {
2229
- governanceCouncillDid: PolymeshPrimitivesIdentityId;
2230
- oldCommissionCap: Perbill;
2231
- newCommissionCap: Perbill;
2232
- }>;
2233
- /**
2234
- * The era payout has been set; the first balance is the validator-payout; the second is
2235
- * the remainder from the maximum amount of reward.
2236
- **/
2237
- EraPaid: AugmentedEvent<ApiType, [
2238
- eraIndex: u32,
2239
- validatorPayout: u128,
2240
- remainder: u128
2241
- ], {
2242
- eraIndex: u32;
2243
- validatorPayout: u128;
2244
- remainder: u128;
2245
- }>;
2246
- /**
2247
- * A new force era mode was set.
2248
- **/
2249
- ForceEra: AugmentedEvent<ApiType, [
2250
- mode: PalletStakingForcing
2251
- ], {
2252
- mode: PalletStakingForcing;
2253
- }>;
2254
- /**
2255
- * Remove the nominators from the valid nominators when there CDD expired.
2256
- **/
2257
- InvalidatedNominators: AugmentedEvent<ApiType, [
2258
- governanceCouncillDid: PolymeshPrimitivesIdentityId,
2259
- governanceCouncillAccount: PolymeshPrimitivesIdentityId,
2260
- expiredNominators: Vec<AccountId32>
2261
- ], {
2262
- governanceCouncillDid: PolymeshPrimitivesIdentityId;
2263
- governanceCouncillAccount: PolymeshPrimitivesIdentityId;
2264
- expiredNominators: Vec<AccountId32>;
2265
- }>;
2266
- /**
2267
- * A nominator has been kicked from a validator.
2268
- **/
2269
- Kicked: AugmentedEvent<ApiType, [
2270
- nominator: AccountId32,
2271
- stash: AccountId32
2272
- ], {
2273
- nominator: AccountId32;
2274
- stash: AccountId32;
2275
- }>;
2276
- /**
2277
- * User has updated their nominations.
2278
- **/
2279
- Nominated: AugmentedEvent<ApiType, [
2280
- nominatorIdentity: PolymeshPrimitivesIdentityId,
2281
- stash: AccountId32,
2282
- targets: Vec<AccountId32>
2283
- ], {
2284
- nominatorIdentity: PolymeshPrimitivesIdentityId;
2285
- stash: AccountId32;
2286
- targets: Vec<AccountId32>;
2287
- }>;
2288
- /**
2289
- * An old slashing report from a prior era was discarded because it could
2290
- * not be processed.
2291
- **/
2292
- OldSlashingReportDiscarded: AugmentedEvent<ApiType, [
2293
- sessionIndex: u32
2294
- ], {
2295
- sessionIndex: u32;
2296
- }>;
2297
- /**
2298
- * The stakers' rewards are getting paid.
2299
- **/
2300
- PayoutStarted: AugmentedEvent<ApiType, [
2301
- eraIndex: u32,
2302
- validatorStash: AccountId32
2303
- ], {
2304
- eraIndex: u32;
2305
- validatorStash: AccountId32;
2306
- }>;
2307
- /**
2308
- * An identity has issued a candidacy for becoming a validator.
2309
- **/
2310
- PermissionedIdentityAdded: AugmentedEvent<ApiType, [
2311
- governanceCouncillDid: PolymeshPrimitivesIdentityId,
2312
- validatorsIdentity: PolymeshPrimitivesIdentityId
2313
- ], {
2314
- governanceCouncillDid: PolymeshPrimitivesIdentityId;
2315
- validatorsIdentity: PolymeshPrimitivesIdentityId;
2316
- }>;
2317
- /**
2318
- * An identity has been removed from the permissioned identities pool.
2319
- **/
2320
- PermissionedIdentityRemoved: AugmentedEvent<ApiType, [
2321
- governanceCouncillDid: PolymeshPrimitivesIdentityId,
2322
- validatorsIdentity: PolymeshPrimitivesIdentityId
2323
- ], {
2324
- governanceCouncillDid: PolymeshPrimitivesIdentityId;
2325
- validatorsIdentity: PolymeshPrimitivesIdentityId;
2326
- }>;
2327
- /**
2328
- * The nominator has been rewarded by this amount.
2329
- **/
2330
- Rewarded: AugmentedEvent<ApiType, [
2331
- identity: PolymeshPrimitivesIdentityId,
2332
- stash: AccountId32,
2333
- amount: u128
2334
- ], {
2335
- identity: PolymeshPrimitivesIdentityId;
2336
- stash: AccountId32;
2337
- amount: u128;
2338
- }>;
2339
- /**
2340
- * Reward scheduling interrupted.
2341
- **/
2342
- RewardPaymentSchedulingInterrupted: AugmentedEvent<ApiType, [
2343
- accountId: AccountId32,
2344
- era: u32,
2345
- error: SpRuntimeDispatchError
2346
- ], {
2347
- accountId: AccountId32;
2348
- era: u32;
2349
- error: SpRuntimeDispatchError;
2350
- }>;
2351
- /**
2352
- * A staker (validator or nominator) has been slashed by the given amount.
2353
- **/
2354
- Slashed: AugmentedEvent<ApiType, [
2355
- staker: AccountId32,
2356
- amount: u128
2357
- ], {
2358
- staker: AccountId32;
2359
- amount: u128;
2360
- }>;
2361
- /**
2362
- * Slashing allowed has been updated.
2363
- **/
2364
- SlashingAllowedForChanged: AugmentedEvent<ApiType, [
2365
- slashingSwitch: PalletStakingSlashingSwitch
2366
- ], {
2367
- slashingSwitch: PalletStakingSlashingSwitch;
2368
- }>;
2369
- /**
2370
- * A slash for the given validator, for the given percentage of their stake, at the given
2371
- * era as been reported.
2372
- **/
2373
- SlashReported: AugmentedEvent<ApiType, [
2374
- validator: AccountId32,
2375
- fraction: Perbill,
2376
- slashEra: u32
2377
- ], {
2378
- validator: AccountId32;
2379
- fraction: Perbill;
2380
- slashEra: u32;
2381
- }>;
2382
- /**
2383
- * A new set of stakers was elected.
2384
- **/
2385
- StakersElected: AugmentedEvent<ApiType, []>;
2386
- /**
2387
- * The election failed. No new era is planned.
2388
- **/
2389
- StakingElectionFailed: AugmentedEvent<ApiType, []>;
2390
- /**
2391
- * An account has unbonded this amount.
2392
- **/
2393
- Unbonded: AugmentedEvent<ApiType, [
2394
- identity: PolymeshPrimitivesIdentityId,
2395
- stash: AccountId32,
2396
- amount: u128
2397
- ], {
2398
- identity: PolymeshPrimitivesIdentityId;
2399
- stash: AccountId32;
2400
- amount: u128;
2401
- }>;
2402
- /**
2403
- * A validator has set their preferences.
2404
- **/
2405
- ValidatorPrefsSet: AugmentedEvent<ApiType, [
2406
- stash: AccountId32,
2407
- prefs: PalletStakingValidatorPrefs
2408
- ], {
2409
- stash: AccountId32;
2410
- prefs: PalletStakingValidatorPrefs;
2411
- }>;
2412
- /**
2413
- * An account has called `withdraw_unbonded` and removed unbonding chunks worth `Balance`
2414
- * from the unlocking queue.
2415
- **/
2416
- Withdrawn: AugmentedEvent<ApiType, [
2417
- stash: AccountId32,
2418
- amount: u128
2419
- ], {
2420
- stash: AccountId32;
2421
- amount: u128;
2422
- }>;
2423
- };
2424
- statistics: {
2425
- /**
2426
- * Asset stats updated.
2427
- *
2428
- * (Caller DID, AssetId, Stat type, Updates)
2429
- **/
2430
- AssetStatsUpdated: AugmentedEvent<ApiType, [
2431
- PolymeshPrimitivesIdentityId,
2432
- PolymeshPrimitivesAssetAssetId,
2433
- PolymeshPrimitivesStatisticsStatType,
2434
- Vec<PolymeshPrimitivesStatisticsStatUpdate>
2435
- ]>;
2436
- /**
2437
- * Set Transfer compliance rules for asset.
2438
- *
2439
- * (Caller DID, AssetId, Transfer conditions)
2440
- **/
2441
- SetAssetTransferCompliance: AugmentedEvent<ApiType, [
2442
- PolymeshPrimitivesIdentityId,
2443
- PolymeshPrimitivesAssetAssetId,
2444
- Vec<PolymeshPrimitivesTransferComplianceTransferCondition>
2445
- ]>;
2446
- /**
2447
- * Stat types added to asset.
2448
- *
2449
- * (Caller DID, AssetId, Stat types)
2450
- **/
2451
- StatTypesAdded: AugmentedEvent<ApiType, [
2452
- PolymeshPrimitivesIdentityId,
2453
- PolymeshPrimitivesAssetAssetId,
2454
- Vec<PolymeshPrimitivesStatisticsStatType>
2455
- ]>;
2456
- /**
2457
- * Stat types removed from asset.
2458
- *
2459
- * (Caller DID, AssetId, Stat types)
2460
- **/
2461
- StatTypesRemoved: AugmentedEvent<ApiType, [
2462
- PolymeshPrimitivesIdentityId,
2463
- PolymeshPrimitivesAssetAssetId,
2464
- Vec<PolymeshPrimitivesStatisticsStatType>
2465
- ]>;
2466
- /**
2467
- * Add `IdentityId`s exempt for transfer conditions matching exempt key.
2468
- *
2469
- * (Caller DID, Exempt key, Entities)
2470
- **/
2471
- TransferConditionExemptionsAdded: AugmentedEvent<ApiType, [
2472
- PolymeshPrimitivesIdentityId,
2473
- PolymeshPrimitivesTransferComplianceTransferConditionExemptKey,
2474
- Vec<PolymeshPrimitivesIdentityId>
2475
- ]>;
2476
- /**
2477
- * Remove `IdentityId`s exempt for transfer conditions matching exempt key.
2478
- *
2479
- * (Caller DID, Exempt key, Entities)
2480
- **/
2481
- TransferConditionExemptionsRemoved: AugmentedEvent<ApiType, [
2482
- PolymeshPrimitivesIdentityId,
2483
- PolymeshPrimitivesTransferComplianceTransferConditionExemptKey,
2484
- Vec<PolymeshPrimitivesIdentityId>
2485
- ]>;
2486
- };
2487
- sto: {
2488
- /**
2489
- * A fundraiser has been stopped.
2490
- * (Agent DID, fundraiser id)
2491
- **/
2492
- FundraiserClosed: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64]>;
2493
- /**
2494
- * A new fundraiser has been created.
2495
- * (Agent DID, fundraiser id, fundraiser name, fundraiser details)
2496
- **/
2497
- FundraiserCreated: AugmentedEvent<ApiType, [
2498
- PolymeshPrimitivesIdentityId,
2499
- u64,
2500
- Bytes,
2501
- PalletStoFundraiser
2502
- ]>;
2503
- /**
2504
- * A fundraiser has been frozen.
2505
- * (Agent DID, fundraiser id)
2506
- **/
2507
- FundraiserFrozen: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64]>;
2508
- /**
2509
- * A fundraiser has been unfrozen.
2510
- * (Agent DID, fundraiser id)
2511
- **/
2512
- FundraiserUnfrozen: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u64]>;
2513
- /**
2514
- * A fundraiser window has been modified.
2515
- * (Agent DID, fundraiser id, old_start, old_end, new_start, new_end)
2516
- **/
2517
- FundraiserWindowModified: AugmentedEvent<ApiType, [
2518
- PolymeshPrimitivesEventOnly,
2519
- u64,
2520
- u64,
2521
- Option<u64>,
2522
- u64,
2523
- Option<u64>
2524
- ]>;
2525
- /**
2526
- * An investor invested in the fundraiser.
2527
- * (Investor, fundraiser_id, offering token, raise token, offering_token_amount, raise_token_amount)
2528
- **/
2529
- Invested: AugmentedEvent<ApiType, [
2530
- PolymeshPrimitivesIdentityId,
2531
- u64,
2532
- PolymeshPrimitivesAssetAssetId,
2533
- PolymeshPrimitivesAssetAssetId,
2534
- u128,
2535
- u128
2536
- ]>;
2537
- };
2538
- sudo: {
2539
- /**
2540
- * The \[sudoer\] just switched identity; the old key is supplied if one existed.
2541
- **/
2542
- KeyChanged: AugmentedEvent<ApiType, [
2543
- oldSudoer: Option<AccountId32>
2544
- ], {
2545
- oldSudoer: Option<AccountId32>;
2546
- }>;
2547
- /**
2548
- * A sudo just took place. \[result\]
2549
- **/
2550
- Sudid: AugmentedEvent<ApiType, [
2551
- sudoResult: Result<Null, SpRuntimeDispatchError>
2552
- ], {
2553
- sudoResult: Result<Null, SpRuntimeDispatchError>;
2554
- }>;
2555
- /**
2556
- * A sudo just took place. \[result\]
2557
- **/
2558
- SudoAsDone: AugmentedEvent<ApiType, [
2559
- sudoResult: Result<Null, SpRuntimeDispatchError>
2560
- ], {
2561
- sudoResult: Result<Null, SpRuntimeDispatchError>;
2562
- }>;
2563
- };
2564
- system: {
2565
- /**
2566
- * `:code` was updated.
2567
- **/
2568
- CodeUpdated: AugmentedEvent<ApiType, []>;
2569
- /**
2570
- * An extrinsic failed.
2571
- **/
2572
- ExtrinsicFailed: AugmentedEvent<ApiType, [
2573
- dispatchError: SpRuntimeDispatchError,
2574
- dispatchInfo: FrameSupportDispatchDispatchInfo
2575
- ], {
2576
- dispatchError: SpRuntimeDispatchError;
2577
- dispatchInfo: FrameSupportDispatchDispatchInfo;
2578
- }>;
2579
- /**
2580
- * An extrinsic completed successfully.
2581
- **/
2582
- ExtrinsicSuccess: AugmentedEvent<ApiType, [
2583
- dispatchInfo: FrameSupportDispatchDispatchInfo
2584
- ], {
2585
- dispatchInfo: FrameSupportDispatchDispatchInfo;
2586
- }>;
2587
- /**
2588
- * An account was reaped.
2589
- **/
2590
- KilledAccount: AugmentedEvent<ApiType, [account: AccountId32], {
2591
- account: AccountId32;
2592
- }>;
2593
- /**
2594
- * A new account was created.
2595
- **/
2596
- NewAccount: AugmentedEvent<ApiType, [account: AccountId32], {
2597
- account: AccountId32;
2598
- }>;
2599
- /**
2600
- * On on-chain remark happened.
2601
- **/
2602
- Remarked: AugmentedEvent<ApiType, [
2603
- sender: AccountId32,
2604
- hash_: H256
2605
- ], {
2606
- sender: AccountId32;
2607
- hash_: H256;
2608
- }>;
2609
- };
2610
- technicalCommittee: {
2611
- /**
2612
- * A motion was approved by the required threshold with the following
2613
- * tally (yes votes, no votes and total seats given respectively as `MemberCount`).
2614
- * Parameters: caller DID, proposal hash, yay vote count, nay vote count, total seats.
2615
- **/
2616
- Approved: AugmentedEvent<ApiType, [
2617
- Option<PolymeshPrimitivesIdentityId>,
2618
- H256,
2619
- u32,
2620
- u32,
2621
- u32
2622
- ]>;
2623
- /**
2624
- * A motion was executed; `DispatchResult` is `Ok(())` if returned without error.
2625
- * Parameters: caller DID, proposal hash, result of proposal dispatch.
2626
- **/
2627
- Executed: AugmentedEvent<ApiType, [
2628
- Option<PolymeshPrimitivesIdentityId>,
2629
- H256,
2630
- Result<Null, SpRuntimeDispatchError>
2631
- ]>;
2632
- /**
2633
- * Proposal expiry time has been updated.
2634
- * Parameters: caller DID, new expiry time (if any).
2635
- **/
2636
- ExpiresAfterUpdated: AugmentedEvent<ApiType, [
2637
- PolymeshPrimitivesIdentityId,
2638
- PolymeshPrimitivesMaybeBlock
2639
- ]>;
2640
- /**
2641
- * Final votes on a motion (given hash)
2642
- * caller DID, ProposalIndex, Proposal hash, yes voters, no voter
2643
- **/
2644
- FinalVotes: AugmentedEvent<ApiType, [
2645
- Option<PolymeshPrimitivesIdentityId>,
2646
- u32,
2647
- H256,
2648
- Vec<PolymeshPrimitivesIdentityId>,
2649
- Vec<PolymeshPrimitivesIdentityId>
2650
- ]>;
2651
- /**
2652
- * A motion (given hash) has been proposed (by given account) with a threshold (given `MemberCount`).
2653
- * Parameters: caller DID, proposal index, proposal hash.
2654
- **/
2655
- Proposed: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, H256]>;
2656
- /**
2657
- * A motion was rejected by the required threshold with the following
2658
- * tally (yes votes, no votes and total seats given respectively as `MemberCount`).
2659
- * Parameters: caller DID, proposal hash, yay vote count, nay vote count, total seats.
2660
- **/
2661
- Rejected: AugmentedEvent<ApiType, [
2662
- Option<PolymeshPrimitivesIdentityId>,
2663
- H256,
2664
- u32,
2665
- u32,
2666
- u32
2667
- ]>;
2668
- /**
2669
- * Release coordinator has been updated.
2670
- * Parameters: DID of the release coordinator.
2671
- **/
2672
- ReleaseCoordinatorUpdated: AugmentedEvent<ApiType, [Option<PolymeshPrimitivesIdentityId>]>;
2673
- /**
2674
- * A motion (given hash) has been voted on by given account, leaving
2675
- * a tally (yes votes, no votes and total seats given respectively as `MemberCount`).
2676
- * caller DID, Proposal index, Proposal hash, current vote, yay vote count, nay vote count, total seats.
2677
- **/
2678
- Voted: AugmentedEvent<ApiType, [
2679
- PolymeshPrimitivesIdentityId,
2680
- u32,
2681
- H256,
2682
- bool,
2683
- u32,
2684
- u32,
2685
- u32
2686
- ]>;
2687
- /**
2688
- * A vote on a motion (given hash) has been retracted.
2689
- * caller DID, ProposalIndex, Proposal hash, vote that was retracted
2690
- **/
2691
- VoteRetracted: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, H256, bool]>;
2692
- /**
2693
- * Voting threshold has been updated
2694
- * Parameters: caller DID, numerator, denominator
2695
- **/
2696
- VoteThresholdUpdated: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, u32]>;
2697
- };
2698
- technicalCommitteeMembership: {
2699
- /**
2700
- * The limit of how many active members there can be concurrently was changed.
2701
- **/
2702
- ActiveLimitChanged: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, u32]>;
2703
- /**
2704
- * Phantom member, never used. This can be removed now. FRAME v2 doesn't require this.
2705
- * TODO: remove.
2706
- **/
2707
- Dummy: AugmentedEvent<ApiType, []>;
2708
- /**
2709
- * The given member was added; see the transaction for who.
2710
- * caller DID, New member DID.
2711
- **/
2712
- MemberAdded: AugmentedEvent<ApiType, [
2713
- PolymeshPrimitivesIdentityId,
2714
- PolymeshPrimitivesIdentityId
2715
- ]>;
2716
- /**
2717
- * The given member was removed; see the transaction for who.
2718
- * caller DID, member DID that get removed.
2719
- **/
2720
- MemberRemoved: AugmentedEvent<ApiType, [
2721
- PolymeshPrimitivesIdentityId,
2722
- PolymeshPrimitivesIdentityId
2723
- ]>;
2724
- /**
2725
- * The given member has been revoked at specific time-stamp.
2726
- * caller DID, member DID that get revoked.
2727
- **/
2728
- MemberRevoked: AugmentedEvent<ApiType, [
2729
- PolymeshPrimitivesIdentityId,
2730
- PolymeshPrimitivesIdentityId
2731
- ]>;
2732
- /**
2733
- * The membership was reset; see the transaction for who the new set is.
2734
- * caller DID, List of new members.
2735
- **/
2736
- MembersReset: AugmentedEvent<ApiType, [
2737
- PolymeshPrimitivesIdentityId,
2738
- Vec<PolymeshPrimitivesIdentityId>
2739
- ]>;
2740
- /**
2741
- * Two members were swapped; see the transaction for who.
2742
- * caller DID, Removed DID, New add DID.
2743
- **/
2744
- MembersSwapped: AugmentedEvent<ApiType, [
2745
- PolymeshPrimitivesIdentityId,
2746
- PolymeshPrimitivesIdentityId,
2747
- PolymeshPrimitivesIdentityId
2748
- ]>;
2749
- };
2750
- transactionPayment: {
2751
- /**
2752
- * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,
2753
- * has been paid by `who`.
2754
- **/
2755
- TransactionFeePaid: AugmentedEvent<ApiType, [
2756
- who: AccountId32,
2757
- actualFee: u128,
2758
- tip: u128
2759
- ], {
2760
- who: AccountId32;
2761
- actualFee: u128;
2762
- tip: u128;
2763
- }>;
2764
- };
2765
- treasury: {
2766
- /**
2767
- * Disbursement to a target Identity.
2768
- *
2769
- * (treasury identity, target identity, target primary key, amount)
2770
- **/
2771
- TreasuryDisbursement: AugmentedEvent<ApiType, [
2772
- PolymeshPrimitivesIdentityId,
2773
- PolymeshPrimitivesIdentityId,
2774
- AccountId32,
2775
- u128
2776
- ]>;
2777
- /**
2778
- * Disbursement to a target Identity failed.
2779
- *
2780
- * (treasury identity, target identity, target primary key, amount)
2781
- **/
2782
- TreasuryDisbursementFailed: AugmentedEvent<ApiType, [
2783
- PolymeshPrimitivesIdentityId,
2784
- PolymeshPrimitivesIdentityId,
2785
- AccountId32,
2786
- u128
2787
- ]>;
2788
- /**
2789
- * Treasury reimbursement.
2790
- *
2791
- * (source identity, amount)
2792
- **/
2793
- TreasuryReimbursement: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u128]>;
2794
- };
2795
- upgradeCommittee: {
2796
- /**
2797
- * A motion was approved by the required threshold with the following
2798
- * tally (yes votes, no votes and total seats given respectively as `MemberCount`).
2799
- * Parameters: caller DID, proposal hash, yay vote count, nay vote count, total seats.
2800
- **/
2801
- Approved: AugmentedEvent<ApiType, [
2802
- Option<PolymeshPrimitivesIdentityId>,
2803
- H256,
2804
- u32,
2805
- u32,
2806
- u32
2807
- ]>;
2808
- /**
2809
- * A motion was executed; `DispatchResult` is `Ok(())` if returned without error.
2810
- * Parameters: caller DID, proposal hash, result of proposal dispatch.
2811
- **/
2812
- Executed: AugmentedEvent<ApiType, [
2813
- Option<PolymeshPrimitivesIdentityId>,
2814
- H256,
2815
- Result<Null, SpRuntimeDispatchError>
2816
- ]>;
2817
- /**
2818
- * Proposal expiry time has been updated.
2819
- * Parameters: caller DID, new expiry time (if any).
2820
- **/
2821
- ExpiresAfterUpdated: AugmentedEvent<ApiType, [
2822
- PolymeshPrimitivesIdentityId,
2823
- PolymeshPrimitivesMaybeBlock
2824
- ]>;
2825
- /**
2826
- * Final votes on a motion (given hash)
2827
- * caller DID, ProposalIndex, Proposal hash, yes voters, no voter
2828
- **/
2829
- FinalVotes: AugmentedEvent<ApiType, [
2830
- Option<PolymeshPrimitivesIdentityId>,
2831
- u32,
2832
- H256,
2833
- Vec<PolymeshPrimitivesIdentityId>,
2834
- Vec<PolymeshPrimitivesIdentityId>
2835
- ]>;
2836
- /**
2837
- * A motion (given hash) has been proposed (by given account) with a threshold (given `MemberCount`).
2838
- * Parameters: caller DID, proposal index, proposal hash.
2839
- **/
2840
- Proposed: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, H256]>;
2841
- /**
2842
- * A motion was rejected by the required threshold with the following
2843
- * tally (yes votes, no votes and total seats given respectively as `MemberCount`).
2844
- * Parameters: caller DID, proposal hash, yay vote count, nay vote count, total seats.
2845
- **/
2846
- Rejected: AugmentedEvent<ApiType, [
2847
- Option<PolymeshPrimitivesIdentityId>,
2848
- H256,
2849
- u32,
2850
- u32,
2851
- u32
2852
- ]>;
2853
- /**
2854
- * Release coordinator has been updated.
2855
- * Parameters: DID of the release coordinator.
2856
- **/
2857
- ReleaseCoordinatorUpdated: AugmentedEvent<ApiType, [Option<PolymeshPrimitivesIdentityId>]>;
2858
- /**
2859
- * A motion (given hash) has been voted on by given account, leaving
2860
- * a tally (yes votes, no votes and total seats given respectively as `MemberCount`).
2861
- * caller DID, Proposal index, Proposal hash, current vote, yay vote count, nay vote count, total seats.
2862
- **/
2863
- Voted: AugmentedEvent<ApiType, [
2864
- PolymeshPrimitivesIdentityId,
2865
- u32,
2866
- H256,
2867
- bool,
2868
- u32,
2869
- u32,
2870
- u32
2871
- ]>;
2872
- /**
2873
- * A vote on a motion (given hash) has been retracted.
2874
- * caller DID, ProposalIndex, Proposal hash, vote that was retracted
2875
- **/
2876
- VoteRetracted: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, H256, bool]>;
2877
- /**
2878
- * Voting threshold has been updated
2879
- * Parameters: caller DID, numerator, denominator
2880
- **/
2881
- VoteThresholdUpdated: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, u32]>;
2882
- };
2883
- upgradeCommitteeMembership: {
2884
- /**
2885
- * The limit of how many active members there can be concurrently was changed.
2886
- **/
2887
- ActiveLimitChanged: AugmentedEvent<ApiType, [PolymeshPrimitivesIdentityId, u32, u32]>;
2888
- /**
2889
- * Phantom member, never used. This can be removed now. FRAME v2 doesn't require this.
2890
- * TODO: remove.
2891
- **/
2892
- Dummy: AugmentedEvent<ApiType, []>;
2893
- /**
2894
- * The given member was added; see the transaction for who.
2895
- * caller DID, New member DID.
2896
- **/
2897
- MemberAdded: AugmentedEvent<ApiType, [
2898
- PolymeshPrimitivesIdentityId,
2899
- PolymeshPrimitivesIdentityId
2900
- ]>;
2901
- /**
2902
- * The given member was removed; see the transaction for who.
2903
- * caller DID, member DID that get removed.
2904
- **/
2905
- MemberRemoved: AugmentedEvent<ApiType, [
2906
- PolymeshPrimitivesIdentityId,
2907
- PolymeshPrimitivesIdentityId
2908
- ]>;
2909
- /**
2910
- * The given member has been revoked at specific time-stamp.
2911
- * caller DID, member DID that get revoked.
2912
- **/
2913
- MemberRevoked: AugmentedEvent<ApiType, [
2914
- PolymeshPrimitivesIdentityId,
2915
- PolymeshPrimitivesIdentityId
2916
- ]>;
2917
- /**
2918
- * The membership was reset; see the transaction for who the new set is.
2919
- * caller DID, List of new members.
2920
- **/
2921
- MembersReset: AugmentedEvent<ApiType, [
2922
- PolymeshPrimitivesIdentityId,
2923
- Vec<PolymeshPrimitivesIdentityId>
2924
- ]>;
2925
- /**
2926
- * Two members were swapped; see the transaction for who.
2927
- * caller DID, Removed DID, New add DID.
2928
- **/
2929
- MembersSwapped: AugmentedEvent<ApiType, [
2930
- PolymeshPrimitivesIdentityId,
2931
- PolymeshPrimitivesIdentityId,
2932
- PolymeshPrimitivesIdentityId
2933
- ]>;
2934
- };
2935
- utility: {
2936
- /**
2937
- * Batch of dispatches completed fully with no error.
2938
- **/
2939
- BatchCompleted: AugmentedEvent<ApiType, []>;
2940
- /**
2941
- * Batch of dispatches completed but has errors.
2942
- **/
2943
- BatchCompletedWithErrors: AugmentedEvent<ApiType, []>;
2944
- /**
2945
- * Batch of dispatches did not complete fully. Index of first failing dispatch given, as
2946
- * well as the error.
2947
- **/
2948
- BatchInterrupted: AugmentedEvent<ApiType, [
2949
- index: u32,
2950
- error: SpRuntimeDispatchError
2951
- ], {
2952
- index: u32;
2953
- error: SpRuntimeDispatchError;
2954
- }>;
2955
- /**
2956
- * A call was dispatched.
2957
- **/
2958
- DispatchedAs: AugmentedEvent<ApiType, [
2959
- result: Result<Null, SpRuntimeDispatchError>
2960
- ], {
2961
- result: Result<Null, SpRuntimeDispatchError>;
2962
- }>;
2963
- /**
2964
- * A single item within a Batch of dispatches has completed with no error.
2965
- **/
2966
- ItemCompleted: AugmentedEvent<ApiType, []>;
2967
- /**
2968
- * A single item within a Batch of dispatches has completed with error.
2969
- **/
2970
- ItemFailed: AugmentedEvent<ApiType, [
2971
- error: SpRuntimeDispatchError
2972
- ], {
2973
- error: SpRuntimeDispatchError;
2974
- }>;
2975
- /**
2976
- * Relayed transaction.
2977
- * POLYMESH: event.
2978
- **/
2979
- RelayedTx: AugmentedEvent<ApiType, [
2980
- callerDid: PolymeshPrimitivesIdentityId,
2981
- target: AccountId32,
2982
- result: Result<Null, SpRuntimeDispatchError>
2983
- ], {
2984
- callerDid: PolymeshPrimitivesIdentityId;
2985
- target: AccountId32;
2986
- result: Result<Null, SpRuntimeDispatchError>;
2987
- }>;
2988
- };
2989
- }
2990
- }
2991
- //# sourceMappingURL=augment-api-events.d.ts.map