๐๏ธChancellorSenateControl
Extension to handle comunication with the Senate Contract
One-trip external call
/**
* @dev return Senate Settings
*
* Note: Since the settings are kept in the Senate contract and one external call is obligatory, the external call bulks all data in one object to avoid more than one call.
*
*/
function getSettings()
public
view
virtual
returns (
uint256 proposalThreshold,
uint256 votingDelay,
uint256 votingPeriod,
bytes memory senatorRepresentations,
uint256 votingPower,
bool validSenator,
bool validMembers
);Last updated