Actually , I have a scenario that users need to stake his or her own certain tokens on a platform by using eosio contract without worrying the platform will take over the users's tokens. and some conditions, say 10 days later, would return back the tokens to its original owner. so, my question is :
How to freeze the user's tokens temporarily
I tried to have 2 ideas for this scenario but i think they are not good ideas.
first, I could let user create a new account and then transfer his tokens to that new account. but the owner of this new account is a problem second, I could let user stake equality eos by buying ram but how to sale it is a problem.
so, is there any a better idea for this ?