@indigo-labs/indigo-sdk 0.2.1 → 0.2.2

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.d.mts CHANGED
@@ -1505,6 +1505,88 @@ declare function openStakingPosition(amount: bigint, params: SystemParams, lucid
1505
1505
  declare function adjustStakingPosition(stakingPositionRef: OutRef, amount: bigint, params: SystemParams, lucid: LucidEvolution, stakingManagerRef?: OutRef): Promise<TxBuilder>;
1506
1506
  declare function closeStakingPosition(stakingPositionRef: OutRef, params: SystemParams, lucid: LucidEvolution, stakingManagerRef?: OutRef): Promise<TxBuilder>;
1507
1507
 
1508
+ declare const StakingParamsSchema: _lucid_evolution_lucid.TObject<{
1509
+ stakingManagerNft: _lucid_evolution_lucid.TObject<{
1510
+ currencySymbol: _lucid_evolution_lucid.TUnsafe<string>;
1511
+ tokenName: _lucid_evolution_lucid.TUnsafe<string>;
1512
+ }>;
1513
+ stakingToken: _lucid_evolution_lucid.TObject<{
1514
+ currencySymbol: _lucid_evolution_lucid.TUnsafe<string>;
1515
+ tokenName: _lucid_evolution_lucid.TUnsafe<string>;
1516
+ }>;
1517
+ indyToken: _lucid_evolution_lucid.TObject<{
1518
+ currencySymbol: _lucid_evolution_lucid.TUnsafe<string>;
1519
+ tokenName: _lucid_evolution_lucid.TUnsafe<string>;
1520
+ }>;
1521
+ pollToken: _lucid_evolution_lucid.TObject<{
1522
+ currencySymbol: _lucid_evolution_lucid.TUnsafe<string>;
1523
+ tokenName: _lucid_evolution_lucid.TUnsafe<string>;
1524
+ }>;
1525
+ versionRecordToken: _lucid_evolution_lucid.TObject<{
1526
+ currencySymbol: _lucid_evolution_lucid.TUnsafe<string>;
1527
+ tokenName: _lucid_evolution_lucid.TUnsafe<string>;
1528
+ }>;
1529
+ collectorValHash: _lucid_evolution_lucid.TUnsafe<string>;
1530
+ }>;
1531
+ type StakingParams = Data.Static<typeof StakingParamsSchema>;
1532
+ declare const StakingParams: StakingParams;
1533
+ declare const StakingRedeemerSchema: _lucid_evolution_lucid.TUnion<(_lucid_evolution_lucid.TLiteral<"UpgradeVersion"> | _lucid_evolution_lucid.TObject<{
1534
+ CreateStakingPosition: _lucid_evolution_lucid.TObject<{
1535
+ creatorPkh: _lucid_evolution_lucid.TUnsafe<string>;
1536
+ }>;
1537
+ }> | _lucid_evolution_lucid.TLiteral<"UpdateTotalStake"> | _lucid_evolution_lucid.TLiteral<"Distribute"> | _lucid_evolution_lucid.TObject<{
1538
+ AdjustStakedAmount: _lucid_evolution_lucid.TObject<{
1539
+ adjustAmount: _lucid_evolution_lucid.TUnsafe<bigint>;
1540
+ }>;
1541
+ }> | _lucid_evolution_lucid.TLiteral<"Unstake"> | _lucid_evolution_lucid.TLiteral<"Lock">)[]>;
1542
+ type StakingRedeemer = Data.Static<typeof StakingRedeemerSchema>;
1543
+ declare function serialiseStakingRedeemer(redeemer: StakingRedeemer): Redeemer;
1544
+ declare function castStakingParams(params: StakingParams): Data;
1545
+
1546
+ declare const StakingPosLockedAmtSchema: Core.TSchema.Map<Core.TSchema.Integer, Core.TSchema.Struct<{
1547
+ voteAmt: Core.TSchema.Integer;
1548
+ votingEnd: Core.TSchema.Integer;
1549
+ }>>;
1550
+ type StakingPosLockedAmt = typeof StakingPosLockedAmtSchema.Type;
1551
+ declare const StakingPositionSchema: Core.TSchema.Struct<{
1552
+ owner: Core.TSchema.ByteArray;
1553
+ lockedAmount: Core.TSchema.Map<Core.TSchema.Integer, Core.TSchema.Struct<{
1554
+ voteAmt: Core.TSchema.Integer;
1555
+ votingEnd: Core.TSchema.Integer;
1556
+ }>>;
1557
+ positionSnapshot: Core.TSchema.Struct<{
1558
+ snapshotAda: Core.TSchema.Integer;
1559
+ }>;
1560
+ }>;
1561
+ type StakingPosition = typeof StakingPositionSchema.Type;
1562
+ declare const StakingManagerSchema: Core.TSchema.Struct<{
1563
+ totalStake: Core.TSchema.Integer;
1564
+ managerSnapshot: Core.TSchema.Struct<{
1565
+ snapshotAda: Core.TSchema.Integer;
1566
+ }>;
1567
+ }>;
1568
+ type StakingManager = typeof StakingManagerSchema.Type;
1569
+ declare const StakingDatumSchema: Core.TSchema.Union<[Core.TSchema.Struct<{
1570
+ totalStake: Core.TSchema.Integer;
1571
+ managerSnapshot: Core.TSchema.Struct<{
1572
+ snapshotAda: Core.TSchema.Integer;
1573
+ }>;
1574
+ }>, Core.TSchema.Struct<{
1575
+ owner: Core.TSchema.ByteArray;
1576
+ lockedAmount: Core.TSchema.Map<Core.TSchema.Integer, Core.TSchema.Struct<{
1577
+ voteAmt: Core.TSchema.Integer;
1578
+ votingEnd: Core.TSchema.Integer;
1579
+ }>>;
1580
+ positionSnapshot: Core.TSchema.Struct<{
1581
+ snapshotAda: Core.TSchema.Integer;
1582
+ }>;
1583
+ }>]>;
1584
+ type StakingDatum = typeof StakingDatumSchema.Type;
1585
+ declare function parseStakingPosition(datum: string): option.Option<StakingPosition>;
1586
+ declare function parseStakingPositionOrThrow(datum: string): StakingPosition;
1587
+ declare function parseStakingManagerDatum(datum: string): StakingManager;
1588
+ declare function serialiseStakingDatum(d: StakingDatum): string;
1589
+
1508
1590
  declare function startInterestOracle(initialUnitaryInterest: bigint, initialInterestRate: bigint, initialLastInterestUpdate: bigint, oracleParams: InterestOracleParams, lucid: LucidEvolution, interestTokenName?: string, withScriptRef?: boolean, refOutRef?: OutRef): Promise<[TxBuilder, AssetClass]>;
1509
1591
  declare function feedInterestOracle(params: InterestOracleParams, newInterestRate: bigint, lucid: LucidEvolution, assetClass?: AssetClass, utxo?: UTxO, scriptRef?: UTxO): Promise<TxBuilder>;
1510
1592
 
@@ -1964,4 +2046,4 @@ declare function assetClassValueOf(assets: Assets, assetClass: AssetClass): bigi
1964
2046
  declare function negateAssets(assets: Assets): Assets;
1965
2047
  declare function isAssetsZero(assets: Assets): boolean;
1966
2048
 
1967
- export { type AccountAction, type AccountContent, AccountContentSchema, ActionReturnDatum, ActionReturnDatumSchema, type AddressCredential, type AddressCredentialOrDatum, AddressD, type AddressSP, AddressSchema, type Amount, type AssetClass, type AssetClassSP, AssetClassSchema, type AuthTokenPolicies, type CDPContent, CDPContentSchema, CDPCreatorParams, type CDPCreatorParamsSP, CDPCreatorRedeemer, type CDPDatum, CDPDatumSchema, type CDPFees, CDPFeesSchema, type CDPRedeemer, type CdpParams, type CdpParamsSP, type CollectorParamsSP, CredentialD, CredentialSchema, type CurrencySymbol, type DistributionParams, type EpochToScaleToSum, EpochToScaleToSumSchema, ExecuteDatum, ExecuteParams, type ExecuteParamsSP, type FeedInterestOracleRedeemer, FeedInterestOracleRedeemerSchema, type GovDatum, GovParams, type GovParamsSP, GovRedeemer, type IAssetContent, IAssetContentSchema, type IAssetOutput, IAssetPriceInfoSchema, type Input, type InterestOracleDatum, InterestOracleDatumSchema, type InterestOracleParams, InterestOracleParamsSchema, type LRPDatum, LRPDatumSchema, type LRPParams, LRPParamsSchema, type LRPRedeemer, LRPRedeemerSchema, type LrpParamsSP, ONE_DAY, ONE_HOUR, ONE_SECOND, ONE_YEAR, type OracleAssetNft, OracleAssetNftSchema, type Output, type OutputReference, OutputReferenceSchema, PollManagerParams, type PollManagerParamsSP, PollManagerRedeemer, PollShardParams, type PollShardParamsSP, PollShardRedeemer, type PriceOracleDatum, PriceOracleDatumSchema, type PriceOracleParams, PriceOracleParamsSchema, type PriceOracleRedeemer, type PubKeyHash, type SPInteger, SPIntegerSchema, type ScriptCredential, type ScriptOutput, type ScriptRef, type ScriptReference, type ScriptReferences, type SnapshotEpochToScaleToSumContent, SnapshotEpochToScaleToSumContentSchema, type StabilityPoolContent, StabilityPoolContentSchema, StabilityPoolDatumSchema, StabilityPoolParams, type StabilityPoolParamsSP, type StabilityPoolRedeemer, StabilityPoolRedeemerSchema, type StabilityPoolSnapshot, StakeCredentialSchema, type StakingParamsSP, type StartTime, type SystemParams, type TokenName, type TreasuryParamsSP, type TreasuryWithdrawal, type TreasuryWithdrawalItem, TreasuryWithdrawalSchema, type ValidatorHashes, VerificationKeyHashSchema, type VersionRecordParams, VersionRecordTokenParams, type VoteOption, addrDetails, addressFromBech32, addressToBech32, adjust, adjustLrp, adjustSpAccount, adjustStakingPosition, adjustmentHelper, assetClassToUnit, assetClassValueOf, balance, burnCdp, calculateIAssetRedemptionAmt, calculateMinCollateralCappedIAssetRedemptionAmt, cancelLrp, castCDPCreatorParams, castCdpParams, castExecuteParams, castGovParams, castInterestOracleParams, castLrpParams, castPollManagerParams, castPollShardParams, castPriceOracleParams, castStabilityPoolParams, castVersionRecordTokenParams, cdpCollateralRatioPercentage, claimLrp, closeCdp, closeSpAccount, closeStakingPosition, collectorFeeTx, createProposal, createScriptAddress, createShardsChunks, createSpAccount, depositCdp, endProposal, executeProposal, feedInterestOracle, freezeCdp, fromSPInteger, fromSysParamsScriptCredential, fromSystemParamsAsset, fromSystemParamsScriptRef, getAccountFund, getAccountReward, getInlineDatumOrThrow, getRandomElement, getSumFromEpochToScaleToSum, initEpochToScaleToSumMap, initSpSnapshot, isAssetsZero, liquidateCdp, liquidationHelper, loadSystemParamsFromFile, loadSystemParamsFromUrl, lovelacesAmt, matchSingle, mergeCdps, mergeShards, mintCdp, mkAssetsOf, mkCDPCreatorValidator, mkCDPCreatorValidatorFromSP, mkCdpValidatorFromSP, mkCollectorValidatorFromSP, mkExecuteValidator, mkExecuteValidatorFromSP, mkInterestOracleValidator, mkLovelacesOf, mkLrpValidator, mkLrpValidatorFromSP, mkPollManagerValidator, mkPollManagerValidatorFromSP, mkPollShardValidator, mkPollShardValidatorFromSP, mkSPInteger, mkTreasuryValidatorFromSP, mkVersionRecordTokenPolicy, mkVersionRegistryValidator, negateAssets, oneShotMintTx, openCdp, openLrp, openStakingPosition, parseAccountDatum, parseCdpDatum, parseCdpDatumOrThrow, parseExecuteDatum, parseExecuteDatumOrThrow, parseGovDatum, parseGovDatumOrThrow, parseIAssetDatum, parseIAssetDatumOrThrow, parseInterestOracleDatum, parseLrpDatum, parsePriceOracleDatum, parseSnapshotEpochToScaleToSumDatum, parseStabilityPoolDatum, processSpRequest, redeemCdp, redeemLrp, runCreateScriptRefTx, runOneShotMintTx, scriptRef, serialiseCDPCreatorDatum, serialiseCDPCreatorRedeemer, serialiseCdpDatum, serialiseCdpRedeemer, serialiseExecuteDatum, serialiseFeedInterestOracleRedeemer, serialiseGovDatum, serialiseGovRedeemer, serialiseIAssetDatum, serialiseInterestOracleDatum, serialiseLrpDatum, serialiseLrpRedeemer, serialisePollManagerRedeemer, serialisePollShardRedeemer, serialisePriceOracleDatum, serialisePriceOracleRedeemer, serialiseStabilityPoolDatum, serialiseStabilityPoolRedeemer, setSumInEpochToScaleToSum, spAdd, spDiv, spMul, spSub, startInterestOracle, toSystemParamsAsset, treasuryFeeTx, updatePoolSnapshotWithdrawalFee, vote, withdrawCdp };
2049
+ export { type AccountAction, type AccountContent, AccountContentSchema, ActionReturnDatum, ActionReturnDatumSchema, type AddressCredential, type AddressCredentialOrDatum, AddressD, type AddressSP, AddressSchema, type Amount, type AssetClass, type AssetClassSP, AssetClassSchema, type AuthTokenPolicies, type CDPContent, CDPContentSchema, CDPCreatorParams, type CDPCreatorParamsSP, CDPCreatorRedeemer, type CDPDatum, CDPDatumSchema, type CDPFees, CDPFeesSchema, type CDPRedeemer, type CdpParams, type CdpParamsSP, type CollectorParamsSP, CredentialD, CredentialSchema, type CurrencySymbol, type DistributionParams, type EpochToScaleToSum, EpochToScaleToSumSchema, ExecuteDatum, ExecuteParams, type ExecuteParamsSP, type FeedInterestOracleRedeemer, FeedInterestOracleRedeemerSchema, type GovDatum, GovParams, type GovParamsSP, GovRedeemer, type IAssetContent, IAssetContentSchema, type IAssetOutput, IAssetPriceInfoSchema, type Input, type InterestOracleDatum, InterestOracleDatumSchema, type InterestOracleParams, InterestOracleParamsSchema, type LRPDatum, LRPDatumSchema, type LRPParams, LRPParamsSchema, type LRPRedeemer, LRPRedeemerSchema, type LrpParamsSP, ONE_DAY, ONE_HOUR, ONE_SECOND, ONE_YEAR, type OracleAssetNft, OracleAssetNftSchema, type Output, type OutputReference, OutputReferenceSchema, PollManagerParams, type PollManagerParamsSP, PollManagerRedeemer, PollShardParams, type PollShardParamsSP, PollShardRedeemer, type PriceOracleDatum, PriceOracleDatumSchema, type PriceOracleParams, PriceOracleParamsSchema, type PriceOracleRedeemer, type PubKeyHash, type SPInteger, SPIntegerSchema, type ScriptCredential, type ScriptOutput, type ScriptRef, type ScriptReference, type ScriptReferences, type SnapshotEpochToScaleToSumContent, SnapshotEpochToScaleToSumContentSchema, type StabilityPoolContent, StabilityPoolContentSchema, StabilityPoolDatumSchema, StabilityPoolParams, type StabilityPoolParamsSP, type StabilityPoolRedeemer, StabilityPoolRedeemerSchema, type StabilityPoolSnapshot, StakeCredentialSchema, type StakingManager, type StakingParamsSP, type StakingPosLockedAmt, type StakingPosition, type StakingRedeemer, type StartTime, type SystemParams, type TokenName, type TreasuryParamsSP, type TreasuryWithdrawal, type TreasuryWithdrawalItem, TreasuryWithdrawalSchema, type ValidatorHashes, VerificationKeyHashSchema, type VersionRecordParams, VersionRecordTokenParams, type VoteOption, addrDetails, addressFromBech32, addressToBech32, adjust, adjustLrp, adjustSpAccount, adjustStakingPosition, adjustmentHelper, assetClassToUnit, assetClassValueOf, balance, burnCdp, calculateIAssetRedemptionAmt, calculateMinCollateralCappedIAssetRedemptionAmt, cancelLrp, castCDPCreatorParams, castCdpParams, castExecuteParams, castGovParams, castInterestOracleParams, castLrpParams, castPollManagerParams, castPollShardParams, castPriceOracleParams, castStabilityPoolParams, castStakingParams, castVersionRecordTokenParams, cdpCollateralRatioPercentage, claimLrp, closeCdp, closeSpAccount, closeStakingPosition, collectorFeeTx, createProposal, createScriptAddress, createShardsChunks, createSpAccount, depositCdp, endProposal, executeProposal, feedInterestOracle, freezeCdp, fromSPInteger, fromSysParamsScriptCredential, fromSystemParamsAsset, fromSystemParamsScriptRef, getAccountFund, getAccountReward, getInlineDatumOrThrow, getRandomElement, getSumFromEpochToScaleToSum, initEpochToScaleToSumMap, initSpSnapshot, isAssetsZero, liquidateCdp, liquidationHelper, loadSystemParamsFromFile, loadSystemParamsFromUrl, lovelacesAmt, matchSingle, mergeCdps, mergeShards, mintCdp, mkAssetsOf, mkCDPCreatorValidator, mkCDPCreatorValidatorFromSP, mkCdpValidatorFromSP, mkCollectorValidatorFromSP, mkExecuteValidator, mkExecuteValidatorFromSP, mkInterestOracleValidator, mkLovelacesOf, mkLrpValidator, mkLrpValidatorFromSP, mkPollManagerValidator, mkPollManagerValidatorFromSP, mkPollShardValidator, mkPollShardValidatorFromSP, mkSPInteger, mkTreasuryValidatorFromSP, mkVersionRecordTokenPolicy, mkVersionRegistryValidator, negateAssets, oneShotMintTx, openCdp, openLrp, openStakingPosition, parseAccountDatum, parseCdpDatum, parseCdpDatumOrThrow, parseExecuteDatum, parseExecuteDatumOrThrow, parseGovDatum, parseGovDatumOrThrow, parseIAssetDatum, parseIAssetDatumOrThrow, parseInterestOracleDatum, parseLrpDatum, parsePriceOracleDatum, parseSnapshotEpochToScaleToSumDatum, parseStabilityPoolDatum, parseStakingManagerDatum, parseStakingPosition, parseStakingPositionOrThrow, processSpRequest, redeemCdp, redeemLrp, runCreateScriptRefTx, runOneShotMintTx, scriptRef, serialiseCDPCreatorDatum, serialiseCDPCreatorRedeemer, serialiseCdpDatum, serialiseCdpRedeemer, serialiseExecuteDatum, serialiseFeedInterestOracleRedeemer, serialiseGovDatum, serialiseGovRedeemer, serialiseIAssetDatum, serialiseInterestOracleDatum, serialiseLrpDatum, serialiseLrpRedeemer, serialisePollManagerRedeemer, serialisePollShardRedeemer, serialisePriceOracleDatum, serialisePriceOracleRedeemer, serialiseStabilityPoolDatum, serialiseStabilityPoolRedeemer, serialiseStakingDatum, serialiseStakingRedeemer, setSumInEpochToScaleToSum, spAdd, spDiv, spMul, spSub, startInterestOracle, toSystemParamsAsset, treasuryFeeTx, updatePoolSnapshotWithdrawalFee, vote, withdrawCdp };
package/dist/index.d.ts CHANGED
@@ -1505,6 +1505,88 @@ declare function openStakingPosition(amount: bigint, params: SystemParams, lucid
1505
1505
  declare function adjustStakingPosition(stakingPositionRef: OutRef, amount: bigint, params: SystemParams, lucid: LucidEvolution, stakingManagerRef?: OutRef): Promise<TxBuilder>;
1506
1506
  declare function closeStakingPosition(stakingPositionRef: OutRef, params: SystemParams, lucid: LucidEvolution, stakingManagerRef?: OutRef): Promise<TxBuilder>;
1507
1507
 
1508
+ declare const StakingParamsSchema: _lucid_evolution_lucid.TObject<{
1509
+ stakingManagerNft: _lucid_evolution_lucid.TObject<{
1510
+ currencySymbol: _lucid_evolution_lucid.TUnsafe<string>;
1511
+ tokenName: _lucid_evolution_lucid.TUnsafe<string>;
1512
+ }>;
1513
+ stakingToken: _lucid_evolution_lucid.TObject<{
1514
+ currencySymbol: _lucid_evolution_lucid.TUnsafe<string>;
1515
+ tokenName: _lucid_evolution_lucid.TUnsafe<string>;
1516
+ }>;
1517
+ indyToken: _lucid_evolution_lucid.TObject<{
1518
+ currencySymbol: _lucid_evolution_lucid.TUnsafe<string>;
1519
+ tokenName: _lucid_evolution_lucid.TUnsafe<string>;
1520
+ }>;
1521
+ pollToken: _lucid_evolution_lucid.TObject<{
1522
+ currencySymbol: _lucid_evolution_lucid.TUnsafe<string>;
1523
+ tokenName: _lucid_evolution_lucid.TUnsafe<string>;
1524
+ }>;
1525
+ versionRecordToken: _lucid_evolution_lucid.TObject<{
1526
+ currencySymbol: _lucid_evolution_lucid.TUnsafe<string>;
1527
+ tokenName: _lucid_evolution_lucid.TUnsafe<string>;
1528
+ }>;
1529
+ collectorValHash: _lucid_evolution_lucid.TUnsafe<string>;
1530
+ }>;
1531
+ type StakingParams = Data.Static<typeof StakingParamsSchema>;
1532
+ declare const StakingParams: StakingParams;
1533
+ declare const StakingRedeemerSchema: _lucid_evolution_lucid.TUnion<(_lucid_evolution_lucid.TLiteral<"UpgradeVersion"> | _lucid_evolution_lucid.TObject<{
1534
+ CreateStakingPosition: _lucid_evolution_lucid.TObject<{
1535
+ creatorPkh: _lucid_evolution_lucid.TUnsafe<string>;
1536
+ }>;
1537
+ }> | _lucid_evolution_lucid.TLiteral<"UpdateTotalStake"> | _lucid_evolution_lucid.TLiteral<"Distribute"> | _lucid_evolution_lucid.TObject<{
1538
+ AdjustStakedAmount: _lucid_evolution_lucid.TObject<{
1539
+ adjustAmount: _lucid_evolution_lucid.TUnsafe<bigint>;
1540
+ }>;
1541
+ }> | _lucid_evolution_lucid.TLiteral<"Unstake"> | _lucid_evolution_lucid.TLiteral<"Lock">)[]>;
1542
+ type StakingRedeemer = Data.Static<typeof StakingRedeemerSchema>;
1543
+ declare function serialiseStakingRedeemer(redeemer: StakingRedeemer): Redeemer;
1544
+ declare function castStakingParams(params: StakingParams): Data;
1545
+
1546
+ declare const StakingPosLockedAmtSchema: Core.TSchema.Map<Core.TSchema.Integer, Core.TSchema.Struct<{
1547
+ voteAmt: Core.TSchema.Integer;
1548
+ votingEnd: Core.TSchema.Integer;
1549
+ }>>;
1550
+ type StakingPosLockedAmt = typeof StakingPosLockedAmtSchema.Type;
1551
+ declare const StakingPositionSchema: Core.TSchema.Struct<{
1552
+ owner: Core.TSchema.ByteArray;
1553
+ lockedAmount: Core.TSchema.Map<Core.TSchema.Integer, Core.TSchema.Struct<{
1554
+ voteAmt: Core.TSchema.Integer;
1555
+ votingEnd: Core.TSchema.Integer;
1556
+ }>>;
1557
+ positionSnapshot: Core.TSchema.Struct<{
1558
+ snapshotAda: Core.TSchema.Integer;
1559
+ }>;
1560
+ }>;
1561
+ type StakingPosition = typeof StakingPositionSchema.Type;
1562
+ declare const StakingManagerSchema: Core.TSchema.Struct<{
1563
+ totalStake: Core.TSchema.Integer;
1564
+ managerSnapshot: Core.TSchema.Struct<{
1565
+ snapshotAda: Core.TSchema.Integer;
1566
+ }>;
1567
+ }>;
1568
+ type StakingManager = typeof StakingManagerSchema.Type;
1569
+ declare const StakingDatumSchema: Core.TSchema.Union<[Core.TSchema.Struct<{
1570
+ totalStake: Core.TSchema.Integer;
1571
+ managerSnapshot: Core.TSchema.Struct<{
1572
+ snapshotAda: Core.TSchema.Integer;
1573
+ }>;
1574
+ }>, Core.TSchema.Struct<{
1575
+ owner: Core.TSchema.ByteArray;
1576
+ lockedAmount: Core.TSchema.Map<Core.TSchema.Integer, Core.TSchema.Struct<{
1577
+ voteAmt: Core.TSchema.Integer;
1578
+ votingEnd: Core.TSchema.Integer;
1579
+ }>>;
1580
+ positionSnapshot: Core.TSchema.Struct<{
1581
+ snapshotAda: Core.TSchema.Integer;
1582
+ }>;
1583
+ }>]>;
1584
+ type StakingDatum = typeof StakingDatumSchema.Type;
1585
+ declare function parseStakingPosition(datum: string): option.Option<StakingPosition>;
1586
+ declare function parseStakingPositionOrThrow(datum: string): StakingPosition;
1587
+ declare function parseStakingManagerDatum(datum: string): StakingManager;
1588
+ declare function serialiseStakingDatum(d: StakingDatum): string;
1589
+
1508
1590
  declare function startInterestOracle(initialUnitaryInterest: bigint, initialInterestRate: bigint, initialLastInterestUpdate: bigint, oracleParams: InterestOracleParams, lucid: LucidEvolution, interestTokenName?: string, withScriptRef?: boolean, refOutRef?: OutRef): Promise<[TxBuilder, AssetClass]>;
1509
1591
  declare function feedInterestOracle(params: InterestOracleParams, newInterestRate: bigint, lucid: LucidEvolution, assetClass?: AssetClass, utxo?: UTxO, scriptRef?: UTxO): Promise<TxBuilder>;
1510
1592
 
@@ -1964,4 +2046,4 @@ declare function assetClassValueOf(assets: Assets, assetClass: AssetClass): bigi
1964
2046
  declare function negateAssets(assets: Assets): Assets;
1965
2047
  declare function isAssetsZero(assets: Assets): boolean;
1966
2048
 
1967
- export { type AccountAction, type AccountContent, AccountContentSchema, ActionReturnDatum, ActionReturnDatumSchema, type AddressCredential, type AddressCredentialOrDatum, AddressD, type AddressSP, AddressSchema, type Amount, type AssetClass, type AssetClassSP, AssetClassSchema, type AuthTokenPolicies, type CDPContent, CDPContentSchema, CDPCreatorParams, type CDPCreatorParamsSP, CDPCreatorRedeemer, type CDPDatum, CDPDatumSchema, type CDPFees, CDPFeesSchema, type CDPRedeemer, type CdpParams, type CdpParamsSP, type CollectorParamsSP, CredentialD, CredentialSchema, type CurrencySymbol, type DistributionParams, type EpochToScaleToSum, EpochToScaleToSumSchema, ExecuteDatum, ExecuteParams, type ExecuteParamsSP, type FeedInterestOracleRedeemer, FeedInterestOracleRedeemerSchema, type GovDatum, GovParams, type GovParamsSP, GovRedeemer, type IAssetContent, IAssetContentSchema, type IAssetOutput, IAssetPriceInfoSchema, type Input, type InterestOracleDatum, InterestOracleDatumSchema, type InterestOracleParams, InterestOracleParamsSchema, type LRPDatum, LRPDatumSchema, type LRPParams, LRPParamsSchema, type LRPRedeemer, LRPRedeemerSchema, type LrpParamsSP, ONE_DAY, ONE_HOUR, ONE_SECOND, ONE_YEAR, type OracleAssetNft, OracleAssetNftSchema, type Output, type OutputReference, OutputReferenceSchema, PollManagerParams, type PollManagerParamsSP, PollManagerRedeemer, PollShardParams, type PollShardParamsSP, PollShardRedeemer, type PriceOracleDatum, PriceOracleDatumSchema, type PriceOracleParams, PriceOracleParamsSchema, type PriceOracleRedeemer, type PubKeyHash, type SPInteger, SPIntegerSchema, type ScriptCredential, type ScriptOutput, type ScriptRef, type ScriptReference, type ScriptReferences, type SnapshotEpochToScaleToSumContent, SnapshotEpochToScaleToSumContentSchema, type StabilityPoolContent, StabilityPoolContentSchema, StabilityPoolDatumSchema, StabilityPoolParams, type StabilityPoolParamsSP, type StabilityPoolRedeemer, StabilityPoolRedeemerSchema, type StabilityPoolSnapshot, StakeCredentialSchema, type StakingParamsSP, type StartTime, type SystemParams, type TokenName, type TreasuryParamsSP, type TreasuryWithdrawal, type TreasuryWithdrawalItem, TreasuryWithdrawalSchema, type ValidatorHashes, VerificationKeyHashSchema, type VersionRecordParams, VersionRecordTokenParams, type VoteOption, addrDetails, addressFromBech32, addressToBech32, adjust, adjustLrp, adjustSpAccount, adjustStakingPosition, adjustmentHelper, assetClassToUnit, assetClassValueOf, balance, burnCdp, calculateIAssetRedemptionAmt, calculateMinCollateralCappedIAssetRedemptionAmt, cancelLrp, castCDPCreatorParams, castCdpParams, castExecuteParams, castGovParams, castInterestOracleParams, castLrpParams, castPollManagerParams, castPollShardParams, castPriceOracleParams, castStabilityPoolParams, castVersionRecordTokenParams, cdpCollateralRatioPercentage, claimLrp, closeCdp, closeSpAccount, closeStakingPosition, collectorFeeTx, createProposal, createScriptAddress, createShardsChunks, createSpAccount, depositCdp, endProposal, executeProposal, feedInterestOracle, freezeCdp, fromSPInteger, fromSysParamsScriptCredential, fromSystemParamsAsset, fromSystemParamsScriptRef, getAccountFund, getAccountReward, getInlineDatumOrThrow, getRandomElement, getSumFromEpochToScaleToSum, initEpochToScaleToSumMap, initSpSnapshot, isAssetsZero, liquidateCdp, liquidationHelper, loadSystemParamsFromFile, loadSystemParamsFromUrl, lovelacesAmt, matchSingle, mergeCdps, mergeShards, mintCdp, mkAssetsOf, mkCDPCreatorValidator, mkCDPCreatorValidatorFromSP, mkCdpValidatorFromSP, mkCollectorValidatorFromSP, mkExecuteValidator, mkExecuteValidatorFromSP, mkInterestOracleValidator, mkLovelacesOf, mkLrpValidator, mkLrpValidatorFromSP, mkPollManagerValidator, mkPollManagerValidatorFromSP, mkPollShardValidator, mkPollShardValidatorFromSP, mkSPInteger, mkTreasuryValidatorFromSP, mkVersionRecordTokenPolicy, mkVersionRegistryValidator, negateAssets, oneShotMintTx, openCdp, openLrp, openStakingPosition, parseAccountDatum, parseCdpDatum, parseCdpDatumOrThrow, parseExecuteDatum, parseExecuteDatumOrThrow, parseGovDatum, parseGovDatumOrThrow, parseIAssetDatum, parseIAssetDatumOrThrow, parseInterestOracleDatum, parseLrpDatum, parsePriceOracleDatum, parseSnapshotEpochToScaleToSumDatum, parseStabilityPoolDatum, processSpRequest, redeemCdp, redeemLrp, runCreateScriptRefTx, runOneShotMintTx, scriptRef, serialiseCDPCreatorDatum, serialiseCDPCreatorRedeemer, serialiseCdpDatum, serialiseCdpRedeemer, serialiseExecuteDatum, serialiseFeedInterestOracleRedeemer, serialiseGovDatum, serialiseGovRedeemer, serialiseIAssetDatum, serialiseInterestOracleDatum, serialiseLrpDatum, serialiseLrpRedeemer, serialisePollManagerRedeemer, serialisePollShardRedeemer, serialisePriceOracleDatum, serialisePriceOracleRedeemer, serialiseStabilityPoolDatum, serialiseStabilityPoolRedeemer, setSumInEpochToScaleToSum, spAdd, spDiv, spMul, spSub, startInterestOracle, toSystemParamsAsset, treasuryFeeTx, updatePoolSnapshotWithdrawalFee, vote, withdrawCdp };
2049
+ export { type AccountAction, type AccountContent, AccountContentSchema, ActionReturnDatum, ActionReturnDatumSchema, type AddressCredential, type AddressCredentialOrDatum, AddressD, type AddressSP, AddressSchema, type Amount, type AssetClass, type AssetClassSP, AssetClassSchema, type AuthTokenPolicies, type CDPContent, CDPContentSchema, CDPCreatorParams, type CDPCreatorParamsSP, CDPCreatorRedeemer, type CDPDatum, CDPDatumSchema, type CDPFees, CDPFeesSchema, type CDPRedeemer, type CdpParams, type CdpParamsSP, type CollectorParamsSP, CredentialD, CredentialSchema, type CurrencySymbol, type DistributionParams, type EpochToScaleToSum, EpochToScaleToSumSchema, ExecuteDatum, ExecuteParams, type ExecuteParamsSP, type FeedInterestOracleRedeemer, FeedInterestOracleRedeemerSchema, type GovDatum, GovParams, type GovParamsSP, GovRedeemer, type IAssetContent, IAssetContentSchema, type IAssetOutput, IAssetPriceInfoSchema, type Input, type InterestOracleDatum, InterestOracleDatumSchema, type InterestOracleParams, InterestOracleParamsSchema, type LRPDatum, LRPDatumSchema, type LRPParams, LRPParamsSchema, type LRPRedeemer, LRPRedeemerSchema, type LrpParamsSP, ONE_DAY, ONE_HOUR, ONE_SECOND, ONE_YEAR, type OracleAssetNft, OracleAssetNftSchema, type Output, type OutputReference, OutputReferenceSchema, PollManagerParams, type PollManagerParamsSP, PollManagerRedeemer, PollShardParams, type PollShardParamsSP, PollShardRedeemer, type PriceOracleDatum, PriceOracleDatumSchema, type PriceOracleParams, PriceOracleParamsSchema, type PriceOracleRedeemer, type PubKeyHash, type SPInteger, SPIntegerSchema, type ScriptCredential, type ScriptOutput, type ScriptRef, type ScriptReference, type ScriptReferences, type SnapshotEpochToScaleToSumContent, SnapshotEpochToScaleToSumContentSchema, type StabilityPoolContent, StabilityPoolContentSchema, StabilityPoolDatumSchema, StabilityPoolParams, type StabilityPoolParamsSP, type StabilityPoolRedeemer, StabilityPoolRedeemerSchema, type StabilityPoolSnapshot, StakeCredentialSchema, type StakingManager, type StakingParamsSP, type StakingPosLockedAmt, type StakingPosition, type StakingRedeemer, type StartTime, type SystemParams, type TokenName, type TreasuryParamsSP, type TreasuryWithdrawal, type TreasuryWithdrawalItem, TreasuryWithdrawalSchema, type ValidatorHashes, VerificationKeyHashSchema, type VersionRecordParams, VersionRecordTokenParams, type VoteOption, addrDetails, addressFromBech32, addressToBech32, adjust, adjustLrp, adjustSpAccount, adjustStakingPosition, adjustmentHelper, assetClassToUnit, assetClassValueOf, balance, burnCdp, calculateIAssetRedemptionAmt, calculateMinCollateralCappedIAssetRedemptionAmt, cancelLrp, castCDPCreatorParams, castCdpParams, castExecuteParams, castGovParams, castInterestOracleParams, castLrpParams, castPollManagerParams, castPollShardParams, castPriceOracleParams, castStabilityPoolParams, castStakingParams, castVersionRecordTokenParams, cdpCollateralRatioPercentage, claimLrp, closeCdp, closeSpAccount, closeStakingPosition, collectorFeeTx, createProposal, createScriptAddress, createShardsChunks, createSpAccount, depositCdp, endProposal, executeProposal, feedInterestOracle, freezeCdp, fromSPInteger, fromSysParamsScriptCredential, fromSystemParamsAsset, fromSystemParamsScriptRef, getAccountFund, getAccountReward, getInlineDatumOrThrow, getRandomElement, getSumFromEpochToScaleToSum, initEpochToScaleToSumMap, initSpSnapshot, isAssetsZero, liquidateCdp, liquidationHelper, loadSystemParamsFromFile, loadSystemParamsFromUrl, lovelacesAmt, matchSingle, mergeCdps, mergeShards, mintCdp, mkAssetsOf, mkCDPCreatorValidator, mkCDPCreatorValidatorFromSP, mkCdpValidatorFromSP, mkCollectorValidatorFromSP, mkExecuteValidator, mkExecuteValidatorFromSP, mkInterestOracleValidator, mkLovelacesOf, mkLrpValidator, mkLrpValidatorFromSP, mkPollManagerValidator, mkPollManagerValidatorFromSP, mkPollShardValidator, mkPollShardValidatorFromSP, mkSPInteger, mkTreasuryValidatorFromSP, mkVersionRecordTokenPolicy, mkVersionRegistryValidator, negateAssets, oneShotMintTx, openCdp, openLrp, openStakingPosition, parseAccountDatum, parseCdpDatum, parseCdpDatumOrThrow, parseExecuteDatum, parseExecuteDatumOrThrow, parseGovDatum, parseGovDatumOrThrow, parseIAssetDatum, parseIAssetDatumOrThrow, parseInterestOracleDatum, parseLrpDatum, parsePriceOracleDatum, parseSnapshotEpochToScaleToSumDatum, parseStabilityPoolDatum, parseStakingManagerDatum, parseStakingPosition, parseStakingPositionOrThrow, processSpRequest, redeemCdp, redeemLrp, runCreateScriptRefTx, runOneShotMintTx, scriptRef, serialiseCDPCreatorDatum, serialiseCDPCreatorRedeemer, serialiseCdpDatum, serialiseCdpRedeemer, serialiseExecuteDatum, serialiseFeedInterestOracleRedeemer, serialiseGovDatum, serialiseGovRedeemer, serialiseIAssetDatum, serialiseInterestOracleDatum, serialiseLrpDatum, serialiseLrpRedeemer, serialisePollManagerRedeemer, serialisePollShardRedeemer, serialisePriceOracleDatum, serialisePriceOracleRedeemer, serialiseStabilityPoolDatum, serialiseStabilityPoolRedeemer, serialiseStakingDatum, serialiseStakingRedeemer, setSumInEpochToScaleToSum, spAdd, spDiv, spMul, spSub, startInterestOracle, toSystemParamsAsset, treasuryFeeTx, updatePoolSnapshotWithdrawalFee, vote, withdrawCdp };
package/dist/index.js CHANGED
@@ -103,6 +103,7 @@ __export(index_exports, {
103
103
  castPollShardParams: () => castPollShardParams,
104
104
  castPriceOracleParams: () => castPriceOracleParams,
105
105
  castStabilityPoolParams: () => castStabilityPoolParams,
106
+ castStakingParams: () => castStakingParams,
106
107
  castVersionRecordTokenParams: () => castVersionRecordTokenParams,
107
108
  cdpCollateralRatioPercentage: () => cdpCollateralRatioPercentage,
108
109
  claimLrp: () => claimLrp,
@@ -178,6 +179,9 @@ __export(index_exports, {
178
179
  parsePriceOracleDatum: () => parsePriceOracleDatum,
179
180
  parseSnapshotEpochToScaleToSumDatum: () => parseSnapshotEpochToScaleToSumDatum,
180
181
  parseStabilityPoolDatum: () => parseStabilityPoolDatum,
182
+ parseStakingManagerDatum: () => parseStakingManagerDatum,
183
+ parseStakingPosition: () => parseStakingPosition,
184
+ parseStakingPositionOrThrow: () => parseStakingPositionOrThrow,
181
185
  processSpRequest: () => processSpRequest,
182
186
  redeemCdp: () => redeemCdp,
183
187
  redeemLrp: () => redeemLrp,
@@ -202,6 +206,8 @@ __export(index_exports, {
202
206
  serialisePriceOracleRedeemer: () => serialisePriceOracleRedeemer,
203
207
  serialiseStabilityPoolDatum: () => serialiseStabilityPoolDatum,
204
208
  serialiseStabilityPoolRedeemer: () => serialiseStabilityPoolRedeemer,
209
+ serialiseStakingDatum: () => serialiseStakingDatum,
210
+ serialiseStakingRedeemer: () => serialiseStakingRedeemer,
205
211
  setSumInEpochToScaleToSum: () => setSumInEpochToScaleToSum,
206
212
  spAdd: () => spAdd,
207
213
  spDiv: () => spDiv,
@@ -2636,6 +2642,7 @@ var StakingParamsSchema = import_lucid24.Data.Object({
2636
2642
  versionRecordToken: AssetClassSchema,
2637
2643
  collectorValHash: import_lucid24.Data.Bytes()
2638
2644
  });
2645
+ var StakingParams = StakingParamsSchema;
2639
2646
  var StakingRedeemerSchema = import_lucid24.Data.Enum([
2640
2647
  import_lucid24.Data.Object({
2641
2648
  CreateStakingPosition: import_lucid24.Data.Object({
@@ -2657,6 +2664,9 @@ var StakingRedeemer = StakingRedeemerSchema;
2657
2664
  function serialiseStakingRedeemer(redeemer) {
2658
2665
  return import_lucid24.Data.to(redeemer, StakingRedeemer);
2659
2666
  }
2667
+ function castStakingParams(params) {
2668
+ return import_lucid24.Data.castTo(params, StakingParams);
2669
+ }
2660
2670
 
2661
2671
  // src/contracts/staking/types-new.ts
2662
2672
  var import_evolution3 = require("@evolution-sdk/evolution");
@@ -4485,12 +4495,14 @@ async function processSpRequest(asset, stabilityPoolUtxo, accountUtxo, govUtxo,
4485
4495
  stabilityPoolDatum.poolSnapshot.scale,
4486
4496
  newPoolSum
4487
4497
  );
4488
- console.log("balanceChange", balanceChange);
4489
- console.log("withdrawalFee", withdrawalFee);
4490
- console.log("rewardLovelacesFee", rewardLovelacesFee);
4491
- console.log("reward", reward);
4492
4498
  if (rewardLovelacesFee > 0n) {
4493
- await collectorFeeTx(rewardLovelacesFee, lucid, params, tx, collectorOref);
4499
+ await collectorFeeTx(
4500
+ rewardLovelacesFee,
4501
+ lucid,
4502
+ params,
4503
+ tx,
4504
+ collectorOref
4505
+ );
4494
4506
  }
4495
4507
  tx.readFrom([govUtxo, iAssetUtxo, ...refInputs]);
4496
4508
  tx.pay.ToContract(
@@ -5511,6 +5523,7 @@ async function runCreateScriptRefTx(lucid, scriptRefValidator, network) {
5511
5523
  castPollShardParams,
5512
5524
  castPriceOracleParams,
5513
5525
  castStabilityPoolParams,
5526
+ castStakingParams,
5514
5527
  castVersionRecordTokenParams,
5515
5528
  cdpCollateralRatioPercentage,
5516
5529
  claimLrp,
@@ -5586,6 +5599,9 @@ async function runCreateScriptRefTx(lucid, scriptRefValidator, network) {
5586
5599
  parsePriceOracleDatum,
5587
5600
  parseSnapshotEpochToScaleToSumDatum,
5588
5601
  parseStabilityPoolDatum,
5602
+ parseStakingManagerDatum,
5603
+ parseStakingPosition,
5604
+ parseStakingPositionOrThrow,
5589
5605
  processSpRequest,
5590
5606
  redeemCdp,
5591
5607
  redeemLrp,
@@ -5610,6 +5626,8 @@ async function runCreateScriptRefTx(lucid, scriptRefValidator, network) {
5610
5626
  serialisePriceOracleRedeemer,
5611
5627
  serialiseStabilityPoolDatum,
5612
5628
  serialiseStabilityPoolRedeemer,
5629
+ serialiseStakingDatum,
5630
+ serialiseStakingRedeemer,
5613
5631
  setSumInEpochToScaleToSum,
5614
5632
  spAdd,
5615
5633
  spDiv,
package/dist/index.mjs CHANGED
@@ -2448,6 +2448,7 @@ var StakingParamsSchema = Data16.Object({
2448
2448
  versionRecordToken: AssetClassSchema,
2449
2449
  collectorValHash: Data16.Bytes()
2450
2450
  });
2451
+ var StakingParams = StakingParamsSchema;
2451
2452
  var StakingRedeemerSchema = Data16.Enum([
2452
2453
  Data16.Object({
2453
2454
  CreateStakingPosition: Data16.Object({
@@ -2469,6 +2470,9 @@ var StakingRedeemer = StakingRedeemerSchema;
2469
2470
  function serialiseStakingRedeemer(redeemer) {
2470
2471
  return Data16.to(redeemer, StakingRedeemer);
2471
2472
  }
2473
+ function castStakingParams(params) {
2474
+ return Data16.castTo(params, StakingParams);
2475
+ }
2472
2476
 
2473
2477
  // src/contracts/staking/types-new.ts
2474
2478
  import { Core as EvoCore3 } from "@evolution-sdk/evolution";
@@ -4011,7 +4015,10 @@ var mkStabilityPoolValidatorFromSP = (params) => {
4011
4015
  };
4012
4016
 
4013
4017
  // src/contracts/stability-pool/transactions.ts
4014
- import { addressFromBech32 as addressFromBech322, addressToBech32 as addressToBech322 } from "@3rd-eye-labs/cardano-offchain-common";
4018
+ import {
4019
+ addressFromBech32 as addressFromBech322,
4020
+ addressToBech32 as addressToBech322
4021
+ } from "@3rd-eye-labs/cardano-offchain-common";
4015
4022
  async function createSpAccount(asset, amount, params, lucid) {
4016
4023
  const [pkh, _skh] = await addrDetails(lucid);
4017
4024
  const minLovelaces = BigInt(
@@ -4321,12 +4328,14 @@ async function processSpRequest(asset, stabilityPoolUtxo, accountUtxo, govUtxo,
4321
4328
  stabilityPoolDatum.poolSnapshot.scale,
4322
4329
  newPoolSum
4323
4330
  );
4324
- console.log("balanceChange", balanceChange);
4325
- console.log("withdrawalFee", withdrawalFee);
4326
- console.log("rewardLovelacesFee", rewardLovelacesFee);
4327
- console.log("reward", reward);
4328
4331
  if (rewardLovelacesFee > 0n) {
4329
- await collectorFeeTx(rewardLovelacesFee, lucid, params, tx, collectorOref);
4332
+ await collectorFeeTx(
4333
+ rewardLovelacesFee,
4334
+ lucid,
4335
+ params,
4336
+ tx,
4337
+ collectorOref
4338
+ );
4330
4339
  }
4331
4340
  tx.readFrom([govUtxo, iAssetUtxo, ...refInputs]);
4332
4341
  tx.pay.ToContract(
@@ -5383,6 +5392,7 @@ export {
5383
5392
  castPollShardParams,
5384
5393
  castPriceOracleParams,
5385
5394
  castStabilityPoolParams,
5395
+ castStakingParams,
5386
5396
  castVersionRecordTokenParams,
5387
5397
  cdpCollateralRatioPercentage,
5388
5398
  claimLrp,
@@ -5458,6 +5468,9 @@ export {
5458
5468
  parsePriceOracleDatum,
5459
5469
  parseSnapshotEpochToScaleToSumDatum,
5460
5470
  parseStabilityPoolDatum,
5471
+ parseStakingManagerDatum,
5472
+ parseStakingPosition,
5473
+ parseStakingPositionOrThrow,
5461
5474
  processSpRequest,
5462
5475
  redeemCdp,
5463
5476
  redeemLrp,
@@ -5482,6 +5495,8 @@ export {
5482
5495
  serialisePriceOracleRedeemer,
5483
5496
  serialiseStabilityPoolDatum,
5484
5497
  serialiseStabilityPoolRedeemer,
5498
+ serialiseStakingDatum,
5499
+ serialiseStakingRedeemer,
5485
5500
  setSumInEpochToScaleToSum,
5486
5501
  spAdd,
5487
5502
  spDiv,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indigo-labs/indigo-sdk",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Indigo SDK for interacting with Indigo endpoints via lucid-evolution",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -461,10 +461,6 @@ export async function processSpRequest(
461
461
  newPoolSum,
462
462
  );
463
463
 
464
- console.log('balanceChange', balanceChange);
465
- console.log('withdrawalFee', withdrawalFee);
466
- console.log('rewardLovelacesFee', rewardLovelacesFee);
467
- console.log('reward', reward);
468
464
  if (rewardLovelacesFee > 0n) {
469
465
  await collectorFeeTx(
470
466
  rewardLovelacesFee,
package/src/index.ts CHANGED
@@ -11,6 +11,8 @@ export * from './contracts/gov/types';
11
11
  export * from './contracts/stability-pool/transactions';
12
12
  export * from './contracts/stability-pool/types-new';
13
13
  export * from './contracts/staking/transactions';
14
+ export * from './contracts/staking/types';
15
+ export * from './contracts/staking/types-new';
14
16
  export * from './contracts/interest-oracle/transactions';
15
17
  export * from './contracts/interest-oracle/types';
16
18
  export * from './contracts/interest-oracle/scripts';