@indigo-labs/indigo-sdk 0.2.39 → 0.2.41
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 +15 -15
- package/dist/index.d.ts +15 -15
- package/dist/index.js +1420 -115119
- package/dist/index.mjs +1265 -114890
- package/package.json +3 -3
- package/src/index.ts +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1721,21 +1721,6 @@ declare function calculateAccruedInterest(now: bigint, unitaryInterestSnapshot:
|
|
|
1721
1721
|
*/
|
|
1722
1722
|
declare function computeInterestLovelacesFor100PercentCR(collateral: bigint, mintedAmt: bigint, price: OnChainDecimal): bigint;
|
|
1723
1723
|
|
|
1724
|
-
declare const VersionRecordTokenParamsSchema: _lucid_evolution_lucid.TObject<{
|
|
1725
|
-
upgradeToken: _lucid_evolution_lucid.TObject<{
|
|
1726
|
-
currencySymbol: _lucid_evolution_lucid.TUnsafe<string>;
|
|
1727
|
-
tokenName: _lucid_evolution_lucid.TUnsafe<string>;
|
|
1728
|
-
}>;
|
|
1729
|
-
}>;
|
|
1730
|
-
type VersionRecordTokenParams = Data.Static<typeof VersionRecordTokenParamsSchema>;
|
|
1731
|
-
declare const VersionRecordTokenParams: VersionRecordTokenParams;
|
|
1732
|
-
declare function castVersionRecordTokenParams(params: VersionRecordTokenParams): Data;
|
|
1733
|
-
|
|
1734
|
-
declare function mkVersionRecordTokenPolicy(params: VersionRecordTokenParams): MintingPolicy;
|
|
1735
|
-
declare const mkVersionRegistryValidator: () => SpendingValidator;
|
|
1736
|
-
|
|
1737
|
-
declare function treasuryFeeTx(fee: bigint, lucid: LucidEvolution, sysParams: SystemParams, tx: TxBuilder, treasury: UtxoOrOutRef): Promise<void>;
|
|
1738
|
-
|
|
1739
1724
|
declare const OracleAssetNftSchema: _lucid_evolution_lucid.TObject<{
|
|
1740
1725
|
oracleNft: _lucid_evolution_lucid.TObject<{
|
|
1741
1726
|
currencySymbol: _lucid_evolution_lucid.TUnsafe<string>;
|
|
@@ -1782,6 +1767,21 @@ declare function oracleExpirationAwareValidity(currentSlot: number, biasTime: nu
|
|
|
1782
1767
|
validTo: number;
|
|
1783
1768
|
};
|
|
1784
1769
|
|
|
1770
|
+
declare const VersionRecordTokenParamsSchema: _lucid_evolution_lucid.TObject<{
|
|
1771
|
+
upgradeToken: _lucid_evolution_lucid.TObject<{
|
|
1772
|
+
currencySymbol: _lucid_evolution_lucid.TUnsafe<string>;
|
|
1773
|
+
tokenName: _lucid_evolution_lucid.TUnsafe<string>;
|
|
1774
|
+
}>;
|
|
1775
|
+
}>;
|
|
1776
|
+
type VersionRecordTokenParams = Data.Static<typeof VersionRecordTokenParamsSchema>;
|
|
1777
|
+
declare const VersionRecordTokenParams: VersionRecordTokenParams;
|
|
1778
|
+
declare function castVersionRecordTokenParams(params: VersionRecordTokenParams): Data;
|
|
1779
|
+
|
|
1780
|
+
declare function mkVersionRecordTokenPolicy(params: VersionRecordTokenParams): MintingPolicy;
|
|
1781
|
+
declare const mkVersionRegistryValidator: () => SpendingValidator;
|
|
1782
|
+
|
|
1783
|
+
declare function treasuryFeeTx(fee: bigint, lucid: LucidEvolution, sysParams: SystemParams, tx: TxBuilder, treasury: UtxoOrOutRef): Promise<void>;
|
|
1784
|
+
|
|
1785
1785
|
declare const initSpSnapshot: StabilityPoolSnapshot;
|
|
1786
1786
|
declare const initEpochToScaleToSumMap: () => EpochToScaleToSum;
|
|
1787
1787
|
declare function getSumFromEpochToScaleToSum(e2s2s: EpochToScaleToSum, epoch: bigint, scale: bigint): SPInteger | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -1721,21 +1721,6 @@ declare function calculateAccruedInterest(now: bigint, unitaryInterestSnapshot:
|
|
|
1721
1721
|
*/
|
|
1722
1722
|
declare function computeInterestLovelacesFor100PercentCR(collateral: bigint, mintedAmt: bigint, price: OnChainDecimal): bigint;
|
|
1723
1723
|
|
|
1724
|
-
declare const VersionRecordTokenParamsSchema: _lucid_evolution_lucid.TObject<{
|
|
1725
|
-
upgradeToken: _lucid_evolution_lucid.TObject<{
|
|
1726
|
-
currencySymbol: _lucid_evolution_lucid.TUnsafe<string>;
|
|
1727
|
-
tokenName: _lucid_evolution_lucid.TUnsafe<string>;
|
|
1728
|
-
}>;
|
|
1729
|
-
}>;
|
|
1730
|
-
type VersionRecordTokenParams = Data.Static<typeof VersionRecordTokenParamsSchema>;
|
|
1731
|
-
declare const VersionRecordTokenParams: VersionRecordTokenParams;
|
|
1732
|
-
declare function castVersionRecordTokenParams(params: VersionRecordTokenParams): Data;
|
|
1733
|
-
|
|
1734
|
-
declare function mkVersionRecordTokenPolicy(params: VersionRecordTokenParams): MintingPolicy;
|
|
1735
|
-
declare const mkVersionRegistryValidator: () => SpendingValidator;
|
|
1736
|
-
|
|
1737
|
-
declare function treasuryFeeTx(fee: bigint, lucid: LucidEvolution, sysParams: SystemParams, tx: TxBuilder, treasury: UtxoOrOutRef): Promise<void>;
|
|
1738
|
-
|
|
1739
1724
|
declare const OracleAssetNftSchema: _lucid_evolution_lucid.TObject<{
|
|
1740
1725
|
oracleNft: _lucid_evolution_lucid.TObject<{
|
|
1741
1726
|
currencySymbol: _lucid_evolution_lucid.TUnsafe<string>;
|
|
@@ -1782,6 +1767,21 @@ declare function oracleExpirationAwareValidity(currentSlot: number, biasTime: nu
|
|
|
1782
1767
|
validTo: number;
|
|
1783
1768
|
};
|
|
1784
1769
|
|
|
1770
|
+
declare const VersionRecordTokenParamsSchema: _lucid_evolution_lucid.TObject<{
|
|
1771
|
+
upgradeToken: _lucid_evolution_lucid.TObject<{
|
|
1772
|
+
currencySymbol: _lucid_evolution_lucid.TUnsafe<string>;
|
|
1773
|
+
tokenName: _lucid_evolution_lucid.TUnsafe<string>;
|
|
1774
|
+
}>;
|
|
1775
|
+
}>;
|
|
1776
|
+
type VersionRecordTokenParams = Data.Static<typeof VersionRecordTokenParamsSchema>;
|
|
1777
|
+
declare const VersionRecordTokenParams: VersionRecordTokenParams;
|
|
1778
|
+
declare function castVersionRecordTokenParams(params: VersionRecordTokenParams): Data;
|
|
1779
|
+
|
|
1780
|
+
declare function mkVersionRecordTokenPolicy(params: VersionRecordTokenParams): MintingPolicy;
|
|
1781
|
+
declare const mkVersionRegistryValidator: () => SpendingValidator;
|
|
1782
|
+
|
|
1783
|
+
declare function treasuryFeeTx(fee: bigint, lucid: LucidEvolution, sysParams: SystemParams, tx: TxBuilder, treasury: UtxoOrOutRef): Promise<void>;
|
|
1784
|
+
|
|
1785
1785
|
declare const initSpSnapshot: StabilityPoolSnapshot;
|
|
1786
1786
|
declare const initEpochToScaleToSumMap: () => EpochToScaleToSum;
|
|
1787
1787
|
declare function getSumFromEpochToScaleToSum(e2s2s: EpochToScaleToSum, epoch: bigint, scale: bigint): SPInteger | undefined;
|