EGORAS
Search…
Validate Governance Request
ValidateRequest function sends an approval request into the protocol.
1
function validateRequest(uint _requestID) external;
Copied!
    _requestID: The unique identifier of every governance request emitted from Egoras Microfinance protocol

Solidity

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

Web 3

1
const instance = await new web3.eth.Contract(abi, address)
2
await instance.methods.validateRequest("180").send({from: 0xMyAccount});
Copied!
Last modified 1yr ago
Copy link