[API Reference](../README.md) > [IntVoteInterfaceWrapper](../classes/IntVoteInterfaceWrapper.md)



# Class: IntVoteInterfaceWrapper


Provides the services of any voting machine that implements the `IntVoteInterface` Arc contract interface. Also serves as the base class for all the specific voting machine contract wrapper classes.

## Hierarchy


 [ContractWrapperBase](ContractWrapperBase.md)

**↳ IntVoteInterfaceWrapper**

↳  [AbsoluteVoteWrapper](AbsoluteVoteWrapper.md)




↳  [GenesisProtocolWrapper](GenesisProtocolWrapper.md)










## Implements

* [IContractWrapperBase](../interfaces/IContractWrapperBase.md)
* [IIntVoteInterface](../interfaces/IIntVoteInterface.md)

## Index

### Constructors

* [constructor](IntVoteInterfaceWrapper.md#constructor)


### Properties

* [CancelProposal](IntVoteInterfaceWrapper.md#CancelProposal)
* [CancelVoting](IntVoteInterfaceWrapper.md#CancelVoting)
* [ExecuteProposal](IntVoteInterfaceWrapper.md#ExecuteProposal)
* [NewProposal](IntVoteInterfaceWrapper.md#NewProposal)
* [VoteProposal](IntVoteInterfaceWrapper.md#VoteProposal)
* [contract](IntVoteInterfaceWrapper.md#contract)
* [factory](IntVoteInterfaceWrapper.md#factory)
* [friendlyName](IntVoteInterfaceWrapper.md#friendlyName)
* [name](IntVoteInterfaceWrapper.md#name)


### Accessors

* [VotableProposals](IntVoteInterfaceWrapper.md#VotableProposals)
* [address](IntVoteInterfaceWrapper.md#address)


### Methods

* [cancelProposal](IntVoteInterfaceWrapper.md#cancelProposal)
* [cancelVote](IntVoteInterfaceWrapper.md#cancelVote)
* [estimateGas](IntVoteInterfaceWrapper.md#estimateGas)
* [execute](IntVoteInterfaceWrapper.md#execute)
* [getAllowedRangeOfChoices](IntVoteInterfaceWrapper.md#getAllowedRangeOfChoices)
* [getController](IntVoteInterfaceWrapper.md#getController)
* [getCurrentVoteStatus](IntVoteInterfaceWrapper.md#getCurrentVoteStatus)
* [getNumberOfChoices](IntVoteInterfaceWrapper.md#getNumberOfChoices)
* [getParameters](IntVoteInterfaceWrapper.md#getParameters)
* [getParametersArray](IntVoteInterfaceWrapper.md#getParametersArray)
* [getParametersHash](IntVoteInterfaceWrapper.md#getParametersHash)
* [getSchemeParametersHash](IntVoteInterfaceWrapper.md#getSchemeParametersHash)
* [hydrateFromAt](IntVoteInterfaceWrapper.md#hydrateFromAt)
* [hydrateFromDeployed](IntVoteInterfaceWrapper.md#hydrateFromDeployed)
* [hydrateFromNew](IntVoteInterfaceWrapper.md#hydrateFromNew)
* [isAbstainAllow](IntVoteInterfaceWrapper.md#isAbstainAllow)
* [isVotable](IntVoteInterfaceWrapper.md#isVotable)
* [ownerVote](IntVoteInterfaceWrapper.md#ownerVote)
* [propose](IntVoteInterfaceWrapper.md#propose)
* [setParameters](IntVoteInterfaceWrapper.md#setParameters)
* [vote](IntVoteInterfaceWrapper.md#vote)
* [voteStatus](IntVoteInterfaceWrapper.md#voteStatus)
* [voteWithSpecifiedAmounts](IntVoteInterfaceWrapper.md#voteWithSpecifiedAmounts)



---
## Constructors
<a id="constructor"></a>


### ⊕ **new IntVoteInterfaceWrapper**(solidityContract: *`any`*, web3EventService: *[Web3EventService](Web3EventService.md)*): [IntVoteInterfaceWrapper](IntVoteInterfaceWrapper.md)


*Inherited from [ContractWrapperBase](ContractWrapperBase.md).[constructor](ContractWrapperBase.md#constructor)*

*Defined in [contractWrapperBase.ts:62](https://github.com/daostack/arc.js/blob/9063ecdf/lib/contractWrapperBase.ts#L62)*



ContractWrapperFactory constructs this


**Parameters:**

| Param | Type | Description |
| ------ | ------ | ------ |
| solidityContract | `any`   |  The json contract truffle artifact |
| web3EventService | [Web3EventService](Web3EventService.md)   |  - |





**Returns:** [IntVoteInterfaceWrapper](IntVoteInterfaceWrapper.md)

---


## Properties
<a id="CancelProposal"></a>

###  CancelProposal

**●  CancelProposal**:  *[EventFetcherFactory](../#EventFetcherFactory)[CancelProposalEventResult](../interfaces/CancelProposalEventResult.md)* 

*Implementation of [IIntVoteInterface](../interfaces/IIntVoteInterface.md).[CancelProposal](../interfaces/IIntVoteInterface.md#CancelProposal)*

*Defined in [wrappers/intVoteInterface.ts:49](https://github.com/daostack/arc.js/blob/9063ecdf/lib/wrappers/intVoteInterface.ts#L49)*



Get or watch events fired when a vote is cancelled. Note you won't get this from GenesisProtocol whose proposals and votes are not cancellable




___

<a id="CancelVoting"></a>

###  CancelVoting

**●  CancelVoting**:  *[EventFetcherFactory](../#EventFetcherFactory)[CancelVotingEventResult](../interfaces/CancelVotingEventResult.md)* 

*Implementation of [IIntVoteInterface](../interfaces/IIntVoteInterface.md).[CancelVoting](../interfaces/IIntVoteInterface.md#CancelVoting)*

*Defined in [wrappers/intVoteInterface.ts:62](https://github.com/daostack/arc.js/blob/9063ecdf/lib/wrappers/intVoteInterface.ts#L62)*



Get or watch events fired when a voter's vote is cancelled. Note you won't get this from GenesisProtocol whose proposals and votes are not cancellable




___

<a id="ExecuteProposal"></a>

###  ExecuteProposal

**●  ExecuteProposal**:  *[EventFetcherFactory](../#EventFetcherFactory)[ExecuteProposalEventResult](../interfaces/ExecuteProposalEventResult.md)* 

*Implementation of [IIntVoteInterface](../interfaces/IIntVoteInterface.md).[ExecuteProposal](../interfaces/IIntVoteInterface.md#ExecuteProposal)*

*Defined in [wrappers/intVoteInterface.ts:53](https://github.com/daostack/arc.js/blob/9063ecdf/lib/wrappers/intVoteInterface.ts#L53)*



Get or watch events fired when proposals have been executed




___

<a id="NewProposal"></a>

###  NewProposal

**●  NewProposal**:  *[EventFetcherFactory](../#EventFetcherFactory)[NewProposalEventResult](../interfaces/NewProposalEventResult.md)* 

*Implementation of [IIntVoteInterface](../interfaces/IIntVoteInterface.md).[NewProposal](../interfaces/IIntVoteInterface.md#NewProposal)*

*Defined in [wrappers/intVoteInterface.ts:44](https://github.com/daostack/arc.js/blob/9063ecdf/lib/wrappers/intVoteInterface.ts#L44)*



Get or watch events fired on the creation of a new proposal.




___

<a id="VoteProposal"></a>

###  VoteProposal

**●  VoteProposal**:  *[EventFetcherFactory](../#EventFetcherFactory)[VoteProposalEventResult](../interfaces/VoteProposalEventResult.md)* 

*Implementation of [IIntVoteInterface](../interfaces/IIntVoteInterface.md).[VoteProposal](../interfaces/IIntVoteInterface.md#VoteProposal)*

*Defined in [wrappers/intVoteInterface.ts:57](https://github.com/daostack/arc.js/blob/9063ecdf/lib/wrappers/intVoteInterface.ts#L57)*



Get or watch events fired whenever votes are cast on a proposal




___

<a id="contract"></a>

###  contract

**●  contract**:  *`any`* 

*Implementation of [IContractWrapperBase](../interfaces/IContractWrapperBase.md).[contract](../interfaces/IContractWrapperBase.md#contract)*

*Inherited from [ContractWrapperBase](ContractWrapperBase.md).[contract](ContractWrapperBase.md#contract)*

*Defined in [contractWrapperBase.ts:62](https://github.com/daostack/arc.js/blob/9063ecdf/lib/contractWrapperBase.ts#L62)*



The underlying truffle contract object. Use this to access parts of the contract that aren't accessible via the wrapper.




___

<a id="factory"></a>

###  factory

**●  factory**:  *[IContractWrapperFactory](../interfaces/IContractWrapperFactory.md)`any`*  =  IntVoteInterfaceFactory

*Implementation of [IContractWrapperBase](../interfaces/IContractWrapperBase.md).[factory](../interfaces/IContractWrapperBase.md#factory)*

*Overrides [ContractWrapperBase](ContractWrapperBase.md).[factory](ContractWrapperBase.md#factory)*

*Defined in [wrappers/intVoteInterface.ts:37](https://github.com/daostack/arc.js/blob/9063ecdf/lib/wrappers/intVoteInterface.ts#L37)*





___

<a id="friendlyName"></a>

###  friendlyName

**●  friendlyName**:  *`string`*  = "IntVoteInterface"

*Implementation of [IContractWrapperBase](../interfaces/IContractWrapperBase.md).[friendlyName](../interfaces/IContractWrapperBase.md#friendlyName)*

*Overrides [ContractWrapperBase](ContractWrapperBase.md).[friendlyName](ContractWrapperBase.md#friendlyName)*

*Defined in [wrappers/intVoteInterface.ts:39](https://github.com/daostack/arc.js/blob/9063ecdf/lib/wrappers/intVoteInterface.ts#L39)*





___

<a id="name"></a>

###  name

**●  name**:  *`string`*  = "IntVoteInterface"

*Implementation of [IContractWrapperBase](../interfaces/IContractWrapperBase.md).[name](../interfaces/IContractWrapperBase.md#name)*

*Overrides [ContractWrapperBase](ContractWrapperBase.md).[name](ContractWrapperBase.md#name)*

*Defined in [wrappers/intVoteInterface.ts:38](https://github.com/daostack/arc.js/blob/9063ecdf/lib/wrappers/intVoteInterface.ts#L38)*





___


## Accessors
<a id="VotableProposals"></a>

###  VotableProposals


getVotableProposals(): [EventFetcherFactory](../#EventFetcherFactory)[NewProposalEventResult](../interfaces/NewProposalEventResult.md)

*Defined in [wrappers/intVoteInterface.ts:67](https://github.com/daostack/arc.js/blob/9063ecdf/lib/wrappers/intVoteInterface.ts#L67)*



Get or watch NewProposal events, filtering out proposals that are no longer votable.




**Returns:** [EventFetcherFactory](../#EventFetcherFactory)[NewProposalEventResult](../interfaces/NewProposalEventResult.md)



___

<a id="address"></a>

###  address


getaddress(): [Address](../#Address)

*Inherited from [ContractWrapperBase](ContractWrapperBase.md).[address](ContractWrapperBase.md#address)*

*Defined in [contractWrapperBase.ts:57](https://github.com/daostack/arc.js/blob/9063ecdf/lib/contractWrapperBase.ts#L57)*



The address of the contract




**Returns:** [Address](../#Address)



___


## Methods
<a id="cancelProposal"></a>

###  cancelProposal

► **cancelProposal**(options: *[ProposalIdOption](../interfaces/ProposalIdOption.md)`TxGeneratingFunctionOptions`*): `Promise`.<[ArcTransactionResult](ArcTransactionResult.md)>



*Implementation of [IIntVoteInterface](../interfaces/IIntVoteInterface.md).[cancelProposal](../interfaces/IIntVoteInterface.md#cancelProposal)*

*Defined in [wrappers/intVoteInterface.ts:136](https://github.com/daostack/arc.js/blob/9063ecdf/lib/wrappers/intVoteInterface.ts#L136)*



Cancel the given proposal


**Parameters:**

| Param | Type | Description |
| ------ | ------ | ------ |
| options | [ProposalIdOption](../interfaces/ProposalIdOption.md)`TxGeneratingFunctionOptions`   |  - |





**Returns:** `Promise`.<[ArcTransactionResult](ArcTransactionResult.md)>





___

<a id="cancelVote"></a>

###  cancelVote

► **cancelVote**(options: *[ProposalIdOption](../interfaces/ProposalIdOption.md)`TxGeneratingFunctionOptions`*): `Promise`.<[ArcTransactionResult](ArcTransactionResult.md)>



*Implementation of [IIntVoteInterface](../interfaces/IIntVoteInterface.md).[cancelVote](../interfaces/IIntVoteInterface.md#cancelVote)*

*Defined in [wrappers/intVoteInterface.ts:223](https://github.com/daostack/arc.js/blob/9063ecdf/lib/wrappers/intVoteInterface.ts#L223)*



Cancel voting on the proposal.


**Parameters:**

| Param | Type | Description |
| ------ | ------ | ------ |
| options | [ProposalIdOption](../interfaces/ProposalIdOption.md)`TxGeneratingFunctionOptions`   |  - |





**Returns:** `Promise`.<[ArcTransactionResult](ArcTransactionResult.md)>





___

<a id="estimateGas"></a>

###  estimateGas

► **estimateGas**(func: *[ITruffleContractFunction](../interfaces/ITruffleContractFunction.md)*, params: *`Array`.<`any`>*, web3Params?: *`any`*): `Promise`.<`number`>



*Inherited from [ContractWrapperBase](ContractWrapperBase.md).[estimateGas](ContractWrapperBase.md#estimateGas)*

*Defined in [contractWrapperBase.ts:192](https://github.com/daostack/arc.js/blob/9063ecdf/lib/contractWrapperBase.ts#L192)*



Estimate conservatively the amount of gas required to execute the given function with the given parameters. Adds 21000 to the estimate computed by web3.


**Parameters:**

| Param | Type | Default value | Description |
| ------ | ------ | ------ | ------ |
| func | [ITruffleContractFunction](../interfaces/ITruffleContractFunction.md)  | - |   The function |
| params | `Array`.<`any`>  | - |   The parameters to send to the function |
| web3Params | `any`  |  {} |   The web3 parameters (like "from", for example). If it contains "gas"then that value is returned, effectively a no-op. |





**Returns:** `Promise`.<`number`>





___

<a id="execute"></a>

###  execute

► **execute**(options: *[ProposalIdOption](../interfaces/ProposalIdOption.md)`TxGeneratingFunctionOptions`*): `Promise`.<[ArcTransactionResult](ArcTransactionResult.md)>



*Implementation of [IIntVoteInterface](../interfaces/IIntVoteInterface.md).[execute](../interfaces/IIntVoteInterface.md#execute)*

*Defined in [wrappers/intVoteInterface.ts:297](https://github.com/daostack/arc.js/blob/9063ecdf/lib/wrappers/intVoteInterface.ts#L297)*



Attempt to execute the given proposal vote.


**Parameters:**

| Param | Type | Description |
| ------ | ------ | ------ |
| options | [ProposalIdOption](../interfaces/ProposalIdOption.md)`TxGeneratingFunctionOptions`   |  - |





**Returns:** `Promise`.<[ArcTransactionResult](ArcTransactionResult.md)>





___

<a id="getAllowedRangeOfChoices"></a>

###  getAllowedRangeOfChoices

► **getAllowedRangeOfChoices**(): `Promise`.<[GetAllowedRangeOfChoicesResult](../interfaces/GetAllowedRangeOfChoicesResult.md)>



*Defined in [wrappers/intVoteInterface.ts:343](https://github.com/daostack/arc.js/blob/9063ecdf/lib/wrappers/intVoteInterface.ts#L343)*



Returns promise of the allowed range of choices for a voting machine.




**Returns:** `Promise`.<[GetAllowedRangeOfChoicesResult](../interfaces/GetAllowedRangeOfChoicesResult.md)>





___

<a id="getController"></a>

###  getController

► **getController**(avatarAddress: *[Address](../#Address)*): `Promise`.<`any`>



*Implementation of [IContractWrapperBase](../interfaces/IContractWrapperBase.md).[getController](../interfaces/IContractWrapperBase.md#getController)*

*Inherited from [ContractWrapperBase](ContractWrapperBase.md).[getController](ContractWrapperBase.md#getController)*

*Defined in [contractWrapperBase.ts:178](https://github.com/daostack/arc.js/blob/9063ecdf/lib/contractWrapperBase.ts#L178)*



Returns the controller associated with the given avatar


**Parameters:**

| Param | Type | Description |
| ------ | ------ | ------ |
| avatarAddress | [Address](../#Address)   |  - |





**Returns:** `Promise`.<`any`>





___

<a id="getCurrentVoteStatus"></a>

###  getCurrentVoteStatus

► **getCurrentVoteStatus**(proposalId: *[Address](../#Address)*): `Promise`.<`Array`.<`BigNumber`>>



*Defined in [wrappers/intVoteInterface.ts:320](https://github.com/daostack/arc.js/blob/9063ecdf/lib/wrappers/intVoteInterface.ts#L320)*



Return an array of the current counts of each vote choice on the proposal. For straight Abstain, Yes and No votes you can use the values of the `BinaryVoteResult` enum to dereference the array. The Abstain vote (in the zeroeth position) is always given even if the voting machine does not allow abstentions.


**Parameters:**

| Param | Type | Description |
| ------ | ------ | ------ |
| proposalId | [Address](../#Address)   |  - |





**Returns:** `Promise`.<`Array`.<`BigNumber`>>





___

<a id="getNumberOfChoices"></a>

###  getNumberOfChoices

► **getNumberOfChoices**(options: *[ProposalIdOption](../interfaces/ProposalIdOption.md)*): `Promise`.<`number`>



*Implementation of [IIntVoteInterface](../interfaces/IIntVoteInterface.md).[getNumberOfChoices](../interfaces/IIntVoteInterface.md#getNumberOfChoices)*

*Defined in [wrappers/intVoteInterface.ts:241](https://github.com/daostack/arc.js/blob/9063ecdf/lib/wrappers/intVoteInterface.ts#L241)*



Get the number of voting choices allowed by the proposal.


**Parameters:**

| Param | Type | Description |
| ------ | ------ | ------ |
| options | [ProposalIdOption](../interfaces/ProposalIdOption.md)   |  - |





**Returns:** `Promise`.<`number`>





___

<a id="getParameters"></a>

###  getParameters

► **getParameters**(paramsHash: *[Hash](../#Hash)*): `Promise`.<`any`>



*Implementation of [IContractWrapperBase](../interfaces/IContractWrapperBase.md).[getParameters](../interfaces/IContractWrapperBase.md#getParameters)*

*Inherited from [ContractWrapperBase](ContractWrapperBase.md).[getParameters](ContractWrapperBase.md#getParameters)*

*Defined in [contractWrapperBase.ts:142](https://github.com/daostack/arc.js/blob/9063ecdf/lib/contractWrapperBase.ts#L142)*



Given a hash, returns the associated parameters as an object.


**Parameters:**

| Param | Type | Description |
| ------ | ------ | ------ |
| paramsHash | [Hash](../#Hash)   |  - |





**Returns:** `Promise`.<`any`>





___

<a id="getParametersArray"></a>

###  getParametersArray

► **getParametersArray**(paramsHash: *[Hash](../#Hash)*): `Promise`.<`Array`.<`any`>>



*Implementation of [IContractWrapperBase](../interfaces/IContractWrapperBase.md).[getParametersArray](../interfaces/IContractWrapperBase.md#getParametersArray)*

*Inherited from [ContractWrapperBase](ContractWrapperBase.md).[getParametersArray](ContractWrapperBase.md#getParametersArray)*

*Defined in [contractWrapperBase.ts:170](https://github.com/daostack/arc.js/blob/9063ecdf/lib/contractWrapperBase.ts#L170)*



Given a hash, returns the associated parameters as an array, ordered by the order in which the parameters appear in the contract's Parameters struct.


**Parameters:**

| Param | Type | Description |
| ------ | ------ | ------ |
| paramsHash | [Hash](../#Hash)   |  - |





**Returns:** `Promise`.<`Array`.<`any`>>





___

<a id="getParametersHash"></a>

###  getParametersHash

► **getParametersHash**(params: *`any`*): `Promise`.<[Hash](../#Hash)>



*Implementation of [IContractWrapperBase](../interfaces/IContractWrapperBase.md).[getParametersHash](../interfaces/IContractWrapperBase.md#getParametersHash)*

*Inherited from [ContractWrapperBase](ContractWrapperBase.md).[getParametersHash](ContractWrapperBase.md#getParametersHash)*

*Defined in [contractWrapperBase.ts:152](https://github.com/daostack/arc.js/blob/9063ecdf/lib/contractWrapperBase.ts#L152)*



Given an object containing the contract's parameters, return the hash that would be used to represent them in Arc. Note this doesn't indicate whether the parameters have been registered with the contract.


**Parameters:**

| Param | Type | Description |
| ------ | ------ | ------ |
| params | `any`   |  - |





**Returns:** `Promise`.<[Hash](../#Hash)>





___

<a id="getSchemeParametersHash"></a>

###  getSchemeParametersHash

► **getSchemeParametersHash**(avatarAddress: *[Address](../#Address)*): `Promise`.<[Hash](../#Hash)>



*Implementation of [IContractWrapperBase](../interfaces/IContractWrapperBase.md).[getSchemeParametersHash](../interfaces/IContractWrapperBase.md#getSchemeParametersHash)*

*Inherited from [ContractWrapperBase](ContractWrapperBase.md).[getSchemeParametersHash](ContractWrapperBase.md#getSchemeParametersHash)*

*Defined in [contractWrapperBase.ts:160](https://github.com/daostack/arc.js/blob/9063ecdf/lib/contractWrapperBase.ts#L160)*



Given an avatar address, returns the schemes parameters hash


**Parameters:**

| Param | Type | Description |
| ------ | ------ | ------ |
| avatarAddress | [Address](../#Address)   |  - |





**Returns:** `Promise`.<[Hash](../#Hash)>





___

<a id="hydrateFromAt"></a>

###  hydrateFromAt

► **hydrateFromAt**(address: *`string`*): `Promise`.<[IContractWrapperBase](../interfaces/IContractWrapperBase.md)>



*Implementation of [IContractWrapperBase](../interfaces/IContractWrapperBase.md).[hydrateFromAt](../interfaces/IContractWrapperBase.md#hydrateFromAt)*

*Inherited from [ContractWrapperBase](ContractWrapperBase.md).[hydrateFromAt](ContractWrapperBase.md#hydrateFromAt)*

*Defined in [contractWrapperBase.ts:96](https://github.com/daostack/arc.js/blob/9063ecdf/lib/contractWrapperBase.ts#L96)*



Initialize from a given address on the current network.


**Parameters:**

| Param | Type | Description |
| ------ | ------ | ------ |
| address | `string`   |  of the deployed contract |





**Returns:** `Promise`.<[IContractWrapperBase](../interfaces/IContractWrapperBase.md)>
this or undefined if not found






___

<a id="hydrateFromDeployed"></a>

###  hydrateFromDeployed

► **hydrateFromDeployed**(): `Promise`.<[IContractWrapperBase](../interfaces/IContractWrapperBase.md)>



*Implementation of [IContractWrapperBase](../interfaces/IContractWrapperBase.md).[hydrateFromDeployed](../interfaces/IContractWrapperBase.md#hydrateFromDeployed)*

*Inherited from [ContractWrapperBase](ContractWrapperBase.md).[hydrateFromDeployed](ContractWrapperBase.md#hydrateFromDeployed)*

*Defined in [contractWrapperBase.ts:114](https://github.com/daostack/arc.js/blob/9063ecdf/lib/contractWrapperBase.ts#L114)*



Initialize as it was migrated by Arc.js on the current network.




**Returns:** `Promise`.<[IContractWrapperBase](../interfaces/IContractWrapperBase.md)>
this or undefined if not found






___

<a id="hydrateFromNew"></a>

###  hydrateFromNew

► **hydrateFromNew**(...rest: *`Array`.<`any`>*): `Promise`.<[IContractWrapperBase](../interfaces/IContractWrapperBase.md)>



*Implementation of [IContractWrapperBase](../interfaces/IContractWrapperBase.md).[hydrateFromNew](../interfaces/IContractWrapperBase.md#hydrateFromNew)*

*Inherited from [ContractWrapperBase](ContractWrapperBase.md).[hydrateFromNew](ContractWrapperBase.md#hydrateFromNew)*

*Defined in [contractWrapperBase.ts:77](https://github.com/daostack/arc.js/blob/9063ecdf/lib/contractWrapperBase.ts#L77)*



Initialize from a newly-migrated instance. This will migrate a new instance of the contract to the net.


**Parameters:**

| Param | Type | Description |
| ------ | ------ | ------ |
| rest | `Array`.<`any`>   |  - |





**Returns:** `Promise`.<[IContractWrapperBase](../interfaces/IContractWrapperBase.md)>
this






___

<a id="isAbstainAllow"></a>

###  isAbstainAllow

► **isAbstainAllow**(): `Promise`.<`boolean`>



*Implementation of [IIntVoteInterface](../interfaces/IIntVoteInterface.md).[isAbstainAllow](../interfaces/IIntVoteInterface.md#isAbstainAllow)*

*Defined in [wrappers/intVoteInterface.ts:285](https://github.com/daostack/arc.js/blob/9063ecdf/lib/wrappers/intVoteInterface.ts#L285)*



get whether voters are allowed to cast an abstaining vote on these proposals.




**Returns:** `Promise`.<`boolean`>





___

<a id="isVotable"></a>

###  isVotable

► **isVotable**(options: *[ProposalIdOption](../interfaces/ProposalIdOption.md)*): `Promise`.<`boolean`>



*Implementation of [IIntVoteInterface](../interfaces/IIntVoteInterface.md).[isVotable](../interfaces/IIntVoteInterface.md#isVotable)*

*Defined in [wrappers/intVoteInterface.ts:255](https://github.com/daostack/arc.js/blob/9063ecdf/lib/wrappers/intVoteInterface.ts#L255)*



Get whether the proposal is in a state where it can be voted-upon.


**Parameters:**

| Param | Type | Description |
| ------ | ------ | ------ |
| options | [ProposalIdOption](../interfaces/ProposalIdOption.md)   |  - |





**Returns:** `Promise`.<`boolean`>





___

<a id="ownerVote"></a>

###  ownerVote

► **ownerVote**(options: *[OwnerVoteOptions](../interfaces/OwnerVoteOptions.md)`TxGeneratingFunctionOptions`*): `Promise`.<[ArcTransactionResult](ArcTransactionResult.md)>



*Implementation of [IIntVoteInterface](../interfaces/IIntVoteInterface.md).[ownerVote](../interfaces/IIntVoteInterface.md#ownerVote)*

*Defined in [wrappers/intVoteInterface.ts:154](https://github.com/daostack/arc.js/blob/9063ecdf/lib/wrappers/intVoteInterface.ts#L154)*



Vote on behalf of the owner of the proposal, ie the agent that created it.


**Parameters:**

| Param | Type | Description |
| ------ | ------ | ------ |
| options | [OwnerVoteOptions](../interfaces/OwnerVoteOptions.md)`TxGeneratingFunctionOptions`   |  - |





**Returns:** `Promise`.<[ArcTransactionResult](ArcTransactionResult.md)>





___

<a id="propose"></a>

###  propose

► **propose**(options: *[ProposeOptions](../interfaces/ProposeOptions.md)`TxGeneratingFunctionOptions`*): `Promise`.<[ArcTransactionProposalResult](ArcTransactionProposalResult.md)>



*Implementation of [IIntVoteInterface](../interfaces/IIntVoteInterface.md).[propose](../interfaces/IIntVoteInterface.md#propose)*

*Defined in [wrappers/intVoteInterface.ts:85](https://github.com/daostack/arc.js/blob/9063ecdf/lib/wrappers/intVoteInterface.ts#L85)*



Register a new proposal with the given parameters. Every proposal is given a unique ID which is a hash generated by calculating the keccak256 of a packing of an incremented counter and the address of the voting machine.


**Parameters:**

| Param | Type | Description |
| ------ | ------ | ------ |
| options | [ProposeOptions](../interfaces/ProposeOptions.md)`TxGeneratingFunctionOptions`   |  - |





**Returns:** `Promise`.<[ArcTransactionProposalResult](ArcTransactionProposalResult.md)>





___

<a id="setParameters"></a>

###  setParameters

► **setParameters**(...params: *`Array`.<`any`>*): `Promise`.<[ArcTransactionDataResult](ArcTransactionDataResult.md)[Hash](../#Hash)>



*Implementation of [IContractWrapperBase](../interfaces/IContractWrapperBase.md).[setParameters](../interfaces/IContractWrapperBase.md#setParameters)*

*Inherited from [ContractWrapperBase](ContractWrapperBase.md).[setParameters](ContractWrapperBase.md#setParameters)*

*Defined in [contractWrapperBase.ts:134](https://github.com/daostack/arc.js/blob/9063ecdf/lib/contractWrapperBase.ts#L134)*



Call setParameters on this.contract. Returns promise of ArcTransactionDataResult <hash>where Result is the parameters hash.</hash>


**Parameters:**

| Param | Type | Description |
| ------ | ------ | ------ |
| params | `Array`.<`any`>   |  -- parameters as the contract.setParameters function expects them. |





**Returns:** `Promise`.<[ArcTransactionDataResult](ArcTransactionDataResult.md)[Hash](../#Hash)>





___

<a id="vote"></a>

###  vote

► **vote**(options: *[VoteOptions](../interfaces/VoteOptions.md)`TxGeneratingFunctionOptions`*): `Promise`.<[ArcTransactionResult](ArcTransactionResult.md)>



*Implementation of [IIntVoteInterface](../interfaces/IIntVoteInterface.md).[vote](../interfaces/IIntVoteInterface.md#vote)*

*Defined in [wrappers/intVoteInterface.ts:178](https://github.com/daostack/arc.js/blob/9063ecdf/lib/wrappers/intVoteInterface.ts#L178)*



Vote on behalf of the current account.


**Parameters:**

| Param | Type | Description |
| ------ | ------ | ------ |
| options | [VoteOptions](../interfaces/VoteOptions.md)`TxGeneratingFunctionOptions`   |  - |





**Returns:** `Promise`.<[ArcTransactionResult](ArcTransactionResult.md)>





___

<a id="voteStatus"></a>

###  voteStatus

► **voteStatus**(options: *[VoteStatusOptions](../interfaces/VoteStatusOptions.md)*): `Promise`.<`BigNumber`>



*Implementation of [IIntVoteInterface](../interfaces/IIntVoteInterface.md).[voteStatus](../interfaces/IIntVoteInterface.md#voteStatus)*

*Defined in [wrappers/intVoteInterface.ts:269](https://github.com/daostack/arc.js/blob/9063ecdf/lib/wrappers/intVoteInterface.ts#L269)*



Get the number of votes currently cast on the given choice.


**Parameters:**

| Param | Type | Description |
| ------ | ------ | ------ |
| options | [VoteStatusOptions](../interfaces/VoteStatusOptions.md)   |  - |





**Returns:** `Promise`.<`BigNumber`>





___

<a id="voteWithSpecifiedAmounts"></a>

###  voteWithSpecifiedAmounts

► **voteWithSpecifiedAmounts**(options: *[VoteWithSpecifiedAmountsOptions](../interfaces/VoteWithSpecifiedAmountsOptions.md)`TxGeneratingFunctionOptions`*): `Promise`.<[ArcTransactionResult](ArcTransactionResult.md)>



*Implementation of [IIntVoteInterface](../interfaces/IIntVoteInterface.md).[voteWithSpecifiedAmounts](../interfaces/IIntVoteInterface.md#voteWithSpecifiedAmounts)*

*Defined in [wrappers/intVoteInterface.ts:198](https://github.com/daostack/arc.js/blob/9063ecdf/lib/wrappers/intVoteInterface.ts#L198)*



Vote specified reputation amount


**Parameters:**

| Param | Type | Description |
| ------ | ------ | ------ |
| options | [VoteWithSpecifiedAmountsOptions](../interfaces/VoteWithSpecifiedAmountsOptions.md)`TxGeneratingFunctionOptions`   |  - |





**Returns:** `Promise`.<[ArcTransactionResult](ArcTransactionResult.md)>





___


