@polymeshassociation/polymesh-types 5.12.1 → 5.12.2
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 +2 -2
- package/package.json +1 -1
- package/runtime/assetApi/v3.d.ts +3 -0
- package/runtime/assetApi/v3.d.ts.map +1 -0
- package/runtime/assetApi/v3.js +18 -0
- package/runtime/assetApi/v3.js.map +1 -0
- package/runtime/assetApi/v4.d.ts +3 -0
- package/runtime/assetApi/v4.d.ts.map +1 -0
- package/runtime/assetApi/v4.js +17 -0
- package/runtime/assetApi/v4.js.map +1 -0
- package/runtime/complianceApi/v1.d.ts +3 -0
- package/runtime/complianceApi/v1.d.ts.map +1 -0
- package/runtime/complianceApi/v1.js +15 -0
- package/runtime/complianceApi/v1.js.map +1 -0
- package/runtime/complianceApi/v2.d.ts +3 -0
- package/runtime/complianceApi/v2.d.ts.map +1 -0
- package/runtime/complianceApi/v2.js +15 -0
- package/runtime/complianceApi/v2.js.map +1 -0
- package/runtime/groupApi/v1.d.ts +3 -0
- package/runtime/groupApi/v1.d.ts.map +1 -0
- package/runtime/groupApi/v1.js +16 -0
- package/runtime/groupApi/v1.js.map +1 -0
- package/runtime/identityApi/v3.d.ts +3 -0
- package/runtime/identityApi/v3.d.ts.map +1 -0
- package/runtime/identityApi/v3.js +51 -0
- package/runtime/identityApi/v3.js.map +1 -0
- package/runtime/identityApi/v4.d.ts +3 -0
- package/runtime/identityApi/v4.d.ts.map +1 -0
- package/runtime/identityApi/v4.js +46 -0
- package/runtime/identityApi/v4.js.map +1 -0
- package/runtime/index.d.ts +3 -3
- package/runtime/index.d.ts.map +1 -1
- package/runtime/index.js +33 -526
- package/runtime/index.js.map +1 -1
- package/runtime/nftApi/v1.d.ts +3 -0
- package/runtime/nftApi/v1.d.ts.map +1 -0
- package/runtime/nftApi/v1.js +15 -0
- package/runtime/nftApi/v1.js.map +1 -0
- package/runtime/nftApi/v2.d.ts +3 -0
- package/runtime/nftApi/v2.d.ts.map +1 -0
- package/runtime/nftApi/v2.js +16 -0
- package/runtime/nftApi/v2.js.map +1 -0
- package/runtime/pipsApi/v1.d.ts +3 -0
- package/runtime/pipsApi/v1.d.ts.map +1 -0
- package/runtime/pipsApi/v1.js +21 -0
- package/runtime/pipsApi/v1.js.map +1 -0
- package/runtime/protocolApi/v1.d.ts +3 -0
- package/runtime/protocolApi/v1.d.ts.map +1 -0
- package/runtime/protocolApi/v1.js +11 -0
- package/runtime/protocolApi/v1.js.map +1 -0
- package/runtime/settlementApi/v1.d.ts +3 -0
- package/runtime/settlementApi/v1.d.ts.map +1 -0
- package/runtime/settlementApi/v1.js +32 -0
- package/runtime/settlementApi/v1.js.map +1 -0
- package/runtime/settlementApi/v2.d.ts +3 -0
- package/runtime/settlementApi/v2.d.ts.map +1 -0
- package/runtime/settlementApi/v2.js +32 -0
- package/runtime/settlementApi/v2.js.map +1 -0
- package/runtime/stakingApi/v1.d.ts +3 -0
- package/runtime/stakingApi/v1.d.ts.map +1 -0
- package/runtime/stakingApi/v1.js +11 -0
- package/runtime/stakingApi/v1.js.map +1 -0
- package/types/5.0.x.json +2 -1
- package/types/5.1.x.json +2 -1
- package/types/5.2.x.json +2 -1
- package/types/5.3.x.json +2 -1
- package/types/5.4.x.json +2 -1
- package/types/6.0.x.json +2 -1
- package/types/6.1.x.json +2 -1
- package/types/6.3.x.json +2 -1
- package/types/7.0.x.json +2 -1
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PipsApiV1 = void 0;
|
|
4
|
+
exports.PipsApiV1 = {
|
|
5
|
+
get_votes: {
|
|
6
|
+
description: 'Summary of votes of a proposal given by index',
|
|
7
|
+
params: [{ name: 'index', type: 'PipId' }],
|
|
8
|
+
type: 'VoteCount',
|
|
9
|
+
},
|
|
10
|
+
proposed_by: {
|
|
11
|
+
description: 'Retrieves proposal indices started by address',
|
|
12
|
+
params: [{ name: 'address', type: 'AccountId' }],
|
|
13
|
+
type: 'Vec<PipId>',
|
|
14
|
+
},
|
|
15
|
+
voted_on: {
|
|
16
|
+
description: 'Retrieves proposal address indices voted on',
|
|
17
|
+
params: [{ name: 'address', type: 'AccountId' }],
|
|
18
|
+
type: 'Vec<PipId>',
|
|
19
|
+
},
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=v1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../../../src/runtime/pipsApi/v1.ts"],"names":[],"mappings":";;;AAEa,QAAA,SAAS,GAAmC;IACvD,SAAS,EAAE;QACT,WAAW,EAAE,+CAA+C;QAC5D,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;QAC1C,IAAI,EAAE,WAAW;KAClB;IACD,WAAW,EAAE;QACX,WAAW,EAAE,+CAA+C;QAC5D,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;QAChD,IAAI,EAAE,YAAY;KACnB;IACD,QAAQ,EAAE;QACR,WAAW,EAAE,6CAA6C;QAC1D,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;QAChD,IAAI,EAAE,YAAY;KACnB;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v1.d.ts","sourceRoot":"","sources":["../../../src/runtime/protocolApi/v1.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAMxD,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProtocolApiV1 = void 0;
|
|
4
|
+
exports.ProtocolApiV1 = {
|
|
5
|
+
compute_fee: {
|
|
6
|
+
description: 'Gets the fee of a chargeable extrinsic operation',
|
|
7
|
+
params: [{ name: 'op', type: 'ProtocolOp' }],
|
|
8
|
+
type: 'CappedFee',
|
|
9
|
+
},
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=v1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../../../src/runtime/protocolApi/v1.ts"],"names":[],"mappings":";;;AAEa,QAAA,aAAa,GAAmC;IAC3D,WAAW,EAAE;QACX,WAAW,EAAE,kDAAkD;QAC/D,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;QAC5C,IAAI,EAAE,WAAW;KAClB;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v1.d.ts","sourceRoot":"","sources":["../../../src/runtime/settlementApi/v1.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CA+B1D,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SettlementApiV1 = void 0;
|
|
4
|
+
exports.SettlementApiV1 = {
|
|
5
|
+
get_execute_instruction_info: {
|
|
6
|
+
description: 'Returns an ExecuteInstructionInfo instance containing the consumed weight and the number of tokens in the instruction.',
|
|
7
|
+
params: [{ name: 'instruction_id', type: 'InstructionId' }],
|
|
8
|
+
type: 'ExecuteInstructionInfo',
|
|
9
|
+
},
|
|
10
|
+
get_affirmation_count: {
|
|
11
|
+
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.',
|
|
12
|
+
params: [
|
|
13
|
+
{ name: 'instruction_id', type: 'InstructionId' },
|
|
14
|
+
{ name: 'portfolios', type: 'Vec<PortfolioId>' },
|
|
15
|
+
],
|
|
16
|
+
type: 'AffirmationCount',
|
|
17
|
+
},
|
|
18
|
+
get_transfer_report: {
|
|
19
|
+
description: "Returns a vector containing all errors for the transfer. An empty vec means there's no error.",
|
|
20
|
+
params: [
|
|
21
|
+
{ name: 'leg', type: 'Leg' },
|
|
22
|
+
{ name: 'skip_locked_check', type: 'bool' },
|
|
23
|
+
],
|
|
24
|
+
type: 'Vec<DispatchError>',
|
|
25
|
+
},
|
|
26
|
+
get_execute_instruction_report: {
|
|
27
|
+
description: "Returns a vector containing all errors for the execution. An empty vec means there's no error.",
|
|
28
|
+
params: [{ name: 'instruction_id', type: 'InstructionId' }],
|
|
29
|
+
type: 'Vec<DispatchError>',
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=v1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../../../src/runtime/settlementApi/v1.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAmC;IAC7D,4BAA4B,EAAE;QAC5B,WAAW,EACT,wHAAwH;QAC1H,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;QAC3D,IAAI,EAAE,wBAAwB;KAC/B;IACD,qBAAqB,EAAE;QACrB,WAAW,EACT,kKAAkK;QACpK,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,eAAe,EAAE;YACjD,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,kBAAkB,EAAE;SACjD;QACD,IAAI,EAAE,kBAAkB;KACzB;IACD,mBAAmB,EAAE;QACnB,WAAW,EACT,+FAA+F;QACjG,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE;YAC5B,EAAE,IAAI,EAAE,mBAAmB,EAAE,IAAI,EAAE,MAAM,EAAE;SAC5C;QACD,IAAI,EAAE,oBAAoB;KAC3B;IACD,8BAA8B,EAAE;QAC9B,WAAW,EACT,gGAAgG;QAClG,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;QAC3D,IAAI,EAAE,oBAAoB;KAC3B;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2.d.ts","sourceRoot":"","sources":["../../../src/runtime/settlementApi/v2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CA+B1D,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SettlementApiV2 = void 0;
|
|
4
|
+
exports.SettlementApiV2 = {
|
|
5
|
+
get_execute_instruction_info: {
|
|
6
|
+
description: 'Returns an ExecuteInstructionInfo instance containing the consumed weight and the number of tokens in the instruction.',
|
|
7
|
+
params: [{ name: 'instruction_id', type: 'InstructionId' }],
|
|
8
|
+
type: 'Option<ExecuteInstructionInfo>',
|
|
9
|
+
},
|
|
10
|
+
get_affirmation_count: {
|
|
11
|
+
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.',
|
|
12
|
+
params: [
|
|
13
|
+
{ name: 'instruction_id', type: 'InstructionId' },
|
|
14
|
+
{ name: 'portfolios', type: 'Vec<PortfolioId>' },
|
|
15
|
+
],
|
|
16
|
+
type: 'AffirmationCount',
|
|
17
|
+
},
|
|
18
|
+
get_transfer_report: {
|
|
19
|
+
description: "Returns a vector containing all errors for the transfer. An empty vec means there's no error.",
|
|
20
|
+
params: [
|
|
21
|
+
{ name: 'leg', type: 'Leg' },
|
|
22
|
+
{ name: 'skip_locked_check', type: 'bool' },
|
|
23
|
+
],
|
|
24
|
+
type: 'Vec<DispatchError>',
|
|
25
|
+
},
|
|
26
|
+
get_execute_instruction_report: {
|
|
27
|
+
description: "Returns a vector containing all errors for the execution. An empty vec means there's no error.",
|
|
28
|
+
params: [{ name: 'instruction_id', type: 'InstructionId' }],
|
|
29
|
+
type: 'Vec<DispatchError>',
|
|
30
|
+
},
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=v2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v2.js","sourceRoot":"","sources":["../../../src/runtime/settlementApi/v2.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAmC;IAC7D,4BAA4B,EAAE;QAC5B,WAAW,EACT,wHAAwH;QAC1H,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;QAC3D,IAAI,EAAE,gCAAgC;KACvC;IACD,qBAAqB,EAAE;QACrB,WAAW,EACT,kKAAkK;QACpK,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,eAAe,EAAE;YACjD,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,kBAAkB,EAAE;SACjD;QACD,IAAI,EAAE,kBAAkB;KACzB;IACD,mBAAmB,EAAE;QACnB,WAAW,EACT,+FAA+F;QACjG,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE;YAC5B,EAAE,IAAI,EAAE,mBAAmB,EAAE,IAAI,EAAE,MAAM,EAAE;SAC5C;QACD,IAAI,EAAE,oBAAoB;KAC3B;IACD,8BAA8B,EAAE;QAC9B,WAAW,EACT,gGAAgG;QAClG,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC;QAC3D,IAAI,EAAE,oBAAoB;KAC3B;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v1.d.ts","sourceRoot":"","sources":["../../../src/runtime/stakingApi/v1.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAMvD,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StakingApiV1 = void 0;
|
|
4
|
+
exports.StakingApiV1 = {
|
|
5
|
+
get_curve: {
|
|
6
|
+
description: 'Retrieves curves parameters',
|
|
7
|
+
params: [],
|
|
8
|
+
type: 'Vec<(Perbill, Perbill)>',
|
|
9
|
+
},
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=v1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../../../src/runtime/stakingApi/v1.ts"],"names":[],"mappings":";;;AAEa,QAAA,YAAY,GAAmC;IAC1D,SAAS,EAAE;QACT,WAAW,EAAE,6BAA6B;QAC1C,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,yBAAyB;KAChC;CACF,CAAC"}
|
package/types/5.0.x.json
CHANGED
package/types/5.1.x.json
CHANGED
package/types/5.2.x.json
CHANGED
package/types/5.3.x.json
CHANGED
package/types/5.4.x.json
CHANGED
package/types/6.0.x.json
CHANGED
package/types/6.1.x.json
CHANGED
package/types/6.3.x.json
CHANGED
package/types/7.0.x.json
CHANGED
package/types/index.d.ts
CHANGED
package/types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,wBAiDE"}
|