Skip to content

Commit

Permalink
Merge pull request #40 from threshold-network/saving-rewards-details
Browse files Browse the repository at this point in the history
Rewards details
  • Loading branch information
Beau Shinkle authored Nov 8, 2022
2 parents aaa5f9a + 4312f74 commit 4253eda
Show file tree
Hide file tree
Showing 4 changed files with 1,553 additions and 19 deletions.
14 changes: 6 additions & 8 deletions src/tbtcv2-rewards/rewards-constants.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
export const ALLOWED_UPGRADE_DELAY = 1209600; // 2 weeks in sec. TODO: add as an option.param
export const REQUIRED_MIN_PRE_PARAMS = 500; // min requirement for pre params daily avg
export const QUERY_STEP = 600; // 10min in sec
export const REQUIRED_UPTIME_PERCENT = 96; // percent
export const ALLOWED_UPGRADE_DELAY = 1209600; // 2 weeks in sec.
export const OPERATORS_SEARCH_QUERY_STEP = 600; // 10min in sec
export const IS_BEACON_AUTHORIZED = "isBeaconAuthorized";
export const BEACON_AUTHORIZATION = "beaconAuthorization";
export const IS_TBTC_AUTHORIZED = "isTbtcAuthorized";
Expand All @@ -12,7 +10,7 @@ export const VERSION = "version";
export const AVG_PRE_PARAMS = "avgPreParams";
export const IS_PRE_PARAMS_SATISFIED = "isPreParamsSatisfied";
export const PRECISION = 1000000;
export const QUERY_RESOLUTION = 60 // 1min sampling time for the metrics
export const HUNDRED = 100
export const IS_VERSION_SATISFIED = "isVersionSatisfied"
export const APR = 15 // percent
export const QUERY_RESOLUTION = 60; // 1min sampling time for the metrics
export const HUNDRED = 100;
export const IS_VERSION_SATISFIED = "isVersionSatisfied";
export const APR = 15; // percent
Loading

0 comments on commit 4253eda

Please sign in to comment.