Skip to content

FluidMerkleDistributorAdmin ​

Git Source

Inherits:FluidMerkleDistributorCore

Functions ​

updateProposer ​

Updates an address status as a root proposer

solidity
function updateProposer(address proposer_, bool isProposer_) public onlyOwner validAddress(proposer_);

Parameters

NameTypeDescription
proposer_addressThe address to update
isProposer_boolWhether or not the address should be an allowed proposer

updateApprover ​

Updates an address status as a root approver

solidity
function updateApprover(address approver_, bool isApprover_) public onlyOwner validAddress(approver_);

Parameters

NameTypeDescription
approver_addressThe address to update
isApprover_boolWhether or not the address should be an allowed approver

spell ​

open payload method for admin to resolve emergency cases

solidity
function spell(address[] memory targets_, bytes[] memory calldatas_) public onlyOwner;

pause ​

Pause contract functionality of new roots and claiming

solidity
function pause() external onlyOwner;

unpause ​

Unpause contract functionality of new roots and claiming

solidity
function unpause() external onlyOwner;