Dear teachers at the square

How should the remaining assets be handled after the wallet is stolen? I can't transfer gas fees, the asset transfer will first be intercepted by the hacker's address, and then the second chain also has no gas fees...