code: function () {
  
      const oThis = this;
  
      const callback = async function (response) {
        if (response.isFailure()) {
          return response;
        }
        return responseHelper.successWithData({allTimeStakedAmount: response.data.getTotalStake});
      };
  
      return oThis._callMethod('getTotalStake').then(callback);
  
    }
docs: Fetch all time staked amount
  
  @return {promise<result>}