@settlemint/dalp-cli 2.1.7-main.25731786234 → 2.1.7-main.25732471874
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 +43 -2
- package/package.json +1 -1
package/dist/dalp.js
CHANGED
|
@@ -89931,6 +89931,39 @@ var TokenTransactionFeeCollectionV2ItemSchema = exports_external2.object({
|
|
|
89931
89931
|
logIndex: exports_external2.number().int().nonnegative()
|
|
89932
89932
|
});
|
|
89933
89933
|
var TokenTransactionFeeCollectionsV2OutputSchema = createPaginatedResponse(TokenTransactionFeeCollectionV2ItemSchema);
|
|
89934
|
+
var FEE_ACCRUAL_OPERATION_TYPE_OPTIONS = [...OPERATION_TYPE_OPTIONS, "unknown"];
|
|
89935
|
+
var TOKEN_FEE_ACCRUAL_EVENTS_COLLECTION_FIELDS = {
|
|
89936
|
+
accruedAt: dateField(),
|
|
89937
|
+
blockNumber: bigintField(),
|
|
89938
|
+
operationType: enumField(FEE_ACCRUAL_OPERATION_TYPE_OPTIONS, { sortable: false, facetable: true }),
|
|
89939
|
+
payer: addressField({ defaultOperator: "iLike" }),
|
|
89940
|
+
fromAddress: addressField({ defaultOperator: "iLike" }),
|
|
89941
|
+
toAddress: addressField({ defaultOperator: "iLike" }),
|
|
89942
|
+
feeAmount: bigintField(),
|
|
89943
|
+
operationAmount: bigintField()
|
|
89944
|
+
};
|
|
89945
|
+
var TokenFeeAccrualEventsV2InputSchema = createCollectionInputSchema(TOKEN_FEE_ACCRUAL_EVENTS_COLLECTION_FIELDS, {
|
|
89946
|
+
defaultSort: "-accruedAt",
|
|
89947
|
+
globalSearch: false
|
|
89948
|
+
});
|
|
89949
|
+
var TokenFeeAccrualEventV2ItemSchema = exports_external2.object({
|
|
89950
|
+
id: exports_external2.uuid(),
|
|
89951
|
+
payer: ethereumAddress,
|
|
89952
|
+
fromAddress: ethereumAddress,
|
|
89953
|
+
toAddress: ethereumAddress,
|
|
89954
|
+
operationType: exports_external2.enum(FEE_ACCRUAL_OPERATION_TYPE_OPTIONS),
|
|
89955
|
+
operationAmount: bigDecimal(),
|
|
89956
|
+
operationAmountExact: apiBigInt,
|
|
89957
|
+
feeBps: exports_external2.number().int().nonnegative(),
|
|
89958
|
+
feeAmount: bigDecimal(),
|
|
89959
|
+
feeAmountExact: apiBigInt,
|
|
89960
|
+
blockNumber: apiBigInt,
|
|
89961
|
+
blockTimestamp: timestamp(),
|
|
89962
|
+
eventTimestamp: timestamp(),
|
|
89963
|
+
txHash: ethereumHash,
|
|
89964
|
+
logIndex: exports_external2.number().int().nonnegative()
|
|
89965
|
+
});
|
|
89966
|
+
var TokenFeeAccrualEventsV2OutputSchema = createPaginatedResponse(TokenFeeAccrualEventV2ItemSchema);
|
|
89934
89967
|
var TRANSFER_APPROVAL_COLLECTION_FIELDS = {
|
|
89935
89968
|
status: enumField(["pending", "consumed", "revoked"]),
|
|
89936
89969
|
createdAt: dateField(),
|
|
@@ -90097,6 +90130,13 @@ var transactionFeeCollections = v2Contract.route({
|
|
|
90097
90130
|
successDescription: "Paginated list of transaction-fee collections.",
|
|
90098
90131
|
tags: [V2_TAG.token]
|
|
90099
90132
|
}).input(v2Input.paramsQuery(exports_external2.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }), TokenTransactionFeeCollectionsV2InputSchema)).output(TokenTransactionFeeCollectionsV2OutputSchema);
|
|
90133
|
+
var feeAccrualEvents = v2Contract.route({
|
|
90134
|
+
method: "GET",
|
|
90135
|
+
path: "/tokens/{tokenAddress}/transaction-fee-accounting/accrual-events",
|
|
90136
|
+
description: "List fee-accrual events for a token's transaction-fee-accounting feature. Each row captures the full FeeAccrued payload (payer, from, to, fee type, operation amount, fee bps, fee amount). Supports JSON:API pagination, sorting, filtering, and faceted operation counts.",
|
|
90137
|
+
successDescription: "Paginated list of fee-accrual events.",
|
|
90138
|
+
tags: [V2_TAG.token]
|
|
90139
|
+
}).input(v2Input.paramsQuery(exports_external2.object({ tokenAddress: TokenReadInputSchema.shape.tokenAddress }), TokenFeeAccrualEventsV2InputSchema)).output(TokenFeeAccrualEventsV2OutputSchema);
|
|
90100
90140
|
var tokenV2ReadsContract = {
|
|
90101
90141
|
read: read27,
|
|
90102
90142
|
allowance,
|
|
@@ -90113,6 +90153,7 @@ var tokenV2ReadsContract = {
|
|
|
90113
90153
|
votingDelegations,
|
|
90114
90154
|
historicalBalances,
|
|
90115
90155
|
transactionFeeCollections,
|
|
90156
|
+
feeAccrualEvents,
|
|
90116
90157
|
price
|
|
90117
90158
|
};
|
|
90118
90159
|
var statsBondStatus = v2Contract.route({
|
|
@@ -91648,7 +91689,7 @@ function normalizeDalpBaseUrl(url3) {
|
|
|
91648
91689
|
}
|
|
91649
91690
|
var package_default = {
|
|
91650
91691
|
name: "@settlemint/dalp-sdk",
|
|
91651
|
-
version: "2.1.7-main.
|
|
91692
|
+
version: "2.1.7-main.25732471874",
|
|
91652
91693
|
private: false,
|
|
91653
91694
|
description: "Fully typed SDK for the DALP tokenization platform API",
|
|
91654
91695
|
homepage: "https://settlemint.com",
|
|
@@ -92218,7 +92259,7 @@ function toStandardWebhookSecret(secret) {
|
|
|
92218
92259
|
// package.json
|
|
92219
92260
|
var package_default2 = {
|
|
92220
92261
|
name: "@settlemint/dalp-cli",
|
|
92221
|
-
version: "2.1.7-main.
|
|
92262
|
+
version: "2.1.7-main.25732471874",
|
|
92222
92263
|
private: false,
|
|
92223
92264
|
description: "CLI for the Digital Asset Lifecycle Platform — manage tokens, identities, compliance, and more from the command line.",
|
|
92224
92265
|
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.25732471874",
|
|
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",
|