I have a BEP20 token X and a Smart Contract A
Smart Contract A contains 1000 X Tokens.
How can an User get a defined amount of X Tokens from this Smart Contract? (something like an Airdrop)
So Basically a user should call a method like:
getAirdrop() and then should get 1000 X tokens from Contact A.
I found a simple airdrop contract but don't understand how to get it to know which token I am referring to.