What happened
Many Tornado users start avoiding mainnet withdrawal fees (0.3% of each withdrawal should be distributed between stakers and about 0.1% goes to relayer) and because of it in last months APR falls twice. We can not ban withdrawal without fee on contracts side, but we can ban it in UI because significant part of users interact with Tornado using UI
First enhancement context: https://forum.tornado.ws/t/new-proposal-about-banning-wallet-withdrawals-from-ui/238
What i did
I changed ui code: https://git.tornado.ws/ButterflyEffect/classic-ui/commits/branch/development - look at my commits
- I banned withdrawal withour relayer if at least one relayer available (if there are no relayers as on goerli testchain user can withdraw without relayer)
- I added working rpc for goerli and avax and removed censored rpc
- I changed quorum default value on site bcs it was changed in proposal 41
- and i updated cache (maybe i will develop smarter cache solution as i proposed - https://forum.tornado.ws/t/one-decentralised-endpoint-to-access-events-data-from-tornado-contracts/179/2, but not this time)
Proposal info
Just update UI and ui decentralized source
Code: https://git.tornado.ws/ButterflyEffect/proposal-44/src/branch/master/contracts/Proposal.sol
Tests: https://git.tornado.ws/ButterflyEffect/proposal-44/src/branch/master/test/Proposal.js
Contract: https://etherscan.io/address/0xEC382ef3dccC26Bb0f3C029B41b917987593D908#code
For transparency i as in last proposal placed ipfs hashes and conversion hash library right in proposal code and anyone can verify it just need to copy from contract code
Who want to test the site you can use cid which placed raw in proposal code: https://cloudflare-ipfs.com/ipfs/QmNqVxKyNp9wcNAN68raNqvTKnnfrjKxvSC6gM2nJn61Lp
Results after proposal: users will not be able to withdraw without relayer on official sites/ipfs and should pay withdrawal fee that will be distributed between stakers. Also i as developer will receive 100 torn as gas compensation for deployment, execution and other costs related to this proposal