I want to create a token that represent the other token, the peg is not 1:1 but e.g. 10:1, so if a person deposit 1 of TokenX will get 10 of my tokens. The person should also be able to withdraw his tokens and I must not be able to control the deposits.
More accurate example if someone deposits 1 USDC will get 10 Tokens and this is always fixed
I don't know if this is possible, I thought cloning the WETH contract and change it a bit but I feel the deposit feature works only with ETH not with tokens
mint
/burn
your own tokens accordingly and assign them to addresses. The users obviously won't control anything and couldn't withdraw your tokens or deposit, because your tokens are pegged to USDC. Users would increase/decrease their holding in your token by managing USDC tokens.