# Settings

The general settings should be self explanatory. It's divided into two parts: the first part contains settings for the Backoffice and the second part contains settings for DeBets Website. The latter one is only there if you are a game provider that is listing its games in DeBets Website.

# Notification Settings

This section allows you to decide upon which events you want to be notified by DeBets.
To send you notifications DeBets will create a specific group named DeBets_Events_yourUsername where yourUsername is the username that you have received from DeBets after enrolling. DeBets will add to this group all the signal contacts that you specify here and then it will publish the events to this group.

Changing your signal contact list will notify DeBets which in turn will add/remove contacts to/from your group accordingly. In this way the members of the group will always be in sync with your contact list.

# Automatic closing of deposits

Here you can control what deposits DeBets will automatically request the Smart Contract to close on your behalf.

The automatic closing of deposits works in this way:

  • DeBets runs a scheduler that checks active deposits every ten minutes
  • for each deposit found it checks whether you are eligible of closing it
  • if you are eligible of closing the deposit it checks whether the deposit matches the criteria that you define here for closing it
  • if the criteria are matched then DeBets will do a transaction to request the Smart Contract to close the deposit
  • the scheduler then waits for the player to counter close the deposit or for the grace period to elapse
  • when one of the two events at the privious point takes place DeBets sends another transaction in order to send a finalize request to the Smart Contract and close the deposit

The criteria that you define are based on three possibile conditions that are matched against the status of the deposit:

  • the consecutive days of inactivity: this is the number of days that the deposit has not been used by the player to play games
  • the amount lost by the player in USD (e.g. a value of 100 means that the player has lost 100 USD out of the amount he deposited)
  • the percentage of the deposited amount that the player has lost (e.g. a value of 80 means that the player has lost 80% of the amount he deposited)

You then use the UI to define your criteria by doing the following:

  • specifying rules that are based on the three conditions above
  • adding rules together with OR and AND operators
  • grouping them in order to make more complex rules