21 lines
503 B
JavaScript
21 lines
503 B
JavaScript
export default class ValidatorDescription {
|
|
constructor() {
|
|
this.moniker = 'Ping'
|
|
this.identity = 'string'
|
|
this.website = 'https://ping.pub'
|
|
this.security_contact = 'string'
|
|
this.details = 'string'
|
|
}
|
|
|
|
init(element) {
|
|
if (element != null) {
|
|
this.moniker = element.moniker
|
|
this.identity = element.identity
|
|
this.website = element.website
|
|
this.security_contact = element.security_contact
|
|
this.details = element.details
|
|
}
|
|
return this
|
|
}
|
|
}
|