Witty Staking Admin
These are the admin functions
1. Function Name: addStakingPlan
Create new staking plans
Expected Parameter:
uint planId
bytes planName
uint stakingAmountUsd
uint roi
bool isActive
Return Value
-
2. Function Name: createIncentivePeriod
Create new incentive Periods
Expected Parameter
startTime
endTime
incentiveAmount
maxClaimants
bool SpecialRecipients
Return Value
-
3. Function Name: setRequirements
Set the static value for the requiremets
Expected Parameter
address busd
address witty
address router
address stakerCollector
address rewardWallet
address dexContract
uint tradingProfitPercent
Return Value
-
4. Function Name: setScale
set the scale for price division
Expected Parameter
uint scaleAmount
Return Value
-
5. Function Name: setAdminStakingWallet
Sets admin staking wallet
Expected Parameter
address of admin wallet
Return Value
-
6. Function Name: setLockStatus
Sets contract lock status
Expected Parameter
bool value
Return Value
-
7. Function Name: setPlanActiveStatus
Sets plan active status
Expected Parameter
uint planId
bool isActive
Return Value
-
8. Function Name: setSpecialIncentiveReceipients
Sets an array of special incentive receipients
Expected Parameter
uint incentiveId
address array of reciepients
Return Value
-
Last updated