mSpellStaking

Constructor​

nonpayable​

Parameters

NameType

_mim

address

_spell

address

Functions​


ACC_REWARD_PER_SHARE_PRECISIONview​

Parameters

No parameters for this function.

Return values

NameType

/

uint256

accRewardPerShareview​

Parameters

No parameters for this function.

Return values

NameType

/

uint256

claimOwnershipnonpayable​

Parameters

No parameters for this function.

Return values

No return values for this function.

depositnonpayable​

Parameters

NameType

_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

NameType

/

uint256

mimview​

Parameters

No parameters for this function.

Return values

NameType

/

address

ownerview​

Parameters

No parameters for this function.

Return values

NameType

/

address

pendingOwnerview​

Parameters

No parameters for this function.

Return values

NameType

/

address

pendingRewardview​

Parameters

NameType

_user

address

Return values

NameType

/

uint256

spellview​

Parameters

No parameters for this function.

Return values

NameType

/

address

toggleLockUpnonpayable​

Parameters

NameType

status

bool

Return values

No return values for this function.

toggleLockupview​

Parameters

No parameters for this function.

Return values

NameType

/

bool

transferOwnershipnonpayable​

Parameters

NameType

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

NameType

/

address

Return values

NameType

amount

uint128

rewardDebt

uint128

lastAdded

uint128

withdrawnonpayable​

Parameters

NameType

_amount

uint256

Return values

No return values for this function.

Events (for EVM logging)​


ClaimReward​

Parameters

NameTypeIndexed

user

address

true

amount

uint256

false

Deposit​

Parameters

NameTypeIndexed

user

address

true

amount

uint256

false

EmergencyWithdraw​

Parameters

NameTypeIndexed

user

address

true

amount

uint256

false

OwnershipTransferred​

Parameters

NameTypeIndexed

previousOwner

address

true

newOwner

address

true

Withdraw​

Parameters

NameTypeIndexed

user

address

true

amount

uint256

false

Last updated