zerolawtech / ZAP-Tech

ZeroLaw Augmentation Protocol
GNU General Public License v3.0
27 stars 13 forks source link

Make KYC / investor count logic more modular #9

Open iamdefinitelyahuman opened 5 years ago

iamdefinitelyahuman commented 5 years ago

Currently the investor count information is deeply embedded within IssuingEntity. Even if a token should trade freely, it is impossible to stop tracking investor counts. In such a case this creates a massive gas overhead that is un-necessary.

Investor limit logic should be moved to a separate contract and treated as more of a "first class module" in the way the Governance currently works. This will be a big step away from IssuingEntity being the center hub of any deployment and toward each component interacting more directly.

This will be a big job and likely the intended spec for it will evolve during the process of completion.