Bug Fixes on Liquidity Program
This commit is contained in:
1 parent
1b1ecf3039
commit
7a5204ec80
2 files changed
+6
-1
No files matched your search
@@ -127,6 +127,11 @@ function newGovernanceFunctionLibraryDistributionProcess() {
|
|||||||
userProfiles,
|
userProfiles,
|
||||||
'BUSD'
|
'BUSD'
|
||||||
)
|
)
|
||||||
|
UI.projects.governance.functionLibraries.liquidityProgram.calculate(
|
||||||
|
pools,
|
||||||
|
userProfiles,
|
||||||
|
'ETH'
|
||||||
|
)
|
||||||
/*
|
/*
|
||||||
Run the Claims Program
|
Run the Claims Program
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -152,7 +152,7 @@ function newGovernanceFunctionLibraryLiquidityProgram() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function drawProgram(node) {
|
function drawProgram(node) {
|
||||||
if (node.payload !== undefined) {
|
if (node.payload !== undefined && node.payload.liquidityProgram.ownPower !== undefined) {
|
||||||
|
|
||||||
const ownPowerText = parseFloat(node.payload.liquidityProgram.ownPower.toFixed(2)).toLocaleString('en')
|
const ownPowerText = parseFloat(node.payload.liquidityProgram.ownPower.toFixed(2)).toLocaleString('en')
|
||||||
const percentageText = parseFloat(node.payload.liquidityProgram.awarded.percentage.toFixed(2)).toLocaleString('en')
|
const percentageText = parseFloat(node.payload.liquidityProgram.awarded.percentage.toFixed(2)).toLocaleString('en')
|
||||||
|
|||||||
Reference in new issue
Block a user