Staked TON is WTON. WTON decimal is 27 not 18 (TON decimal is 18). So when user deposit TON, TON have to be swapped to WTON. If user withdraw WTON, WTON have to be swapped to TON.
Two tokens have different decimals. Issue is that when swapping(WTON -> TON) happened, small number can be discarded. So I think we should use only wei decimals.
Staked TON is WTON. WTON decimal is 27 not 18 (TON decimal is 18). So when user deposit TON, TON have to be swapped to WTON. If user withdraw WTON, WTON have to be swapped to TON.
Two tokens have different decimals. Issue is that when swapping(WTON -> TON) happened, small number can be discarded. So I think we should use only
wei
decimals.