@settlemint/dalp-sdk 2.1.7-main.25723988730 → 2.1.7-main.25725394464
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/index.js +25 -25
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -27312,28 +27312,28 @@ var collectAumFee = v2Contract.route({
|
|
|
27312
27312
|
description: "Collect accrued AUM fees from a token feature.",
|
|
27313
27313
|
successDescription: "AUM fee collected successfully.",
|
|
27314
27314
|
tags: [V2_TAG.token]
|
|
27315
|
-
}).input(v2Input.paramsBody(TokenReadInputSchema, TokenCollectAumFeeInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
27315
|
+
}).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.paramsBody(TokenReadInputSchema, TokenCollectAumFeeInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
27316
27316
|
var freezeAumFeeRate = v2Contract.route({
|
|
27317
27317
|
method: "POST",
|
|
27318
27318
|
path: "/tokens/{tokenAddress}/aum-fee/rate-freezes",
|
|
27319
27319
|
description: "Permanently freeze the AUM fee rate for a token feature.",
|
|
27320
27320
|
successDescription: "AUM fee rate frozen successfully.",
|
|
27321
27321
|
tags: [V2_TAG.token]
|
|
27322
|
-
}).input(v2Input.paramsBody(TokenReadInputSchema, TokenFreezeAumFeeRateInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
27322
|
+
}).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.paramsBody(TokenReadInputSchema, TokenFreezeAumFeeRateInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
27323
27323
|
var claimYield = v2Contract.route({
|
|
27324
27324
|
method: "POST",
|
|
27325
27325
|
path: "/tokens/{tokenAddress}/fixed-treasury-yield/claims",
|
|
27326
27326
|
description: "Claim accrued yield from a fixed treasury yield feature.",
|
|
27327
27327
|
successDescription: "Yield claimed successfully.",
|
|
27328
27328
|
tags: [V2_TAG.token]
|
|
27329
|
-
}).input(v2Input.paramsBody(TokenReadInputSchema, TokenClaimYieldInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
27329
|
+
}).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.paramsBody(TokenReadInputSchema, TokenClaimYieldInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
27330
27330
|
var setYieldTreasury = v2Contract.route({
|
|
27331
27331
|
method: "PATCH",
|
|
27332
27332
|
path: "/tokens/{tokenAddress}/fixed-treasury-yield/treasury",
|
|
27333
27333
|
description: "Update the treasury address for a yield feature.",
|
|
27334
27334
|
successDescription: "Yield treasury updated successfully.",
|
|
27335
27335
|
tags: [V2_TAG.token]
|
|
27336
|
-
}).input(v2Input.paramsBody(TokenReadInputSchema, TokenSetYieldTreasuryInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
27336
|
+
}).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.paramsBody(TokenReadInputSchema, TokenSetYieldTreasuryInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
27337
27337
|
var featureMature = v2Contract.route({
|
|
27338
27338
|
method: "POST",
|
|
27339
27339
|
path: "/tokens/{tokenAddress}/maturity-redemption/maturations",
|
|
@@ -27347,14 +27347,14 @@ var matureEarly = v2Contract.route({
|
|
|
27347
27347
|
description: "Trigger early maturity for a bond token.",
|
|
27348
27348
|
successDescription: "Bond matured early successfully.",
|
|
27349
27349
|
tags: [V2_TAG.token]
|
|
27350
|
-
}).input(v2Input.paramsBody(TokenReadInputSchema, TokenMatureEarlyInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
27350
|
+
}).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.paramsBody(TokenReadInputSchema, TokenMatureEarlyInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
27351
27351
|
var setMaturityTreasury = v2Contract.route({
|
|
27352
27352
|
method: "PATCH",
|
|
27353
27353
|
path: "/tokens/{tokenAddress}/maturity-redemption/treasury",
|
|
27354
27354
|
description: "Update the treasury address for maturity redemption.",
|
|
27355
27355
|
successDescription: "Maturity treasury updated successfully.",
|
|
27356
27356
|
tags: [V2_TAG.token]
|
|
27357
|
-
}).input(v2Input.paramsBody(TokenReadInputSchema, TokenSetMaturityTreasuryInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
27357
|
+
}).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.paramsBody(TokenReadInputSchema, TokenSetMaturityTreasuryInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
27358
27358
|
var topUpMaturityTreasury = v2Contract.route({
|
|
27359
27359
|
method: "POST",
|
|
27360
27360
|
path: "/tokens/{tokenAddress}/maturity-redemption/top-ups",
|
|
@@ -27410,7 +27410,7 @@ var setTransactionFeeRecipient = v2Contract.route({
|
|
|
27410
27410
|
description: "Update the transaction fee recipient address.",
|
|
27411
27411
|
successDescription: "Transaction fee recipient updated successfully.",
|
|
27412
27412
|
tags: [V2_TAG.token]
|
|
27413
|
-
}).input(v2Input.paramsBody(TokenReadInputSchema, TokenSetTransactionFeeRecipientInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
27413
|
+
}).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.paramsBody(TokenReadInputSchema, TokenSetTransactionFeeRecipientInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
27414
27414
|
var freezeTransactionFeeRates = v2Contract.route({
|
|
27415
27415
|
method: "POST",
|
|
27416
27416
|
path: "/tokens/{tokenAddress}/transaction-fee/rate-freezes",
|
|
@@ -27424,14 +27424,14 @@ var setExternalTransactionFees = v2Contract.route({
|
|
|
27424
27424
|
description: "Update external transaction fee amounts (mint, burn, transfer).",
|
|
27425
27425
|
successDescription: "External transaction fees updated successfully.",
|
|
27426
27426
|
tags: [V2_TAG.token]
|
|
27427
|
-
}).input(v2Input.paramsBody(TokenReadInputSchema, TokenSetExternalTransactionFeesInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
27427
|
+
}).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.paramsBody(TokenReadInputSchema, TokenSetExternalTransactionFeesInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
27428
27428
|
var setExternalTransactionFeeRecipient = v2Contract.route({
|
|
27429
27429
|
method: "PATCH",
|
|
27430
27430
|
path: "/tokens/{tokenAddress}/external-transaction-fee/recipient",
|
|
27431
27431
|
description: "Update the external transaction fee recipient address.",
|
|
27432
27432
|
successDescription: "External transaction fee recipient updated successfully.",
|
|
27433
27433
|
tags: [V2_TAG.token]
|
|
27434
|
-
}).input(v2Input.paramsBody(TokenReadInputSchema, TokenSetExternalTransactionFeeRecipientInputSchema.omit({
|
|
27434
|
+
}).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.paramsBody(TokenReadInputSchema, TokenSetExternalTransactionFeeRecipientInputSchema.omit({
|
|
27435
27435
|
tokenAddress: true
|
|
27436
27436
|
}))).output(mutationOutput);
|
|
27437
27437
|
var setExternalTransactionFeeToken = v2Contract.route({
|
|
@@ -27440,7 +27440,7 @@ var setExternalTransactionFeeToken = v2Contract.route({
|
|
|
27440
27440
|
description: "Update the token used for external transaction fee payments.",
|
|
27441
27441
|
successDescription: "External transaction fee token updated successfully.",
|
|
27442
27442
|
tags: [V2_TAG.token]
|
|
27443
|
-
}).input(v2Input.paramsBody(TokenReadInputSchema, TokenSetExternalTransactionFeeTokenInputSchema.omit({
|
|
27443
|
+
}).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.paramsBody(TokenReadInputSchema, TokenSetExternalTransactionFeeTokenInputSchema.omit({
|
|
27444
27444
|
tokenAddress: true
|
|
27445
27445
|
}))).output(mutationOutput);
|
|
27446
27446
|
var freezeExternalTransactionFees = v2Contract.route({
|
|
@@ -27449,7 +27449,7 @@ var freezeExternalTransactionFees = v2Contract.route({
|
|
|
27449
27449
|
description: "Permanently freeze external transaction fees.",
|
|
27450
27450
|
successDescription: "External transaction fees frozen successfully.",
|
|
27451
27451
|
tags: [V2_TAG.token]
|
|
27452
|
-
}).input(v2Input.paramsBody(TokenReadInputSchema, TokenFreezeExternalTransactionFeesInputSchema.omit({
|
|
27452
|
+
}).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.paramsBody(TokenReadInputSchema, TokenFreezeExternalTransactionFeesInputSchema.omit({
|
|
27453
27453
|
tokenAddress: true
|
|
27454
27454
|
}))).output(mutationOutput);
|
|
27455
27455
|
var setTransactionFeeAccountingRates = v2Contract.route({
|
|
@@ -27458,7 +27458,7 @@ var setTransactionFeeAccountingRates = v2Contract.route({
|
|
|
27458
27458
|
description: "Update transaction fee accounting rates (mint, burn, transfer).",
|
|
27459
27459
|
successDescription: "Transaction fee accounting rates updated successfully.",
|
|
27460
27460
|
tags: [V2_TAG.token]
|
|
27461
|
-
}).input(v2Input.paramsBody(TokenReadInputSchema, TokenSetTransactionFeeAccountingRatesInputSchema.omit({
|
|
27461
|
+
}).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.paramsBody(TokenReadInputSchema, TokenSetTransactionFeeAccountingRatesInputSchema.omit({
|
|
27462
27462
|
tokenAddress: true
|
|
27463
27463
|
}))).output(mutationOutput);
|
|
27464
27464
|
var setTransactionFeeAccountingRecipient = v2Contract.route({
|
|
@@ -27467,7 +27467,7 @@ var setTransactionFeeAccountingRecipient = v2Contract.route({
|
|
|
27467
27467
|
description: "Update the transaction fee accounting recipient address.",
|
|
27468
27468
|
successDescription: "Transaction fee accounting recipient updated successfully.",
|
|
27469
27469
|
tags: [V2_TAG.token]
|
|
27470
|
-
}).input(v2Input.paramsBody(TokenReadInputSchema, TokenSetTransactionFeeAccountingRecipientInputSchema.omit({
|
|
27470
|
+
}).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.paramsBody(TokenReadInputSchema, TokenSetTransactionFeeAccountingRecipientInputSchema.omit({
|
|
27471
27471
|
tokenAddress: true
|
|
27472
27472
|
}))).output(mutationOutput);
|
|
27473
27473
|
var freezeTransactionFeeAccountingRates = v2Contract.route({
|
|
@@ -27476,7 +27476,7 @@ var freezeTransactionFeeAccountingRates = v2Contract.route({
|
|
|
27476
27476
|
description: "Permanently freeze transaction fee accounting rates.",
|
|
27477
27477
|
successDescription: "Transaction fee accounting rates frozen successfully.",
|
|
27478
27478
|
tags: [V2_TAG.token]
|
|
27479
|
-
}).input(v2Input.paramsBody(TokenReadInputSchema, TokenFreezeTransactionFeeAccountingRatesInputSchema.omit({
|
|
27479
|
+
}).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.paramsBody(TokenReadInputSchema, TokenFreezeTransactionFeeAccountingRatesInputSchema.omit({
|
|
27480
27480
|
tokenAddress: true
|
|
27481
27481
|
}))).output(mutationOutput);
|
|
27482
27482
|
var reconcileFees = v2Contract.route({
|
|
@@ -27485,63 +27485,63 @@ var reconcileFees = v2Contract.route({
|
|
|
27485
27485
|
description: "Reconcile accrued transaction fees and transfer to recipient.",
|
|
27486
27486
|
successDescription: "Fees reconciled successfully.",
|
|
27487
27487
|
tags: [V2_TAG.token]
|
|
27488
|
-
}).input(v2Input.paramsBody(TokenReadInputSchema, TokenReconcileFeesInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
27488
|
+
}).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.paramsBody(TokenReadInputSchema, TokenReconcileFeesInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
27489
27489
|
var setFeeExemption = v2Contract.route({
|
|
27490
27490
|
method: "PUT",
|
|
27491
27491
|
path: "/tokens/{tokenAddress}/transaction-fee-accounting/exemptions",
|
|
27492
27492
|
description: "Set or remove fee exemption for an account.",
|
|
27493
27493
|
successDescription: "Fee exemption updated successfully.",
|
|
27494
27494
|
tags: [V2_TAG.token]
|
|
27495
|
-
}).input(v2Input.paramsBody(TokenReadInputSchema, TokenSetFeeExemptionInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
27495
|
+
}).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.paramsBody(TokenReadInputSchema, TokenSetFeeExemptionInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
27496
27496
|
var delegate = v2Contract.route({
|
|
27497
27497
|
method: "POST",
|
|
27498
27498
|
path: "/tokens/{tokenAddress}/voting-power/delegations",
|
|
27499
27499
|
description: "Delegate voting power to another address.",
|
|
27500
27500
|
successDescription: "Voting power delegated successfully.",
|
|
27501
27501
|
tags: [V2_TAG.token]
|
|
27502
|
-
}).input(v2Input.paramsBody(TokenReadInputSchema, TokenDelegateInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
27502
|
+
}).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.paramsBody(TokenReadInputSchema, TokenDelegateInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
27503
27503
|
var publishTrigger = v2Contract.route({
|
|
27504
27504
|
method: "POST",
|
|
27505
27505
|
path: "/tokens/{tokenAddress}/conversion/triggers",
|
|
27506
27506
|
description: "Publish a conversion trigger with pricing and expiration.",
|
|
27507
27507
|
successDescription: "Conversion trigger published successfully.",
|
|
27508
27508
|
tags: [V2_TAG.token]
|
|
27509
|
-
}).input(v2Input.paramsBody(TokenReadInputSchema, TokenPublishTriggerInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
27509
|
+
}).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.paramsBody(TokenReadInputSchema, TokenPublishTriggerInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
27510
27510
|
var disableTrigger = v2Contract.route({
|
|
27511
27511
|
method: "POST",
|
|
27512
27512
|
path: "/tokens/{tokenAddress}/conversion/trigger-disablements",
|
|
27513
27513
|
description: "Disable an active conversion trigger.",
|
|
27514
27514
|
successDescription: "Conversion trigger disabled successfully.",
|
|
27515
27515
|
tags: [V2_TAG.token]
|
|
27516
|
-
}).input(v2Input.paramsBody(TokenReadInputSchema, TokenDisableTriggerInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
27516
|
+
}).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.paramsBody(TokenReadInputSchema, TokenDisableTriggerInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
27517
27517
|
var setConversionWindow = v2Contract.route({
|
|
27518
27518
|
method: "PATCH",
|
|
27519
27519
|
path: "/tokens/{tokenAddress}/conversion/window",
|
|
27520
27520
|
description: "Set the conversion window start and end timestamps.",
|
|
27521
27521
|
successDescription: "Conversion window updated successfully.",
|
|
27522
27522
|
tags: [V2_TAG.token]
|
|
27523
|
-
}).input(v2Input.paramsBody(TokenReadInputSchema, TokenSetConversionWindowInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
27523
|
+
}).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.paramsBody(TokenReadInputSchema, TokenSetConversionWindowInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
27524
27524
|
var convert = v2Contract.route({
|
|
27525
27525
|
method: "POST",
|
|
27526
27526
|
path: "/tokens/{tokenAddress}/conversion/conversions",
|
|
27527
27527
|
description: "Convert tokens using an active trigger.",
|
|
27528
27528
|
successDescription: "Tokens converted successfully.",
|
|
27529
27529
|
tags: [V2_TAG.token]
|
|
27530
|
-
}).input(v2Input.paramsBody(TokenReadInputSchema, TokenConvertInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
27530
|
+
}).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.paramsBody(TokenReadInputSchema, TokenConvertInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
27531
27531
|
var forceConvert = v2Contract.route({
|
|
27532
27532
|
method: "POST",
|
|
27533
27533
|
path: "/tokens/{tokenAddress}/conversion/forced-conversions",
|
|
27534
27534
|
description: "Force convert tokens for a specific holder.",
|
|
27535
27535
|
successDescription: "Tokens force converted successfully.",
|
|
27536
27536
|
tags: [V2_TAG.token]
|
|
27537
|
-
}).input(v2Input.paramsBody(TokenReadInputSchema, TokenForceConvertInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
27537
|
+
}).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.paramsBody(TokenReadInputSchema, TokenForceConvertInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
27538
27538
|
var addAuthorizedConverter = v2Contract.route({
|
|
27539
27539
|
method: "POST",
|
|
27540
27540
|
path: "/tokens/{tokenAddress}/conversion/authorized-converters",
|
|
27541
27541
|
description: "Add an address as an authorized converter.",
|
|
27542
27542
|
successDescription: "Authorized converter added successfully.",
|
|
27543
27543
|
tags: [V2_TAG.token]
|
|
27544
|
-
}).input(v2Input.paramsBody(TokenReadInputSchema, TokenAddAuthorizedConverterInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
27544
|
+
}).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.paramsBody(TokenReadInputSchema, TokenAddAuthorizedConverterInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
27545
27545
|
var setPrice = v2Contract.route({
|
|
27546
27546
|
method: "POST",
|
|
27547
27547
|
path: "/tokens/{tokenAddress}/price",
|
|
@@ -27557,7 +27557,7 @@ var removeAuthorizedConverter = v2Contract.route({
|
|
|
27557
27557
|
description: "Remove an address from authorized converters.",
|
|
27558
27558
|
successDescription: "Authorized converter removed successfully.",
|
|
27559
27559
|
tags: [V2_TAG.token]
|
|
27560
|
-
}).input(v2Input.paramsBody(TokenReadInputSchema, TokenRemoveAuthorizedConverterInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
27560
|
+
}).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.paramsBody(TokenReadInputSchema, TokenRemoveAuthorizedConverterInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
27561
27561
|
var tokenV2MutationsContract = {
|
|
27562
27562
|
create: create20,
|
|
27563
27563
|
mint,
|
|
@@ -30240,7 +30240,7 @@ function normalizeDalpBaseUrl(url) {
|
|
|
30240
30240
|
// package.json
|
|
30241
30241
|
var package_default = {
|
|
30242
30242
|
name: "@settlemint/dalp-sdk",
|
|
30243
|
-
version: "2.1.7-main.
|
|
30243
|
+
version: "2.1.7-main.25725394464",
|
|
30244
30244
|
private: false,
|
|
30245
30245
|
description: "Fully typed SDK for the DALP tokenization platform API",
|
|
30246
30246
|
homepage: "https://settlemint.com",
|
package/package.json
CHANGED