Mint SolvBTC/SolvBTC.LSTs
Copy createSubscription (poolId: string , currencyAmount: string): Promise < ContractTransaction > ;
Parameters
Copy 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
Copy createRedemption (poolId: string , redeemValue: string): Promise < ContractTransaction > ;
Parameters
Copy 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
Copy cancelRedemption (poolId: string , openFundRedemptionId: string): Promise < ContractTransaction > ;
Parameters
Copy 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
Copy claimableValue (tokenId: string | number): Promise < string > ;
parameters
Copy tokenId : string | number; //User’s redemption SFT ID
Result
Current withdrawal amount
Claim
Copy claimTo (params: ClaimToParams): Promise < ContractTransaction > ;
Parameters
Copy 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
Copy setSubscribeNav (poolId: string , time: string , nav: string): Promise < ContractTransaction > ;
Parameters
Copy 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
Copy setRedeemNav ( poolId: string , redeemSlot: string , nav: string , currencyBalance: string ): Promise < ContractTransaction > ;
Parameters
Copy 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