syntax = "proto3";
package elys.tradeshield;

import "gogoproto/gogo.proto";
import "cosmos_proto/cosmos.proto";

option go_package = "github.com/elys-network/elys/x/tradeshield/types";

// Params defines the parameters for the module.
message Params {
  bool market_order_enabled = 1;
  bool stake_enabled = 2;
  bool process_orders_enabled = 3;
  bool swap_enabled = 4;
  bool perpetual_enabled = 5;
  bool reward_enabled = 6;
  bool leverage_enabled = 7;
  uint64 limit_process_order = 8;

  // For incentive system v2
  string reward_percentage = 9 [
    (cosmos_proto.scalar) = "cosmos.Dec",
    (gogoproto.customtype) = "cosmossdk.io/math.LegacyDec",
    (gogoproto.nullable) = false
  ];
  string margin_error = 10 [
    (cosmos_proto.scalar) = "cosmos.Dec",
    (gogoproto.customtype) = "cosmossdk.io/math.LegacyDec",
    (gogoproto.nullable) = false
  ];
  string minimum_deposit = 11 [
    (cosmos_proto.scalar) = "cosmos.Int",
    (gogoproto.customtype) = "cosmossdk.io/math.Int",
    (gogoproto.nullable) = false
  ];
  string tolerance = 12 [
    (cosmos_proto.scalar) = "cosmos.Dec",
    (gogoproto.customtype) = "cosmossdk.io/math.LegacyDec",
    (gogoproto.nullable) = false
  ];
}
