Merge pull request #2466 from krimsonkla/develop

Contribution: "Last of the typos"
This commit is contained in:
Luis Fernando Molina authored and GitHub committed 2021-11-04 04:02:36 -04:00
commit 347cace378
176 files changed
+449 -449

No files matched your search

@@ -121,7 +121,7 @@ function newGovernanceFunctionLibraryStakingProgram() {
if (programNode === undefined || programNode.payload === undefined) { return }
/*
Here we will convert Token Power into Staking Power.
As per system rules Staking Powar = tokensPower
As per system rules Staking Power = tokensPower
*/
let programPower = programNode.payload.tokenPower
programNode.payload.stakingProgram.ownPower = programPower
@@ -90,7 +90,7 @@ function newGovernanceFunctionLibraryTokenPower() {
if (userProfile.payload === undefined) { return }
if (userProfile.payload.blockchainTokens === undefined) { return }
/*
The tokenPower is comming from blockchainTokens.
The tokenPower is coming from blockchainTokens.
*/
let tokenPower = userProfile.payload.blockchainTokens
/*
@@ -116,7 +116,7 @@ function newGovernanceFunctionLibraryTokenPower() {
if (userProfile.payload.blockchainTokens === undefined) { return }
if (userProfile.payload.delegationProgram === undefined) { return }
/*
The Deletated Power is already accumilated at userProfile.payload.tokenPower
The Delegated Power is already accumulated at userProfile.payload.tokenPower
*/
let tokenPower = userProfile.payload.delegationProgram.programPower
/*
@@ -45,7 +45,7 @@ function newGovernanceFunctionLibraryTokens() {
node.payload.tokens = 0
/*
If there is a reference parent defined, this means that the token flow is
transfered to it and not distributed among children.
transferred to it and not distributed among children.
*/
if (node.payload.referenceParent !== undefined) {
resetTokenFlow(node.payload.referenceParent)
@@ -101,7 +101,7 @@ function newGovernanceFunctionLibraryTokens() {
let schemaDocument = getSchemaDocument(node)
if (schemaDocument === undefined) { return }
/*
At hierarchy heads we will shouw how many tokens are comming in.
At hierarchy heads we will show how many tokens are coming in.
*/
if (
schemaDocument.isHierarchyHead === true
@@ -121,7 +121,7 @@ function newGovernanceFunctionLibraryTokens() {
}
/*
If there is a reference parent defined, this means that the token flow is
transfered to it and not distributed among children.
transferred to it and not distributed among children.
*/
if (node.payload.referenceParent !== undefined) {
distributeTokens(node.payload.referenceParent, node.payload.tokens)
@@ -110,7 +110,7 @@ function newGovernanceFunctionLibraryVotingProgram() {
node.type === 'Feature Contribution Claim'
) { return }
/*
For Votes to Profiles there is a special treamtment that needs to be done
For Votes to Profiles there is a special treatment that needs to be done
so that votes can flow from Profiles to the Program without being affected
by Percentages.
*/
@@ -132,7 +132,7 @@ function newGovernanceFunctionLibraryVotingProgram() {
}
/*
If there is a reference parent defined, this means that the voting power is
transfered to it and not distributed among children.
transferred to it and not distributed among children.
*/
if (
node.payload.referenceParent !== undefined &&
@@ -232,7 +232,7 @@ function newGovernanceFunctionLibraryVotingProgram() {
node.type === 'Feature Contribution Claim'
) { return }
/*
For Votes to Profiles there is a special treamtment that needs to be done
For Votes to Profiles there is a special treatment that needs to be done
so that votes can flow from Profiles to the Program without being affected
by Percentages.
*/
@@ -268,7 +268,7 @@ function newGovernanceFunctionLibraryVotingProgram() {
}
/*
If there is a reference parent defined, this means that the voting power is
transfered to it and not distributed among children.
transferred to it and not distributed among children.
*/
if (
node.payload.referenceParent !== undefined &&