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
Constructor
nonpayable
nonpayable
Parameters
No parameters found in the constructor.
Functions
addMSpellRecipientnonpayable
addMSpellRecipientnonpayable
Parameters
Return values
No return values for this function.
addReporternonpayable
addReporternonpayable
Parameters
Return values
No return values for this function.
bridgeMimnonpayable
bridgeMimnonpayable
Parameters
No parameters for this function.
Return values
No return values for this function.
changePurchasernonpayable
changePurchasernonpayable
Parameters
Return values
No return values for this function.
checkerview
checkerview
Parameters
No parameters for this function.
Return values
claimOwnershipnonpayable
claimOwnershipnonpayable
Parameters
No parameters for this function.
Return values
No return values for this function.
isActiveChainview
isActiveChainview
Parameters
Return values
isOperatorview
isOperatorview
Parameters
Return values
lzReceivenonpayable
lzReceivenonpayable
Parameters
Return values
No return values for this function.
mSpellReporterview
mSpellReporterview
Parameters
Return values
ownerview
ownerview
Parameters
No parameters for this function.
Return values
pendingOwnerview
pendingOwnerview
Parameters
No parameters for this function.
Return values
recipientsview
recipientsview
Parameters
Return values
setOperatornonpayable
setOperatornonpayable
Parameters
Return values
No return values for this function.
sspellBuyBackview
sspellBuyBackview
Parameters
No parameters for this function.
Return values
transferOwnershipnonpayable
transferOwnershipnonpayable
Parameters
Return values
No return values for this function.
transferWithdrawernonpayable
transferWithdrawernonpayable
Parameters
Return values
No return values for this function.
treasuryview
treasuryview
Parameters
No parameters for this function.
Return values
treasuryPercentageview
treasuryPercentageview
Parameters
No parameters for this function.
Return values
Events (for EVM logging)
LogAddRecipient
LogAddRecipient
Parameters
LogBridgeToRecipient
LogBridgeToRecipient
Parameters
LogChangePurchaser
LogChangePurchaser
Parameters
LogSetOperator
LogSetOperator
Parameters
LogSetReporter
LogSetReporter
Parameters
LogSpellStakedReceived
LogSpellStakedReceived
Parameters
OwnershipTransferred
OwnershipTransferred
Parameters
Last updated