Token 0
ℹ️
wallet balance: User token balance in the wallet.(metamask etc.)
lp balance: User lp balance in the wallet.
asset: The amount of asset of this token within this vtp.
allocated: The amount allocated by the liquidity providers.
feeCollected: Unclaimed fee, collected for the users.
liability: = allocated + feeCollected. The vtp's liability of all users.
alr: = asset / liability. Asset-Liability Ratio.
oracle price: Token price read from the oracle.
historyFee: All the fees collected for the users in history.
protocolFee: Fee collected for the protocol.
swapInFee: Fee ratio during the swapIn process.
swapOutFee: Fee ratio during the swapOut process.
protocolFeeRate: The ratio that the protocol will take from all the swap fees.
alrLowerBound: The alr should never be lower than this param. A swap that will lead the alr to be lower than alrLowerBound will be reverted.
user allocation: User's allocation in this vtpToken.
user shares: The shares of this user within this vtpToken. (user shares)/(all shares) ≈ (user allocation)/(liability).
all shares: All the shares within this vtpToken.
The calculated results, representing the token's status.
ralr0: Relative Asset-Liability Ratio of this token. = alr0 / alr1.
Po0: Price by Oracle. = op0 / op1.
Pa0: Price Adjusted by ralr0 from Po0.