mSpellStaking

Constructor

nonpayable

Parameters

Name
Type

_mim

address

_spell

address

Functions


ACC_REWARD_PER_SHARE_PRECISIONview

Parameters

No parameters for this function.

Return values

Name
Type

/

uint256

accRewardPerShareview

Parameters

No parameters for this function.

Return values

Name
Type

/

uint256

claimOwnershipnonpayable

Parameters

No parameters for this function.

Return values

No return values for this function.

depositnonpayable

Parameters

Name
Type

_amount

uint256

Return values

No return values for this function.

emergencyWithdrawnonpayable

Parameters

No parameters for this function.

Return values

No return values for this function.

lastRewardBalanceview

Parameters

No parameters for this function.

Return values

Name
Type

/

uint256

mimview

Parameters

No parameters for this function.

Return values

Name
Type

/

address

ownerview

Parameters

No parameters for this function.

Return values

Name
Type

/

address

pendingOwnerview

Parameters

No parameters for this function.

Return values

Name
Type

/

address

pendingRewardview

Parameters

Name
Type

_user

address

Return values

Name
Type

/

uint256

spellview

Parameters

No parameters for this function.

Return values

Name
Type

/

address

toggleLockUpnonpayable

Parameters

Name
Type

status

bool

Return values

No return values for this function.

toggleLockupview

Parameters

No parameters for this function.

Return values

Name
Type

/

bool

transferOwnershipnonpayable

Parameters

Name
Type

newOwner

address

direct

bool

renounce

bool

Return values

No return values for this function.

updateRewardnonpayable

Parameters

No parameters for this function.

Return values

No return values for this function.

userInfoview

Parameters

Name
Type

/

address

Return values

Name
Type

amount

uint128

rewardDebt

uint128

lastAdded

uint128

withdrawnonpayable

Parameters

Name
Type

_amount

uint256

Return values

No return values for this function.

Events (for EVM logging)


ClaimReward

Parameters

Name
Type
Indexed

user

address

true

amount

uint256

false

Deposit

Parameters

Name
Type
Indexed

user

address

true

amount

uint256

false

EmergencyWithdraw

Parameters

Name
Type
Indexed

user

address

true

amount

uint256

false

OwnershipTransferred

Parameters

Name
Type
Indexed

previousOwner

address

true

newOwner

address

true

Withdraw

Parameters

Name
Type
Indexed

user

address

true

amount

uint256

false

Last updated