proposal-33-compensate-rela.../README.md
2023-10-27 00:46:20 -07:00

1.3 KiB

Proposal to compensate relayer attack losses

Changes

  • Transfer about 987 TORN from Governance to affected relayers

Requirements

Installation

git clone --recurse-submodules https://git.tornado.ws/Theo/proposal-33-compensate-relayer-losses
cd proposal-33-compensate-relayer-losses
npm install

Testing

npm run test:windows

or

npm run test:linux
Test with gas
npm run test:gas:windows

or

npm run test:gas:linux

Verification

Etherscan contract link: 0x6B3257A4642C214fFAD2925B96a20f3D76005cF4

All relayer losses calculations can be found in file calculateLosses.ts, anyone can rerun it via yarn calculate. Result data with TORN compensation amount for each relayer is written to file relayerLosses.txt.