复制 createSubscription(poolId: string,currencyAmount: string): Promise<ContractTransaction>;
复制 poolId:string; // SolvBTC or SolvBTC.LSTs pool id
currencyAmount: string; // The payment currency quantity of the current pool.
If the pool id is SolvBTC.LST, the currency is SolvBTC
复制 createRedemption(poolId: string, redeemValue: string): Promise<ContractTransaction>;
复制 poolId: string; //SolvBTC or SolvBTC.LSTs pool id
redeemValue: string; // redemption quantity
复制 cancelRedemption(poolId: string, openFundRedemptionId: string): Promise<ContractTransaction>;
复制 poolId: string; //SolvBTC or SolvBTC.LSTs pool id
openFundRedemptionId: string; //User’s redemption SFT ID
复制 claimableValue(tokenId: string | number): Promise<string>;
复制 tokenId: string | number; //User’s redemption SFT ID
复制 claimTo(params: ClaimToParams): Promise<ContractTransaction>;
复制 type ClaimToParams = {
to: string; // Withdrawal address
tokenId: string | number; //User’s redemption SFT ID
currency: string; //The contract address of the withdrawal asset
amount: string | number; // Withdraw amount
}
复制 setSubscribeNav(poolId: string, time: string, nav: string): Promise<ContractTransaction>;
复制 poolId: string; //SolvBTC or SolvBTC.LSTs pool id
nav: string; //nav value
复制 setRedeemNav( poolId: string, redeemSlot: string, nav: string, currencyBalance: string ): Promise<ContractTransaction>;
复制 poolId: string; //SolvBTC or SolvBTC.LSTs pool id
redeemSlot: string; //Redemption SFT batch no.
nav: string; //nav value
currencyBalance: string; // Total amount managed by the pool