code: function getPastContractEvents(payload) {
    const {
      props,
      contractInstance,
    } = payload
  
    const {
      event,
      options,
    } = props
  
    return getEvents(contractInstance[event], options)
  }
docs: @async
  @function getPastContractEvents
  
  @description Gets past contract events
  
  @param {object} payload - Payload object
  @param {object} payload.props - API function properties
  @param {string} payload.props.event - Event name
  @param {object} [payload.props.options] - Event options (@see getEvents)
  @param {object} payload.contractInstance - Contract instance
  
  @returns Promise that will be resolved with past events (@see getEvents)