@settlemint/dalp-cli 2.1.7-main.26417894085 → 2.1.7-main.26438249277
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/dist/dalp.js +61 -2
- package/package.json +1 -1
package/dist/dalp.js
CHANGED
|
@@ -82041,6 +82041,27 @@ var TokenFeatureMaturityRedemptionRotateBaseSchema = TokenFeatureMaturityRedempt
|
|
|
82041
82041
|
var TokenFeatureMaturityRedemptionRotateBodySchema = TokenFeatureMaturityRedemptionRotateBaseSchema.omit({
|
|
82042
82042
|
tokenAddress: true
|
|
82043
82043
|
});
|
|
82044
|
+
var TokenFeatureTransactionFeeCreateBaseSchema = TokenMutationInputSchema.extend({
|
|
82045
|
+
mintFeeBps: feeRateBps().meta({
|
|
82046
|
+
description: "Mint fee rate in basis points (e.g. 200 = 2%).",
|
|
82047
|
+
examples: [200, 0, 1e4]
|
|
82048
|
+
}),
|
|
82049
|
+
burnFeeBps: feeRateBps().meta({
|
|
82050
|
+
description: "Burn fee rate in basis points (e.g. 200 = 2%).",
|
|
82051
|
+
examples: [200, 0, 1e4]
|
|
82052
|
+
}),
|
|
82053
|
+
transferFeeBps: feeRateBps().meta({
|
|
82054
|
+
description: "Transfer fee rate in basis points (e.g. 200 = 2%).",
|
|
82055
|
+
examples: [200, 0, 1e4]
|
|
82056
|
+
}),
|
|
82057
|
+
feeRecipient: nonZeroEthereumAddress.meta({
|
|
82058
|
+
description: "Address that receives collected per-transaction fees (rejects the zero address).",
|
|
82059
|
+
examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
|
|
82060
|
+
})
|
|
82061
|
+
});
|
|
82062
|
+
var TokenFeatureTransactionFeeCreateBodySchema = TokenFeatureTransactionFeeCreateBaseSchema.omit({
|
|
82063
|
+
tokenAddress: true
|
|
82064
|
+
});
|
|
82044
82065
|
var TokenSetTransactionFeeRatesInputSchema = TokenMutationInputSchema.extend({
|
|
82045
82066
|
mintFeeBps: feeRateBps().meta({
|
|
82046
82067
|
description: "Mint fee rate in basis points (e.g. 200 = 2%)",
|
|
@@ -82840,6 +82861,13 @@ var freezeTransactionFeeRates = v2Contract.route({
|
|
|
82840
82861
|
successDescription: "Transaction fee rates frozen successfully.",
|
|
82841
82862
|
tags: [V2_TAG.token]
|
|
82842
82863
|
}).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS, "DALP-1020"] }).input(v2Input.paramsBody(TokenReadInputSchema, TokenFreezeTransactionFeeRatesInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
82864
|
+
var featureTransactionFeeCreate = v2Contract.route({
|
|
82865
|
+
method: "POST",
|
|
82866
|
+
path: "/tokens/{tokenAddress}/transaction-fee/features",
|
|
82867
|
+
description: "Deploy a transaction-fee feature on a CONFIGURABLE token via the DALPTransactionFeeFeatureFactory. Encodes ((mintFeeBps, burnFeeBps, transferFeeBps), feeRecipient) as configData and attaches the predicted feature via ISMARTConfigurable.setFeatures. Rejects the cross-type pair with transaction-fee-accounting before queueing.",
|
|
82868
|
+
successDescription: "Transaction-fee feature deployed successfully.",
|
|
82869
|
+
tags: [V2_TAG.token]
|
|
82870
|
+
}).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.paramsBody(TokenReadInputSchema, TokenFeatureTransactionFeeCreateBodySchema)).output(mutationOutput);
|
|
82843
82871
|
var setExternalTransactionFees = v2Contract.route({
|
|
82844
82872
|
method: "PATCH",
|
|
82845
82873
|
path: "/tokens/{tokenAddress}/external-transaction-fee/amounts",
|
|
@@ -83100,6 +83128,7 @@ var tokenV2MutationsContract = {
|
|
|
83100
83128
|
setTransactionFeeRates,
|
|
83101
83129
|
setTransactionFeeRecipient,
|
|
83102
83130
|
freezeTransactionFeeRates,
|
|
83131
|
+
featureTransactionFeeCreate,
|
|
83103
83132
|
setExternalTransactionFees,
|
|
83104
83133
|
setExternalTransactionFeeRecipient,
|
|
83105
83134
|
setExternalTransactionFeeToken,
|
|
@@ -84201,6 +84230,28 @@ var TokenTransactionFeeCollectionV2ItemSchema = exports_external.object({
|
|
|
84201
84230
|
logIndex: exports_external.number().int().nonnegative()
|
|
84202
84231
|
});
|
|
84203
84232
|
var TokenTransactionFeeCollectionsV2OutputSchema = createPaginatedResponse(TokenTransactionFeeCollectionV2ItemSchema);
|
|
84233
|
+
var TokenTransactionFeeCollectionPayerV2InputSchema = exports_external.object({
|
|
84234
|
+
payer: ethereumAddress.meta({
|
|
84235
|
+
description: "Payer address whose collected fees to summarise.",
|
|
84236
|
+
examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
|
|
84237
|
+
})
|
|
84238
|
+
});
|
|
84239
|
+
var TokenTransactionFeeCollectionPayerBreakdownItemSchema = exports_external.object({
|
|
84240
|
+
operationType: exports_external.enum(OPERATION_TYPE_OPTIONS),
|
|
84241
|
+
eventCount: exports_external.number().int().nonnegative(),
|
|
84242
|
+
totalFeeAmount: bigDecimal(),
|
|
84243
|
+
totalFeeAmountExact: apiBigInt
|
|
84244
|
+
});
|
|
84245
|
+
var TokenTransactionFeeCollectionPayerV2OutputSchema = exports_external.object({
|
|
84246
|
+
data: exports_external.object({
|
|
84247
|
+
payer: ethereumAddress,
|
|
84248
|
+
totalEvents: exports_external.number().int().nonnegative(),
|
|
84249
|
+
totalFeeAmount: bigDecimal(),
|
|
84250
|
+
totalFeeAmountExact: apiBigInt,
|
|
84251
|
+
breakdown: exports_external.array(TokenTransactionFeeCollectionPayerBreakdownItemSchema),
|
|
84252
|
+
recentEvents: exports_external.array(TokenTransactionFeeCollectionV2ItemSchema)
|
|
84253
|
+
})
|
|
84254
|
+
});
|
|
84204
84255
|
var FEE_ACCRUAL_OPERATION_TYPE_OPTIONS = [...OPERATION_TYPE_OPTIONS, "unknown"];
|
|
84205
84256
|
var TOKEN_FEE_ACCRUAL_EVENTS_COLLECTION_FIELDS = {
|
|
84206
84257
|
accruedAt: dateField(),
|
|
@@ -84722,6 +84773,13 @@ var transactionFeeCollections = v2Contract.route({
|
|
|
84722
84773
|
successDescription: "Paginated list of transaction-fee collections.",
|
|
84723
84774
|
tags: [V2_TAG.token]
|
|
84724
84775
|
}).input(v2Input.paramsQuery(exports_external.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }), TokenTransactionFeeCollectionsV2InputSchema)).output(TokenTransactionFeeCollectionsV2OutputSchema);
|
|
84776
|
+
var transactionFeeCollectionPayer = v2Contract.route({
|
|
84777
|
+
method: "GET",
|
|
84778
|
+
path: "/tokens/{tokenAddress}/transaction-fee/payers/{payer}",
|
|
84779
|
+
description: "Per-payer summary of collected transaction fees on a token's transaction-fee feature — totals, per-operation-type breakdown, and the most recent collection events for the payer.",
|
|
84780
|
+
successDescription: "Per-payer transaction-fee collection summary.",
|
|
84781
|
+
tags: [V2_TAG.token]
|
|
84782
|
+
}).input(v2Input.params(exports_external.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }).extend(TokenTransactionFeeCollectionPayerV2InputSchema.shape))).output(TokenTransactionFeeCollectionPayerV2OutputSchema);
|
|
84725
84783
|
var feeAccrualEvents = v2Contract.route({
|
|
84726
84784
|
method: "GET",
|
|
84727
84785
|
path: "/tokens/{tokenAddress}/transaction-fee-accounting/accrual-events",
|
|
@@ -84794,6 +84852,7 @@ var tokenV2ReadsContract = {
|
|
|
84794
84852
|
historicalHoldersAtBlock,
|
|
84795
84853
|
fixedTreasuryYieldHolderPeriods,
|
|
84796
84854
|
transactionFeeCollections,
|
|
84855
|
+
transactionFeeCollectionPayer,
|
|
84797
84856
|
feeAccrualEvents,
|
|
84798
84857
|
feeAccrualPayer,
|
|
84799
84858
|
externalFeeCollectionEvents,
|
|
@@ -86590,7 +86649,7 @@ function normalizeDalpBaseUrl(url3) {
|
|
|
86590
86649
|
}
|
|
86591
86650
|
var package_default = {
|
|
86592
86651
|
name: "@settlemint/dalp-sdk",
|
|
86593
|
-
version: "2.1.7-main.
|
|
86652
|
+
version: "2.1.7-main.26438249277",
|
|
86594
86653
|
private: false,
|
|
86595
86654
|
description: "Fully typed SDK for the DALP tokenization platform API",
|
|
86596
86655
|
homepage: "https://settlemint.com",
|
|
@@ -87162,7 +87221,7 @@ function toStandardWebhookSecret(secret) {
|
|
|
87162
87221
|
// package.json
|
|
87163
87222
|
var package_default2 = {
|
|
87164
87223
|
name: "@settlemint/dalp-cli",
|
|
87165
|
-
version: "2.1.7-main.
|
|
87224
|
+
version: "2.1.7-main.26438249277",
|
|
87166
87225
|
private: false,
|
|
87167
87226
|
description: "CLI for the Digital Asset Lifecycle Platform — manage tokens, identities, compliance, and more from the command line.",
|
|
87168
87227
|
homepage: "https://settlemint.com",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@settlemint/dalp-cli",
|
|
3
|
-
"version": "2.1.7-main.
|
|
3
|
+
"version": "2.1.7-main.26438249277",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "CLI for the Digital Asset Lifecycle Platform — manage tokens, identities, compliance, and more from the command line.",
|
|
6
6
|
"homepage": "https://settlemint.com",
|