SP-token

SP-tokens are interest-bearing tokens that are minted and burned upon deposit and withdraw. The SP-Tokens' value is pegged to the value of the corresponding deposited asset at a 1:1 ratio, and can be safely stored, transferred or traded. All interest collected by the SP-Tokens reserves are distributed to SP-Tokens holders directly by continuously increasing their wallet balance.

The source code can be found on Github here.

For all minting and burning actions, see Deposit() and Withdraw() methods in the LendingPool contract.

SP-token功能

铸造&销毁

SP-token通过在LendingPool存款铸造,通过从LendingPool取款后销毁铸造销毁比率为1:1。

利息&收益结算

当用户使用SP-token取款时,会取出1:1的token,同时在持有SP-token的利息和奖励会结算给用户;

转账

当用户地址A向地址B转移SP-token时,B地址会收到指定的SP-token。而该笔转账发生前的所有利息和奖励将被结算给A地址。B地址可以在LendingPool中取出对应的数量的token,并且在取款时,B地址会结算在获得SP-token后产生的所有利息和奖励;

这使得SP-token可能具备这些用例;

  • 若用户希望转移自己的存款到安全地址。可以直接通过向安全地址发送SP-token的方式进行,从而避免产生更高的手续费。

  • 用户向任意地址转入SP-token时,都将结算所有前置利息和奖励;

  • 用户可在DEX中置换SP-token的流动性;

交易

当合约地址向普通地址发送SP-token时,当前SP-token在LendingPool的所有利息和奖励都将结算给普通地址。

当合约地址向合约地址发送SP-token时,所有未结算收益都会结算给Themis协议;

这使得SP-token具有以下用例:

  • 当用户向DEX合约中购买SP-token时,将获得额外收益;

  • 当Vaults向用户结算时,Vaults用户可以正常获得利息和收益;

  • 第三方托管SP-token的协议将可以向Themis申请获得这部分未结算奖励;

SP-token Info

图标规范

SP-token合约地址

Token not issued yet

SP-token流动池

最后更新于