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 ​
Spell allows owner aka governance to do any arbitrary call on factory
solidity
function _spell(address target_, bytes memory data_) internal returns (bytes memory response_);
Parameters
Name | Type | Description |
---|---|---|
target_ | address | Address to which the call needs to be delegated |
data_ | bytes | Data to execute at the delegated address |
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;