@polymeshassociation/polymesh-sdk 29.1.0-beta.3 → 29.1.0-beta.5
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/.yarn/install-state.gz +0 -0
- package/CHANGELOG.md +3 -3
- package/api/entities/CustomPermissionGroup.d.ts.map +1 -1
- package/api/entities/CustomPermissionGroup.js +3 -1
- package/api/entities/CustomPermissionGroup.js.map +1 -1
- package/api/entities/KnownPermissionGroup.d.ts.map +1 -1
- package/api/entities/KnownPermissionGroup.js +3 -1
- package/api/entities/KnownPermissionGroup.js.map +1 -1
- package/api/procedures/modifyMultiSig.d.ts +3 -2
- package/api/procedures/modifyMultiSig.d.ts.map +1 -1
- package/api/procedures/modifyMultiSig.js +75 -42
- package/api/procedures/modifyMultiSig.js.map +1 -1
- package/api/procedures/types.d.ts +113 -64
- package/api/procedures/types.d.ts.map +1 -1
- package/api/procedures/types.js +98 -57
- package/api/procedures/types.js.map +1 -1
- package/npm-package/{polymeshassociation-polymesh-sdk-29.1.0-beta.3.tgz → polymeshassociation-polymesh-sdk-29.1.0-beta.5.tgz} +0 -0
- package/package.json +1 -1
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -1
- package/types/index.js +1 -0
- package/types/index.js.map +1 -1
- package/types/txGroupConstants.d.ts +318 -0
- package/types/txGroupConstants.d.ts.map +1 -0
- package/types/txGroupConstants.js +506 -0
- package/types/txGroupConstants.js.map +1 -0
- package/utils/conversion.d.ts.map +1 -1
- package/utils/conversion.js +1 -87
- package/utils/conversion.js.map +1 -1
package/utils/conversion.js
CHANGED
|
@@ -691,93 +691,7 @@ function textToString(value) {
|
|
|
691
691
|
* Retrieve every Transaction Tag associated to a Transaction Group
|
|
692
692
|
*/
|
|
693
693
|
function txGroupToTxTags(group) {
|
|
694
|
-
|
|
695
|
-
case types_3.TxGroup.PortfolioManagement: {
|
|
696
|
-
return [
|
|
697
|
-
types_3.TxTags.identity.AddInvestorUniquenessClaim,
|
|
698
|
-
types_3.TxTags.portfolio.MovePortfolioFunds,
|
|
699
|
-
types_3.TxTags.settlement.AddInstruction,
|
|
700
|
-
types_3.TxTags.settlement.AddInstructionWithMemo,
|
|
701
|
-
types_3.TxTags.settlement.AddAndAffirmInstruction,
|
|
702
|
-
types_3.TxTags.settlement.AddAndAffirmInstructionWithMemo,
|
|
703
|
-
types_3.TxTags.settlement.AffirmInstruction,
|
|
704
|
-
types_3.TxTags.settlement.RejectInstruction,
|
|
705
|
-
types_3.TxTags.settlement.CreateVenue,
|
|
706
|
-
];
|
|
707
|
-
}
|
|
708
|
-
case types_3.TxGroup.AssetManagement: {
|
|
709
|
-
return [
|
|
710
|
-
types_3.TxTags.asset.MakeDivisible,
|
|
711
|
-
types_3.TxTags.asset.RenameAsset,
|
|
712
|
-
types_3.TxTags.asset.SetFundingRound,
|
|
713
|
-
types_3.TxTags.asset.AddDocuments,
|
|
714
|
-
types_3.TxTags.asset.RemoveDocuments,
|
|
715
|
-
];
|
|
716
|
-
}
|
|
717
|
-
case types_3.TxGroup.AdvancedAssetManagement: {
|
|
718
|
-
return [
|
|
719
|
-
types_3.TxTags.asset.Freeze,
|
|
720
|
-
types_3.TxTags.asset.Unfreeze,
|
|
721
|
-
types_3.TxTags.identity.AddAuthorization,
|
|
722
|
-
types_3.TxTags.identity.RemoveAuthorization,
|
|
723
|
-
];
|
|
724
|
-
}
|
|
725
|
-
case types_3.TxGroup.Distribution: {
|
|
726
|
-
return [
|
|
727
|
-
types_3.TxTags.identity.AddInvestorUniquenessClaim,
|
|
728
|
-
types_3.TxTags.settlement.CreateVenue,
|
|
729
|
-
types_3.TxTags.settlement.AddInstruction,
|
|
730
|
-
types_3.TxTags.settlement.AddInstructionWithMemo,
|
|
731
|
-
types_3.TxTags.settlement.AddAndAffirmInstruction,
|
|
732
|
-
types_3.TxTags.settlement.AddAndAffirmInstructionWithMemo,
|
|
733
|
-
];
|
|
734
|
-
}
|
|
735
|
-
case types_3.TxGroup.Issuance: {
|
|
736
|
-
return [types_3.TxTags.asset.Issue];
|
|
737
|
-
}
|
|
738
|
-
case types_3.TxGroup.TrustedClaimIssuersManagement: {
|
|
739
|
-
return [
|
|
740
|
-
types_3.TxTags.complianceManager.AddDefaultTrustedClaimIssuer,
|
|
741
|
-
types_3.TxTags.complianceManager.RemoveDefaultTrustedClaimIssuer,
|
|
742
|
-
];
|
|
743
|
-
}
|
|
744
|
-
case types_3.TxGroup.ClaimsManagement: {
|
|
745
|
-
return [types_3.TxTags.identity.AddClaim, types_3.TxTags.identity.RevokeClaim];
|
|
746
|
-
}
|
|
747
|
-
case types_3.TxGroup.ComplianceRequirementsManagement: {
|
|
748
|
-
return [
|
|
749
|
-
types_3.TxTags.complianceManager.AddComplianceRequirement,
|
|
750
|
-
types_3.TxTags.complianceManager.RemoveComplianceRequirement,
|
|
751
|
-
types_3.TxTags.complianceManager.PauseAssetCompliance,
|
|
752
|
-
types_3.TxTags.complianceManager.ResumeAssetCompliance,
|
|
753
|
-
types_3.TxTags.complianceManager.ResetAssetCompliance,
|
|
754
|
-
];
|
|
755
|
-
}
|
|
756
|
-
case types_3.TxGroup.CorporateActionsManagement: {
|
|
757
|
-
return [
|
|
758
|
-
types_3.TxTags.checkpoint.CreateSchedule,
|
|
759
|
-
types_3.TxTags.checkpoint.RemoveSchedule,
|
|
760
|
-
types_3.TxTags.checkpoint.CreateCheckpoint,
|
|
761
|
-
types_3.TxTags.corporateAction.InitiateCorporateAction,
|
|
762
|
-
types_3.TxTags.capitalDistribution.Distribute,
|
|
763
|
-
types_3.TxTags.capitalDistribution.Claim,
|
|
764
|
-
types_3.TxTags.identity.AddInvestorUniquenessClaim,
|
|
765
|
-
];
|
|
766
|
-
}
|
|
767
|
-
case types_3.TxGroup.StoManagement: {
|
|
768
|
-
return [
|
|
769
|
-
types_3.TxTags.sto.CreateFundraiser,
|
|
770
|
-
types_3.TxTags.sto.FreezeFundraiser,
|
|
771
|
-
types_3.TxTags.sto.Invest,
|
|
772
|
-
types_3.TxTags.sto.ModifyFundraiserWindow,
|
|
773
|
-
types_3.TxTags.sto.Stop,
|
|
774
|
-
types_3.TxTags.sto.UnfreezeFundraiser,
|
|
775
|
-
types_3.TxTags.identity.AddInvestorUniquenessClaim,
|
|
776
|
-
types_3.TxTags.asset.Issue,
|
|
777
|
-
types_3.TxTags.settlement.CreateVenue,
|
|
778
|
-
];
|
|
779
|
-
}
|
|
780
|
-
}
|
|
694
|
+
return types_3.TX_GROUP_TO_TAGS_MAP[group];
|
|
781
695
|
}
|
|
782
696
|
/**
|
|
783
697
|
* @hidden
|