> For the complete documentation index, see [llms.txt](https://docs.dexe.network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dexe.network/contract-interfaces/gov-contracts/voting/ivotepower.md).

# IVotePower

## Interface Description

License: MIT

##

```solidity
interface IVotePower
```

## Functions info

### transformVotes (0x41cb09cc)

```solidity
function transformVotes(
    address voter,
    uint256 votes
) external view returns (uint256 resultingVotes)
```

The function for transforming token and nft power to voting power

Parameters:

| Name  | Type    | Description                   |
| ----- | ------- | ----------------------------- |
| voter | address | the voter address             |
| votes | uint256 | the total token and nft power |

Return values:

| Name           | Type    | Description  |
| -------------- | ------- | ------------ |
| resultingVotes | uint256 | voting power |

### transformVotesFull (0x13f60dc5)

```solidity
function transformVotesFull(
    address voter,
    uint256 votes,
    uint256 personalPower,
    uint256 micropoolPower,
    uint256 treasuryPower
) external view returns (uint256 resultingVotes)
```

The function for transforming token and nft power to voting power

Parameters:

| Name           | Type    | Description                      |
| -------------- | ------- | -------------------------------- |
| voter          | address | the voter address                |
| votes          | uint256 | the total token and nft power    |
| personalPower  | uint256 | the user's total personal power  |
| micropoolPower | uint256 | the user's total micropool power |
| treasuryPower  | uint256 | the user's total treasury power  |

Return values:

| Name           | Type    | Description  |
| -------------- | ------- | ------------ |
| resultingVotes | uint256 | voting power |

### getVotesRatio (0xf5ca7490)

```solidity
function getVotesRatio(
    address voter
) external view returns (uint256 votesRatio)
```

The function for getting voting coefficient

Parameters:

| Name  | Type    | Description              |
| ----- | ------- | ------------------------ |
| voter | address | the address of the voter |

Return values:

| Name       | Type    | Description                           |
| ---------- | ------- | ------------------------------------- |
| votesRatio | uint256 | the ration with 25 decimals precision |
