mSpellSender

Contract pulling MIM from the Withdrawer and distributing it.

mSPELL sender is responsible from claiming the fees in the Withdrawer (it is the owner of the withdrawer and can access funds this way) and distributing it to the 3 recipients:

  • the Treasury (based on the treasuryPercentage value)

  • Staking contracts, divided into:

    • sSPELL (based on the amount of SPELL staked)

    • mSPELL (based on the total amount of SPELL staked on all chains)

For mSPELL specifically, the sender will bridge the funds to the mSpellStaking contracts in the right amount (based on the amount of SPELL staked) on all chains.

Constructor

nonpayable

Parameters

No parameters found in the constructor.

Functions


addMSpellRecipientnonpayable

Parameters

Return values

No return values for this function.

addReporternonpayable

Parameters

Return values

No return values for this function.

bridgeMimnonpayable

Parameters

No parameters for this function.

Return values

No return values for this function.

changePurchasernonpayable

Parameters

Return values

No return values for this function.

checkerview

Parameters

No parameters for this function.

Return values

claimOwnershipnonpayable

Parameters

No parameters for this function.

Return values

No return values for this function.

isActiveChainview

Parameters

Return values

isOperatorview

Parameters

Return values

lzReceivenonpayable

Parameters

Return values

No return values for this function.

mSpellReporterview

Parameters

Return values

ownerview

Parameters

No parameters for this function.

Return values

pendingOwnerview

Parameters

No parameters for this function.

Return values

recipientsview

Parameters

Return values

setOperatornonpayable

Parameters

Return values

No return values for this function.

sspellBuyBackview

Parameters

No parameters for this function.

Return values

transferOwnershipnonpayable

Parameters

Return values

No return values for this function.

transferWithdrawernonpayable

Parameters

Return values

No return values for this function.

treasuryview

Parameters

No parameters for this function.

Return values

treasuryPercentageview

Parameters

No parameters for this function.

Return values

Events (for EVM logging)


LogAddRecipient

Parameters

LogBridgeToRecipient

Parameters

LogChangePurchaser

Parameters

LogSetOperator

Parameters

LogSetReporter

Parameters

LogSpellStakedReceived

Parameters

OwnershipTransferred

Parameters

Last updated