I want to use an already existing smart contract from another project, with one thing changed. I want to add a "receipt token".
So whenever a user deposits tokens, he gets an equivalent back in "receipt token"(like LP tokens).
And when user harvests, he must give back the receipt token and burn it.
That's it. I assume we need a smart contract for a new token and then add a function to mint and burn to an existing smart contract andgive it the ownership of the token contract.