Params

Subaccount module parameter types and definition.

The House module has the following parameters:

  1. Wager Enabled: Determines if the wagering by subaccount is active or not.

  2. Deposit Enabled: Determines if the deposit (be the house) by subaccount is active or not.

The proto for the params is as follows:

// Params defines the parameters for the module.
message Params {
  option (gogoproto.goproto_stringer) = false;

  // wager_enabled is enable/disable status of wager feature.
  bool wager_enabled = 1;
  // deposit_enabled is enable/disable status of deposit feature.
  bool deposit_enabled = 2;
}

Last updated