Governance final touches

This commit is contained in:
Luis Fernando Molina committed 2021-09-02 18:36:58 +02:00
1 parent 4fd57ad93c
commit 622bdebb80
6 files changed
+6 -6

No files matched your search

@@ -107,7 +107,7 @@ function newGovernanceFunctionLibraryAirdropProgram() {
) {
node.payload.airdropProgram.isActive = false
userProfile.payload.uiObject.setErrorMessage(
"Airdrop Program: You need to setup this profile with the Profile Constructor, to access the Token Power of your account at the Blockchain.",
"Waiting for blockchain balance. It takes 6 seconds to load the balance of each profile, bacause you are using a free API provided by BSC Scan.",
UI.projects.governance.globals.designer.SET_ERROR_COUNTER_FACTOR
)
return
@@ -489,7 +489,7 @@ function newGovernanceFunctionLibraryClaimsProgram() {
node.payload.uiObject.percentageAngleOffset = 180
node.payload.uiObject.percentageAtAngle = true
node.payload.uiObject.setValue(programPowerText)
node.payload.uiObject.setValue(programPowerText, UI.projects.governance.globals.designer.SET_VALUE_COUNTER)
if (percentage !== undefined) {
node.payload.uiObject.setPercentage(percentage.toFixed(2),
@@ -107,7 +107,7 @@ function newGovernanceFunctionLibraryGithubProgram() {
) {
node.payload.githubProgram.isActive = false
userProfile.payload.uiObject.setErrorMessage(
"Github Program: You need to setup this profile with the Profile Constructor, to access the Token Power of your account at the Blockchain.",
"Waiting for blockchain balance. It takes 6 seconds to load the balance of each profile, bacause you are using a free API provided by BSC Scan.",
UI.projects.governance.globals.designer.SET_ERROR_COUNTER_FACTOR
)
return
@@ -107,7 +107,7 @@ function newGovernanceFunctionLibraryStakingProgram() {
) {
node.payload.stakingProgram.isActive = false
userProfile.payload.uiObject.setErrorMessage(
"Staking Program: You need to setup this profile with the Profile Constructor, to access the Token Power of your account at the Blockchain.",
"Waiting for blockchain balance. It takes 6 seconds to load the balance of each profile, bacause you are using a free API provided by BSC Scan.",
UI.projects.governance.globals.designer.SET_ERROR_COUNTER_FACTOR
)
return
@@ -102,7 +102,7 @@ function newGovernanceUtilitiesBonusProgram() {
) {
node.payload[programPropertyName].isActive = false
userProfile.payload.uiObject.setErrorMessage(
"Bonus Program: You need to setup this profile with the Profile Constructor, to access the Token Power of your account at the Blockchain.",
"Waiting for blockchain balance. It takes 6 seconds to load the balance of each profile, bacause you are using a free API provided by BSC Scan.",
UI.projects.governance.globals.designer.SET_ERROR_COUNTER_FACTOR
)
return
@@ -169,7 +169,7 @@ function newGovernanceUtilitiesDecendentProgram() {
) {
node.payload[programPropertyName].isActive = false
userProfile.payload.uiObject.setErrorMessage(
"Decendent Program: You need to setup this profile with the Profile Constructor, to access the Token Power of your account at the Blockchain.",
"Waiting for blockchain balance. It takes 6 seconds to load the balance of each profile, bacause you are using a free API provided by BSC Scan.",
UI.projects.governance.globals.designer.SET_ERROR_COUNTER_FACTOR
)
return