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