Skip to content

PercipientCapital/meckteck-rescue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flashbots rescue

# run the ETH impersonation script
yarn eth-hardhat

# run the flashbots script
yarn flashbots

# run the BSC script
yarn bsc

TODO

  • get private key
  • ensure transactions work with EIP-1559, modify if necessary
  • save the moneys

meat and potatoes

technical details

supported Node.js version: 16

compromised account: 0xF248f7e076F8F63b39DEcEf2B115E01c9c6c8978

ETH

Recoverable assets: NBU, GNBU.

Unvest

Tokens are (or will be) available to "unvest."

tokenContract.unvest();

Transfer

To transfer these tokens, we need to look not at balanceOf but availableForTransfer. The entire balance may not be transferred; only as much as is marked "available."

const transferrableBalance = await tokenContract.availableForTransfer(
  victimAddress
);

await tokenContract.transfer(recipientAddress, transferrableBalance);

About

flashbots rescue

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published