32 lines
750 B
JavaScript
32 lines
750 B
JavaScript
function newGovernanceFunctionLibraryMentorshipProgram() {
|
|
let thisObject = {
|
|
calculate: calculate
|
|
}
|
|
|
|
return thisObject
|
|
|
|
function calculate(
|
|
pools,
|
|
userProfiles
|
|
) {
|
|
|
|
UI.projects.governance.utilities.bonusProgram.run(
|
|
pools,
|
|
userProfiles,
|
|
"mentorshipProgram",
|
|
"Mentorship-Bonus",
|
|
"Mentorship Program"
|
|
)
|
|
|
|
UI.projects.governance.utilities.decendentProgram.run(
|
|
pools,
|
|
userProfiles,
|
|
"mentorshipProgram",
|
|
"Mentorship-Rewards",
|
|
"Mentorship Program",
|
|
"Mentorship Power",
|
|
"userMentors",
|
|
"User Mentor"
|
|
)
|
|
}
|
|
} |