Assessment reports>StakeKit FeeWrapper>Threat Model>setProviderFeeRecipient

Function: setProviderFeeRecipient(address newProviderFeeRecipient)

This function is used to set a new provider-fee recipient. This function can only be called by the contract owner.

Inputs

  • newProviderFeeRecipient

    • Control: Arbitrary.

    • Constraints: Nonzero.

    • Impact: Address of the new provider-fee recipient.

Branches and code coverage

Intended branches

  • Update the provider-fee recipient.

Negative behavior

  • Revert if the caller is not the contract owner.

Zellic © 2024Back to top ↑