Fei contract code puzzle

I checked the code on github and Etherscan, but I couldn’t find out how the team stopped incentive, has anyone studied it?

Fei Fei Protocol: FEI Token | 0x956F47F50A910163D8BF957Cf5846D573E7f87CA
UniswapIncentive UniswapIncentive | 0xfe5b6c2a87A976dCe20130c423C679f4d6044cD7

I studied this and here are my findings:

  • The team controls 2/3 multisig which has guadian role which can revoke roles and pause contracts.
  • This transaction (Apr 6, 15:17:20) revoked minter role from UniswapIncentive contract, possibly as a mitigation for a potential exploit. The team promised to release a detailed post-mortem, but hasn’t done it yet.
  • This transaction (Apr 7, 22:58:51) revoked burner roles from UniswapIncentive contract preventing sell penalty from being applied. This has lead to another exploit which has been patched 16 minutes later.
  • This transaction (Apr 7, 23:14:29) called pause on Fei contract, which prevents minting and burning, presumably to prevent reweights, which have been losing money.
4 Likes

Cool, Thanks. I’ll keep looking into it.