FluidMerkleDistributorAdmin ​
Inherits:FluidMerkleDistributorCore
Functions ​
updateProposer ​
Updates an address status as a root proposer
solidity
function updateProposer(address proposer_, bool isProposer_) public onlyOwner validAddress(proposer_);
Parameters
Name | Type | Description |
---|---|---|
proposer_ | address | The address to update |
isProposer_ | bool | Whether 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
Name | Type | Description |
---|---|---|
approver_ | address | The address to update |
isApprover_ | bool | Whether 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;