From 03ce51e39bab7ac15025178befd12dc7221d0cfa Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Fri, 30 Jul 2021 09:05:59 +0200 Subject: [PATCH] Gihub Program at zero cost for the user --- .../Plugins/User-Profiles/Luis-Fernando-Molina.json | 6 +++--- Projects/Governance/UI/Function-Libraries/GithubProgram.js | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Projects/Governance/Plugins/User-Profiles/Luis-Fernando-Molina.json b/Projects/Governance/Plugins/User-Profiles/Luis-Fernando-Molina.json index eeec10a30..cdbf2fd8c 100644 --- a/Projects/Governance/Plugins/User-Profiles/Luis-Fernando-Molina.json +++ b/Projects/Governance/Plugins/User-Profiles/Luis-Fernando-Molina.json @@ -6064,7 +6064,7 @@ { "type": "Token Power Switch", "name": "Staking", - "config": "{\n \"percentage\": 1\n}", + "config": "{\n \"percentage\": 5\n}", "project": "Governance", "tokenPowerSwitch": [], "stakingProgram": { @@ -6475,7 +6475,7 @@ { "type": "Token Power Switch", "name": "Github", - "config": "{}", + "config": "{\n \"percentage\": 0\n}", "project": "Governance", "tokenPowerSwitch": [], "githubProgram": { @@ -6546,7 +6546,7 @@ "floatingObject": { "isPinned": false, "isFrozen": false, - "isCollapsed": true, + "isCollapsed": false, "angleToParent": 2, "distanceToParent": 3, "arrangementStyle": 0 diff --git a/Projects/Governance/UI/Function-Libraries/GithubProgram.js b/Projects/Governance/UI/Function-Libraries/GithubProgram.js index 843c19bed..20e6ae197 100644 --- a/Projects/Governance/UI/Function-Libraries/GithubProgram.js +++ b/Projects/Governance/UI/Function-Libraries/GithubProgram.js @@ -141,9 +141,9 @@ function newGovernanceFunctionLibraryGithubProgram() { if (programNode === undefined || programNode.payload === undefined) { return } /* Here we will convert Token Power into Github Power. - As per system rules Github Powar = tokensPower + As per system rules Github Powar = 1000 SA Tokens. */ - let programPower = programNode.payload.tokenPower + let programPower = 1000 programNode.payload.githubProgram.ownPower = programPower accumulatedProgramPower = accumulatedProgramPower + programPower