I have a my custom smart contract (MCSC), that have address. How I can listen and remember all transaction on address of MCSC in another SC - like a BUSD and USDT?
Thank you
It's impossible? Please, say me!
For example: someone transfer usdt from his wallet to wallet of my contract. If that is happen - I need catch it interaction (in usdt contract) and write specific record in storage of my contract.
hello this is only possible off-chain
Can you explain more detailed? Maybe exist something that I can read?
Well I am not a pro so this are just my thoughts.
You can create a programm with python to check for any recent transaction. If you see any transaction incoming your programm can call a function that adds value to the amount deposited.
1 Like