Strike Docs
  • πŸ“–Strike Documentation
  • ⭐Getting Started
    • πŸ§‘β€πŸ«Guides
    • πŸ”¬Networks
    • πŸ“’Protocol Math
      • sToken and Underlying Decimals
      • Interpreting Exchange Rates
      • Calculating Accrued Interest
      • Calculating the APY Using Rate Per Block
    • πŸ’ΉGas Costs
  • πŸŽ™οΈSTokens
    • Mint
    • Redeem
    • Redeem Underlying
    • Borrow
    • Repay Borrow
    • Repay Borrow Behalf
    • Transfer
    • Liquidate Borrow
    • Key Events
    • Error Codes
    • Failure Info
    • Exchange Rate
    • Get Cash
    • Total Borrow
    • Borrow Balance
    • Borrow Rate
    • Total Supply
    • Underlying Balance
    • Supply Rate
    • Total Reserves
    • Reserve Factor
  • βš™οΈComptroller
    • Enter Markets
    • Exit Market
    • Get Assets In
    • Collateral Factor
    • Get Account Liquidity
    • Close Factor
    • Liquidation Incentive
    • Key Events
    • Error Codes
    • Failure Info
    • STRK Distribution Speeds
    • Claim STRK
    • Market Metadata
  • πŸ‘¨β€πŸ‘©β€πŸ‘¦Governance
    • Delegate
    • Delegate By Signature
    • Get Current Votes
    • Get Prior Votes
    • Key Events
    • Governor Alpha
    • Quorum Votes
    • Proposal Threshold
    • Proposal Max Operations
    • Voting Delay
    • Voting Period
    • Propose
    • Queue
    • Execute
    • Cancel
    • Get Actions
    • Get Receipt
    • State
    • Cast Vote
    • Cast Vote By Signature
    • Timelock
    • Pause Guardian
  • πŸ”‘API
    • STokenService
      • GET: /stoken
    • MarketHistoryService
      • GET: /market_history/graph
    • ProposalService
      • GET: /proposals
      • GET: /proposals/:id
      • GET: /proposals/statistics
    • VoterService
      • GET: /voters/accounts
      • GET: /voters/accounts/:address
      • GET: /voters/history/:address
      • GET: /voters/:proposalId
    • GovernanceService
      • GET: /governance/strike
      • GET: /governance/proposals
      • GET: /governance/proposal_vote_receipts
      • GET: /governance/accounts
    • UserHistoryService
      • GET: /user/history
    • LiquidationService
      • GET: /get_liquidators
      • GET: /get_liquidator:account
      • GET: /get_liquidator_detail:account
      • GET: /liquidator
    • Shared Data Types
  • βŒ›Strike.js
    • Strike Constructor
    • API Methods
      • Account
      • sToken
      • Market History
      • Governance
    • sToken Methods
      • Supply
      • Redeem
      • Borrow
      • Repay Borrow
    • STRK Methods
      • To Checksum Address
      • Get Strk Balance
      • Get Strk Accrued
      • Claim Strk
      • Delegate
      • Delegate By Sig
      • Create Delegate Signature
    • Comptroller Methods
      • Enter Markets
      • Exit Market
    • Ethereum Methods
      • Read
      • Trx
      • Get Balance
    • Governance Methods
      • Cast Vote
      • Cast Vote By Sig
      • Create Vote Signature
    • Price Feed Methods
      • Get Price
    • Utility Methods
      • Get Address
      • Get ABI
      • Get Network Name With Chain ID
  • πŸ€‘DeFi 3.0 Vault
  • 🍍Revenue Share Staking
  • πŸ”’Security
    • Formal Verification
    • Bug Bounty Program
    • Immunefi
Powered by GitBook
On this page
  • How do sTokens earn interest?
  • Can you walk me through an example?
  • How do I view my sTokens?
  • Can I transfer sTokens?

Was this helpful?

STokens

PreviousGas CostsNextMint

Last updated 2 years ago

Was this helpful?

Each asset supported by the Strike Protocol is integrated through a sToken contract, which is an compliant representation of balances supplied to the protocol. By minting sTokens, users (1) earn interest through the sToken's exchange rate, which increases in value relative to the underlying asset, and (2) gain the ability to use sTokens as collateral.

sTokens are the primary means of interacting with the Strike Protocol; when a user mints, redeems, borrows, repays a borrow, liquidates a borrow, or transfers sTokens, she will do so using the sToken contract.

There are currently two types of sTokens: SErc20 and SEther. Though both types expose the EIP-20 interface, SErc20 wraps an underlying ERC-20 asset, while SEther simply wraps Ether itself. As such, the core functions which involve transferring an asset into the protocol have slightly different interfaces depending on the type, each of which is shown below.

How do sTokens earn interest?

Each has its own Supply interest rate (APR). Interest isn't distributed; instead, simply by holding sTokens, you'll earn interest.

sTokens accumulates interest through their exchange rate β€” over time, each sToken becomes convertible into an increasing amount of it's underlying asset, even while the number of sTokens in your wallet stays the same.

Can you walk me through an example?

Let’s say you supply 1,000 USDC to the Strike protocol, when the exchange rate is 0.020070; you would receive 49,825.61 sUSDC (1,000/0.020070).

A few months later, you decide it’s time to withdraw your USDC from the protocol; the exchange rate is now 0.021591:

  • Your 49,825.61 sUSDC is now equal to 1,075.78 USDC (49,825.61 * 0.021591)

  • You could withdraw 1,075.78 USDC, which would redeem all 49,825.61 sUSDC

  • Or, you could withdraw a portion, such as your original 1,000 USDC, which would redeem 46,315.59 sUSDC (keeping 3,510.01 sUSDC in your wallet)

How do I view my sTokens?

Each sToken is visible on , and you should be able to view them in the list of tokens associated with your address

Can I transfer sTokens?

sToken balances have been integrated into and MetaMask; other wallets may add sToken support

Yes, but exercise caution! By transferring sTokens, you’re transferring your balance of the underlying asset inside the Strike protocol. If you send a sToken to your friend, your balance (viewable in the ) will decline, and your friend will see their balance increase.

A sToken transfer will fail if the account has that sToken market and the transfer would have put the account into a state of negative .

πŸŽ™οΈ
EIP-20
market
Etherscan
Coinbase Wallet
Strike Interface
entered
liquidity