@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
|
@@ -0,0 +1,318 @@
|
|
|
1
|
+
import { TxGroup, TxTag } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Transaction tags for Advanced Asset Management operations
|
|
4
|
+
* Contains asset freeze/unfreeze, controller transfer, and NFT management operations.
|
|
5
|
+
*
|
|
6
|
+
* Values:
|
|
7
|
+
* - TxTags.asset.AcceptAssetOwnershipTransfer
|
|
8
|
+
* - TxTags.asset.ControllerTransfer
|
|
9
|
+
* - TxTags.asset.Freeze
|
|
10
|
+
* - TxTags.asset.Unfreeze
|
|
11
|
+
* - TxTags.nft.ControllerTransfer
|
|
12
|
+
*
|
|
13
|
+
* @note AcceptAssetOwnershipTransfer has unique permission checking - it verifies that the identity
|
|
14
|
+
* that created the authorization was an agent with AcceptAssetOwnershipTransfer permission so an agent with this
|
|
15
|
+
* permission can transfer the ownership of the asset.
|
|
16
|
+
*/
|
|
17
|
+
export declare const ADVANCED_ASSET_MANAGEMENT_TX_TAGS: [import("../types").AssetTx.AcceptAssetOwnershipTransfer, import("../types").AssetTx.ControllerTransfer, import("../types").AssetTx.Freeze, import("../types").AssetTx.Unfreeze, import("../types").NftTx.ControllerTransfer];
|
|
18
|
+
/**
|
|
19
|
+
* Transaction tags for Asset Management operations
|
|
20
|
+
* Contains basic asset management operations like divisibility, linking, and metadata.
|
|
21
|
+
*
|
|
22
|
+
* Values:
|
|
23
|
+
* - TxTags.asset.LinkTickerToAssetId
|
|
24
|
+
* - TxTags.asset.MakeDivisible
|
|
25
|
+
* - TxTags.asset.RenameAsset
|
|
26
|
+
* - TxTags.asset.SetFundingRound
|
|
27
|
+
* - TxTags.asset.UnlinkTickerFromAssetId
|
|
28
|
+
* - TxTags.asset.UpdateAssetType
|
|
29
|
+
* - TxTags.asset.UpdateIdentifiers
|
|
30
|
+
*/
|
|
31
|
+
export declare const ASSET_MANAGEMENT_TX_TAGS: [import("../types").AssetTx.LinkTickerToAssetId, import("../types").AssetTx.MakeDivisible, import("../types").AssetTx.RenameAsset, import("../types").AssetTx.SetFundingRound, import("../types").AssetTx.UnlinkTickerFromAssetId, import("../types").AssetTx.UpdateAssetType, import("../types").AssetTx.UpdateIdentifiers];
|
|
32
|
+
/**
|
|
33
|
+
* Transaction tags for Asset Document Management operations
|
|
34
|
+
* Contains operations for managing asset documents.
|
|
35
|
+
*
|
|
36
|
+
* Values:
|
|
37
|
+
* - TxTags.asset.AddDocuments
|
|
38
|
+
* - TxTags.asset.RemoveDocuments
|
|
39
|
+
*/
|
|
40
|
+
export declare const ASSET_DOCUMENT_MANAGEMENT_TX_TAGS: [import("../types").AssetTx.AddDocuments, import("../types").AssetTx.RemoveDocuments];
|
|
41
|
+
/**
|
|
42
|
+
* Transaction tags for Asset Metadata Management operations
|
|
43
|
+
* Contains operations for managing asset metadata.
|
|
44
|
+
*
|
|
45
|
+
* Values:
|
|
46
|
+
* - TxTags.asset.RegisterAndSetLocalAssetMetadata
|
|
47
|
+
* - TxTags.asset.RegisterAssetMetadataLocalType
|
|
48
|
+
* - TxTags.asset.RemoveLocalMetadataKey
|
|
49
|
+
* - TxTags.asset.RemoveMetadataValue
|
|
50
|
+
*/
|
|
51
|
+
export declare const ASSET_METADATA_MANAGEMENT_TX_TAGS: [import("../types").AssetTx.RegisterAndSetLocalAssetMetadata, import("../types").AssetTx.RegisterAssetMetadataLocalType, import("../types").AssetTx.RemoveLocalMetadataKey, import("../types").AssetTx.RemoveMetadataValue, import("../types").AssetTx.SetAssetMetadata, import("../types").AssetTx.SetAssetMetadataDetails];
|
|
52
|
+
/**
|
|
53
|
+
* Transaction tags for Asset Registration operations
|
|
54
|
+
* Contains operations for registering assets, custom types, and NFT collections.
|
|
55
|
+
*
|
|
56
|
+
* Values:
|
|
57
|
+
* - TxTags.asset.AcceptAssetOwnershipTransfer
|
|
58
|
+
* - TxTags.asset.AcceptTickerTransfer
|
|
59
|
+
* - TxTags.asset.CreateAsset
|
|
60
|
+
* - TxTags.asset.CreateAssetWithCustomType
|
|
61
|
+
* - TxTags.asset.RegisterCustomAssetType
|
|
62
|
+
* - TxTags.asset.RegisterUniqueTicker
|
|
63
|
+
* - TxTags.nft.CreateNftCollection
|
|
64
|
+
*/
|
|
65
|
+
export declare const ASSET_REGISTRATION_TX_TAGS: [import("../types").AssetTx.AcceptAssetOwnershipTransfer, import("../types").AssetTx.AcceptTickerTransfer, import("../types").AssetTx.CreateAsset, import("../types").AssetTx.CreateAssetWithCustomType, import("../types").AssetTx.RegisterCustomAssetType, import("../types").AssetTx.RegisterUniqueTicker, import("../types").NftTx.CreateNftCollection];
|
|
66
|
+
/**
|
|
67
|
+
* Transaction tags for Authorization Management operations
|
|
68
|
+
* Contains operations for managing identity authorizations.
|
|
69
|
+
*
|
|
70
|
+
* Values:
|
|
71
|
+
* - TxTags.identity.AddAuthorization
|
|
72
|
+
* - TxTags.identity.RemoveAuthorization
|
|
73
|
+
*/
|
|
74
|
+
export declare const AUTHORIZATION_MANAGEMENT_TX_TAGS: [import("../types").IdentityTx.AddAuthorization, import("../types").IdentityTx.RemoveAuthorization];
|
|
75
|
+
/**
|
|
76
|
+
* Transaction tags for Capital Distribution operations
|
|
77
|
+
* Contains operations for managing capital distributions.
|
|
78
|
+
*
|
|
79
|
+
* Values:
|
|
80
|
+
* - TxTags.capitalDistribution.Distribute
|
|
81
|
+
* - TxTags.capitalDistribution.PushBenefit
|
|
82
|
+
* - TxTags.capitalDistribution.Reclaim
|
|
83
|
+
* - TxTags.capitalDistribution.RemoveDistribution
|
|
84
|
+
*/
|
|
85
|
+
export declare const CAPITAL_DISTRIBUTION_TX_TAGS: [import("../types").CapitalDistributionTx.Distribute, import("../types").CapitalDistributionTx.PushBenefit, import("../types").CapitalDistributionTx.Reclaim, import("../types").CapitalDistributionTx.RemoveDistribution];
|
|
86
|
+
/**
|
|
87
|
+
* Transaction tags for CDD Registration operations
|
|
88
|
+
* Contains operations for Customer Due Diligence registration.
|
|
89
|
+
*
|
|
90
|
+
* Values:
|
|
91
|
+
* - TxTags.identity.CddRegisterDid
|
|
92
|
+
* - TxTags.identity.CddRegisterDidWithCdd
|
|
93
|
+
*/
|
|
94
|
+
export declare const CDD_REGISTRATION_TX_TAGS: [import("../types").IdentityTx.CddRegisterDid, import("../types").IdentityTx.CddRegisterDidWithCdd];
|
|
95
|
+
/**
|
|
96
|
+
* Transaction tags for Checkpoint Management operations
|
|
97
|
+
* Contains operations for creating and managing asset checkpoints.
|
|
98
|
+
*
|
|
99
|
+
* Values:
|
|
100
|
+
* - TxTags.checkpoint.CreateCheckpoint
|
|
101
|
+
* - TxTags.checkpoint.CreateSchedule
|
|
102
|
+
* - TxTags.checkpoint.RemoveSchedule
|
|
103
|
+
*/
|
|
104
|
+
export declare const CHECKPOINT_MANAGEMENT_TX_TAGS: [import("../types").CheckpointTx.CreateCheckpoint, import("../types").CheckpointTx.CreateSchedule, import("../types").CheckpointTx.RemoveSchedule];
|
|
105
|
+
/**
|
|
106
|
+
* Transaction tags for Claims Management operations
|
|
107
|
+
* Contains operations for adding, revoking, and managing identity claims.
|
|
108
|
+
*
|
|
109
|
+
* Values:
|
|
110
|
+
* - TxTags.identity.AddClaim
|
|
111
|
+
* - TxTags.identity.RegisterCustomClaimType
|
|
112
|
+
* - TxTags.identity.RevokeClaim
|
|
113
|
+
* - TxTags.identity.RevokeClaimByIndex
|
|
114
|
+
*/
|
|
115
|
+
export declare const CLAIMS_MANAGEMENT_TX_TAGS: [import("../types").IdentityTx.AddClaim, import("../types").IdentityTx.RegisterCustomClaimType, import("../types").IdentityTx.RevokeClaim, import("../types").IdentityTx.RevokeClaimByIndex];
|
|
116
|
+
/**
|
|
117
|
+
* Transaction tags for Compliance Management operations
|
|
118
|
+
* Contains comprehensive compliance management operations.
|
|
119
|
+
*
|
|
120
|
+
* Values:
|
|
121
|
+
* - TxTags.asset.AddMandatoryMediators
|
|
122
|
+
* - TxTags.asset.RemoveMandatoryMediators
|
|
123
|
+
* - TxTags.complianceManager.AddComplianceRequirement
|
|
124
|
+
* - TxTags.complianceManager.ChangeComplianceRequirement
|
|
125
|
+
* - TxTags.complianceManager.PauseAssetCompliance
|
|
126
|
+
* - TxTags.complianceManager.RemoveComplianceRequirement
|
|
127
|
+
* - TxTags.complianceManager.ReplaceAssetCompliance
|
|
128
|
+
* - TxTags.complianceManager.ResetAssetCompliance
|
|
129
|
+
* - TxTags.complianceManager.ResumeAssetCompliance
|
|
130
|
+
* - TxTags.settlement.AllowVenues
|
|
131
|
+
* - TxTags.settlement.DisallowVenues
|
|
132
|
+
* - TxTags.settlement.SetVenueFiltering
|
|
133
|
+
* - TxTags.statistics.BatchUpdateAssetStats
|
|
134
|
+
* - TxTags.statistics.SetActiveAssetStats
|
|
135
|
+
* - TxTags.statistics.SetAssetTransferCompliance
|
|
136
|
+
* - TxTags.statistics.SetEntitiesExempt
|
|
137
|
+
*/
|
|
138
|
+
export declare const COMPLIANCE_MANAGEMENT_TX_TAGS: [import("../types").AssetTx.AddMandatoryMediators, import("../types").AssetTx.RemoveMandatoryMediators, import("../types").ComplianceManagerTx.AddComplianceRequirement, import("../types").ComplianceManagerTx.ChangeComplianceRequirement, import("../types").ComplianceManagerTx.PauseAssetCompliance, import("../types").ComplianceManagerTx.RemoveComplianceRequirement, import("../types").ComplianceManagerTx.ReplaceAssetCompliance, import("../types").ComplianceManagerTx.ResetAssetCompliance, import("../types").ComplianceManagerTx.ResumeAssetCompliance, import("../types").SettlementTx.AllowVenues, import("../types").SettlementTx.DisallowVenues, import("../types").SettlementTx.SetVenueFiltering, import("../types").StatisticsTx.BatchUpdateAssetStats, import("../types").StatisticsTx.SetActiveAssetStats, import("../types").StatisticsTx.SetAssetTransferCompliance, import("../types").StatisticsTx.SetEntitiesExempt];
|
|
139
|
+
/**
|
|
140
|
+
* Transaction tags for Corporate Actions Management operations
|
|
141
|
+
* Contains operations for managing corporate actions.
|
|
142
|
+
*
|
|
143
|
+
* Values:
|
|
144
|
+
* - TxTags.corporateAction.ChangeRecordDate
|
|
145
|
+
* - TxTags.corporateAction.InitiateCorporateAction
|
|
146
|
+
* - TxTags.corporateAction.InitiateCorporateActionAndDistribute
|
|
147
|
+
* - TxTags.corporateAction.LinkCaDoc
|
|
148
|
+
* - TxTags.corporateAction.RemoveCa
|
|
149
|
+
* - TxTags.corporateAction.SetDefaultTargets
|
|
150
|
+
* - TxTags.corporateAction.SetDefaultWithholdingTax
|
|
151
|
+
* - TxTags.corporateAction.SetDidWithholdingTax
|
|
152
|
+
*/
|
|
153
|
+
export declare const CORPORATE_ACTIONS_MANAGEMENT_TX_TAGS: [import("../types").CorporateActionTx.ChangeRecordDate, import("../types").CorporateActionTx.InitiateCorporateAction, import("../types").CorporateActionTx.InitiateCorporateActionAndDistribute, import("../types").CorporateActionTx.LinkCaDoc, import("../types").CorporateActionTx.RemoveCa, import("../types").CorporateActionTx.SetDefaultTargets, import("../types").CorporateActionTx.SetDefaultWithholdingTax, import("../types").CorporateActionTx.SetDidWithholdingTax];
|
|
154
|
+
/**
|
|
155
|
+
* Transaction tags for Corporate Ballot Management operations
|
|
156
|
+
* Contains operations for managing corporate ballots.
|
|
157
|
+
*
|
|
158
|
+
* Values:
|
|
159
|
+
* - TxTags.corporateBallot.AttachBallot
|
|
160
|
+
* - TxTags.corporateBallot.ChangeEnd
|
|
161
|
+
* - TxTags.corporateBallot.ChangeMeta
|
|
162
|
+
* - TxTags.corporateBallot.ChangeRcv
|
|
163
|
+
* - TxTags.corporateBallot.RemoveBallot
|
|
164
|
+
*/
|
|
165
|
+
export declare const CORPORATE_BALLOT_MANAGEMENT_TX_TAGS: [import("../types").CorporateBallotTx.AttachBallot, import("../types").CorporateBallotTx.ChangeEnd, import("../types").CorporateBallotTx.ChangeMeta, import("../types").CorporateBallotTx.ChangeRcv, import("../types").CorporateBallotTx.RemoveBallot];
|
|
166
|
+
/**
|
|
167
|
+
* Transaction tags for Corporate Voting operations
|
|
168
|
+
* Contains operations for voting in corporate ballots.
|
|
169
|
+
*
|
|
170
|
+
* Values:
|
|
171
|
+
* - TxTags.corporateBallot.Vote
|
|
172
|
+
*/
|
|
173
|
+
export declare const CORPORATE_VOTING_TX_TAGS: [import("../types").CorporateBallotTx.Vote];
|
|
174
|
+
/**
|
|
175
|
+
* Transaction tags for External Agent Management operations
|
|
176
|
+
* Contains operations for managing external agents and their permissions.
|
|
177
|
+
*
|
|
178
|
+
* Values:
|
|
179
|
+
* - TxTags.externalAgents.ChangeGroup
|
|
180
|
+
* - TxTags.externalAgents.CreateAndChangeCustomGroup
|
|
181
|
+
* - TxTags.externalAgents.CreateGroup
|
|
182
|
+
* - TxTags.externalAgents.CreateGroupAndAddAuth
|
|
183
|
+
* - TxTags.externalAgents.RemoveAgent
|
|
184
|
+
* - TxTags.externalAgents.SetGroupPermissions
|
|
185
|
+
*/
|
|
186
|
+
export declare const EXTERNAL_AGENT_MANAGEMENT_TX_TAGS: [import("../types").ExternalAgentsTx.ChangeGroup, import("../types").ExternalAgentsTx.CreateAndChangeCustomGroup, import("../types").ExternalAgentsTx.CreateGroup, import("../types").ExternalAgentsTx.CreateGroupAndAddAuth, import("../types").ExternalAgentsTx.RemoveAgent, import("../types").ExternalAgentsTx.SetGroupPermissions];
|
|
187
|
+
/**
|
|
188
|
+
* Transaction tags for External Agent Participation operations
|
|
189
|
+
* Contains operations for joining and leaving external agent roles.
|
|
190
|
+
*
|
|
191
|
+
* Values:
|
|
192
|
+
* - TxTags.externalAgents.Abdicate
|
|
193
|
+
* - TxTags.externalAgents.AcceptBecomeAgent
|
|
194
|
+
*/
|
|
195
|
+
export declare const EXTERNAL_AGENT_PARTICIPATION_TX_TAGS: [import("../types").ExternalAgentsTx.Abdicate, import("../types").ExternalAgentsTx.AcceptBecomeAgent];
|
|
196
|
+
/**
|
|
197
|
+
* Transaction tags for Settlement Management operations
|
|
198
|
+
* Contains comprehensive settlement instruction, venue management, asset pre-approval, and investment operations.
|
|
199
|
+
*
|
|
200
|
+
* Values:
|
|
201
|
+
* - TxTags.asset.PreApproveAsset
|
|
202
|
+
* - TxTags.asset.RemoveAssetPreApproval
|
|
203
|
+
* - TxTags.capitalDistribution.Claim
|
|
204
|
+
* - TxTags.settlement.AddAndAffirmInstruction
|
|
205
|
+
* - TxTags.settlement.AddAndAffirmInstructionWithMemo
|
|
206
|
+
* - TxTags.settlement.AddInstruction
|
|
207
|
+
* - TxTags.settlement.AddInstructionWithMemo
|
|
208
|
+
* - TxTags.settlement.AffirmInstruction
|
|
209
|
+
* - TxTags.settlement.AffirmWithReceipts
|
|
210
|
+
* - TxTags.settlement.CreateVenue
|
|
211
|
+
* - TxTags.settlement.ExecuteManualInstruction
|
|
212
|
+
* - TxTags.settlement.RejectInstruction
|
|
213
|
+
* - TxTags.settlement.UpdateVenueDetails
|
|
214
|
+
* - TxTags.settlement.UpdateVenueSigners
|
|
215
|
+
* - TxTags.settlement.UpdateVenueType
|
|
216
|
+
* - TxTags.sto.Invest
|
|
217
|
+
*/
|
|
218
|
+
export declare const SETTLEMENT_MANAGEMENT_TX_TAGS: [import("../types").AssetTx.PreApproveAsset, import("../types").AssetTx.RemoveAssetPreApproval, import("../types").CapitalDistributionTx.Claim, import("../types").SettlementTx.AddAndAffirmInstruction, import("../types").SettlementTx.AddAndAffirmInstructionWithMemo, import("../types").SettlementTx.AddInstruction, import("../types").SettlementTx.AddInstructionWithMemo, import("../types").SettlementTx.AffirmInstruction, import("../types").SettlementTx.AffirmWithReceipts, import("../types").SettlementTx.CreateVenue, import("../types").SettlementTx.ExecuteManualInstruction, import("../types").SettlementTx.RejectInstruction, import("../types").SettlementTx.UpdateVenueDetails, import("../types").SettlementTx.UpdateVenueSigners, import("../types").SettlementTx.UpdateVenueType, import("../types").StoTx.Invest];
|
|
219
|
+
/**
|
|
220
|
+
* Transaction tags for Issuance operations
|
|
221
|
+
* Contains fungible asset and NFT issuance operations.
|
|
222
|
+
*
|
|
223
|
+
* Values:
|
|
224
|
+
* - TxTags.asset.Issue
|
|
225
|
+
* - TxTags.nft.IssueNft
|
|
226
|
+
*/
|
|
227
|
+
export declare const ISSUANCE_TX_TAGS: [import("../types").AssetTx.Issue, import("../types").NftTx.IssueNft];
|
|
228
|
+
/**
|
|
229
|
+
* Transaction tags for MultiSig Management operations
|
|
230
|
+
* Contains operations for managing multi-signature accounts.
|
|
231
|
+
*
|
|
232
|
+
* Values:
|
|
233
|
+
* - TxTags.multiSig.CreateMultisig
|
|
234
|
+
*/
|
|
235
|
+
export declare const MULTISIG_MANAGEMENT_TX_TAGS: [import("../types").MultiSigTx.CreateMultisig];
|
|
236
|
+
/**
|
|
237
|
+
* Transaction tags for Portfolio Management operations
|
|
238
|
+
* Contains comprehensive portfolio management including creation, custody, movement, and operations.
|
|
239
|
+
*
|
|
240
|
+
* Values:
|
|
241
|
+
* - TxTags.portfolio.AcceptPortfolioCustody
|
|
242
|
+
* - TxTags.portfolio.CreateCustodyPortfolio
|
|
243
|
+
* - TxTags.portfolio.CreatePortfolio
|
|
244
|
+
* - TxTags.portfolio.DeletePortfolio
|
|
245
|
+
* - TxTags.portfolio.MovePortfolioFunds
|
|
246
|
+
* - TxTags.portfolio.MovePortfolioFundsV2
|
|
247
|
+
* - TxTags.portfolio.QuitPortfolioCustody
|
|
248
|
+
* - TxTags.portfolio.RenamePortfolio
|
|
249
|
+
*/
|
|
250
|
+
export declare const PORTFOLIO_MANAGEMENT_TX_TAGS: [import("../types").PortfolioTx.AcceptPortfolioCustody, import("../types").PortfolioTx.CreateCustodyPortfolio, import("../types").PortfolioTx.CreatePortfolio, import("../types").PortfolioTx.DeletePortfolio, import("../types").PortfolioTx.MovePortfolioFunds, import("../types").PortfolioTx.MovePortfolioFundsV2, import("../types").PortfolioTx.QuitPortfolioCustody, import("../types").PortfolioTx.RenamePortfolio];
|
|
251
|
+
/**
|
|
252
|
+
* Transaction tags for Relayer Management operations
|
|
253
|
+
* Contains operations for managing relayer and paying keys.
|
|
254
|
+
*
|
|
255
|
+
* Values:
|
|
256
|
+
* - TxTags.relayer.AcceptPayingKey
|
|
257
|
+
* - TxTags.relayer.DecreasePolyxLimit
|
|
258
|
+
* - TxTags.relayer.IncreasePolyxLimit
|
|
259
|
+
* - TxTags.relayer.RemovePayingKey
|
|
260
|
+
* - TxTags.relayer.SetPayingKey
|
|
261
|
+
* - TxTags.relayer.UpdatePolyxLimit
|
|
262
|
+
*/
|
|
263
|
+
export declare const RELAYER_MANAGEMENT_TX_TAGS: [import("../types").RelayerTx.DecreasePolyxLimit, import("../types").RelayerTx.IncreasePolyxLimit, import("../types").RelayerTx.RemovePayingKey, import("../types").RelayerTx.SetPayingKey, import("../types").RelayerTx.UpdatePolyxLimit];
|
|
264
|
+
/**
|
|
265
|
+
* Transaction tags for Redemption operations
|
|
266
|
+
* Contains fungible asset and NFT redemption operations.
|
|
267
|
+
*
|
|
268
|
+
* Values:
|
|
269
|
+
* - TxTags.asset.Redeem
|
|
270
|
+
* - TxTags.nft.RedeemNft
|
|
271
|
+
*/
|
|
272
|
+
export declare const REDEMPTION_TX_TAGS: [import("../types").AssetTx.Redeem, import("../types").NftTx.RedeemNft];
|
|
273
|
+
/**
|
|
274
|
+
* Transaction tags for STO Management operations
|
|
275
|
+
* Contains operations for Security Token Offerings management.
|
|
276
|
+
*
|
|
277
|
+
* Values:
|
|
278
|
+
* - TxTags.sto.CreateFundraiser
|
|
279
|
+
* - TxTags.sto.FreezeFundraiser
|
|
280
|
+
* - TxTags.sto.ModifyFundraiserWindow
|
|
281
|
+
* - TxTags.sto.Stop
|
|
282
|
+
* - TxTags.sto.UnfreezeFundraiser
|
|
283
|
+
*/
|
|
284
|
+
export declare const STO_MANAGEMENT_TX_TAGS: [import("../types").StoTx.CreateFundraiser, import("../types").StoTx.FreezeFundraiser, import("../types").StoTx.ModifyFundraiserWindow, import("../types").StoTx.Stop, import("../types").StoTx.UnfreezeFundraiser];
|
|
285
|
+
/**
|
|
286
|
+
* Transaction tags for Trusted Claim Issuers Management operations
|
|
287
|
+
* Contains operations for managing trusted claim issuers.
|
|
288
|
+
*
|
|
289
|
+
* Values:
|
|
290
|
+
* - TxTags.complianceManager.AddDefaultTrustedClaimIssuer
|
|
291
|
+
* - TxTags.complianceManager.RemoveDefaultTrustedClaimIssuer
|
|
292
|
+
*/
|
|
293
|
+
export declare const TRUSTED_CLAIM_ISSUERS_MANAGEMENT_TX_TAGS: [import("../types").ComplianceManagerTx.AddDefaultTrustedClaimIssuer, import("../types").ComplianceManagerTx.RemoveDefaultTrustedClaimIssuer];
|
|
294
|
+
/**
|
|
295
|
+
* Mapping of transaction groups to their corresponding transaction tags
|
|
296
|
+
* Used by txGroupToTxTags function for efficient lookups
|
|
297
|
+
* Groups are ordered alphabetically for maintainability
|
|
298
|
+
*/
|
|
299
|
+
export declare const TX_GROUP_TO_TAGS_MAP: Record<TxGroup, TxTag[]>;
|
|
300
|
+
/**
|
|
301
|
+
* Runtime list of `TxGroup` values that are permitted for External Agent permissions.
|
|
302
|
+
*
|
|
303
|
+
* - Pairs with {@link api/procedures/types!AgentTxGroup} for compile-time safety.
|
|
304
|
+
* - Use this constant when you need to iterate, validate, or render the allowed groups at runtime
|
|
305
|
+
* without duplicating definitions.
|
|
306
|
+
* - All transactions in these groups are available to both Agents and Secondary Keys.
|
|
307
|
+
* - Groups are ordered alphabetically for consistency.
|
|
308
|
+
*
|
|
309
|
+
* @example Iterate allowed agent groups and retrieve their transactions
|
|
310
|
+
* ```ts
|
|
311
|
+
* AGENT_TX_GROUP_VALUES.forEach(group => {
|
|
312
|
+
* const tags = txGroupToTxTags(group);
|
|
313
|
+
* // render group with its tags, build UI options, etc.
|
|
314
|
+
* });
|
|
315
|
+
* ```
|
|
316
|
+
*/
|
|
317
|
+
export declare const AGENT_TX_GROUP_VALUES: readonly [TxGroup.AdvancedAssetManagement, TxGroup.AssetDocumentManagement, TxGroup.AssetManagement, TxGroup.AssetMetadataManagement, TxGroup.CapitalDistribution, TxGroup.CheckpointManagement, TxGroup.ComplianceManagement, TxGroup.CorporateActionsManagement, TxGroup.CorporateBallotManagement, TxGroup.ExternalAgentManagement, TxGroup.Issuance, TxGroup.Redemption, TxGroup.StoManagement, TxGroup.TrustedClaimIssuersManagement];
|
|
318
|
+
//# sourceMappingURL=txGroupConstants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"txGroupConstants.d.ts","sourceRoot":"","sources":["../../src/types/txGroupConstants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,EAAU,MAAM,SAAS,CAAC;A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