nimiqclient.models.log.UpdateValidatorLog

class nimiqclient.models.log.UpdateValidatorLog(type, validatorAddress, oldRewardAddress, newRewardAddress)[source]

Bases: Log

Validator update log returned by the server.

Parameters:
  • type (LogType) – The log type associated with the log.

  • validatorAddress (str) – Address of the validator associated with the log.

  • oldRewardAddress (str) – Old reward address of the validator associated with the log.

  • newRewardAddress (str) – New reward address of the validator associated with the log.

Methods

get_log

Get the specific log type from the dictionary data.

static get_log(data)

Get the specific log type from the dictionary data.

Parameters:

data (dict) – The dictionary containing the data.

Returns:

Log object.

Return type:

Log or a subtype of Log.