SB and SD Tokens
SRWA Lending Protocol is using SRWA Deposit tokens and SRWA Borrow tokens to track the percentage of the pool share for the user. SB and SD tokens are similar to Radix Pool Units that are used in the native pools.
SB and SD tokens price for the asset is based in the total deposits and total borrows in the pool, so for the SB it will be:
sb_token_price = total_pool_borrow / total_sb_tokens
And for the SD it will be:
sd_token_price = total_pool_deposit / total_sd_tokens
The user position can always be presented based on the amount of SRWA tokens that the user has by multiplying that amount with the token price.