nimiqclient.models.log.VestingCreateLog

class nimiqclient.models.log.VestingCreateLog(type, contractOwner, owner, startTime, timeStep, stepAmount, totalAmount)[source]

Bases: Log

Vesting creation log returned by the server.

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

  • contractOwner (str) – Contract owner of the Vesting associated with the log.

  • owner (str) – Owner of the Vesting associated with the log.

  • startTime (int) – Start time of the Vesting associated with the log.

  • timeStep (int) – Time step of the Vesting associated with the log.

  • stepAmount (int) – Step amount of the Vesting associated with the log.

  • totalAmount (int) – Total amount of the Vesting 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.