turing-wallet-provider 1.5.1 → 1.5.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/README.md +5 -5
- package/dist/types/providerTypes.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -314,7 +314,7 @@ interface RequestParam {
|
|
|
314
314
|
poolNFT_version?: 1 | 2; // 强制为 2,若提供为别的值转为 2
|
|
315
315
|
serviceFeeRate?: number;
|
|
316
316
|
serverProvider_tag?: string;
|
|
317
|
-
lpPlan?: 1 | 2;
|
|
317
|
+
lpPlan?: 1 | 2 | 3 | 4 | 5; // 默认 1
|
|
318
318
|
domain?: string;
|
|
319
319
|
isLockTime?: boolean;
|
|
320
320
|
lockTime?: number | string; // 锁仓至指定区块高度(POOLNFT 相关),或冻结至指定 unix 时间戳(STABLECOIN_FREEZE),大数请使用 string
|
|
@@ -481,12 +481,12 @@ const params = [
|
|
|
481
481
|
ft_contract_address: "", // 必填,FT 合约地址
|
|
482
482
|
serverProvider_tag: "", // 必填,服务提供商标签
|
|
483
483
|
poolNFT_version: 2, // 可选,强制为 2
|
|
484
|
-
serviceFeeRate: 25, //
|
|
484
|
+
serviceFeeRate: 25, // 可选,正整数,默认 25
|
|
485
485
|
with_lock: false, // 可选,默认 false;为 true 时创建带哈希锁的池子
|
|
486
486
|
pubKeyLock: ["pubkey1", "pubkey2"], // with_lock 为 true 时必填
|
|
487
487
|
lpCostAddress: "", // with_lock 为 true 时必填,扣除流动性添加成本的地址
|
|
488
488
|
lpCostAmount: 0, // with_lock 为 true 时必填,扣除流动性添加成本的 TBC 数量
|
|
489
|
-
lpPlan: 1, // 可选,1
|
|
489
|
+
lpPlan: 1, // 可选,1-5,默认 1
|
|
490
490
|
isLockTime: false, // 可选,默认 false
|
|
491
491
|
broadcastEnabled: true, // 可选,默认 true
|
|
492
492
|
domain: "", // 可选
|
|
@@ -600,7 +600,7 @@ const params = [
|
|
|
600
600
|
address: "", // 必填,接收地址
|
|
601
601
|
tbc_amount: 0, // 必填,用于交换的 TBC 数量
|
|
602
602
|
poolNFT_version: 2, // 可选,强制为 2
|
|
603
|
-
lpPlan: 1, // 可选,1
|
|
603
|
+
lpPlan: 1, // 可选,1-5,默认 1
|
|
604
604
|
broadcastEnabled: true, // 可选,默认 true
|
|
605
605
|
domain: "", // 可选
|
|
606
606
|
},
|
|
@@ -623,7 +623,7 @@ const params = [
|
|
|
623
623
|
address: "", // 必填,接收地址
|
|
624
624
|
ft_amount: 0, // 必填,用于交换的 FT 数量
|
|
625
625
|
poolNFT_version: 2, // 可选,强制为 2
|
|
626
|
-
lpPlan: 1, // 可选,1
|
|
626
|
+
lpPlan: 1, // 可选,1-5,默认 1
|
|
627
627
|
broadcastEnabled: true, // 可选,默认 true
|
|
628
628
|
domain: "", // 可选
|
|
629
629
|
},
|