poanetwork / poa-dapps-validators

DApp for a list of validators with metadata for POA Network (Core/Sokol). Validators can update metadata using DApp.
https://validators.poa.network
GNU General Public License v3.0
13 stars 41 forks source link

(Feature) Make Validators DApp display company info for xDai Network #96

Closed varasev closed 5 years ago

varasev commented 5 years ago

xDai network will have companies as validators, so UI needs to be changed to be able to display company info instead of notary info.

A company as validator will only have the next data:

So, the validator card for the company should look like this:

image

Also, the Set Metadata page must let the validator mark the Company checkbox (to let the DApp know that the validator is a company, not a notary) and enter company's contact e-mail.

The company name should be stored in the existing firstName field of ValidatorMetadata contract. There're two additional fields should be added to the contract: contactEmail (bytes32) and isCompany (bool).

varasev commented 5 years ago

Done in https://github.com/poanetwork/poa-dapps-validators/pull/98.