SolvBTC and SolvBTC.LSTs

Mint SolvBTC/SolvBTC.LSTs

createSubscription(poolId: string,currencyAmount: string): Promise<ContractTransaction>;

Parameters

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

Result

Returns the Evm chain transaction object, which defaults to pending status

Request Redemption

createRedemption(poolId: string, redeemValue: string): Promise<ContractTransaction>;

Parameters

poolId: string; //SolvBTC or SolvBTC.LSTs pool id
redeemValue: string; // redemption quantity 

Result

Returns the Evm chain transaction object, which defaults to pending status

Notice: After the operation is successful, the user will receive a redemption SFT

Cancel Redemption

cancelRedemption(poolId: string, openFundRedemptionId: string): Promise<ContractTransaction>;

Parameters

poolId: string; //SolvBTC or SolvBTC.LSTs pool id
openFundRedemptionId: string; //User’s redemption SFT ID

Result

Returns the Evm chain transaction object, which defaults to pending status

Claim

Get the withdrawable amount

claimableValue(tokenId: string | number): Promise<string>;

parameters

tokenId: string | number;  //User’s redemption SFT ID

Result

Current withdrawal amount

Claim

claimTo(params: ClaimToParams): Promise<ContractTransaction>;

Parameters

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
}

Result

Returns the Evm chain transaction object, which defaults to pending status

Set Pool Nav

setSubscribeNav

setSubscribeNav(poolId: string, time: string, nav: string): Promise<ContractTransaction>;

Parameters

poolId: string; //SolvBTC or SolvBTC.LSTs pool id
nav: string; //nav value

Result

Returns the Evm chain transaction object, which defaults to pending status

setRedeemNav

setRedeemNav( poolId: string, redeemSlot: string, nav: string, currencyBalance: string ): Promise<ContractTransaction>;

Parameters

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

Result

Returns the Evm chain transaction object, which defaults to pending status

Last updated