mSpellStaking
Constructor
Constructor
nonpayable
nonpayable
Parameters
Name | Type |
---|---|
_mim |
|
_spell |
|
Functions
ACC_REWARD_PER_SHARE_PRECISIONview
ACC_REWARD_PER_SHARE_PRECISIONview
Parameters
No parameters for this function.
Return values
Name | Type |
---|---|
/ |
|
accRewardPerShareview
accRewardPerShareview
Parameters
No parameters for this function.
Return values
Name | Type |
---|---|
/ |
|
claimOwnershipnonpayable
claimOwnershipnonpayable
Parameters
No parameters for this function.
Return values
No return values for this function.
depositnonpayable
depositnonpayable
Parameters
Name | Type |
---|---|
_amount |
|
Return values
No return values for this function.
emergencyWithdrawnonpayable
emergencyWithdrawnonpayable
Parameters
No parameters for this function.
Return values
No return values for this function.
lastRewardBalanceview
lastRewardBalanceview
Parameters
No parameters for this function.
Return values
Name | Type |
---|---|
/ |
|
mimview
mimview
Parameters
No parameters for this function.
Return values
Name | Type |
---|---|
/ |
|
ownerview
ownerview
Parameters
No parameters for this function.
Return values
Name | Type |
---|---|
/ |
|
pendingOwnerview
pendingOwnerview
Parameters
No parameters for this function.
Return values
Name | Type |
---|---|
/ |
|
pendingRewardview
pendingRewardview
Parameters
Name | Type |
---|---|
_user |
|
Return values
Name | Type |
---|---|
/ |
|
spellview
spellview
Parameters
No parameters for this function.
Return values
Name | Type |
---|---|
/ |
|
toggleLockUpnonpayable
toggleLockUpnonpayable
Parameters
Name | Type |
---|---|
status |
|
Return values
No return values for this function.
toggleLockupview
toggleLockupview
Parameters
No parameters for this function.
Return values
Name | Type |
---|---|
/ |
|
transferOwnershipnonpayable
transferOwnershipnonpayable
Parameters
Name | Type |
---|---|
newOwner |
|
direct |
|
renounce |
|
Return values
No return values for this function.
updateRewardnonpayable
updateRewardnonpayable
Parameters
No parameters for this function.
Return values
No return values for this function.
userInfoview
userInfoview
Parameters
Name | Type |
---|---|
/ |
|
Return values
Name | Type |
---|---|
amount |
|
rewardDebt |
|
lastAdded |
|
withdrawnonpayable
withdrawnonpayable
Parameters
Name | Type |
---|---|
_amount |
|
Return values
No return values for this function.
Events (for EVM logging)
ClaimReward
ClaimReward
Parameters
Name | Type | Indexed |
---|---|---|
user |
|
|
amount |
|
|
Deposit
Deposit
Parameters
Name | Type | Indexed |
---|---|---|
user |
|
|
amount |
|
|
EmergencyWithdraw
EmergencyWithdraw
Parameters
Name | Type | Indexed |
---|---|---|
user |
|
|
amount |
|
|
OwnershipTransferred
OwnershipTransferred
Parameters
Name | Type | Indexed |
---|---|---|
previousOwner |
|
|
newOwner |
|
|
Withdraw
Withdraw
Parameters
Name | Type | Indexed |
---|---|---|
user |
|
|
amount |
|
|
Last updated