voteFor
Intu vault user can vote on the proposal in the vault
User can view the proposal with the getProposalInfos function.
linktofunction
Arguments:
import { voteFor } from "@intuweb3/web";
voteFor(vaultAddress, proposalId, signer);
Link to getproposalInfos
Input | Type | Description |
---|---|---|
vaultAddress | string | address of the vault |
proposalId | number | Proposal Id |
signer | Object | Signer object acquired from ethers or equivalent |
Returns:
The function does not return any values.