@polymeshassociation/polymesh-types 7.2.0 → 7.4.0

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 (76) hide show
  1. package/.yarn/install-state.gz +0 -0
  2. package/CHANGELOG.md +3 -2
  3. package/generated/types.d.ts +101 -8
  4. package/generated/types.d.ts.map +1 -1
  5. package/generated/types.js +101 -2
  6. package/generated/types.js.map +1 -1
  7. package/package.json +4 -3
  8. package/polkadot/asset/definitions.js +4 -4
  9. package/polkadot/asset/definitions.js.map +1 -1
  10. package/polkadot/augment-api-consts.d.ts +220 -6
  11. package/polkadot/augment-api-consts.d.ts.map +1 -1
  12. package/polkadot/augment-api-errors.d.ts +630 -117
  13. package/polkadot/augment-api-errors.d.ts.map +1 -1
  14. package/polkadot/augment-api-events.d.ts +668 -176
  15. package/polkadot/augment-api-events.d.ts.map +1 -1
  16. package/polkadot/augment-api-query.d.ts +719 -94
  17. package/polkadot/augment-api-query.d.ts.map +1 -1
  18. package/polkadot/augment-api-rpc.d.ts +22 -25
  19. package/polkadot/augment-api-rpc.d.ts.map +1 -1
  20. package/polkadot/augment-api-runtime.d.ts +295 -32
  21. package/polkadot/augment-api-runtime.d.ts.map +1 -1
  22. package/polkadot/augment-api-tx.d.ts +1539 -506
  23. package/polkadot/augment-api-tx.d.ts.map +1 -1
  24. package/polkadot/augment-types.d.ts +19 -2
  25. package/polkadot/augment-types.d.ts.map +1 -1
  26. package/polkadot/identity/definitions.d.ts +0 -18
  27. package/polkadot/identity/definitions.d.ts.map +1 -1
  28. package/polkadot/identity/definitions.js +0 -42
  29. package/polkadot/identity/definitions.js.map +1 -1
  30. package/polkadot/lookup.d.ts +5163 -3246
  31. package/polkadot/lookup.d.ts.map +1 -1
  32. package/polkadot/lookup.js +6275 -4221
  33. package/polkadot/lookup.js.map +1 -1
  34. package/polkadot/nft/definitions.js +4 -4
  35. package/polkadot/nft/definitions.js.map +1 -1
  36. package/polkadot/polymesh/definitions.d.ts +93 -8
  37. package/polkadot/polymesh/definitions.d.ts.map +1 -1
  38. package/polkadot/polymesh/definitions.js +228 -12
  39. package/polkadot/polymesh/definitions.js.map +1 -1
  40. package/polkadot/polymesh/types.d.ts +129 -20
  41. package/polkadot/polymesh/types.d.ts.map +1 -1
  42. package/polkadot/registry.d.ts +176 -15
  43. package/polkadot/registry.d.ts.map +1 -1
  44. package/polkadot/schema.d.ts +93 -26
  45. package/polkadot/schema.d.ts.map +1 -1
  46. package/polkadot/schema.js +238 -64
  47. package/polkadot/schema.js.map +1 -1
  48. package/polkadot/settlement/definitions.js +2 -2
  49. package/polkadot/types-lookup.d.ts +6016 -4313
  50. package/polkadot/types-lookup.d.ts.map +1 -1
  51. package/rpc/index.d.ts +0 -18
  52. package/rpc/index.d.ts.map +1 -1
  53. package/rpc/index.js +10 -52
  54. package/rpc/index.js.map +1 -1
  55. package/runtime/assetApi/v5.d.ts +3 -0
  56. package/runtime/assetApi/v5.d.ts.map +1 -0
  57. package/runtime/assetApi/v5.js +32 -0
  58. package/runtime/assetApi/v5.js.map +1 -0
  59. package/runtime/index.d.ts.map +1 -1
  60. package/runtime/index.js +6 -0
  61. package/runtime/index.js.map +1 -1
  62. package/runtime/nftApi/v3.d.ts +3 -0
  63. package/runtime/nftApi/v3.d.ts.map +1 -0
  64. package/runtime/nftApi/v3.js +28 -0
  65. package/runtime/nftApi/v3.js.map +1 -0
  66. package/runtime/settlementApi/v3.d.ts +3 -0
  67. package/runtime/settlementApi/v3.d.ts.map +1 -0
  68. package/runtime/settlementApi/v3.js +74 -0
  69. package/runtime/settlementApi/v3.js.map +1 -0
  70. package/signedExtensions/index.d.ts +4 -0
  71. package/signedExtensions/index.d.ts.map +1 -1
  72. package/signedExtensions/index.js +4 -0
  73. package/signedExtensions/index.js.map +1 -1
  74. package/types/8.0.x.json +96 -15
  75. package/types/index.d.ts +477 -0
  76. package/types/index.d.ts.map +1 -1
@@ -7,13 +7,47 @@ declare const _default: {
7
7
  PalletName: string;
8
8
  ExtrinsicName: string;
9
9
  AuthorizationNonce: string;
10
- TargetIdAuthorization: {
11
- targetId: string;
12
- nonce: string;
10
+ 'ChainScopedMessage<Message>': {
11
+ genesisHash: string;
12
+ nonceOrId: string;
13
+ label: string;
13
14
  expiresAt: string;
15
+ message: string;
14
16
  };
17
+ ChainScopedMessageIdentityId: {
18
+ genesisHash: string;
19
+ nonceOrId: string;
20
+ label: string;
21
+ expiresAt: string;
22
+ message: string;
23
+ };
24
+ ChainScopedMessageReceipt: {
25
+ genesisHash: string;
26
+ nonceOrId: string;
27
+ label: string;
28
+ expiresAt: string;
29
+ message: string;
30
+ };
31
+ ChainScopedMessageFundraiserReceipt: {
32
+ genesisHash: string;
33
+ nonceOrId: string;
34
+ label: string;
35
+ expiresAt: string;
36
+ message: string;
37
+ };
38
+ ChainScopedMessageRuntimeCall: {
39
+ genesisHash: string;
40
+ nonceOrId: string;
41
+ label: string;
42
+ expiresAt: string;
43
+ message: string;
44
+ };
45
+ SecondaryKeyAuthMessage: string;
46
+ CreateChildIdentityAuthMessage: string;
47
+ FundraiserReceiptMessage: string;
48
+ ReceiptMessage: string;
49
+ RelayTxMessage: string;
15
50
  Receipt: {
16
- uid: string;
17
51
  instructionId: string;
18
52
  legId: string;
19
53
  senderIdentity: string;
@@ -23,7 +57,6 @@ declare const _default: {
23
57
  };
24
58
  FundraiserId: string;
25
59
  FundraiserReceipt: {
26
- uid: string;
27
60
  fundraiserId: string;
28
61
  legId: string;
29
62
  senderIdentity: string;
@@ -178,7 +211,7 @@ declare const _default: {
178
211
  JoinIdentity: string;
179
212
  PortfolioCustody: string;
180
213
  BecomeAgent: string;
181
- AddRelayerPayingKey: string;
214
+ OldAddRelayerPayingKey: string;
182
215
  RotatePrimaryKeyToSecondary: string;
183
216
  };
184
217
  };
@@ -212,6 +245,12 @@ declare const _default: {
212
245
  Err: string;
213
246
  };
214
247
  };
248
+ DidActiveStatus: {
249
+ _enum: {
250
+ Ok: string;
251
+ Err: string;
252
+ };
253
+ };
215
254
  AssetDidResult: {
216
255
  _enum: {
217
256
  Ok: string;
@@ -249,7 +288,7 @@ declare const _default: {
249
288
  JoinIdentity: string;
250
289
  PortfolioCustody: string;
251
290
  BecomeAgent: string;
252
- AddRelayerPayingKey: string;
291
+ OldAddRelayerPayingKey: string;
253
292
  RotatePrimaryKeyToSecondary: string;
254
293
  };
255
294
  };
@@ -257,7 +296,7 @@ declare const _default: {
257
296
  _enum: {
258
297
  Unknown: string;
259
298
  Exists: string;
260
- CddVerified: string;
299
+ Active: string;
261
300
  };
262
301
  };
263
302
  PortfolioNumber: string;
@@ -392,18 +431,51 @@ declare const _default: {
392
431
  PalletPipsPipId: string;
393
432
  PalletProtocolFeeRpcRuntimeApiCappedFee: string;
394
433
  PolymeshRuntimeDevelopRuntimeRuntimeCall: string;
434
+ AssetHolderKind: {
435
+ _enum: {
436
+ Account: string;
437
+ DefaultPortfolio: string;
438
+ UserPortfolio: string;
439
+ };
440
+ };
441
+ AssetHolder: {
442
+ _enum: {
443
+ Portfolio: string;
444
+ Account: string;
445
+ };
446
+ };
447
+ LegV7: {
448
+ _enum: {
449
+ Fungible: string;
450
+ NonFungible: string;
451
+ OffChain: string;
452
+ };
453
+ };
454
+ FungibleLegV7: {
455
+ sender: string;
456
+ receiver: string;
457
+ assetId: string;
458
+ amount: string;
459
+ };
460
+ NonFungibleLegV7: {
461
+ sender: string;
462
+ receiver: string;
463
+ nfts: string;
464
+ };
465
+ PortfolioIdV7: {
466
+ did: string;
467
+ kind: string;
468
+ };
469
+ PortfolioKindV7: {
470
+ _enum: {
471
+ Default: string;
472
+ User: string;
473
+ AccountId: string;
474
+ };
475
+ };
395
476
  };
396
477
  rpc: {
397
478
  identity: {
398
- isIdentityHasValidCdd: {
399
- description: string;
400
- params: {
401
- name: string;
402
- type: string;
403
- isOptional: boolean;
404
- }[];
405
- type: string;
406
- };
407
479
  getDidRecords: {
408
480
  description: string;
409
481
  params: {
@@ -440,15 +512,6 @@ declare const _default: {
440
512
  }[];
441
513
  type: string;
442
514
  };
443
- validCDDClaims: {
444
- description: string;
445
- params: {
446
- name: string;
447
- type: string;
448
- isOptional: boolean;
449
- }[];
450
- type: string;
451
- };
452
515
  };
453
516
  pips: {
454
517
  getVotes: {
@@ -945,6 +1008,10 @@ declare const _default: {
945
1008
  }[];
946
1009
  };
947
1010
  signedExtensions: {
1011
+ AuthorizeCall: {
1012
+ extrinsic: {};
1013
+ payload: {};
1014
+ };
948
1015
  StoreCallMetadata: {
949
1016
  extrinsic: {};
950
1017
  payload: {};
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/polkadot/schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAynDE"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/polkadot/schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA4yDE"}
@@ -9,13 +9,47 @@ exports.default = {
9
9
  PalletName: 'Text',
10
10
  ExtrinsicName: 'Text',
11
11
  AuthorizationNonce: 'u64',
12
- TargetIdAuthorization: {
13
- targetId: 'IdentityId',
14
- nonce: 'AuthorizationNonce',
12
+ 'ChainScopedMessage<Message>': {
13
+ genesisHash: 'Hash',
14
+ nonceOrId: 'u64',
15
+ label: 'Text',
15
16
  expiresAt: 'PolymeshMoment',
17
+ message: 'Message',
16
18
  },
19
+ ChainScopedMessageIdentityId: {
20
+ genesisHash: 'Hash',
21
+ nonceOrId: 'u64',
22
+ label: 'Text',
23
+ expiresAt: 'PolymeshMoment',
24
+ message: 'IdentityId',
25
+ },
26
+ ChainScopedMessageReceipt: {
27
+ genesisHash: 'Hash',
28
+ nonceOrId: 'u64',
29
+ label: 'Text',
30
+ expiresAt: 'PolymeshMoment',
31
+ message: 'Receipt',
32
+ },
33
+ ChainScopedMessageFundraiserReceipt: {
34
+ genesisHash: 'Hash',
35
+ nonceOrId: 'u64',
36
+ label: 'Text',
37
+ expiresAt: 'PolymeshMoment',
38
+ message: 'FundraiserReceipt',
39
+ },
40
+ ChainScopedMessageRuntimeCall: {
41
+ genesisHash: 'Hash',
42
+ nonceOrId: 'u64',
43
+ label: 'Text',
44
+ expiresAt: 'PolymeshMoment',
45
+ message: 'RuntimeCall',
46
+ },
47
+ SecondaryKeyAuthMessage: 'ChainScopedMessageIdentityId',
48
+ CreateChildIdentityAuthMessage: 'ChainScopedMessageIdentityId',
49
+ FundraiserReceiptMessage: 'ChainScopedMessageFundraiserReceipt',
50
+ ReceiptMessage: 'ChainScopedMessageReceipt',
51
+ RelayTxMessage: 'ChainScopedMessageRuntimeCall',
17
52
  Receipt: {
18
- uid: 'u64',
19
53
  instructionId: 'InstructionId',
20
54
  legId: 'LegId',
21
55
  senderIdentity: 'IdentityId',
@@ -25,7 +59,6 @@ exports.default = {
25
59
  },
26
60
  FundraiserId: 'u64',
27
61
  FundraiserReceipt: {
28
- uid: 'u64',
29
62
  fundraiserId: 'FundraiserId',
30
63
  legId: 'LegId',
31
64
  senderIdentity: 'IdentityId',
@@ -431,7 +464,7 @@ exports.default = {
431
464
  JoinIdentity: 'Permissions',
432
465
  PortfolioCustody: 'PortfolioId',
433
466
  BecomeAgent: '(PolymeshAssetId, AgentGroup)',
434
- AddRelayerPayingKey: '(AccountId32, AccountId32, u128)',
467
+ OldAddRelayerPayingKey: '(AccountId32, AccountId32, u128)',
435
468
  RotatePrimaryKeyToSecondary: 'Permissions',
436
469
  },
437
470
  },
@@ -482,6 +515,12 @@ exports.default = {
482
515
  Err: 'Vec<u8>',
483
516
  },
484
517
  },
518
+ DidActiveStatus: {
519
+ _enum: {
520
+ Ok: 'IdentityId',
521
+ Err: 'Vec<u8>',
522
+ },
523
+ },
485
524
  AssetDidResult: {
486
525
  _enum: {
487
526
  Ok: 'IdentityId',
@@ -519,7 +558,7 @@ exports.default = {
519
558
  JoinIdentity: '',
520
559
  PortfolioCustody: '',
521
560
  BecomeAgent: '',
522
- AddRelayerPayingKey: '',
561
+ OldAddRelayerPayingKey: '',
523
562
  RotatePrimaryKeyToSecondary: '',
524
563
  },
525
564
  },
@@ -527,7 +566,7 @@ exports.default = {
527
566
  _enum: {
528
567
  Unknown: '',
529
568
  Exists: '',
530
- CddVerified: '',
569
+ Active: '',
531
570
  },
532
571
  },
533
572
  PortfolioNumber: 'u64',
@@ -603,14 +642,14 @@ exports.default = {
603
642
  ids: 'Vec<NFTId>',
604
643
  },
605
644
  FungibleLeg: {
606
- sender: 'PortfolioId',
607
- receiver: 'PortfolioId',
645
+ sender: 'AssetHolder',
646
+ receiver: 'AssetHolder',
608
647
  assetId: 'PolymeshAssetId',
609
648
  amount: 'Balance',
610
649
  },
611
650
  NonFungibleLeg: {
612
- sender: 'PortfolioId',
613
- receiver: 'PortfolioId',
651
+ sender: 'AssetHolder',
652
+ receiver: 'AssetHolder',
614
653
  nfts: 'NFTs',
615
654
  },
616
655
  OffChainLeg: {
@@ -662,30 +701,51 @@ exports.default = {
662
701
  PalletPipsPipId: 'u32',
663
702
  PalletProtocolFeeRpcRuntimeApiCappedFee: 'u64',
664
703
  PolymeshRuntimeDevelopRuntimeRuntimeCall: 'Call',
704
+ AssetHolderKind: {
705
+ _enum: {
706
+ Account: 'AccountId32',
707
+ DefaultPortfolio: '',
708
+ UserPortfolio: 'PortfolioNumber',
709
+ },
710
+ },
711
+ AssetHolder: {
712
+ _enum: {
713
+ Portfolio: 'PortfolioId',
714
+ Account: 'AccountId32',
715
+ },
716
+ },
717
+ LegV7: {
718
+ _enum: {
719
+ Fungible: 'FungibleLegV7',
720
+ NonFungible: 'NonFungibleLegV7',
721
+ OffChain: 'OffChainLeg',
722
+ },
723
+ },
724
+ FungibleLegV7: {
725
+ sender: 'PortfolioIdV7',
726
+ receiver: 'PortfolioIdV7',
727
+ assetId: 'PolymeshAssetId',
728
+ amount: 'Balance',
729
+ },
730
+ NonFungibleLegV7: {
731
+ sender: 'PortfolioIdV7',
732
+ receiver: 'PortfolioIdV7',
733
+ nfts: 'NFTs',
734
+ },
735
+ PortfolioIdV7: {
736
+ did: 'IdentityId',
737
+ kind: 'PortfolioKindV7',
738
+ },
739
+ PortfolioKindV7: {
740
+ _enum: {
741
+ Default: '',
742
+ User: 'PortfolioNumber',
743
+ AccountId: 'AccountId32',
744
+ },
745
+ },
665
746
  },
666
747
  rpc: {
667
748
  identity: {
668
- isIdentityHasValidCdd: {
669
- description: 'use to tell whether the given did has valid cdd claim or not',
670
- params: [
671
- {
672
- name: 'did',
673
- type: 'IdentityId',
674
- isOptional: false,
675
- },
676
- {
677
- name: 'buffer_time',
678
- type: 'u64',
679
- isOptional: true,
680
- },
681
- {
682
- name: 'blockHash',
683
- type: 'Hash',
684
- isOptional: true,
685
- },
686
- ],
687
- type: 'CddStatus',
688
- },
689
749
  getDidRecords: {
690
750
  description: 'Used to get the did record values for a given DID',
691
751
  params: [
@@ -760,27 +820,6 @@ exports.default = {
760
820
  ],
761
821
  type: 'Option<KeyIdentityData>',
762
822
  },
763
- validCDDClaims: {
764
- description: 'Returns all valid IdentityClaim of type CustomerDueDiligence for the given target_identity',
765
- params: [
766
- {
767
- name: 'target_identity',
768
- type: 'IdentityId',
769
- isOptional: false,
770
- },
771
- {
772
- name: 'cdd_checker_leeway',
773
- type: 'u64',
774
- isOptional: true,
775
- },
776
- {
777
- name: 'blockHash',
778
- type: 'Hash',
779
- isOptional: true,
780
- },
781
- ],
782
- type: 'Vec<IdentityClaim>',
783
- },
784
823
  },
785
824
  pips: {
786
825
  getVotes: {
@@ -868,13 +907,13 @@ exports.default = {
868
907
  description: "Returns a vector containing all errors for the transfer. An empty vec means there's no error.",
869
908
  params: [
870
909
  {
871
- name: 'sender_portfolio',
872
- type: 'PortfolioId',
910
+ name: 'sender',
911
+ type: 'AssetHolder',
873
912
  isOptional: false,
874
913
  },
875
914
  {
876
- name: 'receiver_portfolio',
877
- type: 'PortfolioId',
915
+ name: 'receiver',
916
+ type: 'AssetHolder',
878
917
  isOptional: false,
879
918
  },
880
919
  {
@@ -930,13 +969,13 @@ exports.default = {
930
969
  description: "Returns a vector containing all errors for the transfer. An empty vec means there's no error.",
931
970
  params: [
932
971
  {
933
- name: 'sender_portfolio',
934
- type: 'PortfolioId',
972
+ name: 'sender',
973
+ type: 'AssetHolder',
935
974
  isOptional: false,
936
975
  },
937
976
  {
938
- name: 'receiver_portfolio',
939
- type: 'PortfolioId',
977
+ name: 'receiver',
978
+ type: 'AssetHolder',
940
979
  isOptional: false,
941
980
  },
942
981
  {
@@ -984,8 +1023,8 @@ exports.default = {
984
1023
  isOptional: false,
985
1024
  },
986
1025
  {
987
- name: 'portfolios',
988
- type: 'Vec<PortfolioId>',
1026
+ name: 'holder_set',
1027
+ type: 'Vec<AssetHolder>',
989
1028
  isOptional: false,
990
1029
  },
991
1030
  {
@@ -1044,6 +1083,37 @@ exports.default = {
1044
1083
  },
1045
1084
  runtime: {
1046
1085
  AssetApi: [
1086
+ {
1087
+ methods: {
1088
+ transfer_report: {
1089
+ description: "Returns a vector containing all errors for the transfer. An empty vec means there's no error.",
1090
+ params: [
1091
+ {
1092
+ name: 'sender',
1093
+ type: 'AssetHolder',
1094
+ },
1095
+ {
1096
+ name: 'receiver',
1097
+ type: 'AssetHolder',
1098
+ },
1099
+ {
1100
+ name: 'asset_id',
1101
+ type: 'PolymeshAssetId',
1102
+ },
1103
+ {
1104
+ name: 'transfer_value',
1105
+ type: 'Balance',
1106
+ },
1107
+ {
1108
+ name: 'skip_locked_check',
1109
+ type: 'bool',
1110
+ },
1111
+ ],
1112
+ type: 'Vec<DispatchError>',
1113
+ },
1114
+ },
1115
+ version: 5,
1116
+ },
1047
1117
  {
1048
1118
  methods: {
1049
1119
  transfer_report: {
@@ -1351,6 +1421,33 @@ exports.default = {
1351
1421
  },
1352
1422
  ],
1353
1423
  NFTApi: [
1424
+ {
1425
+ methods: {
1426
+ transfer_report: {
1427
+ description: "Returns a vector containing all errors for the transfer. An empty vec means there's no error.",
1428
+ params: [
1429
+ {
1430
+ name: 'sender',
1431
+ type: 'AssetHolder',
1432
+ },
1433
+ {
1434
+ name: 'receiver',
1435
+ type: 'AssetHolder',
1436
+ },
1437
+ {
1438
+ name: 'nfts',
1439
+ type: 'NFTs',
1440
+ },
1441
+ {
1442
+ name: 'skip_locked_check',
1443
+ type: 'bool',
1444
+ },
1445
+ ],
1446
+ type: 'Vec<DispatchError>',
1447
+ },
1448
+ },
1449
+ version: 3,
1450
+ },
1354
1451
  {
1355
1452
  methods: {
1356
1453
  transfer_report: {
@@ -1457,6 +1554,79 @@ exports.default = {
1457
1554
  },
1458
1555
  ],
1459
1556
  SettlementApi: [
1557
+ {
1558
+ methods: {
1559
+ get_execute_instruction_info: {
1560
+ description: 'Returns an ExecuteInstructionInfo instance containing the consumed weight and the number of tokens in the instruction.',
1561
+ params: [
1562
+ {
1563
+ name: 'instruction_id',
1564
+ type: 'InstructionId',
1565
+ },
1566
+ ],
1567
+ type: 'Option<ExecuteInstructionInfo>',
1568
+ },
1569
+ get_affirmation_count: {
1570
+ 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.',
1571
+ params: [
1572
+ {
1573
+ name: 'instruction_id',
1574
+ type: 'InstructionId',
1575
+ },
1576
+ {
1577
+ name: 'holder_set',
1578
+ type: 'Vec<AssetHolder>',
1579
+ },
1580
+ ],
1581
+ type: 'AffirmationCount',
1582
+ },
1583
+ get_transfer_report: {
1584
+ description: "Returns a vector containing all errors for the transfer. An empty vec means there's no error.",
1585
+ params: [
1586
+ {
1587
+ name: 'leg',
1588
+ type: 'Leg',
1589
+ },
1590
+ {
1591
+ name: 'skip_locked_check',
1592
+ type: 'bool',
1593
+ },
1594
+ ],
1595
+ type: 'Vec<DispatchError>',
1596
+ },
1597
+ get_execute_instruction_report: {
1598
+ description: "Returns a vector containing all errors for the execution. An empty vec means there's no error.",
1599
+ params: [
1600
+ {
1601
+ name: 'instruction_id',
1602
+ type: 'InstructionId',
1603
+ },
1604
+ ],
1605
+ type: 'Vec<DispatchError>',
1606
+ },
1607
+ instruction_asset_count: {
1608
+ description: 'Returns the AssetCount for the given instruction.',
1609
+ params: [
1610
+ {
1611
+ name: 'instruction_id',
1612
+ type: 'InstructionId',
1613
+ },
1614
+ ],
1615
+ type: 'AssetCount',
1616
+ },
1617
+ lock_instruction_weight: {
1618
+ description: 'Returns the weight for executing lock_instruction.',
1619
+ params: [
1620
+ {
1621
+ name: 'instruction_id',
1622
+ type: 'InstructionId',
1623
+ },
1624
+ ],
1625
+ type: 'Result<Weight, DispatchError>',
1626
+ },
1627
+ },
1628
+ version: 3,
1629
+ },
1460
1630
  {
1461
1631
  methods: {
1462
1632
  get_execute_instruction_info: {
@@ -1627,6 +1797,10 @@ exports.default = {
1627
1797
  ],
1628
1798
  },
1629
1799
  signedExtensions: {
1800
+ AuthorizeCall: {
1801
+ extrinsic: {},
1802
+ payload: {},
1803
+ },
1630
1804
  StoreCallMetadata: {
1631
1805
  extrinsic: {},
1632
1806
  payload: {},