Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Voting Requirements for REX #91
I'm assuming this will be enforced in the REX smart contract? Will these asserts be located in eosio.system/src/rex.cpp or another module?
@DenisCarriere per @jjssoftware comment, it does look like a user could bypass the asserts in the contract as it is written by using a proxy with less than 21 votes. Even if the proxy is checked at the time of buying REX (loaning) the proxy votes could be reduced later.
One proposal to address this is to require all proxies to have 21+ votes. Current proxies with <21 votes could not be used with accounts that want to buy REX. Changes to proxy votes would require that they conform to the new 21+ rule.
This approach is a bit drastic but it is the only approach I’ve heard so far that enforces the 21+ minimum. I’m eager to here other people’s thoughts on this. Hopefully there are some less drastic approaches!