Closed turinglabsorg closed 1 year ago
Reopening because we're discussing again the process, at the moment we have these parameters:
// Protocol address protocol_address; bool public contract_protected = false; bool public permissioned_providers = false; // Providers uint32 public proposal_timeout = 86_400; uint256 public min_deal_value = 0; uint256 public slashing_multiplier = 1000; uint32 public min_duration = 86_400; uint32 public max_duration = 31_536_000; // Referees uint8 public committee_divider = 4; uint8 public max_appeals = 5; uint32 public round_duration = 300; uint8 public slashes_threshold = 12; uint8 public rounds_limit = 12;
Two other admin functions are:
setRefereeStatus
setProviderStatus
--
Trying to put all the variables under some "logic" umbrella we have:
PROTOCOL_ROLE
REFEREES_ROLE
PROVIDERS_ROLE
@nicola please give feedback!
Closing because it's implemented.
Reopening because we're discussing again the process, at the moment we have these parameters:
Two other admin functions are:
setRefereeStatus
: which is the referees managementsetProviderStatus
: which can be used as permissioned (needs role) and permissionless--
Trying to put all the variables under some "logic" umbrella we have:
PROTOCOL_ROLE
REFEREES_ROLE
PROVIDERS_ROLE
@nicola please give feedback!