-
Notifications
You must be signed in to change notification settings - Fork 12
types.txGroupConstants
@polymeshassociation/polymesh-sdk / types/txGroupConstants
constADVANCED_ASSET_MANAGEMENT_TX_TAGS: [AcceptAssetOwnershipTransfer,ControllerTransfer,Freeze,Unfreeze,ControllerTransfer]
Defined in: types/txGroupConstants.ts:18
Transaction tags for Advanced Asset Management operations Contains asset freeze/unfreeze, controller transfer, and NFT management operations.
Values:
- TxTags.asset.AcceptAssetOwnershipTransfer
- TxTags.asset.ControllerTransfer
- TxTags.asset.Freeze
- TxTags.asset.Unfreeze
- TxTags.nft.ControllerTransfer
AcceptAssetOwnershipTransfer has unique permission checking - it verifies that the identity that created the authorization was an agent with AcceptAssetOwnershipTransfer permission so an agent with this permission can transfer the ownership of the asset.
constAGENT_TX_GROUP_VALUES: readonly [AdvancedAssetManagement,AssetDocumentManagement,AssetManagement,AssetMetadataManagement,CapitalDistribution,CheckpointManagement,ComplianceManagement,CorporateActionsManagement,CorporateBallotManagement,ExternalAgentManagement,Issuance,Redemption,StoManagement,TrustedClaimIssuersManagement]
Defined in: types/txGroupConstants.ts:513
Runtime list of TxGroup values that are permitted for External Agent permissions.
- Pairs with api/procedures/types!AgentTxGroup for compile-time safety.
- Use this constant when you need to iterate, validate, or render the allowed groups at runtime without duplicating definitions.
- All transactions in these groups are available to both Agents and Secondary Keys.
- Groups are ordered alphabetically for consistency.
Iterate allowed agent groups and retrieve their transactions
AGENT_TX_GROUP_VALUES.forEach(group => {
const tags = txGroupToTxTags(group);
// render group with its tags, build UI options, etc.
});
constASSET_DOCUMENT_MANAGEMENT_TX_TAGS: [AddDocuments,RemoveDocuments]
Defined in: types/txGroupConstants.ts:57
Transaction tags for Asset Document Management operations Contains operations for managing asset documents.
Values:
- TxTags.asset.AddDocuments
- TxTags.asset.RemoveDocuments
constASSET_MANAGEMENT_TX_TAGS: [LinkTickerToAssetId,MakeDivisible,RenameAsset,SetFundingRound,UnlinkTickerFromAssetId,UpdateAssetType,UpdateIdentifiers]
Defined in: types/txGroupConstants.ts:39
Transaction tags for Asset Management operations Contains basic asset management operations like divisibility, linking, and metadata.
Values:
- TxTags.asset.LinkTickerToAssetId
- TxTags.asset.MakeDivisible
- TxTags.asset.RenameAsset
- TxTags.asset.SetFundingRound
- TxTags.asset.UnlinkTickerFromAssetId
- TxTags.asset.UpdateAssetType
- TxTags.asset.UpdateIdentifiers
constASSET_METADATA_MANAGEMENT_TX_TAGS: [RegisterAndSetLocalAssetMetadata,RegisterAssetMetadataLocalType,RemoveLocalMetadataKey,RemoveMetadataValue,SetAssetMetadata,SetAssetMetadataDetails]
Defined in: types/txGroupConstants.ts:72
Transaction tags for Asset Metadata Management operations Contains operations for managing asset metadata.
Values:
- TxTags.asset.RegisterAndSetLocalAssetMetadata
- TxTags.asset.RegisterAssetMetadataLocalType
- TxTags.asset.RemoveLocalMetadataKey
- TxTags.asset.RemoveMetadataValue
constASSET_REGISTRATION_TX_TAGS: [AcceptAssetOwnershipTransfer,AcceptTickerTransfer,CreateAsset,CreateAssetWithCustomType,RegisterCustomAssetType,RegisterUniqueTicker,CreateNftCollection]
Defined in: types/txGroupConstants.ts:94
Transaction tags for Asset Registration operations Contains operations for registering assets, custom types, and NFT collections.
Values:
- TxTags.asset.AcceptAssetOwnershipTransfer
- TxTags.asset.AcceptTickerTransfer
- TxTags.asset.CreateAsset
- TxTags.asset.CreateAssetWithCustomType
- TxTags.asset.RegisterCustomAssetType
- TxTags.asset.RegisterUniqueTicker
- TxTags.nft.CreateNftCollection
constAUTHORIZATION_MANAGEMENT_TX_TAGS: [AddAuthorization,RemoveAuthorization]
Defined in: types/txGroupConstants.ts:112
Transaction tags for Authorization Management operations Contains operations for managing identity authorizations.
Values:
- TxTags.identity.AddAuthorization
- TxTags.identity.RemoveAuthorization
constCAPITAL_DISTRIBUTION_TX_TAGS: [Distribute,PushBenefit,Reclaim,RemoveDistribution]
Defined in: types/txGroupConstants.ts:127
Transaction tags for Capital Distribution operations Contains operations for managing capital distributions.
Values:
- TxTags.capitalDistribution.Distribute
- TxTags.capitalDistribution.PushBenefit
- TxTags.capitalDistribution.Reclaim
- TxTags.capitalDistribution.RemoveDistribution
constCDD_REGISTRATION_TX_TAGS: [CddRegisterDid,CddRegisterDidWithCdd]
Defined in: types/txGroupConstants.ts:142
Transaction tags for CDD Registration operations Contains operations for Customer Due Diligence registration.
Values:
- TxTags.identity.CddRegisterDid
- TxTags.identity.CddRegisterDidWithCdd
constCHECKPOINT_MANAGEMENT_TX_TAGS: [CreateCheckpoint,CreateSchedule,RemoveSchedule]
Defined in: types/txGroupConstants.ts:156
Transaction tags for Checkpoint Management operations Contains operations for creating and managing asset checkpoints.
Values:
- TxTags.checkpoint.CreateCheckpoint
- TxTags.checkpoint.CreateSchedule
- TxTags.checkpoint.RemoveSchedule
constCLAIMS_MANAGEMENT_TX_TAGS: [AddClaim,RegisterCustomClaimType,RevokeClaim,RevokeClaimByIndex]
Defined in: types/txGroupConstants.ts:172
Transaction tags for Claims Management operations Contains operations for adding, revoking, and managing identity claims.
Values:
- TxTags.identity.AddClaim
- TxTags.identity.RegisterCustomClaimType
- TxTags.identity.RevokeClaim
- TxTags.identity.RevokeClaimByIndex
constCOMPLIANCE_MANAGEMENT_TX_TAGS: [AddMandatoryMediators,RemoveMandatoryMediators,AddComplianceRequirement,ChangeComplianceRequirement,PauseAssetCompliance,RemoveComplianceRequirement,ReplaceAssetCompliance]
Defined in: types/txGroupConstants.ts:201
Transaction tags for Compliance Management operations Contains comprehensive compliance management operations.
Values:
- TxTags.asset.AddMandatoryMediators
- TxTags.asset.RemoveMandatoryMediators
- TxTags.complianceManager.AddComplianceRequirement
- TxTags.complianceManager.ChangeComplianceRequirement
- TxTags.complianceManager.PauseAssetCompliance
- TxTags.complianceManager.RemoveComplianceRequirement
- TxTags.complianceManager.ReplaceAssetCompliance
- TxTags.complianceManager.ResetAssetCompliance
- TxTags.complianceManager.ResumeAssetCompliance
- TxTags.settlement.AllowVenues
- TxTags.settlement.DisallowVenues
- TxTags.settlement.SetVenueFiltering
- TxTags.statistics.BatchUpdateAssetStats
- TxTags.statistics.SetActiveAssetStats
- TxTags.statistics.SetAssetTransferCompliance
- TxTags.statistics.SetEntitiesExempt
constCORPORATE_ACTIONS_MANAGEMENT_TX_TAGS: [ChangeRecordDate,InitiateCorporateAction,InitiateCorporateActionAndDistribute,LinkCaDoc,RemoveCa,SetDefaultTargets,SetDefaultWithholdingTax,SetDidWithholdingTax]
Defined in: types/txGroupConstants.ts:234
Transaction tags for Corporate Actions Management operations Contains operations for managing corporate actions.
Values:
- TxTags.corporateAction.ChangeRecordDate
- TxTags.corporateAction.InitiateCorporateAction
- TxTags.corporateAction.InitiateCorporateActionAndDistribute
- TxTags.corporateAction.LinkCaDoc
- TxTags.corporateAction.RemoveCa
- TxTags.corporateAction.SetDefaultTargets
- TxTags.corporateAction.SetDefaultWithholdingTax
- TxTags.corporateAction.SetDidWithholdingTax
constCORPORATE_BALLOT_MANAGEMENT_TX_TAGS: [AttachBallot,ChangeEnd,ChangeMeta,ChangeRcv,RemoveBallot]
Defined in: types/txGroupConstants.ts:256
Transaction tags for Corporate Ballot Management operations Contains operations for managing corporate ballots.
Values:
- TxTags.corporateBallot.AttachBallot
- TxTags.corporateBallot.ChangeEnd
- TxTags.corporateBallot.ChangeMeta
- TxTags.corporateBallot.ChangeRcv
- TxTags.corporateBallot.RemoveBallot
constCORPORATE_VOTING_TX_TAGS: [Vote]
Defined in: types/txGroupConstants.ts:271
Transaction tags for Corporate Voting operations Contains operations for voting in corporate ballots.
Values:
- TxTags.corporateBallot.Vote
constEXTERNAL_AGENT_MANAGEMENT_TX_TAGS: [ChangeGroup,CreateAndChangeCustomGroup,CreateGroup,CreateGroupAndAddAuth,RemoveAgent,SetGroupPermissions]
Defined in: types/txGroupConstants.ts:287
Transaction tags for External Agent Management operations Contains operations for managing external agents and their permissions.
Values:
- TxTags.externalAgents.ChangeGroup
- TxTags.externalAgents.CreateAndChangeCustomGroup
- TxTags.externalAgents.CreateGroup
- TxTags.externalAgents.CreateGroupAndAddAuth
- TxTags.externalAgents.RemoveAgent
- TxTags.externalAgents.SetGroupPermissions
constEXTERNAL_AGENT_PARTICIPATION_TX_TAGS: [Abdicate,AcceptBecomeAgent]
Defined in: types/txGroupConstants.ts:304
Transaction tags for External Agent Participation operations Contains operations for joining and leaving external agent roles.
Values:
- TxTags.externalAgents.Abdicate
- TxTags.externalAgents.AcceptBecomeAgent
constISSUANCE_TX_TAGS: [Issue,IssueNft]
Defined in: types/txGroupConstants.ts:358
Transaction tags for Issuance operations Contains fungible asset and NFT issuance operations.
Values:
- TxTags.asset.Issue
- TxTags.nft.IssueNft
constMULTISIG_MANAGEMENT_TX_TAGS: [CreateMultisig]
Defined in: types/txGroupConstants.ts:370
Transaction tags for MultiSig Management operations Contains operations for managing multi-signature accounts.
Values:
- TxTags.multiSig.CreateMultisig
constPORTFOLIO_MANAGEMENT_TX_TAGS: [AcceptPortfolioCustody,CreateCustodyPortfolio,CreatePortfolio,DeletePortfolio,MovePortfolioFunds,MovePortfolioFundsV2,QuitPortfolioCustody,RenamePortfolio]
Defined in: types/txGroupConstants.ts:388
Transaction tags for Portfolio Management operations Contains comprehensive portfolio management including creation, custody, movement, and operations.
Values:
- TxTags.portfolio.AcceptPortfolioCustody
- TxTags.portfolio.CreateCustodyPortfolio
- TxTags.portfolio.CreatePortfolio
- TxTags.portfolio.DeletePortfolio
- TxTags.portfolio.MovePortfolioFunds
- TxTags.portfolio.MovePortfolioFundsV2
- TxTags.portfolio.QuitPortfolioCustody
- TxTags.portfolio.RenamePortfolio
constREDEMPTION_TX_TAGS: [Redeem,RedeemNft]
Defined in: types/txGroupConstants.ts:427
Transaction tags for Redemption operations Contains fungible asset and NFT redemption operations.
Values:
- TxTags.asset.Redeem
- TxTags.nft.RedeemNft
constRELAYER_MANAGEMENT_TX_TAGS: [DecreasePolyxLimit,IncreasePolyxLimit,RemovePayingKey,SetPayingKey,UpdatePolyxLimit]
Defined in: types/txGroupConstants.ts:411
Transaction tags for Relayer Management operations Contains operations for managing relayer and paying keys.
Values:
- TxTags.relayer.AcceptPayingKey
- TxTags.relayer.DecreasePolyxLimit
- TxTags.relayer.IncreasePolyxLimit
- TxTags.relayer.RemovePayingKey
- TxTags.relayer.SetPayingKey
- TxTags.relayer.UpdatePolyxLimit
constSETTLEMENT_MANAGEMENT_TX_TAGS: [PreApproveAsset,RemoveAssetPreApproval,Claim,AddAndAffirmInstruction,AddAndAffirmInstructionWithMemo,AddInstruction,AddInstructionWithMemo,AffirmInstruction]
Defined in: types/txGroupConstants.ts:331
Transaction tags for Settlement Management operations Contains comprehensive settlement instruction, venue management, asset pre-approval, and investment operations.
Values:
- TxTags.asset.PreApproveAsset
- TxTags.asset.RemoveAssetPreApproval
- TxTags.capitalDistribution.Claim
- TxTags.settlement.AddAndAffirmInstruction
- TxTags.settlement.AddAndAffirmInstructionWithMemo
- TxTags.settlement.AddInstruction
- TxTags.settlement.AddInstructionWithMemo
- TxTags.settlement.AffirmInstruction
- TxTags.settlement.AffirmWithReceipts
- TxTags.settlement.CreateVenue
- TxTags.settlement.ExecuteManualInstruction
- TxTags.settlement.RejectInstruction
- TxTags.settlement.UpdateVenueDetails
- TxTags.settlement.UpdateVenueSigners
- TxTags.settlement.UpdateVenueType
- TxTags.sto.Invest
constSTO_MANAGEMENT_TX_TAGS: [CreateFundraiser,FreezeFundraiser,ModifyFundraiserWindow,Stop,UnfreezeFundraiser]
Defined in: types/txGroupConstants.ts:443
Transaction tags for STO Management operations Contains operations for Security Token Offerings management.
Values:
- TxTags.sto.CreateFundraiser
- TxTags.sto.FreezeFundraiser
- TxTags.sto.ModifyFundraiserWindow
- TxTags.sto.Stop
- TxTags.sto.UnfreezeFundraiser
constTRUSTED_CLAIM_ISSUERS_MANAGEMENT_TX_TAGS: [AddDefaultTrustedClaimIssuer,RemoveDefaultTrustedClaimIssuer]
Defined in: types/txGroupConstants.ts:459
Transaction tags for Trusted Claim Issuers Management operations Contains operations for managing trusted claim issuers.
Values:
- TxTags.complianceManager.AddDefaultTrustedClaimIssuer
- TxTags.complianceManager.RemoveDefaultTrustedClaimIssuer
constTX_GROUP_TO_TAGS_MAP:Record<TxGroup,TxTag[]>
Defined in: types/txGroupConstants.ts:469
Mapping of transaction groups to their corresponding transaction tags Used by txGroupToTxTags function for efficient lookups Groups are ordered alphabetically for maintainability