Validate Governance Request

ValidateRequest function sends an approval request into the protocol.

function validateRequest(uint _requestID) external;
  • _requestID: The unique identifier of every governance request emitted from Egoras Microfinance protocol

Solidity

CEGORAS egoras = CEGORAS(0x7a24C....);
require(egoras.validateRequest("180"), "unable to validate request");

Web 3

const instance = await new web3.eth.Contract(abi, address)
await instance.methods.validateRequest("180").send({from: 0xMyAccount});