Solv Protocol
  • Welcome to Solv
    • Introduction
    • State of Bitcoin Staking
    • The On-Chain Bitcoin Reserve
  • SOLV Token
    • SOLV Tokenomics
    • Claiming SOLV
      • Claiming SOLV from a Multi-sig Wallet
      • Claiming SOLV as Flexible Voucher Holders
    • Governance
  • Key Products
    • SolvBTC
    • SolvBTC LSTs
      • LST Suite
      • Yield Related Address
    • DeFi Vaults
    • Bitcoin Reserve Offerings
  • Staking Abstraction Layer (SAL)
    • Introduction
      • The Challenges with Bitcoin Staking
      • What is SAL?
    • Architecture
      • The Ecological View
        • The Staking Protocols
        • The LST Issuers
        • The Staking Guardians
        • The Yield Distributors
      • The Technical Architecture
        • The Staking Abstraction Matrix
        • LST Issuance Services
        • Staking Verification Services
        • Transaction Building Services
        • Yield Distribution Services
      • Diverse Yield Streams Accessible Through SAL
  • Security
    • Solv Guard
    • Smart Contract Governance
    • Smart Contract Audits
      • Audits
  • USER GUIDE
    • Deposit BTCB in Binance MegaDrop
    • Claim BABY as xSolvBTC Holders
  • Developer Guide
    • Core Components
      • Price Oracles
      • Cross-chain Bridge
    • Smart Contracts
      • Technical Architecture
      • Asset Storage & Representation
      • LST Oracle Mechanism
      • Contract Addresses
    • Integrations
      • SolvBTC and SolvBTC.LSTs
      • Data Services
        • SolvBTC/SolvBTC.LSTs storage pools
        • User Assets
      • SAL Services
    • Code Repo
  • Legal
    • Terms of Use
    • Privacy Policy
    • Cookie Policy
    • Disclaimer
Powered by GitBook
On this page
  • Mint SolvBTC/SolvBTC.LSTs
  • Parameters
  • Result
  • Request Redemption
  • Parameters
  • Result
  • Cancel Redemption
  • Parameters
  • Result
  • Claim
  • parameters
  • Result
  • Claim
  • Parameters
  • Result
  • Set Pool Nav
  • setSubscribeNav
  • Parameters
  • Result
  • setRedeemNav
  • Parameters
  • Result

Was this helpful?

  1. Developer Guide
  2. Integrations

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

PreviousIntegrationsNextData Services

Last updated 7 months ago

Was this helpful?