How can you get the address of the token that was staked on your smart contract?

Cryptocurrency News and Public Mining Pools

How can you get the address of the token that was staked on your smart contract?

I'm trying to put a token address in front of each user that stakes tokens on my smart contract, but I can't find where to find it.

Apparently, event logs are not accessible from the contract. Any idea?

Or maybe I could try to see the address of the connected token using Metamask?

Any ideas? Thanks in advance

submitted by /u/yadoya
[link] [comments]