@kassealhq/sdk 0.3.0 → 1.0.0
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/CHANGELOG.md +57 -0
- package/README.md +118 -2
- package/SECURITY.md +3 -2
- package/STABILITY.md +25 -12
- package/dist/artifacts/contracts/lock/v1/artifacts/build-report.txt +4 -0
- package/dist/artifacts/contracts/lock/v1/artifacts/factory.artifact.json +267 -0
- package/dist/artifacts/contracts/lock/v1/artifacts/factory.ctor.json +80 -0
- package/dist/artifacts/contracts/lock/v1/artifacts/lock.artifact.json +258 -0
- package/dist/artifacts/contracts/lock/v1/artifacts/lock.ctor.json +112 -0
- package/dist/artifacts/contracts/lock/v1/artifacts/manifest.json +70 -0
- package/dist/artifacts/manifest.json +18 -0
- package/dist/chunks/chunk-H7LB2HPQ.js +4 -0
- package/dist/chunks/chunk-WJFZETEQ.js +1 -0
- package/dist/chunks/token-lock-v1-763GG7M6.js +1 -0
- package/dist/index.d.ts +458 -12
- package/dist/index.js +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/node.js +1 -1
- package/dist/web-lite-mainnet.d.ts +1 -1
- package/dist/web-lite-mainnet.js +1 -1
- package/dist/web-lite-testnet-10.d.ts +1 -1
- package/dist/web-lite-testnet-10.js +1 -1
- package/dist/web-mainnet.d.ts +1 -1
- package/dist/web-mainnet.js +1 -1
- package/dist/web-testnet-10.d.ts +1 -1
- package/dist/web-testnet-10.js +1 -1
- package/dist/web.d.ts +1 -1
- package/dist/web.js +1 -1
- package/docs/api.md +52 -0
- package/docs/contract-artifacts.md +32 -3
- package/docs/errors.md +8 -0
- package/docs/explorers.md +27 -1
- package/docs/partner-tag.md +134 -0
- package/docs/wallets.md +5 -0
- package/examples/README.md +1 -0
- package/examples/partner-tag.ts +58 -0
- package/package.json +2 -1
- package/dist/chunks/chunk-FYCRPHEE.js +0 -4
- package/dist/chunks/chunk-JZJ7MFR5.js +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -71,9 +71,13 @@ type AuthRequirement$1 = {
|
|
|
71
71
|
readonly kind: 'covenant-input';
|
|
72
72
|
readonly semantic: Extract<OwnerSemantic$1, 'covenant-id'>;
|
|
73
73
|
readonly covenantId: Uint8Array;
|
|
74
|
+
} | {
|
|
75
|
+
readonly kind: 'presence-input';
|
|
76
|
+
readonly semantic: Extract<OwnerSemantic$1, 'address-presence'>;
|
|
77
|
+
readonly pubkey: Uint8Array;
|
|
74
78
|
};
|
|
75
79
|
|
|
76
|
-
type OwnerSemantic$1 = 'pubkey' | 'script-hash' | 'covenant-id' | 'p2pkh-schnorr' | 'p2pkh-ecdsa';
|
|
80
|
+
type OwnerSemantic$1 = 'pubkey' | 'script-hash' | 'covenant-id' | 'p2pkh-schnorr' | 'p2pkh-ecdsa' | 'address-presence';
|
|
77
81
|
type SchemeMap$1 = ReadonlyMap<number, OwnerSemantic$1>;
|
|
78
82
|
interface OwnerRef$1 {
|
|
79
83
|
readonly schemeByte: number;
|
|
@@ -199,6 +203,26 @@ interface CurveTemplateCheck$1 {
|
|
|
199
203
|
readonly params?: Readonly<Record<string, string | number>>;
|
|
200
204
|
}
|
|
201
205
|
|
|
206
|
+
declare const PARTNER_IDS$1: {
|
|
207
|
+
readonly kasware: 1;
|
|
208
|
+
readonly kaspire: 2;
|
|
209
|
+
readonly kastle: 3;
|
|
210
|
+
readonly braidswap: 1000;
|
|
211
|
+
};
|
|
212
|
+
type PartnerKey$1 = keyof typeof PARTNER_IDS$1;
|
|
213
|
+
type PartnerId$1 = (typeof PARTNER_IDS$1)[PartnerKey$1];
|
|
214
|
+
declare const PARTNER_CHANNELS$1: {
|
|
215
|
+
readonly extension: 1;
|
|
216
|
+
readonly walletconnect: 2;
|
|
217
|
+
readonly embedded: 3;
|
|
218
|
+
};
|
|
219
|
+
type PartnerChannelKey$1 = keyof typeof PARTNER_CHANNELS$1;
|
|
220
|
+
type PartnerChannel$1 = (typeof PARTNER_CHANNELS$1)[PartnerChannelKey$1];
|
|
221
|
+
interface PartnerTag$1 {
|
|
222
|
+
readonly partner: PartnerId$1;
|
|
223
|
+
readonly channel: PartnerChannel$1;
|
|
224
|
+
}
|
|
225
|
+
|
|
202
226
|
type Kaspa = KaspaSdk;
|
|
203
227
|
type SdkTransaction = InstanceType<KaspaSdk['Transaction']>;
|
|
204
228
|
type SdkTransactionOutput = InstanceType<KaspaSdk['TransactionOutput']>;
|
|
@@ -527,7 +551,7 @@ type TokenCell = CellRef<'token', TokenState$1>;
|
|
|
527
551
|
type CurveCell = CellRef<'curve', CurveState$2>;
|
|
528
552
|
type PoolCell = CellRef<'pool', PoolCellState$1>;
|
|
529
553
|
type AnyCell = TokenCell | CurveCell | PoolCell;
|
|
530
|
-
type SignatureKind = 'p2pk' | 'token-leader' | 'token-delegator';
|
|
554
|
+
type SignatureKind = 'p2pk' | 'token-leader' | 'token-delegator' | 'lock-beneficiary';
|
|
531
555
|
interface SignatureSlot {
|
|
532
556
|
readonly kind: SignatureKind;
|
|
533
557
|
readonly offset: number;
|
|
@@ -547,7 +571,7 @@ interface InputPlan {
|
|
|
547
571
|
readonly cellKind?: InputCellKind;
|
|
548
572
|
readonly sequence?: bigint;
|
|
549
573
|
}
|
|
550
|
-
type InputCellKind = CellKind | '
|
|
574
|
+
type InputCellKind = CellKind | 'lock' | 'lock-factory';
|
|
551
575
|
declare const MAX_INPUT_SEQUENCE = 4294967295n;
|
|
552
576
|
type PredictedState = {
|
|
553
577
|
readonly kind: 'token';
|
|
@@ -596,6 +620,7 @@ interface TxPlan {
|
|
|
596
620
|
readonly feeMargin: bigint;
|
|
597
621
|
readonly feerate?: bigint;
|
|
598
622
|
readonly lockTime?: bigint;
|
|
623
|
+
readonly lockTimeDomain?: 'daa' | 'timestamp';
|
|
599
624
|
}
|
|
600
625
|
interface BuiltOutput {
|
|
601
626
|
readonly index: number;
|
|
@@ -645,6 +670,8 @@ declare function estimate(plan: TxPlan): {
|
|
|
645
670
|
declare function feerateOf(plan: TxPlan): bigint;
|
|
646
671
|
declare function assemble(plan: TxPlan): AssembledTx;
|
|
647
672
|
declare const MAX_LOCK_TIME_DAA = 499999999999n;
|
|
673
|
+
declare const MIN_LOCK_TIME_TIMESTAMP = 500000000000n;
|
|
674
|
+
declare const MAX_LOCK_TIME_TIMESTAMP: bigint;
|
|
648
675
|
declare function lockTimeOf(plan: TxPlan): bigint;
|
|
649
676
|
declare function sequenceOf(tx: string, input: InputPlan): bigint;
|
|
650
677
|
declare function applySignature(built: AssembledTx, index: number, sig65: Uint8Array): void;
|
|
@@ -776,7 +803,7 @@ interface InputToSign {
|
|
|
776
803
|
readonly sighashType: 1;
|
|
777
804
|
readonly signatureOffset?: number;
|
|
778
805
|
}
|
|
779
|
-
type OutputRole = 'curve' | 'pool' | 'token-user' | 'token-rest' | 'token-reserve' | 'prep' | 'treasury' | 'creator' | 'payout' | 'change';
|
|
806
|
+
type OutputRole = 'curve' | 'pool' | 'token-user' | 'token-rest' | 'token-reserve' | 'prep' | 'treasury' | 'creator' | 'payout' | 'change' | 'lock' | 'lock-factory' | 'beneficiary';
|
|
780
807
|
interface BuiltTx {
|
|
781
808
|
readonly txJson: string;
|
|
782
809
|
readonly txid: string;
|
|
@@ -830,6 +857,7 @@ interface BuildBuyParams {
|
|
|
830
857
|
readonly maxAllIn?: Sompi;
|
|
831
858
|
readonly userCellValue?: Sompi;
|
|
832
859
|
readonly borrowInto?: Outpoint;
|
|
860
|
+
readonly partner?: PartnerTag$1;
|
|
833
861
|
}
|
|
834
862
|
interface BuildSellParams {
|
|
835
863
|
readonly covenantId: string;
|
|
@@ -843,6 +871,7 @@ interface BuildSellParams {
|
|
|
843
871
|
readonly minKasOut?: Sompi;
|
|
844
872
|
readonly minNetOut?: Sompi;
|
|
845
873
|
readonly expectedTokens?: bigint;
|
|
874
|
+
readonly partner?: PartnerTag$1;
|
|
846
875
|
}
|
|
847
876
|
interface BuildSwapParams {
|
|
848
877
|
readonly poolId: string;
|
|
@@ -862,6 +891,7 @@ interface BuildSwapParams {
|
|
|
862
891
|
readonly scriptFunding: Sompi;
|
|
863
892
|
readonly allowAnyScript?: boolean;
|
|
864
893
|
};
|
|
894
|
+
readonly partner?: PartnerTag$1;
|
|
865
895
|
}
|
|
866
896
|
interface BuildScriptSellParams {
|
|
867
897
|
readonly poolId: string;
|
|
@@ -872,6 +902,7 @@ interface BuildScriptSellParams {
|
|
|
872
902
|
readonly signerXOnly: Uint8Array;
|
|
873
903
|
readonly scriptAddress: string;
|
|
874
904
|
readonly allowAnyScript?: boolean;
|
|
905
|
+
readonly partner?: PartnerTag$1;
|
|
875
906
|
}
|
|
876
907
|
interface BuildConsolidateParams {
|
|
877
908
|
readonly covenantId: string;
|
|
@@ -1185,6 +1216,10 @@ interface FeeOptions {
|
|
|
1185
1216
|
readonly feeMargin?: bigint;
|
|
1186
1217
|
readonly feerate?: bigint;
|
|
1187
1218
|
}
|
|
1219
|
+
interface PartnerOptions {
|
|
1220
|
+
readonly partnerTag?: PartnerTag$1;
|
|
1221
|
+
}
|
|
1222
|
+
declare function tradePayload(tag: PartnerTag$1 | undefined): Uint8Array;
|
|
1188
1223
|
declare function requireProofBound(operation: string, verdict: LaunchProofVerdict | undefined, exit?: boolean): void;
|
|
1189
1224
|
declare function requireLineage(venue: string, tokenCovId: Uint8Array, tokenId: string | undefined): string;
|
|
1190
1225
|
declare const fundingSum: (funding: readonly FundingUtxo[] | undefined) => bigint;
|
|
@@ -1382,6 +1417,15 @@ interface ArtifactBuildInfo {
|
|
|
1382
1417
|
readonly compiler: string;
|
|
1383
1418
|
readonly presets: Readonly<Record<string, string>>;
|
|
1384
1419
|
}
|
|
1420
|
+
interface LockArtifactInfo {
|
|
1421
|
+
readonly path: string;
|
|
1422
|
+
readonly set: 'kasseal-token-lock';
|
|
1423
|
+
readonly version: '1';
|
|
1424
|
+
readonly networks: readonly ('mainnet' | 'testnet-10')[];
|
|
1425
|
+
readonly lockTemplateHash: string;
|
|
1426
|
+
readonly factoryTemplateHash: string;
|
|
1427
|
+
readonly compiler: string;
|
|
1428
|
+
}
|
|
1385
1429
|
interface ArtifactManifest {
|
|
1386
1430
|
readonly format: 1;
|
|
1387
1431
|
readonly builds: Readonly<Record<string, ArtifactBuildInfo>>;
|
|
@@ -1390,6 +1434,7 @@ interface ArtifactManifest {
|
|
|
1390
1434
|
readonly templateHash: string;
|
|
1391
1435
|
readonly source: string;
|
|
1392
1436
|
};
|
|
1437
|
+
readonly lock: LockArtifactInfo;
|
|
1393
1438
|
readonly files: Readonly<Record<string, string>>;
|
|
1394
1439
|
}
|
|
1395
1440
|
declare const artifactManifest: ArtifactManifest;
|
|
@@ -1416,6 +1461,7 @@ declare class SdkCompatibilityError extends Error {
|
|
|
1416
1461
|
constructor(stage: 'version' | 'surface' | 'known-answer', failures: readonly string[]);
|
|
1417
1462
|
}
|
|
1418
1463
|
declare function artifactPathsOfBuild(build: string): string[];
|
|
1464
|
+
declare function lockArtifactPaths(): string[];
|
|
1419
1465
|
|
|
1420
1466
|
declare class LayoutError extends Error {
|
|
1421
1467
|
readonly errorCode: string;
|
|
@@ -1516,6 +1562,10 @@ type AuthRequirement = {
|
|
|
1516
1562
|
readonly kind: 'covenant-input';
|
|
1517
1563
|
readonly semantic: Extract<OwnerSemantic, 'covenant-id'>;
|
|
1518
1564
|
readonly covenantId: Uint8Array;
|
|
1565
|
+
} | {
|
|
1566
|
+
readonly kind: 'presence-input';
|
|
1567
|
+
readonly semantic: Extract<OwnerSemantic, 'address-presence'>;
|
|
1568
|
+
readonly pubkey: Uint8Array;
|
|
1519
1569
|
};
|
|
1520
1570
|
declare function describeAuth(owner: {
|
|
1521
1571
|
schemeByte: number;
|
|
@@ -1523,7 +1573,7 @@ declare function describeAuth(owner: {
|
|
|
1523
1573
|
identifier: Uint8Array;
|
|
1524
1574
|
}): AuthRequirement;
|
|
1525
1575
|
|
|
1526
|
-
type OwnerSemantic = 'pubkey' | 'script-hash' | 'covenant-id' | 'p2pkh-schnorr' | 'p2pkh-ecdsa';
|
|
1576
|
+
type OwnerSemantic = 'pubkey' | 'script-hash' | 'covenant-id' | 'p2pkh-schnorr' | 'p2pkh-ecdsa' | 'address-presence';
|
|
1527
1577
|
type SchemeMap = ReadonlyMap<number, OwnerSemantic>;
|
|
1528
1578
|
interface OwnerRef {
|
|
1529
1579
|
readonly schemeByte: number;
|
|
@@ -1909,6 +1959,28 @@ interface ApiSourcesOptions {
|
|
|
1909
1959
|
readonly attempts?: number;
|
|
1910
1960
|
readonly fetch?: typeof fetch;
|
|
1911
1961
|
}
|
|
1962
|
+
interface CurveHeadsOptions {
|
|
1963
|
+
readonly baseUrl: string;
|
|
1964
|
+
readonly cells?: boolean;
|
|
1965
|
+
readonly pool?: boolean;
|
|
1966
|
+
readonly attempts?: number;
|
|
1967
|
+
readonly fetch?: typeof fetch;
|
|
1968
|
+
}
|
|
1969
|
+
interface CurveHeadsItem {
|
|
1970
|
+
readonly id: string;
|
|
1971
|
+
readonly head?: Readonly<Record<string, unknown>>;
|
|
1972
|
+
readonly poolId?: string;
|
|
1973
|
+
readonly pool?: Readonly<Record<string, unknown>>;
|
|
1974
|
+
readonly error?: {
|
|
1975
|
+
readonly type: string;
|
|
1976
|
+
readonly title: string;
|
|
1977
|
+
readonly status: number;
|
|
1978
|
+
readonly detail?: string;
|
|
1979
|
+
readonly retryAfterMs?: number;
|
|
1980
|
+
};
|
|
1981
|
+
}
|
|
1982
|
+
declare const CURVE_HEADS_MAX = 50;
|
|
1983
|
+
declare function fetchCurveHeads(options: CurveHeadsOptions, ids: readonly string[]): Promise<CurveHeadsItem[]>;
|
|
1912
1984
|
declare function createApiSources(options: ApiSourcesOptions): UtxoSources & {
|
|
1913
1985
|
lastFunding: () => readonly FundingUtxo[];
|
|
1914
1986
|
};
|
|
@@ -2502,6 +2574,35 @@ declare function displayText(raw: string): string;
|
|
|
2502
2574
|
declare function tickerSkeleton(raw: string): string;
|
|
2503
2575
|
declare function hasHiddenCharacters(raw: string): boolean;
|
|
2504
2576
|
|
|
2577
|
+
declare const PARTNER_TAG_MAGIC_0 = 75;
|
|
2578
|
+
declare const PARTNER_TAG_MAGIC_1 = 83;
|
|
2579
|
+
declare const PARTNER_TAG_VERSION = 1;
|
|
2580
|
+
declare const PARTNER_TAG_BYTES = 6;
|
|
2581
|
+
declare const PARTNER_IDS: {
|
|
2582
|
+
readonly kasware: 1;
|
|
2583
|
+
readonly kaspire: 2;
|
|
2584
|
+
readonly kastle: 3;
|
|
2585
|
+
readonly braidswap: 1000;
|
|
2586
|
+
};
|
|
2587
|
+
type PartnerKey = keyof typeof PARTNER_IDS;
|
|
2588
|
+
type PartnerId = (typeof PARTNER_IDS)[PartnerKey];
|
|
2589
|
+
declare const PARTNER_CHANNELS: {
|
|
2590
|
+
readonly extension: 1;
|
|
2591
|
+
readonly walletconnect: 2;
|
|
2592
|
+
readonly embedded: 3;
|
|
2593
|
+
};
|
|
2594
|
+
type PartnerChannelKey = keyof typeof PARTNER_CHANNELS;
|
|
2595
|
+
type PartnerChannel = (typeof PARTNER_CHANNELS)[PartnerChannelKey];
|
|
2596
|
+
interface PartnerTag {
|
|
2597
|
+
readonly partner: PartnerId;
|
|
2598
|
+
readonly channel: PartnerChannel;
|
|
2599
|
+
}
|
|
2600
|
+
declare function isPartnerId(n: number): n is PartnerId;
|
|
2601
|
+
declare function isPartnerChannel(n: number): n is PartnerChannel;
|
|
2602
|
+
declare function encodePartnerTag(tag: PartnerTag): Uint8Array;
|
|
2603
|
+
declare function decodePartnerTag(payload: Uint8Array): PartnerTag | null;
|
|
2604
|
+
declare function decodePartnerTagHex(payloadHex: string): PartnerTag | null;
|
|
2605
|
+
|
|
2505
2606
|
declare function createDefaultRegistry(): LayoutRegistry;
|
|
2506
2607
|
|
|
2507
2608
|
declare function creatorSlots(suffix: Uint8Array, spk: Uint8Array): number[];
|
|
@@ -2659,7 +2760,7 @@ interface Buyer {
|
|
|
2659
2760
|
readonly xOnlyPubkey: Uint8Array;
|
|
2660
2761
|
readonly address: string;
|
|
2661
2762
|
}
|
|
2662
|
-
interface BuyParams extends FeeOptions {
|
|
2763
|
+
interface BuyParams extends FeeOptions, PartnerOptions {
|
|
2663
2764
|
readonly ctx: BuilderContext;
|
|
2664
2765
|
readonly curve: CurveCell;
|
|
2665
2766
|
readonly supply: TokenCell;
|
|
@@ -2691,7 +2792,7 @@ declare function buildBuy(params: BuyParams): BuyResult;
|
|
|
2691
2792
|
interface Seller {
|
|
2692
2793
|
readonly address: string;
|
|
2693
2794
|
}
|
|
2694
|
-
interface SellParams extends FeeOptions {
|
|
2795
|
+
interface SellParams extends FeeOptions, PartnerOptions {
|
|
2695
2796
|
readonly ctx: BuilderContext;
|
|
2696
2797
|
readonly curve: CurveCell;
|
|
2697
2798
|
readonly supply: TokenCell;
|
|
@@ -2717,7 +2818,7 @@ declare function sellPrecheck(ctx: BuilderContext, curve: CurveCell, n: bigint,
|
|
|
2717
2818
|
declare function buildSell(params: SellParams): SellResult;
|
|
2718
2819
|
|
|
2719
2820
|
declare function poolMathState(pool: PoolCell): PoolState$1;
|
|
2720
|
-
interface SwapKasForTokensParams extends FeeOptions {
|
|
2821
|
+
interface SwapKasForTokensParams extends FeeOptions, PartnerOptions {
|
|
2721
2822
|
readonly ctx: BuilderContext;
|
|
2722
2823
|
readonly pool: PoolCell;
|
|
2723
2824
|
readonly poolToken: TokenCell;
|
|
@@ -2753,7 +2854,7 @@ declare function assertSafeRedeem(redeem: Uint8Array, opts: {
|
|
|
2753
2854
|
programs: readonly Uint8Array[];
|
|
2754
2855
|
}): void;
|
|
2755
2856
|
declare function buildSwapKasForTokens(params: SwapKasForTokensParams): SwapKasForTokensResult;
|
|
2756
|
-
interface SwapTokensForKasParams extends FeeOptions {
|
|
2857
|
+
interface SwapTokensForKasParams extends FeeOptions, PartnerOptions {
|
|
2757
2858
|
readonly ctx: BuilderContext;
|
|
2758
2859
|
readonly pool: PoolCell;
|
|
2759
2860
|
readonly poolToken: TokenCell;
|
|
@@ -2978,6 +3079,317 @@ interface BindLpResult extends Shaped {
|
|
|
2978
3079
|
}
|
|
2979
3080
|
declare function buildBindLp(params: BindLpParams): BindLpResult;
|
|
2980
3081
|
|
|
3082
|
+
declare const LOCK_TIME_THRESHOLD = 500000000000n;
|
|
3083
|
+
|
|
3084
|
+
declare const LOCK_TRANCHES_MAX = 100n;
|
|
3085
|
+
declare const LOCK_TOTAL_MAX = 1000000000000000000n;
|
|
3086
|
+
declare const LOCK_PAYOUT_CELL_KAS = 100000000n;
|
|
3087
|
+
declare const LOCK_FEE_CAP = 20000000n;
|
|
3088
|
+
declare const LOCK_VERSION = 1n;
|
|
3089
|
+
declare const LOCK_FIVE_YEARS_MS = 157788000000n;
|
|
3090
|
+
declare const LOCK_FINAL_KAS_MIN = 100000000n;
|
|
3091
|
+
declare const LOCK_T_CELL_KAS_MIN = 100000000n;
|
|
3092
|
+
declare const LOCK_MAX_CREATE_OUTPUTS = 6;
|
|
3093
|
+
declare const LOCK_OUT = 0;
|
|
3094
|
+
declare const LOCK_SCHEME_P2PK = 0;
|
|
3095
|
+
declare const LOCK_SCHEME_P2SH = 3;
|
|
3096
|
+
declare const LOCK_MIN_SUPPLY_BPS = 5n;
|
|
3097
|
+
declare const LOCK_DAY_MS = 86400000n;
|
|
3098
|
+
declare const LOCK_MIN_DURATION_MS: bigint;
|
|
3099
|
+
declare const LOCK_MIN_DURATION_MS_TESTNET: bigint;
|
|
3100
|
+
declare const LOCK_MAX_DURATION_MS = 63115200000n;
|
|
3101
|
+
declare const LOCK_STATE_LENGTH = 140;
|
|
3102
|
+
declare const LOCK_FACTORY_STATE_LENGTH = 37;
|
|
3103
|
+
declare const LOCK_V1_ARTIFACT_DIR = "contracts/lock/v1/artifacts";
|
|
3104
|
+
declare function lockV1ArtifactPaths(): string[];
|
|
3105
|
+
interface LockTemplate {
|
|
3106
|
+
readonly prefix: Uint8Array;
|
|
3107
|
+
readonly suffix: Uint8Array;
|
|
3108
|
+
readonly stateOffset: number;
|
|
3109
|
+
readonly stateLength: number;
|
|
3110
|
+
readonly templateHash: string;
|
|
3111
|
+
readonly bytecode: Uint8Array;
|
|
3112
|
+
}
|
|
3113
|
+
interface LockV1Set {
|
|
3114
|
+
readonly set: 'kasseal-token-lock';
|
|
3115
|
+
readonly version: '1';
|
|
3116
|
+
readonly lock: LockTemplate & {
|
|
3117
|
+
readonly claimTag: string;
|
|
3118
|
+
readonly extendTag: string;
|
|
3119
|
+
};
|
|
3120
|
+
readonly factory: LockTemplate & {
|
|
3121
|
+
readonly createTag: string;
|
|
3122
|
+
};
|
|
3123
|
+
readonly token: TokenTemplate;
|
|
3124
|
+
}
|
|
3125
|
+
declare const LOCK_FACTORY_CREATE_SIGNATURE = "create(byte[32],byte[32],byte,int,int,int,int,int,int,int,byte[],byte[])";
|
|
3126
|
+
declare function loadLockV1(): LockV1Set;
|
|
3127
|
+
interface LockState {
|
|
3128
|
+
readonly tokenCovId: Uint8Array;
|
|
3129
|
+
readonly beneficiary: Uint8Array;
|
|
3130
|
+
readonly scheme: number;
|
|
3131
|
+
readonly total: bigint;
|
|
3132
|
+
readonly claimed: bigint;
|
|
3133
|
+
readonly start: bigint;
|
|
3134
|
+
readonly cliff: bigint;
|
|
3135
|
+
readonly period: bigint;
|
|
3136
|
+
readonly tranches: bigint;
|
|
3137
|
+
readonly version: bigint;
|
|
3138
|
+
readonly endCap: bigint;
|
|
3139
|
+
}
|
|
3140
|
+
declare function encodeLockState(s: LockState): Uint8Array;
|
|
3141
|
+
declare function decodeLockState(bytes: Uint8Array): LockState;
|
|
3142
|
+
declare function lockEndOf(s: Pick<LockState, 'start' | 'cliff' | 'period' | 'tranches'>): bigint;
|
|
3143
|
+
declare function lockEndCapOf(s: Pick<LockState, 'start' | 'cliff' | 'period' | 'tranches'>): bigint;
|
|
3144
|
+
declare function lockStateProblem(s: LockState, k?: string): string | undefined;
|
|
3145
|
+
declare function assertLockState(s: LockState, k?: string): void;
|
|
3146
|
+
declare function lockAmountAt(s: Pick<LockState, 'total' | 'tranches'>, k: bigint): bigint;
|
|
3147
|
+
declare function lockVestedAt(s: Pick<LockState, 'start' | 'cliff' | 'period' | 'tranches'>, now: bigint): bigint;
|
|
3148
|
+
declare function lockDueAt(s: Pick<LockState, 'start' | 'cliff' | 'period' | 'tranches'>, k: bigint): bigint;
|
|
3149
|
+
declare function lockRemaining(s: LockState): bigint;
|
|
3150
|
+
declare function lockClaimableAt(s: LockState, now: bigint): {
|
|
3151
|
+
readonly vested: bigint;
|
|
3152
|
+
readonly tranches: bigint;
|
|
3153
|
+
readonly amount: bigint;
|
|
3154
|
+
readonly final: boolean;
|
|
3155
|
+
};
|
|
3156
|
+
declare function lockNextUnlock(s: LockState): {
|
|
3157
|
+
readonly at: bigint;
|
|
3158
|
+
readonly vested: bigint;
|
|
3159
|
+
readonly amount: bigint;
|
|
3160
|
+
readonly final: boolean;
|
|
3161
|
+
} | undefined;
|
|
3162
|
+
declare function lockSchedule(s: LockState): {
|
|
3163
|
+
readonly at: bigint;
|
|
3164
|
+
readonly vested: bigint;
|
|
3165
|
+
readonly amount: bigint;
|
|
3166
|
+
}[];
|
|
3167
|
+
declare function lockDeposit(tranches: bigint): bigint;
|
|
3168
|
+
interface LockTerms {
|
|
3169
|
+
readonly tokenCovId: Uint8Array;
|
|
3170
|
+
readonly beneficiary: Uint8Array;
|
|
3171
|
+
readonly scheme: number;
|
|
3172
|
+
readonly total: bigint;
|
|
3173
|
+
readonly start: bigint;
|
|
3174
|
+
readonly cliff: bigint;
|
|
3175
|
+
readonly period: bigint;
|
|
3176
|
+
readonly tranches: bigint;
|
|
3177
|
+
}
|
|
3178
|
+
declare function lockGenesisState(t: LockTerms): LockState;
|
|
3179
|
+
declare class LockRuleViolation extends Error {
|
|
3180
|
+
readonly errorCode: 'LOCK_RULE';
|
|
3181
|
+
readonly code: 'LOCK_RULE';
|
|
3182
|
+
readonly rule: 'size' | 'duration' | 'releases' | 'scheme' | 'schedule';
|
|
3183
|
+
constructor(rule: LockRuleViolation['rule'], detail: string);
|
|
3184
|
+
}
|
|
3185
|
+
declare function assertLockAppRules(t: LockTerms, ctx: {
|
|
3186
|
+
readonly supply: bigint;
|
|
3187
|
+
readonly now: bigint;
|
|
3188
|
+
readonly minDurationMs?: bigint;
|
|
3189
|
+
}): void;
|
|
3190
|
+
declare function lockProgram(set: LockV1Set, s: LockState): Uint8Array;
|
|
3191
|
+
declare function lockStateOfProgram(set: LockV1Set, program: Uint8Array): LockState;
|
|
3192
|
+
declare function lockFactoryProgram(set: LockV1Set, creatorSpk36: Uint8Array): Uint8Array;
|
|
3193
|
+
declare function lockFactoryCreatorOf(set: LockV1Set, program: Uint8Array): Uint8Array;
|
|
3194
|
+
declare function lockPayeeScript(s: Pick<LockState, 'beneficiary' | 'scheme'>): Uint8Array;
|
|
3195
|
+
interface LockCell {
|
|
3196
|
+
readonly kind: 'lock';
|
|
3197
|
+
readonly outpoint: Outpoint;
|
|
3198
|
+
readonly value: bigint;
|
|
3199
|
+
readonly covenantId: string;
|
|
3200
|
+
readonly program: Uint8Array;
|
|
3201
|
+
readonly state: LockState;
|
|
3202
|
+
readonly daaScore: bigint;
|
|
3203
|
+
}
|
|
3204
|
+
declare function lockCellOf(set: LockV1Set, u: {
|
|
3205
|
+
outpoint: Outpoint;
|
|
3206
|
+
value: bigint;
|
|
3207
|
+
covenantId: string;
|
|
3208
|
+
program: Uint8Array;
|
|
3209
|
+
daaScore: bigint;
|
|
3210
|
+
state?: LockState;
|
|
3211
|
+
}): LockCell;
|
|
3212
|
+
declare function lockTokenCellProblem(lock: LockCell, cell: {
|
|
3213
|
+
readonly outpoint: Outpoint;
|
|
3214
|
+
readonly covenantId: string;
|
|
3215
|
+
readonly state: TokenState$1;
|
|
3216
|
+
}): string | undefined;
|
|
3217
|
+
|
|
3218
|
+
declare const LOCK_ARTIFACT_GROUP = "token-lock-v1";
|
|
3219
|
+
declare function loadLockSet(): Promise<LockV1Set>;
|
|
3220
|
+
type LockProgramKind = 'lock' | 'lock-factory';
|
|
3221
|
+
declare function lockProgramKind(set: LockV1Set, program: Uint8Array): LockProgramKind | undefined;
|
|
3222
|
+
declare function lockMinDurationMsOf(network: KassealNetwork): bigint;
|
|
3223
|
+
|
|
3224
|
+
declare class LockRefused extends Error {
|
|
3225
|
+
readonly errorCode: string;
|
|
3226
|
+
readonly code: string;
|
|
3227
|
+
readonly rule: string;
|
|
3228
|
+
constructor(rule: string, detail: string);
|
|
3229
|
+
}
|
|
3230
|
+
declare class LockClaimNotDue extends LockRefused {
|
|
3231
|
+
readonly errorCode: 'LOCK_CLAIM_NOT_DUE';
|
|
3232
|
+
readonly code: 'LOCK_CLAIM_NOT_DUE';
|
|
3233
|
+
readonly now: bigint;
|
|
3234
|
+
readonly nextAt: bigint;
|
|
3235
|
+
constructor(now: bigint, nextAt: bigint);
|
|
3236
|
+
}
|
|
3237
|
+
interface LockFeeOptions {
|
|
3238
|
+
readonly feerate?: bigint;
|
|
3239
|
+
readonly feeMargin?: bigint;
|
|
3240
|
+
}
|
|
3241
|
+
declare const LOCK_FACTORY_CELL_KAS = 20000000n;
|
|
3242
|
+
declare const LOCK_FACTORY_CELL_MIN = 10000001n;
|
|
3243
|
+
declare const LOCK_FACTORY_CELL_MAX = 100000000n;
|
|
3244
|
+
declare function lockPayoutState(s: LockState, amount: bigint, ext: Uint8Array): TokenState$1;
|
|
3245
|
+
declare function lockCellTokenState(amount: bigint, k: string, ext: Uint8Array): TokenState$1;
|
|
3246
|
+
interface LockPrepParams extends LockFeeOptions {
|
|
3247
|
+
readonly set: LockV1Set;
|
|
3248
|
+
readonly creator: string;
|
|
3249
|
+
readonly funding: readonly FundingUtxo[];
|
|
3250
|
+
readonly factoryValue?: bigint;
|
|
3251
|
+
readonly count?: number;
|
|
3252
|
+
}
|
|
3253
|
+
declare const LOCK_PREP_FACTORIES_MAX = 10;
|
|
3254
|
+
declare const LOCK_FACTORY_CELL_KAS_MULTI = 50000000n;
|
|
3255
|
+
interface LockPrepResult extends Shaped {
|
|
3256
|
+
readonly creatorSpk: Uint8Array;
|
|
3257
|
+
readonly factoryProgram: Uint8Array;
|
|
3258
|
+
readonly factory: {
|
|
3259
|
+
readonly outpoint: {
|
|
3260
|
+
readonly txid: string;
|
|
3261
|
+
readonly index: number;
|
|
3262
|
+
};
|
|
3263
|
+
readonly value: bigint;
|
|
3264
|
+
};
|
|
3265
|
+
readonly factories: readonly {
|
|
3266
|
+
readonly outpoint: {
|
|
3267
|
+
readonly txid: string;
|
|
3268
|
+
readonly index: number;
|
|
3269
|
+
};
|
|
3270
|
+
readonly value: bigint;
|
|
3271
|
+
}[];
|
|
3272
|
+
readonly tx: BuiltTx;
|
|
3273
|
+
}
|
|
3274
|
+
declare function lockFactoryOf(set: LockV1Set, creator: string): {
|
|
3275
|
+
creatorSpk: Uint8Array;
|
|
3276
|
+
program: Uint8Array;
|
|
3277
|
+
script: Uint8Array;
|
|
3278
|
+
};
|
|
3279
|
+
declare function lockFactoryAddressOf(set: LockV1Set, creator: string): string;
|
|
3280
|
+
interface LockFactoryCell {
|
|
3281
|
+
readonly outpoint: {
|
|
3282
|
+
readonly txid: string;
|
|
3283
|
+
readonly index: number;
|
|
3284
|
+
};
|
|
3285
|
+
readonly value: bigint;
|
|
3286
|
+
readonly daaScore: bigint;
|
|
3287
|
+
}
|
|
3288
|
+
declare function lockFactoryCellsOf(set: LockV1Set, creator: string, utxos: readonly {
|
|
3289
|
+
readonly outpoint: {
|
|
3290
|
+
readonly txid: string;
|
|
3291
|
+
readonly index: number;
|
|
3292
|
+
};
|
|
3293
|
+
readonly amount: bigint;
|
|
3294
|
+
readonly script: Uint8Array;
|
|
3295
|
+
readonly scriptVersion?: number;
|
|
3296
|
+
readonly isCoinbase?: boolean;
|
|
3297
|
+
readonly daaScore: bigint;
|
|
3298
|
+
}[]): LockFactoryCell[];
|
|
3299
|
+
declare function buildLockPrep(params: LockPrepParams): LockPrepResult;
|
|
3300
|
+
type LockBeneficiary = {
|
|
3301
|
+
readonly kind: 'p2pk';
|
|
3302
|
+
readonly xOnly: Uint8Array;
|
|
3303
|
+
} | {
|
|
3304
|
+
readonly kind: 'p2sh';
|
|
3305
|
+
readonly redeem: Uint8Array;
|
|
3306
|
+
readonly allowAnyScript?: boolean;
|
|
3307
|
+
};
|
|
3308
|
+
interface LockCreateParams extends LockFeeOptions {
|
|
3309
|
+
readonly set: LockV1Set;
|
|
3310
|
+
readonly creator: string;
|
|
3311
|
+
readonly factory: {
|
|
3312
|
+
readonly outpoint: {
|
|
3313
|
+
readonly txid: string;
|
|
3314
|
+
readonly index: number;
|
|
3315
|
+
};
|
|
3316
|
+
readonly value: bigint;
|
|
3317
|
+
readonly daaScore: bigint;
|
|
3318
|
+
};
|
|
3319
|
+
readonly tokenCells: readonly TokenCell[];
|
|
3320
|
+
readonly beneficiary: LockBeneficiary;
|
|
3321
|
+
readonly total: bigint;
|
|
3322
|
+
readonly start: bigint;
|
|
3323
|
+
readonly cliff: bigint;
|
|
3324
|
+
readonly period: bigint;
|
|
3325
|
+
readonly tranches: bigint;
|
|
3326
|
+
readonly funding: readonly FundingUtxo[];
|
|
3327
|
+
readonly supply: bigint;
|
|
3328
|
+
readonly now: bigint;
|
|
3329
|
+
readonly minDurationMs?: bigint;
|
|
3330
|
+
readonly tCellValue?: bigint;
|
|
3331
|
+
readonly restValue?: bigint;
|
|
3332
|
+
readonly tokenId?: string;
|
|
3333
|
+
}
|
|
3334
|
+
interface LockCreateResult extends Shaped {
|
|
3335
|
+
readonly lockId: string;
|
|
3336
|
+
readonly state: LockState;
|
|
3337
|
+
readonly lockValue: bigint;
|
|
3338
|
+
readonly restAmount: bigint;
|
|
3339
|
+
readonly tx: BuiltTx;
|
|
3340
|
+
readonly restCell?: TokenCell;
|
|
3341
|
+
readonly change?: FundingUtxo;
|
|
3342
|
+
}
|
|
3343
|
+
declare function lockBeneficiaryOf(b: LockBeneficiary): {
|
|
3344
|
+
beneficiary: Uint8Array;
|
|
3345
|
+
scheme: number;
|
|
3346
|
+
};
|
|
3347
|
+
declare function lockCreateSigScript(set: LockV1Set, factoryProgram: Uint8Array, s: LockState, restAmount: bigint, creatorIdx: number): Uint8Array;
|
|
3348
|
+
declare function buildLockCreate(params: LockCreateParams): LockCreateResult;
|
|
3349
|
+
interface LockClaimParams extends LockFeeOptions {
|
|
3350
|
+
readonly set: LockV1Set;
|
|
3351
|
+
readonly lock: LockCell;
|
|
3352
|
+
readonly tCell: TokenCell;
|
|
3353
|
+
readonly now: bigint;
|
|
3354
|
+
}
|
|
3355
|
+
interface LockClaimResult extends Shaped {
|
|
3356
|
+
readonly final: boolean;
|
|
3357
|
+
readonly vested: bigint;
|
|
3358
|
+
readonly amount: bigint;
|
|
3359
|
+
readonly next?: LockState;
|
|
3360
|
+
readonly feeSompi: bigint;
|
|
3361
|
+
readonly tx: BuiltTx;
|
|
3362
|
+
}
|
|
3363
|
+
declare function buildLockClaim(params: LockClaimParams): LockClaimResult;
|
|
3364
|
+
interface LockCreateRules {
|
|
3365
|
+
readonly supply: bigint;
|
|
3366
|
+
readonly now: bigint;
|
|
3367
|
+
readonly minDurationMs?: bigint;
|
|
3368
|
+
readonly creator?: string;
|
|
3369
|
+
}
|
|
3370
|
+
interface LockCreateCheck {
|
|
3371
|
+
readonly lockId: string;
|
|
3372
|
+
readonly state: LockState;
|
|
3373
|
+
readonly lockValue: bigint;
|
|
3374
|
+
readonly tCellValue: bigint;
|
|
3375
|
+
readonly restAmount: bigint;
|
|
3376
|
+
readonly creatorSpk: Uint8Array;
|
|
3377
|
+
readonly fee: bigint;
|
|
3378
|
+
}
|
|
3379
|
+
declare function checkLockCreateTx(set: LockV1Set, tx: BuiltTx, rules: LockCreateRules, opts?: LockFeeOptions): LockCreateCheck;
|
|
3380
|
+
interface LockClaimCheck {
|
|
3381
|
+
readonly lockId: string;
|
|
3382
|
+
readonly state: LockState;
|
|
3383
|
+
readonly now: bigint;
|
|
3384
|
+
readonly vested: bigint;
|
|
3385
|
+
readonly final: boolean;
|
|
3386
|
+
readonly amount: bigint;
|
|
3387
|
+
readonly fee: bigint;
|
|
3388
|
+
}
|
|
3389
|
+
declare function checkLockClaimTx(set: LockV1Set, tx: BuiltTx, opts?: LockFeeOptions & {
|
|
3390
|
+
readonly pastMedianTime?: bigint;
|
|
3391
|
+
}): LockClaimCheck;
|
|
3392
|
+
|
|
2981
3393
|
type TokenSelection = {
|
|
2982
3394
|
readonly kind: 'exact';
|
|
2983
3395
|
readonly cell: TokenCell;
|
|
@@ -3282,6 +3694,7 @@ interface RetryPolicyConfig {
|
|
|
3282
3694
|
readonly backoffMinMs: number;
|
|
3283
3695
|
readonly backoffMaxMs: number;
|
|
3284
3696
|
readonly silenceMs: number;
|
|
3697
|
+
readonly firstCheckMs?: number;
|
|
3285
3698
|
}
|
|
3286
3699
|
declare const RETRY_POLICY: RetryPolicyConfig;
|
|
3287
3700
|
interface Clock {
|
|
@@ -3722,6 +4135,7 @@ interface KastleProvider {
|
|
|
3722
4135
|
connect(): Promise<unknown>;
|
|
3723
4136
|
getAccount(): Promise<unknown>;
|
|
3724
4137
|
getNetwork(): Promise<unknown>;
|
|
4138
|
+
switchNetwork?(networkId: string): Promise<unknown>;
|
|
3725
4139
|
signTx(networkId: string, txJson: string, scripts?: readonly KastleScriptOption[]): Promise<unknown>;
|
|
3726
4140
|
signMessage?(message: string): Promise<unknown>;
|
|
3727
4141
|
getVersion?(): Promise<unknown>;
|
|
@@ -3757,6 +4171,7 @@ declare class KastleAdapter implements WalletAdapter {
|
|
|
3757
4171
|
onChange(listener: (change: WalletChange) => void): () => void;
|
|
3758
4172
|
connect(): Promise<WalletAccount>;
|
|
3759
4173
|
restore(): Promise<WalletAccount | null>;
|
|
4174
|
+
switchNetwork(): Promise<void>;
|
|
3760
4175
|
disconnect(): Promise<void>;
|
|
3761
4176
|
signPskt(txJson: string, inputs: readonly InputToSign[]): Promise<string>;
|
|
3762
4177
|
signRequest(txJson: string, inputs: readonly InputToSign[]): Promise<{
|
|
@@ -3782,7 +4197,7 @@ declare class MessageSigningUnsupported extends Error {
|
|
|
3782
4197
|
declare function kaspaMessageSignature(wallet: string, raw: unknown): string;
|
|
3783
4198
|
|
|
3784
4199
|
type SalePhase = 'bonding' | 'graduated' | 'listed' | 'unknown';
|
|
3785
|
-
type Verification = 'verified' | 'unvalidated' | 'invalid';
|
|
4200
|
+
type Verification = 'verified' | 'unvalidated' | 'invalid' | 'external';
|
|
3786
4201
|
interface TokenMeta {
|
|
3787
4202
|
covenantId: string;
|
|
3788
4203
|
name: string;
|
|
@@ -3832,7 +4247,38 @@ interface Token {
|
|
|
3832
4247
|
verificationReason?: string;
|
|
3833
4248
|
curve?: CurveState;
|
|
3834
4249
|
marketCapSompi?: bigint;
|
|
4250
|
+
trades?: number;
|
|
3835
4251
|
explorerUrl?: string;
|
|
4252
|
+
locks?: TokenLocks;
|
|
4253
|
+
venue?: ExternalVenue;
|
|
4254
|
+
}
|
|
4255
|
+
interface ExternalVenue {
|
|
4256
|
+
kind: 'external';
|
|
4257
|
+
operator: string;
|
|
4258
|
+
poolId: string;
|
|
4259
|
+
tokenId: string;
|
|
4260
|
+
status: 'live' | 'stopped';
|
|
4261
|
+
stoppedReason?: string;
|
|
4262
|
+
pool?: ExternalVenuePool;
|
|
4263
|
+
historyFromMs?: number;
|
|
4264
|
+
holdersProven?: boolean;
|
|
4265
|
+
}
|
|
4266
|
+
interface ExternalVenuePool {
|
|
4267
|
+
kasReserveSompi: bigint;
|
|
4268
|
+
tokenReserve: bigint;
|
|
4269
|
+
priceSompi: bigint;
|
|
4270
|
+
txid: string;
|
|
4271
|
+
index: number;
|
|
4272
|
+
timeMs: number;
|
|
4273
|
+
}
|
|
4274
|
+
interface TokenLocks {
|
|
4275
|
+
active: number;
|
|
4276
|
+
lockedTokens: bigint;
|
|
4277
|
+
lockedBps: number;
|
|
4278
|
+
creatorLockedTokens: bigint;
|
|
4279
|
+
creatorBadge: boolean;
|
|
4280
|
+
nextUnlockMs: number | null;
|
|
4281
|
+
lpLockedShares: bigint;
|
|
3836
4282
|
}
|
|
3837
4283
|
interface TokenListQuery {
|
|
3838
4284
|
sort?: 'new' | 'active' | 'progress' | 'holders' | 'mcap';
|
|
@@ -3889,5 +4335,5 @@ declare class NotSupported extends Error {
|
|
|
3889
4335
|
constructor(op: string, provider: string);
|
|
3890
4336
|
}
|
|
3891
4337
|
|
|
3892
|
-
export { ADDRESS_VERSION_PUBKEY, ADDRESS_VERSION_PUBKEY_ECDSA, ADDRESS_VERSION_SCRIPT_HASH, ADD_FUNDING_IN, ADD_INVENTORY_IN, ADD_LP_USER_OUT, ADD_MERGED_TOKEN_OUT, ADD_POOL_IN, ADD_POOL_OUT, ADD_RESERVE_IN, ADD_REST_LP_OUT, ADD_USER_TOKEN_IN, API_BASE_URLS, APP_BUY_POSITIONS, APP_SELL_POSITIONS, AUTO_REBUILD_MAX_RATIO_DRIFT, AUTO_REBUILD_MAX_RATIO_DRIFT_BPS, AddressError, ApiError, ArgumentError, ArtifactIntegrityError, ArtifactMissing, ArtifactNotLoaded, ArtifactSourceNotInstalled, BIND_LP_OUT, BIND_MAX_OUTS, BIND_POOL_OUT, BLOCK_COMPUTE_MASS_LIMIT, BLOCK_STORAGE_MASS_LIMIT, BLOCK_TRANSIENT_MASS_LIMIT, BORROW_AMOUNT_THRESHOLD, BORROW_DISABLED, BORROW_HASH_CHAIN, BORROW_SCHEME_DISABLED, BORROW_SCHEME_NAMES, BORROW_SCHNORR_SIGNATURE, BPS_DENOMINATOR, BUDGETS, BUDGETS_V1, BUDGETS_V1_COMPOSABLE, BUDGET_CEILING, BUDGET_CEILING_COMPOSABLE, BUDGET_CEILING_V3, BUILDER_CONTRACT_SETS, BUILDS_OF_NETWORK, BUILD_OF_NETWORK, Blake3Hasher, CLAIM_MIN_SOMPI, CONFIRM_DEPTH, CONTRACT_SETS, COVENANT_OUTPUT_FLOOR, CREATOR_WINDOW_DAA, CURVE_LOTS_COARSE, CURVE_LOTS_DEFAULT, CURVE_LOTS_MAX, CURVE_PAYOUT_MIN, CURVE_STATE_LENGTH, CURVE_STATE_OFFSET, CURVE_TREASURY_SHARE_PCT, CellDecoder, ClaimMismatch, ContractSetNotSupported, CovenantCellNotFound, CovenantCellValue, CurveMathError, CurveNotOfProof, DECLARATION_CODEC_JSON, DEFAULT_CONTRACT_SET, DEFAULT_FEE_ALLOWANCE, DEFAULT_LP_CELL_VALUE, DEFAULT_MAX_FUNDING_INPUTS, DEFAULT_PRESET, DEFAULT_USER_CELL_VALUE, DeclarationError, DecodeError, ECDSA_PUBKEY_LENGTH, ENTRY_SIGNATURES, ENTRY_TAGS, ERROR_CODES, ESCALATE_MAX_FUNDING_INPUTS, EXTRA_BORROW_GUARD, EXTRA_BORROW_SCHEME, EXTRA_EXTENSION_COMMITMENT, FEERATE_MAX_SOMPI_PER_GRAM, FEERATE_SOMPI_PER_GRAM, FEE_BPS_MAX, FEE_CEILING_FLOOR, FEE_CEILING_MULTIPLE, FINAL_FEE_TOKENS, FUNDING_INPUT_FEE, FeeAboveCeiling, FeerateOutOfRange, FinalizeError, FloorViolation, ForeignCovenantInput, GRADUATION_PAYOUT_MIN, GRAD_RESERVE_MAX, HASH_CHAIN_WITNESS_LENGTH, HEAVY_MAX_FUNDING_INPUTS, HeadMoving, IJSON_MAX_DEPTH, INIT_GRAD_FEE_MIN, InsufficientFundsError, InsufficientTokensError, InvalidTransition, KASTLE_METHOD_NOT_SUPPORTED, KASTLE_NETWORKS, KASWARE_NETWORKS, KAS_SCALE, KAS_SUPPLY_BOUND_SCALED, KCC0020_112_ID, KCC0020_112_STATE_LENGTH, KCC0020_DISPATCH, KCC20_46_ID, KCC20_46_STATE_LENGTH, KCC20_FULL_TYPE, KCC2_DEFAULT_SCHEMES, KCC2_SCHEME_NAMES, K_MAX, K_MAX_8000_LOTS, K_MAX_FINE, KasWareAdapter, KasWareError, KaspireAdapter, KaspireError, KastleAdapter, KastleError, LAUNCH_PROOF_STEPS, LAUNCH_PROOF_VERIFIER_VERSION, LOCKED_SHARES, LOT_MAX, LP_CELL_KAS_DEFAULT, LP_CELL_KAS_MIN, LP_INVENTORY_CELL_VALUE, LP_PAYOUT_MIN_SCALED, LP_SHARES_GENESIS, LP_SUPPLY, LayoutError, LayoutRegistry, LineageMismatch, LpError, LpFloorError, LpInvariantError, LpInventoryError, LpPayoutTooSmallError, LpReserveCapError, LpShareCountError, LpSharesCapError, LpStateError, LpTokenLegTooSmallError, LpUnsafe, MAINNET_COMPANY_ADDRESS, MAINNET_NETWORK_ID, MAX_INPUT_SEQUENCE, MAX_LOCK_TIME_DAA, MAX_SLIPPAGE_BPS, MAX_TOKEN_INPUTS, MAX_TOKEN_OUTPUTS, MIN_CHANGE, MIN_COVENANT_OUTPUT_VALUE, MIN_DEPOSIT_KAS_SCALED, MIN_DEPOSIT_SHARE_MULTIPLE, MIN_FINAL_LOT_FEE, MIN_LP_CELL_VALUE, MIN_P2PK_OUTPUT_VALUE, MIN_PAYOUT, MIN_USER_CELL_VALUE, MessageSignatureError, MessageSigningUnsupported, NATIVE_SUBNETWORK_ID, NETWORKS, NON_MINIMAL_NUMBER, NON_MINIMAL_PUSH, NeedsConsolidation, NeedsSplit, NetBoundExceeded, NotSupported, OWNER_SCHEME_COVENANT_ID, OWNER_SCHEME_P2PK_SCHNORR, OptimisticConflict, OptimisticStore, OverflowError, OwnershipError, P0_MAX, P2PK_OUTPUT_FLOOR, P2PK_PLACEHOLDER_SIGSCRIPT, PHASE_ACTIVE, PHASE_UNINIT, PLACEHOLDER_CREATOR_SPK, POOL_BUY_COMPOSABLE_SIGNATURE, POOL_BUY_COMPOSABLE_TAG, POOL_BUY_MIN_SIGNATURE, POOL_BUY_MIN_TAG, POOL_CREATOR_FEE_BPS_V2, POOL_ESCROW_MAX, POOL_FEE_BPS, POOL_KAS_IN_MAX, POOL_KAS_SCALE, POOL_KAS_SCALED_MAX, POOL_KAS_VALUE_MAX, POOL_LP_SHARES, POOL_PAYOUT_MIN_SCALED, POOL_PLATFORM_FEE_BPS, POOL_RESERVE_FEE_BPS, POOL_SELL_COMPOSABLE_SIGNATURE, POOL_SELL_COMPOSABLE_TAG, POOL_STATE_LENGTH_V3, POOL_STATE_OFFSET, POOL_SWEEP_MIN_SCALED, POOL_TOKEN_RESERVE_MAX, POOL_UNBOUND_LP_COV_ID, POOL_V3_ENTRY_SIGNATURES, PREFERRED_CHANGE, PREFERRED_MIN_PAYOUT, PRESET_STANDARD, PRESET_STANDARD_REFERENCE_KAS_USD, PUBLIC_KASPA_API, ParameterError, PinnedFundingGone, PoolError, PoolNotOfProof, PoolPayoutTooSmallError, ProofNotBound, QUARANTINED_TEMPLATES, RECOGNISED_TEMPLATES, REFERENCE_KCC0020_CONTEXT_PREFIX_HEX, REFERENCE_KCC0020_STATE_OFFSET, REFERENCE_KCC0020_TEMPLATE, REFERENCE_KCC0020_TEMPLATE_HASH, REFERENCE_KCC0020_VIEW_HASH, REFERENCE_SCHEMES, REMOVE_FUNDING_IN, REMOVE_INVENTORY_IN, REMOVE_MERGED_LP_OUT, REMOVE_PAYOUT_OUT, REMOVE_POOL_IN, REMOVE_POOL_OUT, REMOVE_RESERVE_IN, REMOVE_REST_TOKEN_OUT, REMOVE_TOKEN_USER_OUT, REMOVE_USER_LP_IN, REPLACEMENT_BUMP, RETRY_POLICY, RatioDriftError, RejectedError, ReplacementRefused, ResidualBelowMinimum, RetryPolicy, RetryPolicyError, SCHNORR_PUBKEY_LENGTH, SCHNORR_SIGNATURE_LENGTH, SCHNORR_SIG_LENGTH, SCRIPT_NUM_MAX_LENGTH, SDK_VERSION, SHARES_MAX, SIG65_LENGTH, SIGHASH_ALL, SIGHASH_ANYONECANPAY, SIGHASH_NONE, SIGHASH_SINGLE, SOMPI_PER_KAS, SPK36_LENGTH, SPLIT_MIN_CELL_VALUE, STANDARD_BANDS, STANDARD_BAND_ACCEPT_BANDS, STANDARD_BAND_LOTS, STANDARD_BAND_RATIO_MAX, STANDARD_BAND_SPECS, STANDARD_BAND_TOLERANCE, STANDARD_CURVE_TOKENS, STANDARD_FAMILY, STANDARD_FAMILY_RANGE_KAS_USD, STANDARD_GRAD_RESERVE_TOKENS, STANDARD_OPEN_WINDOW_MAX_TOKENS, STANDARD_OPEN_WINDOW_TOKENS, STANDARD_TARGET_USD, STORAGE_MASS_PARAMETER, SUPPORTED_BUILDS, SdkCompatibilityError, SdkIntegrityError, SdkNotInstalled, SellPayoutTooSmallError, ShapeNotSupported, SigScriptError, SighashError, SignRequestError, SlippageOutOfRange, StandardBandOutOfRange, StateCodecError, StateJsonError, SubmitMachine, SupplyError, TEMPLATE_HASH_RE, TemplateMismatchError, TemplateNotDecodableError, TokenAmountMismatch, TokenRecipientRefused, TransferError, TreasuryNotAllowedOnNetwork, UnknownCurveTemplate, UnknownTemplateError, UnsafeScript, UnsupportedBuild, UnsupportedNetwork, V1_COMPOSABLE_REVISION, V1_COMPOSABLE_TWIN_REVISION, V1_CREATOR_WINDOW_REVISION, V1_CREATOR_WINDOW_TWIN_REVISION, VALID_SIGHASH_TYPES, VERIFIED_TEMPLATES, ValidationError, WITHDRAWAL_FEE_HEADROOM, WITHDRAWAL_PAYOUT_COMFORT, WITNESS_COVENANT, WITNESS_PATH_BORROW, WITNESS_PATH_NORMAL, WITNESS_SIGNED, WalletAccountMismatch, WalletNetworkMismatch, WalletNotConnected, WalletUnavailable, ZERO32, ZERO_PAYLOAD_DIGEST, ZERO_SIG65, addressOfScript, addressOfSpk, addressPrefixOf, allowedTreasurySpks, applyPlan, applySignature, artifactManifest, artifactPathsOfBuild, assemble, assertAcceptedCell, assertAllIn, assertAnswerMatchesRequest, assertEmptySignatureSlot, assertEntryTags, assertFloors, assertMinable, assertNetOut, assertNetwork, assertNotSelfOwned, assertOutputFloors, assertRebuildAllowed, assertReplaceable, assertReplacement, assertSafeRedeem, assertSlippageBps, assertSupplyPermanentlyFixed, assertTreasuryAllowedOnNetwork, blake2b, blake3, blake3Keyed, borrowGuardOf, borrowSchemeOf, boundedFeerate, budgetCeilingFor, budgetCovering, budgetFromLimit, budgetsFor, budgetsOf, budgetsV3Of, buildAddLiquidity, buildBindLp, buildBuy, buildClaims, buildConsolidate, buildDepositChain, buildExactCellChain, buildMergeChain, buildOf, buildPoolSweep, buildRemoveLiquidity, buildSell, buildSplit, buildSteps, buildSwapKasForTokens, buildSwapTokensForKas, buildSweep, buildWithdrawalChain, buyForKas, buyPrecheck, buyQuote, bytesEqual, canRebuildAutomatically, canSweep, canonicalNumbers, carvedId, carvedState, changeTo, checkClaimTx, checkFactoryParams, checkGraduationGroup, checkLpInventory, checkStandardBand, checkTokenFamily, checkTokenOwners, checkTokenRecipients, checkTransfer, claimRefusal, claimSplit, clampFeerate, classifyNodeRejection, classifyRejection, committedPresets, compareGraduationWithChain, computeMass, concat, consensusSigScript, contextForCurveProgram, contextForCurveTemplate, contextSet, cost, covenantDispatchTag, covenantIdKip20, covenantOwnedToken, createApiSources, createContext, createDefaultRegistry, createKasWareAdapter, createKaspireAdapter, createKastleAdapter, createTxBuilder, creatorEarnings, creatorSlots, curveBasesOf, curveBuySequence, curveBuySigScript, curveFeeSplit, curveInput, curveOutput, curveOwnedCellValue, curveParamsForProof, curvePayoutSplit, curveProgram, curveSellSigScript, curveStateFromJson, curveStateToJson, curveSupply, curveSweepSigScript, curveTemplateTrust, declarationFields, decodeAddress, decodeCurveState, decodeDeclaration, decodeInvocation, decodeInvocationByConsensus, decodePoolState, decodeScriptNum, decodeScriptNumConsensus, decodeThresholdGuard, defaultRegistry, defaultTokenCellValue, deltaOf, depositQuote, describeAuth, dispatchTag, dispatchTagOfSigScript, displayText, domainKey, encodeAddress, encodeCurveState, encodeDeclaration, encodeInvocation, encodeInvocationArguments, encodeKcc20Full, encodePoolState, encodeScriptNum, encodeTransferArguments, ensurePresetArtifacts, entriesOfTag, entrySignaturesOf, errorCode, errorMessage, estimate, estimateBuilt, exactSubset, extensionCommitmentOf, fee, feeCeiling, feeFields, feeFromBytes, feeModelOf, feeOutsideModel, feeSplit, feerateOf, finalLotFee, finalLotsFee, finalTrancheFee, finalize, finalizeSigned, finish, fromHex, fromKasScaled, fullRaise, fundedByCreator, fundingInput, fundingSum, gradReserve, graduationEconomics, graduationMarketCapSompi, graduationMarketCapUsd, graduationOnChain, graduationPayout, graduationPayoutOf, hasCreatorWindow, hasHiddenCharacters, hasOpenLiquidity, hashChainLink, hexToBytes, initEscrowFits, instantiateCurve, intArgumentPushes, invariant, isComposablePool, isCovenantOwnedBy, isCovenantVaultCell, isFullySigned, isKassealError, isKassealNetwork, isMinimalScriptNum, isP2pkSpk36, isP2shSpk37, isPoolBound, isSelfOwned, isStandardBandNameForm, isStandardFamilyName, isTerminal, isTreasuryAllowedOnNetwork, isTreasurySpkOf, kCap, kasInput, kasString, kasWareNetworkOf, kasWareSignedJsonOf, kaspaMessageSignature, kaspaSdkDigests, kassealShare, kastleMessageSignatureOf, kastleSignedJsonOf, kcc0020Fields, kcc0020_112, kcc20Full, kcc20_46, keyLockedRedeem, keyOfLockedRedeem, keyedBlake3, lastLotPrice, launchPresetOf, launchProofFromJson, launchProofToJson, launchRevisionOf, loadCurveTemplate, loadCurveTemplateOf, loadPoolTemplate, loadTokenTemplate, lockTimeOf, lotPrice, lotsForKas, lotsForTokens, lpBoundToPool, lpDeposit, lpExtensionOf, lpInvariant, lpInventory, lpIssued, lpPoolMathState, lpSwapKasForTokens, lpSwapTokensForKas, lpSweepPool, lpWithdraw, mainnetCompanySpk, mainnetTreasurySpks, makeKcc0020State, masses, maxBuyLots, maxDepositShares, maxWithSlippage, maxWithSlippagePct, mempoolEntry, mergedId, minDepositKasScaled, minDepositShares, minSellLots, minWithSlippage, minWithSlippagePct, minWithdrawableShares, networkOfKasWare, nextState, openLpPool, openPool, outpointKey, p2pkScript, p2pkTreasurySpkOfAddress, p2shCommitsTo, p2shScript, parseBorrowWitness, parseIJSON, parseIJson, parseOwnerWitness, parsePushes, parseSigScriptEnvelope, parseSigScriptPushes, patchBudget, payloadDigest, payoutOutputs, payoutTo, permanentlyWithdrawableShares, plainOutput, plainTx, plainTxFromJson, plainTxFromSdk, plainTxToJson, planClaims, planExactCell, planExactCellSpending, planMerges, plurality, poolAddLiquiditySigScript, poolBindLpSigScript, poolCellValue, poolInput, poolLegForKas, poolLimitsOf, poolMathState, poolOutput, poolPayoutSplit, poolProgram, poolRemoveLiquiditySigScript, poolRoundingOf, poolStateFromJson, poolStateLayoutOf, poolStateLength, poolStateSet, poolStateSetOfLength, poolStateToJson, poolSwapKasForTokensSigScript, poolSwapTokensForKasSigScript, poolSweepSigScript, poolSweepSplit, poolTemplateRounding, positionValue, predictedFunding, prepareSignRequest, presetArtifactsPending, producedCell, programFromSigScript, pushByte, pushByteArgument, pushInt, pushKcc20Full, pushMinimal, pushScriptNum, ratioDrift, ratioDriftBps, referenceTokenSuffix, rejectionMessage, remainingFunding, replace, replacementMinFee, requireActiveCurve, requireBoundPool, requireLineage, requireLpCommitment, requireOwnLineages, requirePoolInventory, requirePoolOfContext, requirePoolToken, requireProofBound, requireSupplyCell, requireUserCell, reserve, restId, restPreimage, rolesByIndex, runSubmission, safeJsonWithCovenantIds, scriptHashOf, scriptNum, scriptOfVersionedSpk, scriptOwnedToken, sdk, sdkAvailable, selectCurveCells, selectFunding, selectPoolReserve, selectTokenCells, sellPrecheck, sellQuote, sequenceOf, serializedSize, sha256, sha256Hex, shapeOf, shapeOfSafeJson, shareValueGrowth, sharesForKas, sharesForTokens, sharesOf, sighash, sighashOfTxJson, signBuilt, signBuiltWithKey, signWithKeys, signatureFromP2pkSigScript, signatureSlotsOf, signedLeaderBudget, signedTxJsonOf, sleep, slippageBpsOfPercent, spendableCells, spliceSignature, splitScriptPublicKey, splitValues, spotPricePerLot, standardBandFor, standardBandName, standardBandReferenceKasUsd, standardBandServes, standardCurveLots, standardFamilyIndex, standardFamilyPreset, standardOpeningWindow, standardShapeP0, storageMass, submit, subsetOfSize, swapKasForTokens, swapTokensForKas, sweepPool, tagOfInvocation, templateDescriptor, templateHash, templateHashBytes, templateHashOfProgram, thresholdGuard, tickerSkeleton, toBuilt, toBuiltTx, toHex, toKasScaled, tokenDelegatorCovenantInput, tokenDelegatorCovenantSigScript, tokenDelegatorSigScript, tokenDelegatorSignedInput, tokenDelegatorSignedSigScript, tokenLeaderCovenantInput, tokenLeaderCovenantSigScript, tokenLeaderSigScript, tokenLeaderSignedInput, tokenLeaderSignedSigScript, tokenOutput, tokenProgram, tokenResidual, tokenSignatureOffset, tokenStateFromJson, tokenStateToJson, transientMass, treasuryProblemOf, txidOf, txidV1, userToken, utxosOf, validateCurveParams, validateLpPool, validatePool, validatePreset, verifyKcc23Binding, verifyLaunchProof, verifyLaunchProofJson, versionedSpk, waitForAcceptance, withAmount, withBudgets, withdrawalLeavesSmallPosition, withdrawalNeedsTopUp, withdrawalQuote, withinSlippage, xOnlyKeyOfAddress, xOnlyOfReportedKey };
|
|
3893
|
-
export type { Acceptance, AcceptedCell, AddLiquidityParams, AddLiquidityResult, AddressVersion, AnyCell, CurveState as ApiCurveState, ApiSourcesOptions, ArtifactBuildInfo, ArtifactManifest, ArtifactSource, AssembledTx, AuthRequirement, BindLpParams, BindLpResult, BindingResult, Blake2bOptions, BorrowWitness, BudgetRole, BudgetRoleV3, BuildAddLiquidityParams, BuildBuyParams, BuildConsolidateParams, BuildHint, BuildRemoveLiquidityParams, BuildScriptSellParams, BuildSellParams, BuildSplitParams, BuildSwapParams, BuilderContext, BuilderContractSet, BuiltClaim, BuiltOutput, BuiltTx, BuyParams, BuyResult, Buyer, BytesFee, CanonicalNumbers, CellKind, CellRef, ChainParams, ChainResult, ClaimCell, ClaimCheckOptions, ClaimPlan, ClaimRefusal, ClaimsPlan, ClassifyContext, Clock, ConsensusInvocation, ConsensusSigScript, ConsolidateParams, ConsolidateResult, ContractKind, ContractSet, CovenantCell, CreatorEarnings, CurveCell, CurveCellAmounts, CurveEntry, CurveHead, CurveInvocation, CurveParams as CurveMathParams, CurveParams$1 as CurveParams, CurveState$1 as CurveState, CurveTemplate, CurveTemplateCheck, DataProvider, Declaration, DeclarationFields, DeclarationResult, DecodedAddress, DecodedCell, DecodedSigScript, DecodedThreshold, DeltaExtras, DeltaSource, DepositChainParams, DerivedGenesis, ExactCellPlan, FamilySlot, FeeModel, FeeModelVersion, FeeOptions, FeeSplit, FinalizeOptions, FloorOutput, FloorRule, FundingUtxo, GenesisAuthorizedOutput, GenesisGroup, GiveUpReason, GraduationEconomics, GraduationGroupCheck, GraduationOnChain, GraduationOnChainOptions, GraduationPayout, GraduationPayoutOf, HeadView, Holder, IJsonObject, IJsonValue, InputCellKind, InputPlan, InputToSign, InputToSignKind, Invocation, KasWareOptions, KasWareProvider, KasWareSignPsktParams, Kaspa, KaspireOptions, KaspireProvider, KaspireRequestArguments, KassealNetwork, KastleOptions, KastleProvider, KastleScriptOption, Kcc0020Fields, Kcc20Full, LaunchPreset, LaunchProofBundle, LaunchProofGraduation, LaunchProofReport, LaunchProofResult, LaunchProofStatus, LaunchProofVerdict, LayoutCodec, LeaderAuthorization, LeaderSigScript, LineageGenesis, LineageTermination, LiquidityChainResult, LiquidityPlanBuilt, LpBuyResult, LpDepositResult, LpPoolState, LpSellResult, LpSweepResult, LpWithdrawResult, Masses, OptimisticCell, OptimisticDelta, Outpoint, OutputPlan, OutputRole, OwnerRef, OwnerSemantic, OwnerWitness, PayoutScripts, PayoutSplit, PendingRef, PendingTx, PlainInput, PlainOutput, PlainTx, PlanCell, PlanStep, PlatformRounding, PoolCell, PoolCellState, PoolEntry, PoolFee, PoolInvocation, PoolLimits, BuyResult$1 as PoolMathBuyResult, SellResult$1 as PoolMathSellResult, SweepResult$1 as PoolMathSweepResult, PoolState, PoolStateLayout, PoolSweepParams, PoolSweepResult, PoolSweepSplit, PoolTemplate, PoolTemplateSet, PositionValue, PrebuiltScript, PredictedCell, PredictedState, PreparedSignRequest, ProofNote, ProofStep, PublicApiTransaction, PublicTxBuilder, QuarantinedTemplate, Quote, QuotedReserves, Random, Rejection, RejectionState, RemoveLiquidityParams, RemoveLiquidityResult, ReplaceEffects, ReserveRatioState, ResidualOutput, RetryAction, RetryPolicyConfig, RowStatus, SalePhase, SchemeMap, ScriptPush, SdkPrivateKey, SdkRpcClient, SdkTransaction, SdkTransactionOutput, SdkUtxoEntryReference, SelectCellsOptions, SelectFundingOptions, SellParams, SellResult, Seller, ShapeInput, ShapeOutput, Shaped, SigScriptEnvelope, SighashTx, SignInput, SignatureKind, SignatureSlot, Sompi, SplitParams, SplitResult, StandardBandChoice, StandardBandRefusal, StandardBandSpec, StandardBandVerdict, StateSlot, StateWindow, SubmissionEffects, SubmissionResult, SubmitAttempt, SubmitEvent, SubmitOutcome, SubmitState, SwapKasForTokensParams, SwapKasForTokensResult, SwapTokensForKasParams, SwapTokensForKasResult, SweepBuilder, SweepParams, SweepResult, SweepShares, Template, TemplateDescriptor, Token, TokenCell, TokenEntry, TokenInvocation, TokenListPage, TokenListQuery, TokenMeta, TokenMetadata, TokenOwnerRule, TokenRecipientRules, TokenSelection, TokenState, TokenSupply, TokenTemplate, Trade, TradeQuote, Transfer, TransferArguments, TransferCheck, TxBuilderOptions, TxPlan, TxShape, TxidV1, UtxoSources, Verification, VerifierTrust, WalletAccount, WalletAdapter, WalletChange, WithdrawalChainParams };
|
|
4338
|
+
export { ADDRESS_VERSION_PUBKEY, ADDRESS_VERSION_PUBKEY_ECDSA, ADDRESS_VERSION_SCRIPT_HASH, ADD_FUNDING_IN, ADD_INVENTORY_IN, ADD_LP_USER_OUT, ADD_MERGED_TOKEN_OUT, ADD_POOL_IN, ADD_POOL_OUT, ADD_RESERVE_IN, ADD_REST_LP_OUT, ADD_USER_TOKEN_IN, API_BASE_URLS, APP_BUY_POSITIONS, APP_SELL_POSITIONS, AUTO_REBUILD_MAX_RATIO_DRIFT, AUTO_REBUILD_MAX_RATIO_DRIFT_BPS, AddressError, ApiError, ArgumentError, ArtifactIntegrityError, ArtifactMissing, ArtifactNotLoaded, ArtifactSourceNotInstalled, BIND_LP_OUT, BIND_MAX_OUTS, BIND_POOL_OUT, BLOCK_COMPUTE_MASS_LIMIT, BLOCK_STORAGE_MASS_LIMIT, BLOCK_TRANSIENT_MASS_LIMIT, BORROW_AMOUNT_THRESHOLD, BORROW_DISABLED, BORROW_HASH_CHAIN, BORROW_SCHEME_DISABLED, BORROW_SCHEME_NAMES, BORROW_SCHNORR_SIGNATURE, BPS_DENOMINATOR, BUDGETS, BUDGETS_V1, BUDGETS_V1_COMPOSABLE, BUDGET_CEILING, BUDGET_CEILING_COMPOSABLE, BUDGET_CEILING_V3, BUILDER_CONTRACT_SETS, BUILDS_OF_NETWORK, BUILD_OF_NETWORK, Blake3Hasher, CLAIM_MIN_SOMPI, CONFIRM_DEPTH, CONTRACT_SETS, COVENANT_OUTPUT_FLOOR, CREATOR_WINDOW_DAA, CURVE_HEADS_MAX, CURVE_LOTS_COARSE, CURVE_LOTS_DEFAULT, CURVE_LOTS_MAX, CURVE_PAYOUT_MIN, CURVE_STATE_LENGTH, CURVE_STATE_OFFSET, CURVE_TREASURY_SHARE_PCT, CellDecoder, ClaimMismatch, ContractSetNotSupported, CovenantCellNotFound, CovenantCellValue, CurveMathError, CurveNotOfProof, DECLARATION_CODEC_JSON, DEFAULT_CONTRACT_SET, DEFAULT_FEE_ALLOWANCE, DEFAULT_LP_CELL_VALUE, DEFAULT_MAX_FUNDING_INPUTS, DEFAULT_PRESET, DEFAULT_USER_CELL_VALUE, DeclarationError, DecodeError, ECDSA_PUBKEY_LENGTH, ENTRY_SIGNATURES, ENTRY_TAGS, ERROR_CODES, ESCALATE_MAX_FUNDING_INPUTS, EXTRA_BORROW_GUARD, EXTRA_BORROW_SCHEME, EXTRA_EXTENSION_COMMITMENT, FEERATE_MAX_SOMPI_PER_GRAM, FEERATE_SOMPI_PER_GRAM, FEE_BPS_MAX, FEE_CEILING_FLOOR, FEE_CEILING_MULTIPLE, FINAL_FEE_TOKENS, FUNDING_INPUT_FEE, FeeAboveCeiling, FeerateOutOfRange, FinalizeError, FloorViolation, ForeignCovenantInput, GRADUATION_PAYOUT_MIN, GRAD_RESERVE_MAX, HASH_CHAIN_WITNESS_LENGTH, HEAVY_MAX_FUNDING_INPUTS, HeadMoving, IJSON_MAX_DEPTH, INIT_GRAD_FEE_MIN, InsufficientFundsError, InsufficientTokensError, InvalidTransition, KASTLE_METHOD_NOT_SUPPORTED, KASTLE_NETWORKS, KASWARE_NETWORKS, KAS_SCALE, KAS_SUPPLY_BOUND_SCALED, KCC0020_112_ID, KCC0020_112_STATE_LENGTH, KCC0020_DISPATCH, KCC20_46_ID, KCC20_46_STATE_LENGTH, KCC20_FULL_TYPE, KCC2_DEFAULT_SCHEMES, KCC2_SCHEME_NAMES, K_MAX, K_MAX_8000_LOTS, K_MAX_FINE, KasWareAdapter, KasWareError, KaspireAdapter, KaspireError, KastleAdapter, KastleError, LAUNCH_PROOF_STEPS, LAUNCH_PROOF_VERIFIER_VERSION, LOCKED_SHARES, LOCK_ARTIFACT_GROUP, LOCK_DAY_MS, LOCK_FACTORY_CELL_KAS, LOCK_FACTORY_CELL_KAS_MULTI, LOCK_FACTORY_CELL_MAX, LOCK_FACTORY_CELL_MIN, LOCK_FACTORY_CREATE_SIGNATURE, LOCK_FACTORY_STATE_LENGTH, LOCK_FEE_CAP, LOCK_FINAL_KAS_MIN, LOCK_FIVE_YEARS_MS, LOCK_MAX_CREATE_OUTPUTS, LOCK_MAX_DURATION_MS, LOCK_MIN_DURATION_MS, LOCK_MIN_DURATION_MS_TESTNET, LOCK_MIN_SUPPLY_BPS, LOCK_OUT, LOCK_PAYOUT_CELL_KAS, LOCK_PREP_FACTORIES_MAX, LOCK_SCHEME_P2PK, LOCK_SCHEME_P2SH, LOCK_STATE_LENGTH, LOCK_TIME_THRESHOLD, LOCK_TOTAL_MAX, LOCK_TRANCHES_MAX, LOCK_T_CELL_KAS_MIN, LOCK_V1_ARTIFACT_DIR, LOCK_VERSION, LOT_MAX, LP_CELL_KAS_DEFAULT, LP_CELL_KAS_MIN, LP_INVENTORY_CELL_VALUE, LP_PAYOUT_MIN_SCALED, LP_SHARES_GENESIS, LP_SUPPLY, LayoutError, LayoutRegistry, LineageMismatch, LockClaimNotDue, LockRefused, LockRuleViolation, LpError, LpFloorError, LpInvariantError, LpInventoryError, LpPayoutTooSmallError, LpReserveCapError, LpShareCountError, LpSharesCapError, LpStateError, LpTokenLegTooSmallError, LpUnsafe, MAINNET_COMPANY_ADDRESS, MAINNET_NETWORK_ID, MAX_INPUT_SEQUENCE, MAX_LOCK_TIME_DAA, MAX_LOCK_TIME_TIMESTAMP, MAX_SLIPPAGE_BPS, MAX_TOKEN_INPUTS, MAX_TOKEN_OUTPUTS, MIN_CHANGE, MIN_COVENANT_OUTPUT_VALUE, MIN_DEPOSIT_KAS_SCALED, MIN_DEPOSIT_SHARE_MULTIPLE, MIN_FINAL_LOT_FEE, MIN_LOCK_TIME_TIMESTAMP, MIN_LP_CELL_VALUE, MIN_P2PK_OUTPUT_VALUE, MIN_PAYOUT, MIN_USER_CELL_VALUE, MessageSignatureError, MessageSigningUnsupported, NATIVE_SUBNETWORK_ID, NETWORKS, NON_MINIMAL_NUMBER, NON_MINIMAL_PUSH, NeedsConsolidation, NeedsSplit, NetBoundExceeded, NotSupported, OWNER_SCHEME_COVENANT_ID, OWNER_SCHEME_P2PK_SCHNORR, OptimisticConflict, OptimisticStore, OverflowError, OwnershipError, P0_MAX, P2PK_OUTPUT_FLOOR, P2PK_PLACEHOLDER_SIGSCRIPT, PARTNER_CHANNELS, PARTNER_IDS, PARTNER_TAG_BYTES, PARTNER_TAG_MAGIC_0, PARTNER_TAG_MAGIC_1, PARTNER_TAG_VERSION, PHASE_ACTIVE, PHASE_UNINIT, PLACEHOLDER_CREATOR_SPK, POOL_BUY_COMPOSABLE_SIGNATURE, POOL_BUY_COMPOSABLE_TAG, POOL_BUY_MIN_SIGNATURE, POOL_BUY_MIN_TAG, POOL_CREATOR_FEE_BPS_V2, POOL_ESCROW_MAX, POOL_FEE_BPS, POOL_KAS_IN_MAX, POOL_KAS_SCALE, POOL_KAS_SCALED_MAX, POOL_KAS_VALUE_MAX, POOL_LP_SHARES, POOL_PAYOUT_MIN_SCALED, POOL_PLATFORM_FEE_BPS, POOL_RESERVE_FEE_BPS, POOL_SELL_COMPOSABLE_SIGNATURE, POOL_SELL_COMPOSABLE_TAG, POOL_STATE_LENGTH_V3, POOL_STATE_OFFSET, POOL_SWEEP_MIN_SCALED, POOL_TOKEN_RESERVE_MAX, POOL_UNBOUND_LP_COV_ID, POOL_V3_ENTRY_SIGNATURES, PREFERRED_CHANGE, PREFERRED_MIN_PAYOUT, PRESET_STANDARD, PRESET_STANDARD_REFERENCE_KAS_USD, PUBLIC_KASPA_API, ParameterError, PinnedFundingGone, PoolError, PoolNotOfProof, PoolPayoutTooSmallError, ProofNotBound, QUARANTINED_TEMPLATES, RECOGNISED_TEMPLATES, REFERENCE_KCC0020_CONTEXT_PREFIX_HEX, REFERENCE_KCC0020_STATE_OFFSET, REFERENCE_KCC0020_TEMPLATE, REFERENCE_KCC0020_TEMPLATE_HASH, REFERENCE_KCC0020_VIEW_HASH, REFERENCE_SCHEMES, REMOVE_FUNDING_IN, REMOVE_INVENTORY_IN, REMOVE_MERGED_LP_OUT, REMOVE_PAYOUT_OUT, REMOVE_POOL_IN, REMOVE_POOL_OUT, REMOVE_RESERVE_IN, REMOVE_REST_TOKEN_OUT, REMOVE_TOKEN_USER_OUT, REMOVE_USER_LP_IN, REPLACEMENT_BUMP, RETRY_POLICY, RatioDriftError, RejectedError, ReplacementRefused, ResidualBelowMinimum, RetryPolicy, RetryPolicyError, SCHNORR_PUBKEY_LENGTH, SCHNORR_SIGNATURE_LENGTH, SCHNORR_SIG_LENGTH, SCRIPT_NUM_MAX_LENGTH, SDK_VERSION, SHARES_MAX, SIG65_LENGTH, SIGHASH_ALL, SIGHASH_ANYONECANPAY, SIGHASH_NONE, SIGHASH_SINGLE, SOMPI_PER_KAS, SPK36_LENGTH, SPLIT_MIN_CELL_VALUE, STANDARD_BANDS, STANDARD_BAND_ACCEPT_BANDS, STANDARD_BAND_LOTS, STANDARD_BAND_RATIO_MAX, STANDARD_BAND_SPECS, STANDARD_BAND_TOLERANCE, STANDARD_CURVE_TOKENS, STANDARD_FAMILY, STANDARD_FAMILY_RANGE_KAS_USD, STANDARD_GRAD_RESERVE_TOKENS, STANDARD_OPEN_WINDOW_MAX_TOKENS, STANDARD_OPEN_WINDOW_TOKENS, STANDARD_TARGET_USD, STORAGE_MASS_PARAMETER, SUPPORTED_BUILDS, SdkCompatibilityError, SdkIntegrityError, SdkNotInstalled, SellPayoutTooSmallError, ShapeNotSupported, SigScriptError, SighashError, SignRequestError, SlippageOutOfRange, StandardBandOutOfRange, StateCodecError, StateJsonError, SubmitMachine, SupplyError, TEMPLATE_HASH_RE, TemplateMismatchError, TemplateNotDecodableError, TokenAmountMismatch, TokenRecipientRefused, TransferError, TreasuryNotAllowedOnNetwork, UnknownCurveTemplate, UnknownTemplateError, UnsafeScript, UnsupportedBuild, UnsupportedNetwork, V1_COMPOSABLE_REVISION, V1_COMPOSABLE_TWIN_REVISION, V1_CREATOR_WINDOW_REVISION, V1_CREATOR_WINDOW_TWIN_REVISION, VALID_SIGHASH_TYPES, VERIFIED_TEMPLATES, ValidationError, WITHDRAWAL_FEE_HEADROOM, WITHDRAWAL_PAYOUT_COMFORT, WITNESS_COVENANT, WITNESS_PATH_BORROW, WITNESS_PATH_NORMAL, WITNESS_SIGNED, WalletAccountMismatch, WalletNetworkMismatch, WalletNotConnected, WalletUnavailable, ZERO32, ZERO_PAYLOAD_DIGEST, ZERO_SIG65, addressOfScript, addressOfSpk, addressPrefixOf, allowedTreasurySpks, applyPlan, applySignature, artifactManifest, artifactPathsOfBuild, assemble, assertAcceptedCell, assertAllIn, assertAnswerMatchesRequest, assertEmptySignatureSlot, assertEntryTags, assertFloors, assertLockAppRules, assertLockState, assertMinable, assertNetOut, assertNetwork, assertNotSelfOwned, assertOutputFloors, assertRebuildAllowed, assertReplaceable, assertReplacement, assertSafeRedeem, assertSlippageBps, assertSupplyPermanentlyFixed, assertTreasuryAllowedOnNetwork, blake2b, blake3, blake3Keyed, borrowGuardOf, borrowSchemeOf, boundedFeerate, budgetCeilingFor, budgetCovering, budgetFromLimit, budgetsFor, budgetsOf, budgetsV3Of, buildAddLiquidity, buildBindLp, buildBuy, buildClaims, buildConsolidate, buildDepositChain, buildExactCellChain, buildLockClaim, buildLockCreate, buildLockPrep, buildMergeChain, buildOf, buildPoolSweep, buildRemoveLiquidity, buildSell, buildSplit, buildSteps, buildSwapKasForTokens, buildSwapTokensForKas, buildSweep, buildWithdrawalChain, buyForKas, buyPrecheck, buyQuote, bytesEqual, canRebuildAutomatically, canSweep, canonicalNumbers, carvedId, carvedState, changeTo, checkClaimTx, checkFactoryParams, checkGraduationGroup, checkLockClaimTx, checkLockCreateTx, checkLpInventory, checkStandardBand, checkTokenFamily, checkTokenOwners, checkTokenRecipients, checkTransfer, claimRefusal, claimSplit, clampFeerate, classifyNodeRejection, classifyRejection, committedPresets, compareGraduationWithChain, computeMass, concat, consensusSigScript, contextForCurveProgram, contextForCurveTemplate, contextSet, cost, covenantDispatchTag, covenantIdKip20, covenantOwnedToken, createApiSources, createContext, createDefaultRegistry, createKasWareAdapter, createKaspireAdapter, createKastleAdapter, createTxBuilder, creatorEarnings, creatorSlots, curveBasesOf, curveBuySequence, curveBuySigScript, curveFeeSplit, curveInput, curveOutput, curveOwnedCellValue, curveParamsForProof, curvePayoutSplit, curveProgram, curveSellSigScript, curveStateFromJson, curveStateToJson, curveSupply, curveSweepSigScript, curveTemplateTrust, declarationFields, decodeAddress, decodeCurveState, decodeDeclaration, decodeInvocation, decodeInvocationByConsensus, decodeLockState, decodePartnerTag, decodePartnerTagHex, decodePoolState, decodeScriptNum, decodeScriptNumConsensus, decodeThresholdGuard, defaultRegistry, defaultTokenCellValue, deltaOf, depositQuote, describeAuth, dispatchTag, dispatchTagOfSigScript, displayText, domainKey, encodeAddress, encodeCurveState, encodeDeclaration, encodeInvocation, encodeInvocationArguments, encodeKcc20Full, encodeLockState, encodePartnerTag, encodePoolState, encodeScriptNum, encodeTransferArguments, ensurePresetArtifacts, entriesOfTag, entrySignaturesOf, errorCode, errorMessage, estimate, estimateBuilt, exactSubset, extensionCommitmentOf, fee, feeCeiling, feeFields, feeFromBytes, feeModelOf, feeOutsideModel, feeSplit, feerateOf, fetchCurveHeads, finalLotFee, finalLotsFee, finalTrancheFee, finalize, finalizeSigned, finish, fromHex, fromKasScaled, fullRaise, fundedByCreator, fundingInput, fundingSum, gradReserve, graduationEconomics, graduationMarketCapSompi, graduationMarketCapUsd, graduationOnChain, graduationPayout, graduationPayoutOf, hasCreatorWindow, hasHiddenCharacters, hasOpenLiquidity, hashChainLink, hexToBytes, initEscrowFits, instantiateCurve, intArgumentPushes, invariant, isComposablePool, isCovenantOwnedBy, isCovenantVaultCell, isFullySigned, isKassealError, isKassealNetwork, isMinimalScriptNum, isP2pkSpk36, isP2shSpk37, isPartnerChannel, isPartnerId, isPoolBound, isSelfOwned, isStandardBandNameForm, isStandardFamilyName, isTerminal, isTreasuryAllowedOnNetwork, isTreasurySpkOf, kCap, kasInput, kasString, kasWareNetworkOf, kasWareSignedJsonOf, kaspaMessageSignature, kaspaSdkDigests, kassealShare, kastleMessageSignatureOf, kastleSignedJsonOf, kcc0020Fields, kcc0020_112, kcc20Full, kcc20_46, keyLockedRedeem, keyOfLockedRedeem, keyedBlake3, lastLotPrice, launchPresetOf, launchProofFromJson, launchProofToJson, launchRevisionOf, loadCurveTemplate, loadCurveTemplateOf, loadLockSet, loadLockV1, loadPoolTemplate, loadTokenTemplate, lockAmountAt, lockArtifactPaths, lockBeneficiaryOf, lockCellOf, lockCellTokenState, lockClaimableAt, lockCreateSigScript, lockDeposit, lockDueAt, lockEndCapOf, lockEndOf, lockFactoryAddressOf, lockFactoryCellsOf, lockFactoryCreatorOf, lockFactoryOf, lockFactoryProgram, lockGenesisState, lockMinDurationMsOf, lockNextUnlock, lockPayeeScript, lockPayoutState, lockProgram, lockProgramKind, lockRemaining, lockSchedule, lockStateOfProgram, lockStateProblem, lockTimeOf, lockTokenCellProblem, lockV1ArtifactPaths, lockVestedAt, lotPrice, lotsForKas, lotsForTokens, lpBoundToPool, lpDeposit, lpExtensionOf, lpInvariant, lpInventory, lpIssued, lpPoolMathState, lpSwapKasForTokens, lpSwapTokensForKas, lpSweepPool, lpWithdraw, mainnetCompanySpk, mainnetTreasurySpks, makeKcc0020State, masses, maxBuyLots, maxDepositShares, maxWithSlippage, maxWithSlippagePct, mempoolEntry, mergedId, minDepositKasScaled, minDepositShares, minSellLots, minWithSlippage, minWithSlippagePct, minWithdrawableShares, networkOfKasWare, nextState, openLpPool, openPool, outpointKey, p2pkScript, p2pkTreasurySpkOfAddress, p2shCommitsTo, p2shScript, parseBorrowWitness, parseIJSON, parseIJson, parseOwnerWitness, parsePushes, parseSigScriptEnvelope, parseSigScriptPushes, patchBudget, payloadDigest, payoutOutputs, payoutTo, permanentlyWithdrawableShares, plainOutput, plainTx, plainTxFromJson, plainTxFromSdk, plainTxToJson, planClaims, planExactCell, planExactCellSpending, planMerges, plurality, poolAddLiquiditySigScript, poolBindLpSigScript, poolCellValue, poolInput, poolLegForKas, poolLimitsOf, poolMathState, poolOutput, poolPayoutSplit, poolProgram, poolRemoveLiquiditySigScript, poolRoundingOf, poolStateFromJson, poolStateLayoutOf, poolStateLength, poolStateSet, poolStateSetOfLength, poolStateToJson, poolSwapKasForTokensSigScript, poolSwapTokensForKasSigScript, poolSweepSigScript, poolSweepSplit, poolTemplateRounding, positionValue, predictedFunding, prepareSignRequest, presetArtifactsPending, producedCell, programFromSigScript, pushByte, pushByteArgument, pushInt, pushKcc20Full, pushMinimal, pushScriptNum, ratioDrift, ratioDriftBps, referenceTokenSuffix, rejectionMessage, remainingFunding, replace, replacementMinFee, requireActiveCurve, requireBoundPool, requireLineage, requireLpCommitment, requireOwnLineages, requirePoolInventory, requirePoolOfContext, requirePoolToken, requireProofBound, requireSupplyCell, requireUserCell, reserve, restId, restPreimage, rolesByIndex, runSubmission, safeJsonWithCovenantIds, scriptHashOf, scriptNum, scriptOfVersionedSpk, scriptOwnedToken, sdk, sdkAvailable, selectCurveCells, selectFunding, selectPoolReserve, selectTokenCells, sellPrecheck, sellQuote, sequenceOf, serializedSize, sha256, sha256Hex, shapeOf, shapeOfSafeJson, shareValueGrowth, sharesForKas, sharesForTokens, sharesOf, sighash, sighashOfTxJson, signBuilt, signBuiltWithKey, signWithKeys, signatureFromP2pkSigScript, signatureSlotsOf, signedLeaderBudget, signedTxJsonOf, sleep, slippageBpsOfPercent, spendableCells, spliceSignature, splitScriptPublicKey, splitValues, spotPricePerLot, standardBandFor, standardBandName, standardBandReferenceKasUsd, standardBandServes, standardCurveLots, standardFamilyIndex, standardFamilyPreset, standardOpeningWindow, standardShapeP0, storageMass, submit, subsetOfSize, swapKasForTokens, swapTokensForKas, sweepPool, tagOfInvocation, templateDescriptor, templateHash, templateHashBytes, templateHashOfProgram, thresholdGuard, tickerSkeleton, toBuilt, toBuiltTx, toHex, toKasScaled, tokenDelegatorCovenantInput, tokenDelegatorCovenantSigScript, tokenDelegatorSigScript, tokenDelegatorSignedInput, tokenDelegatorSignedSigScript, tokenLeaderCovenantInput, tokenLeaderCovenantSigScript, tokenLeaderSigScript, tokenLeaderSignedInput, tokenLeaderSignedSigScript, tokenOutput, tokenProgram, tokenResidual, tokenSignatureOffset, tokenStateFromJson, tokenStateToJson, tradePayload, transientMass, treasuryProblemOf, txidOf, txidV1, userToken, utxosOf, validateCurveParams, validateLpPool, validatePool, validatePreset, verifyKcc23Binding, verifyLaunchProof, verifyLaunchProofJson, versionedSpk, waitForAcceptance, withAmount, withBudgets, withdrawalLeavesSmallPosition, withdrawalNeedsTopUp, withdrawalQuote, withinSlippage, xOnlyKeyOfAddress, xOnlyOfReportedKey };
|
|
4339
|
+
export type { Acceptance, AcceptedCell, AddLiquidityParams, AddLiquidityResult, AddressVersion, AnyCell, CurveState as ApiCurveState, ApiSourcesOptions, ArtifactBuildInfo, ArtifactManifest, ArtifactSource, AssembledTx, AuthRequirement, BindLpParams, BindLpResult, BindingResult, Blake2bOptions, BorrowWitness, BudgetRole, BudgetRoleV3, BuildAddLiquidityParams, BuildBuyParams, BuildConsolidateParams, BuildHint, BuildRemoveLiquidityParams, BuildScriptSellParams, BuildSellParams, BuildSplitParams, BuildSwapParams, BuilderContext, BuilderContractSet, BuiltClaim, BuiltOutput, BuiltTx, BuyParams, BuyResult, Buyer, BytesFee, CanonicalNumbers, CellKind, CellRef, ChainParams, ChainResult, ClaimCell, ClaimCheckOptions, ClaimPlan, ClaimRefusal, ClaimsPlan, ClassifyContext, Clock, ConsensusInvocation, ConsensusSigScript, ConsolidateParams, ConsolidateResult, ContractKind, ContractSet, CovenantCell, CreatorEarnings, CurveCell, CurveCellAmounts, CurveEntry, CurveHead, CurveHeadsItem, CurveHeadsOptions, CurveInvocation, CurveParams as CurveMathParams, CurveParams$1 as CurveParams, CurveState$1 as CurveState, CurveTemplate, CurveTemplateCheck, DataProvider, Declaration, DeclarationFields, DeclarationResult, DecodedAddress, DecodedCell, DecodedSigScript, DecodedThreshold, DeltaExtras, DeltaSource, DepositChainParams, DerivedGenesis, ExactCellPlan, FamilySlot, FeeModel, FeeModelVersion, FeeOptions, FeeSplit, FinalizeOptions, FloorOutput, FloorRule, FundingUtxo, GenesisAuthorizedOutput, GenesisGroup, GiveUpReason, GraduationEconomics, GraduationGroupCheck, GraduationOnChain, GraduationOnChainOptions, GraduationPayout, GraduationPayoutOf, HeadView, Holder, IJsonObject, IJsonValue, InputCellKind, InputPlan, InputToSign, InputToSignKind, Invocation, KasWareOptions, KasWareProvider, KasWareSignPsktParams, Kaspa, KaspireOptions, KaspireProvider, KaspireRequestArguments, KassealNetwork, KastleOptions, KastleProvider, KastleScriptOption, Kcc0020Fields, Kcc20Full, LaunchPreset, LaunchProofBundle, LaunchProofGraduation, LaunchProofReport, LaunchProofResult, LaunchProofStatus, LaunchProofVerdict, LayoutCodec, LeaderAuthorization, LeaderSigScript, LineageGenesis, LineageTermination, LiquidityChainResult, LiquidityPlanBuilt, LockArtifactInfo, LockBeneficiary, LockCell, LockClaimCheck, LockClaimParams, LockClaimResult, LockCreateCheck, LockCreateParams, LockCreateResult, LockCreateRules, LockFactoryCell, LockFeeOptions, LockPrepParams, LockPrepResult, LockProgramKind, LockState, LockTemplate, LockTerms, LockV1Set, LpBuyResult, LpDepositResult, LpPoolState, LpSellResult, LpSweepResult, LpWithdrawResult, Masses, OptimisticCell, OptimisticDelta, Outpoint, OutputPlan, OutputRole, OwnerRef, OwnerSemantic, OwnerWitness, PartnerChannel, PartnerChannelKey, PartnerId, PartnerKey, PartnerOptions, PartnerTag, PayoutScripts, PayoutSplit, PendingRef, PendingTx, PlainInput, PlainOutput, PlainTx, PlanCell, PlanStep, PlatformRounding, PoolCell, PoolCellState, PoolEntry, PoolFee, PoolInvocation, PoolLimits, BuyResult$1 as PoolMathBuyResult, SellResult$1 as PoolMathSellResult, SweepResult$1 as PoolMathSweepResult, PoolState, PoolStateLayout, PoolSweepParams, PoolSweepResult, PoolSweepSplit, PoolTemplate, PoolTemplateSet, PositionValue, PrebuiltScript, PredictedCell, PredictedState, PreparedSignRequest, ProofNote, ProofStep, PublicApiTransaction, PublicTxBuilder, QuarantinedTemplate, Quote, QuotedReserves, Random, Rejection, RejectionState, RemoveLiquidityParams, RemoveLiquidityResult, ReplaceEffects, ReserveRatioState, ResidualOutput, RetryAction, RetryPolicyConfig, RowStatus, SalePhase, SchemeMap, ScriptPush, SdkPrivateKey, SdkRpcClient, SdkTransaction, SdkTransactionOutput, SdkUtxoEntryReference, SelectCellsOptions, SelectFundingOptions, SellParams, SellResult, Seller, ShapeInput, ShapeOutput, Shaped, SigScriptEnvelope, SighashTx, SignInput, SignatureKind, SignatureSlot, Sompi, SplitParams, SplitResult, StandardBandChoice, StandardBandRefusal, StandardBandSpec, StandardBandVerdict, StateSlot, StateWindow, SubmissionEffects, SubmissionResult, SubmitAttempt, SubmitEvent, SubmitOutcome, SubmitState, SwapKasForTokensParams, SwapKasForTokensResult, SwapTokensForKasParams, SwapTokensForKasResult, SweepBuilder, SweepParams, SweepResult, SweepShares, Template, TemplateDescriptor, Token, TokenCell, TokenEntry, TokenInvocation, TokenListPage, TokenListQuery, TokenMeta, TokenMetadata, TokenOwnerRule, TokenRecipientRules, TokenSelection, TokenState, TokenSupply, TokenTemplate, Trade, TradeQuote, Transfer, TransferArguments, TransferCheck, TxBuilderOptions, TxPlan, TxShape, TxidV1, UtxoSources, Verification, VerifierTrust, WalletAccount, WalletAdapter, WalletChange, WithdrawalChainParams };
|