Proposal for disable RDOC minting in order to temporary and safely unpause the protocol
Currently the Rif on Chain protocol is paused to avoid problems caused by the price manipulation attack on Binance that the RIF token is being subjected to.
To safely unpause the protocol, it must be ensured that the price manipulation attack on Binance cannot be exploited in the protocol.
Disable RDOC
minting is the fastest way to guarantee that price manipulation can’t be exploited in the protocol.
This would be a temporary solution that allows development of the definitive one.
In order to safely unpause the protocol as soon as possible, the proposal is to disable RDOC
mining.
Warning: some technical/coding knowledge is necessary to fully understand this document.
To achieve this, the simplest and least invasive way to modify the protocol to disable RDOC
minting is to disable the function in contract in charge of minting RDOC
.
We propose to do this by overriding the function with one that is meant to always fail using a hard-coded revert
statement.
And we’ll do it this way instead of just removing the function to prevent third-party integrations that may not have been aware of this change, ending up using the fallback
function with unexpected results.
The change is simple and only affects the Moc.sol
contract in Rif on Chain implementation.
This is the pull request to add these changes to the repository.
The new implementation of the Moc.sol
contract that is already deployed in mainet
would be this 0x62F9Bd2F7094Dd923e268ec7a9b6297D0Cc1f92E
The change contract
to make the implementation change that is also already deployed in mainet
would be this 0x412153eafDc0aAaf0C8135a1a748F8859A29C622
This is the change contract
that will be submitted to a vote.
The current implementation of the Moc.sol
contract in mainet
is 0xbe903D6E77aE2da5c9Fb7F6518211495F67D30bD
The Moc.sol
proxy contract in mainet
is 0xCfF3fcaeC2352C672C38d77cb1a064B7D50ce7e1
The upgrade delegator in mainet
is 0x5cE577f6Ec969CE9a282838D350206C52A6F338C