Skip to content

FluidMerkleDistributorProposer ​

Git Source

Inherits:FluidMerkleDistributorCore

Functions ​

onlyProposer ​

Checks that the sender is a proposer

solidity
modifier onlyProposer();

isProposer ​

checks if the proposer_ is an allowed root proposer

solidity
function isProposer(address proposer_) public view returns (bool);

proposeRoot ​

Propose a new root and content hash, which will be stored as pending until approved

solidity
function proposeRoot(bytes32 root_, bytes32 contentHash_, uint40 cycle_, uint40 startBlock_, uint40 endBlock_)
    external
    whenNotPaused
    onlyProposer;