You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.
In order to buy REX an account must set and maintain a voting proxy or approve at least 21 block producers. They may change their votes but not remove them while they hold REX tokens. After an account has sold all REX tokens they may vote for less than 21 producers.
@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!
Voting Requirements
Ref: https://medium.com/@bytemaster/proposal-for-eos-resource-renting-rent-distribution-9afe8fb3883a
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?
The text was updated successfully, but these errors were encountered: