getProposalInfos


Get information regarding a proposal made to the Intu vault

import { getProposalInfos} from "@intuweb3/web";
getProposal(vaultAddress, signer)

Arguments:

InputTypeDescription
vaultAddressstringaddress of the vault
proposalIdnumberId of proposal
signerobjectSigner object acquired from ethers or equivalent

Returns:

An array of results, each containing an Intu smart contract's information for a particular account.

NameTypeDescription
idBigNumberid of proposal
voteForNeededBigNumberNumber of Votes needed
endTimeBigNumberunix timestamp for vault creation.
voteForCountcount of for votes
_calldatastring
executedbooleancompleted or not