mSpellStaking
Constructor
Constructor
nonpayable
nonpayable
Parameters
_mim
address
_spell
address
Functions
ACC_REWARD_PER_SHARE_PRECISIONview
ACC_REWARD_PER_SHARE_PRECISIONview
Parameters
No parameters for this function.
Return values
/
uint256
accRewardPerShareview
accRewardPerShareview
Parameters
No parameters for this function.
Return values
/
uint256
claimOwnershipnonpayable
claimOwnershipnonpayable
Parameters
No parameters for this function.
Return values
No return values for this function.
depositnonpayable
depositnonpayable
Parameters
_amount
uint256
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
/
uint256
mimview
mimview
Parameters
No parameters for this function.
Return values
/
address
ownerview
ownerview
Parameters
No parameters for this function.
Return values
/
address
pendingOwnerview
pendingOwnerview
Parameters
No parameters for this function.
Return values
/
address
pendingRewardview
pendingRewardview
Parameters
_user
address
Return values
/
uint256
spellview
spellview
Parameters
No parameters for this function.
Return values
/
address
toggleLockUpnonpayable
toggleLockUpnonpayable
Parameters
status
bool
Return values
No return values for this function.
toggleLockupview
toggleLockupview
Parameters
No parameters for this function.
Return values
/
bool
transferOwnershipnonpayable
transferOwnershipnonpayable
Parameters
newOwner
address
direct
bool
renounce
bool
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
/
address
Return values
amount
uint128
rewardDebt
uint128
lastAdded
uint128
withdrawnonpayable
withdrawnonpayable
Parameters
_amount
uint256
Return values
No return values for this function.
Events (for EVM logging)
ClaimReward
ClaimReward
Parameters
user
address
true
amount
uint256
false
Deposit
Deposit
Parameters
user
address
true
amount
uint256
false
EmergencyWithdraw
EmergencyWithdraw
Parameters
user
address
true
amount
uint256
false
OwnershipTransferred
OwnershipTransferred
Parameters
previousOwner
address
true
newOwner
address
true
Withdraw
Withdraw
Parameters
user
address
true
amount
uint256
false
Last updated