Merge branch 'Superalgos:develop' into develop
This commit is contained in:
25 files changed
+9018
-2360
No files matched your search
@@ -17,10 +17,11 @@ function newGovernanceFunctionLibraryAirdropProgram() {
|
||||
*/
|
||||
let accumulatedProgramPower = 0
|
||||
|
||||
/* Scan Pools Until finding the Mentoship-Program Pool */
|
||||
/* Scan Pools Until finding the Pool for this program*/
|
||||
for (let i = 0; i < pools.length; i++) {
|
||||
let poolsNode = pools[i]
|
||||
programPoolTokenReward = UI.projects.governance.utilities.pools.findPool(poolsNode, "Airdrop-Rewards")
|
||||
if (programPoolTokenReward !== undefined) { break }
|
||||
}
|
||||
if (programPoolTokenReward === undefined || programPoolTokenReward === 0) { return }
|
||||
|
||||
|
||||
@@ -17,10 +17,11 @@ function newGovernanceFunctionLibraryGithubProgram() {
|
||||
*/
|
||||
let accumulatedProgramPower = 0
|
||||
|
||||
/* Scan Pools Until finding the Mentoship-Program Pool */
|
||||
/* Scan Pools Until finding the Pool for this program*/
|
||||
for (let i = 0; i < pools.length; i++) {
|
||||
let poolsNode = pools[i]
|
||||
programPoolTokenReward = UI.projects.governance.utilities.pools.findPool(poolsNode, "Github-Rewards")
|
||||
if (programPoolTokenReward !== undefined) { break }
|
||||
}
|
||||
if (programPoolTokenReward === undefined || programPoolTokenReward === 0) { return }
|
||||
|
||||
|
||||
@@ -17,10 +17,11 @@ function newGovernanceFunctionLibraryStakingProgram() {
|
||||
*/
|
||||
let accumulatedProgramPower = 0
|
||||
|
||||
/* Scan Pools Until finding the Mentoship-Program Pool */
|
||||
/* Scan Pools Until finding the Pool for this program*/
|
||||
for (let i = 0; i < pools.length; i++) {
|
||||
let poolsNode = pools[i]
|
||||
programPoolTokenReward = UI.projects.governance.utilities.pools.findPool(poolsNode, "Staking-Rewards")
|
||||
if (programPoolTokenReward !== undefined) { break }
|
||||
}
|
||||
if (programPoolTokenReward === undefined || programPoolTokenReward === 0) { return }
|
||||
|
||||
|
||||
@@ -517,7 +517,7 @@ function newGovernanceFunctionLibraryVotingProgram() {
|
||||
) {
|
||||
originNode.name = destinationNode.name + ' ' + destinationNode.type + ' ' + ' Vote'
|
||||
} else {
|
||||
originNode.name = destinationNode.name + ' ' + destinationNode.type
|
||||
originNode.name = destinationNode.name
|
||||
}
|
||||
|
||||
let schemaDocument = getSchemaDocument(destinationNode)
|
||||
|
||||
Reference in new issue
Block a user