Files
Superalgos/Projects/Governance/UI/Function-Libraries/MentorshipProgram.js
T

31 lines
716 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"
)
UI.projects.governance.utilities.decendentProgram.run(
pools,
userProfiles,
"mentorshipProgram",
"Mentorship-Rewards",
"Mentorship Program",
"Mentorship Power",
"userMentors",
"User Mentor"
)
}
}